17.4 MB
/srv/reproducible-results/rbuild-debian/r-b-build.163xaY0n/b1/dune-common_2.9.0-2_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.163xaY0n/b2/dune-common_2.9.0-2_armhf.changes
408 B
Files
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 ·14b043c09be4076b9a62bef33443361a·537192·debug·optional·libdune-common-dev-dbgsym_2.9.0-2_armhf.deb1 ·14b043c09be4076b9a62bef33443361a·537192·debug·optional·libdune-common-dev-dbgsym_2.9.0-2_armhf.deb
2 ·b75f8c5f2b0802dde13d74914765e00b·374740·libdevel·optional·libdune-common-dev_2.9.0-2_armhf.deb2 ·b75f8c5f2b0802dde13d74914765e00b·374740·libdevel·optional·libdune-common-dev_2.9.0-2_armhf.deb
3 ·e47c553d16daf50c752cc0c3f7194117·2757436·doc·optional·libdune-common-doc_2.9.0-2_all.deb3 ·f77c408793563bf3bd33e0e087541f98·2763088·doc·optional·libdune-common-doc_2.9.0-2_all.deb
17.4 MB
libdune-common-doc_2.9.0-2_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2023-01-12·15:39:41.000000·debian-binary1 -rw-r--r--···0········0········0········4·2023-01-12·15:39:41.000000·debian-binary
2 -rw-r--r--···0········0········0····26480·2023-01-12·15:39:41.000000·control.tar.xz2 -rw-r--r--···0········0········0····26424·2023-01-12·15:39:41.000000·control.tar.xz
3 -rw-r--r--···0········0········0··2730764·2023-01-12·15:39:41.000000·data.tar.xz3 -rw-r--r--···0········0········0··2736472·2023-01-12·15:39:41.000000·data.tar.xz
12.2 KB
control.tar.xz
12.1 KB
control.tar
12.1 KB
./md5sums
30.0 B
./md5sums
Files differ
12.1 KB
line order
    
Offset 17, 35 lines modifiedOffset 17, 34 lines modified
17 usr/share/doc/libdune-common-doc/buildsystem/html/search.html17 usr/share/doc/libdune-common-doc/buildsystem/html/search.html
18 usr/share/doc/libdune-common-doc/buildsystem/html/searchindex.js18 usr/share/doc/libdune-common-doc/buildsystem/html/searchindex.js
19 usr/share/doc/libdune-common-doc/changelog.Debian.gz19 usr/share/doc/libdune-common-doc/changelog.Debian.gz
20 usr/share/doc/libdune-common-doc/changelog.gz20 usr/share/doc/libdune-common-doc/changelog.gz
21 usr/share/doc/libdune-common-doc/copyright21 usr/share/doc/libdune-common-doc/copyright
22 usr/share/doc/libdune-common-doc/doxygen/a00002.html22 usr/share/doc/libdune-common-doc/doxygen/a00002.html
23 usr/share/doc/libdune-common-doc/doxygen/a00008.html23 usr/share/doc/libdune-common-doc/doxygen/a00008.html
24 usr/share/doc/libdune-common-doc/doxygen/a00008_source.html 
25 usr/share/doc/libdune-common-doc/doxygen/a00011.html24 usr/share/doc/libdune-common-doc/doxygen/a00011.html
26 usr/share/doc/libdune-common-doc/doxygen/a00011_source.html 
27 usr/share/doc/libdune-common-doc/doxygen/a00014.html25 usr/share/doc/libdune-common-doc/doxygen/a00014.html
28 usr/share/doc/libdune-common-doc/doxygen/a00014_source.html26 usr/share/doc/libdune-common-doc/doxygen/a00014_source.html
29 usr/share/doc/libdune-common-doc/doxygen/a00017.html27 usr/share/doc/libdune-common-doc/doxygen/a00017.html
30 usr/share/doc/libdune-common-doc/doxygen/a00017_source.html 
31 usr/share/doc/libdune-common-doc/doxygen/a00020.html28 usr/share/doc/libdune-common-doc/doxygen/a00020.html
32 usr/share/doc/libdune-common-doc/doxygen/a00020_source.html29 usr/share/doc/libdune-common-doc/doxygen/a00020_source.html
33 usr/share/doc/libdune-common-doc/doxygen/a00023.html30 usr/share/doc/libdune-common-doc/doxygen/a00023.html
34 usr/share/doc/libdune-common-doc/doxygen/a00023_source.html31 usr/share/doc/libdune-common-doc/doxygen/a00023_source.html
35 usr/share/doc/libdune-common-doc/doxygen/a00026.html32 usr/share/doc/libdune-common-doc/doxygen/a00026.html
36 usr/share/doc/libdune-common-doc/doxygen/a00026_source.html33 usr/share/doc/libdune-common-doc/doxygen/a00026_source.html
37 usr/share/doc/libdune-common-doc/doxygen/a00029.html34 usr/share/doc/libdune-common-doc/doxygen/a00029.html
38 usr/share/doc/libdune-common-doc/doxygen/a00029_source.html35 usr/share/doc/libdune-common-doc/doxygen/a00029_source.html
39 usr/share/doc/libdune-common-doc/doxygen/a00032.html36 usr/share/doc/libdune-common-doc/doxygen/a00032.html
40 usr/share/doc/libdune-common-doc/doxygen/a00032_source.html37 usr/share/doc/libdune-common-doc/doxygen/a00032_source.html
41 usr/share/doc/libdune-common-doc/doxygen/a00035.html38 usr/share/doc/libdune-common-doc/doxygen/a00035.html
42 usr/share/doc/libdune-common-doc/doxygen/a00035_source.html39 usr/share/doc/libdune-common-doc/doxygen/a00035_source.html
43 usr/share/doc/libdune-common-doc/doxygen/a00038.html40 usr/share/doc/libdune-common-doc/doxygen/a00038.html
44 usr/share/doc/libdune-common-doc/doxygen/a00038_source.html41 usr/share/doc/libdune-common-doc/doxygen/a00038_source.html
 42 usr/share/doc/libdune-common-doc/doxygen/a00041.html
 43 usr/share/doc/libdune-common-doc/doxygen/a00041_source.html
45 usr/share/doc/libdune-common-doc/doxygen/a00044.html44 usr/share/doc/libdune-common-doc/doxygen/a00044.html
46 usr/share/doc/libdune-common-doc/doxygen/a00044_source.html45 usr/share/doc/libdune-common-doc/doxygen/a00044_source.html
47 usr/share/doc/libdune-common-doc/doxygen/a00047.html46 usr/share/doc/libdune-common-doc/doxygen/a00047.html
48 usr/share/doc/libdune-common-doc/doxygen/a00047_source.html47 usr/share/doc/libdune-common-doc/doxygen/a00047_source.html
49 usr/share/doc/libdune-common-doc/doxygen/a00050.html48 usr/share/doc/libdune-common-doc/doxygen/a00050.html
50 usr/share/doc/libdune-common-doc/doxygen/a00050_source.html49 usr/share/doc/libdune-common-doc/doxygen/a00050_source.html
51 usr/share/doc/libdune-common-doc/doxygen/a00053.html50 usr/share/doc/libdune-common-doc/doxygen/a00053.html
Offset 56, 26 lines modifiedOffset 55, 26 lines modified
56 usr/share/doc/libdune-common-doc/doxygen/a00059_source.html55 usr/share/doc/libdune-common-doc/doxygen/a00059_source.html
57 usr/share/doc/libdune-common-doc/doxygen/a00062.html56 usr/share/doc/libdune-common-doc/doxygen/a00062.html
58 usr/share/doc/libdune-common-doc/doxygen/a00062_source.html57 usr/share/doc/libdune-common-doc/doxygen/a00062_source.html
59 usr/share/doc/libdune-common-doc/doxygen/a00065.html58 usr/share/doc/libdune-common-doc/doxygen/a00065.html
60 usr/share/doc/libdune-common-doc/doxygen/a00065_source.html59 usr/share/doc/libdune-common-doc/doxygen/a00065_source.html
61 usr/share/doc/libdune-common-doc/doxygen/a00068.html60 usr/share/doc/libdune-common-doc/doxygen/a00068.html
62 usr/share/doc/libdune-common-doc/doxygen/a00068_source.html61 usr/share/doc/libdune-common-doc/doxygen/a00068_source.html
63 usr/share/doc/libdune-common-doc/doxygen/a00071.html 
64 usr/share/doc/libdune-common-doc/doxygen/a00074.html62 usr/share/doc/libdune-common-doc/doxygen/a00074.html
65 usr/share/doc/libdune-common-doc/doxygen/a00077.html63 usr/share/doc/libdune-common-doc/doxygen/a00077.html
66 usr/share/doc/libdune-common-doc/doxygen/a00077_source.html64 usr/share/doc/libdune-common-doc/doxygen/a00077_source.html
67 usr/share/doc/libdune-common-doc/doxygen/a00080.html65 usr/share/doc/libdune-common-doc/doxygen/a00080.html
68 usr/share/doc/libdune-common-doc/doxygen/a00080_source.html 
69 usr/share/doc/libdune-common-doc/doxygen/a00083.html66 usr/share/doc/libdune-common-doc/doxygen/a00083.html
70 usr/share/doc/libdune-common-doc/doxygen/a00083_source.html67 usr/share/doc/libdune-common-doc/doxygen/a00083_source.html
71 usr/share/doc/libdune-common-doc/doxygen/a00086.html68 usr/share/doc/libdune-common-doc/doxygen/a00086.html
72 usr/share/doc/libdune-common-doc/doxygen/a00086_source.html69 usr/share/doc/libdune-common-doc/doxygen/a00086_source.html
73 usr/share/doc/libdune-common-doc/doxygen/a00089.html70 usr/share/doc/libdune-common-doc/doxygen/a00089.html
 71 usr/share/doc/libdune-common-doc/doxygen/a00089_source.html
74 usr/share/doc/libdune-common-doc/doxygen/a00092.html72 usr/share/doc/libdune-common-doc/doxygen/a00092.html
 73 usr/share/doc/libdune-common-doc/doxygen/a00092_source.html
75 usr/share/doc/libdune-common-doc/doxygen/a00095.html74 usr/share/doc/libdune-common-doc/doxygen/a00095.html
76 usr/share/doc/libdune-common-doc/doxygen/a00095_source.html75 usr/share/doc/libdune-common-doc/doxygen/a00095_source.html
77 usr/share/doc/libdune-common-doc/doxygen/a00098.html76 usr/share/doc/libdune-common-doc/doxygen/a00098.html
78 usr/share/doc/libdune-common-doc/doxygen/a00098_source.html77 usr/share/doc/libdune-common-doc/doxygen/a00098_source.html
79 usr/share/doc/libdune-common-doc/doxygen/a00101.html78 usr/share/doc/libdune-common-doc/doxygen/a00101.html
80 usr/share/doc/libdune-common-doc/doxygen/a00101_source.html79 usr/share/doc/libdune-common-doc/doxygen/a00101_source.html
81 usr/share/doc/libdune-common-doc/doxygen/a00104.html80 usr/share/doc/libdune-common-doc/doxygen/a00104.html
Offset 83, 43 lines modifiedOffset 82, 47 lines modified
83 usr/share/doc/libdune-common-doc/doxygen/a00107.html82 usr/share/doc/libdune-common-doc/doxygen/a00107.html
84 usr/share/doc/libdune-common-doc/doxygen/a00107_source.html83 usr/share/doc/libdune-common-doc/doxygen/a00107_source.html
85 usr/share/doc/libdune-common-doc/doxygen/a00110.html84 usr/share/doc/libdune-common-doc/doxygen/a00110.html
86 usr/share/doc/libdune-common-doc/doxygen/a00110_source.html85 usr/share/doc/libdune-common-doc/doxygen/a00110_source.html
87 usr/share/doc/libdune-common-doc/doxygen/a00113.html86 usr/share/doc/libdune-common-doc/doxygen/a00113.html
88 usr/share/doc/libdune-common-doc/doxygen/a00113_source.html87 usr/share/doc/libdune-common-doc/doxygen/a00113_source.html
89 usr/share/doc/libdune-common-doc/doxygen/a00116.html88 usr/share/doc/libdune-common-doc/doxygen/a00116.html
 89 usr/share/doc/libdune-common-doc/doxygen/a00116_source.html
90 usr/share/doc/libdune-common-doc/doxygen/a00119.html90 usr/share/doc/libdune-common-doc/doxygen/a00119.html
91 usr/share/doc/libdune-common-doc/doxygen/a00119_source.html91 usr/share/doc/libdune-common-doc/doxygen/a00119_source.html
92 usr/share/doc/libdune-common-doc/doxygen/a00122.html92 usr/share/doc/libdune-common-doc/doxygen/a00122.html
93 usr/share/doc/libdune-common-doc/doxygen/a00122_source.html93 usr/share/doc/libdune-common-doc/doxygen/a00122_source.html
94 usr/share/doc/libdune-common-doc/doxygen/a00125.html94 usr/share/doc/libdune-common-doc/doxygen/a00125.html
 95 usr/share/doc/libdune-common-doc/doxygen/a00125_source.html
95 usr/share/doc/libdune-common-doc/doxygen/a00128.html96 usr/share/doc/libdune-common-doc/doxygen/a00128.html
96 usr/share/doc/libdune-common-doc/doxygen/a00128_source.html97 usr/share/doc/libdune-common-doc/doxygen/a00128_source.html
97 usr/share/doc/libdune-common-doc/doxygen/a00131.html98 usr/share/doc/libdune-common-doc/doxygen/a00131.html
98 usr/share/doc/libdune-common-doc/doxygen/a00131_source.html99 usr/share/doc/libdune-common-doc/doxygen/a00131_source.html
99 usr/share/doc/libdune-common-doc/doxygen/a00134.html100 usr/share/doc/libdune-common-doc/doxygen/a00134.html
100 usr/share/doc/libdune-common-doc/doxygen/a00134_source.html101 usr/share/doc/libdune-common-doc/doxygen/a00134_source.html
101 usr/share/doc/libdune-common-doc/doxygen/a00137.html102 usr/share/doc/libdune-common-doc/doxygen/a00137.html
102 usr/share/doc/libdune-common-doc/doxygen/a00137_source.html103 usr/share/doc/libdune-common-doc/doxygen/a00137_source.html
103 usr/share/doc/libdune-common-doc/doxygen/a00140.html104 usr/share/doc/libdune-common-doc/doxygen/a00140.html
104 usr/share/doc/libdune-common-doc/doxygen/a00140_source.html105 usr/share/doc/libdune-common-doc/doxygen/a00140_source.html
105 usr/share/doc/libdune-common-doc/doxygen/a00143.html106 usr/share/doc/libdune-common-doc/doxygen/a00143.html
106 usr/share/doc/libdune-common-doc/doxygen/a00143_source.html107 usr/share/doc/libdune-common-doc/doxygen/a00143_source.html
107 usr/share/doc/libdune-common-doc/doxygen/a00146.html108 usr/share/doc/libdune-common-doc/doxygen/a00146.html
 109 usr/share/doc/libdune-common-doc/doxygen/a00146_source.html
108 usr/share/doc/libdune-common-doc/doxygen/a00149.html110 usr/share/doc/libdune-common-doc/doxygen/a00149.html
109 usr/share/doc/libdune-common-doc/doxygen/a00149_source.html111 usr/share/doc/libdune-common-doc/doxygen/a00149_source.html
110 usr/share/doc/libdune-common-doc/doxygen/a00152.html112 usr/share/doc/libdune-common-doc/doxygen/a00152.html
111 usr/share/doc/libdune-common-doc/doxygen/a00152_source.html113 usr/share/doc/libdune-common-doc/doxygen/a00152_source.html
112 usr/share/doc/libdune-common-doc/doxygen/a00155.html114 usr/share/doc/libdune-common-doc/doxygen/a00155.html
113 usr/share/doc/libdune-common-doc/doxygen/a00155_source.html115 usr/share/doc/libdune-common-doc/doxygen/a00155_source.html
114 usr/share/doc/libdune-common-doc/doxygen/a00158.html116 usr/share/doc/libdune-common-doc/doxygen/a00158.html
115 usr/share/doc/libdune-common-doc/doxygen/a00158_source.html117 usr/share/doc/libdune-common-doc/doxygen/a00158_source.html
116 usr/share/doc/libdune-common-doc/doxygen/a00161.html118 usr/share/doc/libdune-common-doc/doxygen/a00161.html
117 usr/share/doc/libdune-common-doc/doxygen/a00161_source.html119 usr/share/doc/libdune-common-doc/doxygen/a00161_source.html
118 usr/share/doc/libdune-common-doc/doxygen/a00164.html120 usr/share/doc/libdune-common-doc/doxygen/a00164.html
 121 usr/share/doc/libdune-common-doc/doxygen/a00164_source.html
119 usr/share/doc/libdune-common-doc/doxygen/a00167.html122 usr/share/doc/libdune-common-doc/doxygen/a00167.html
120 usr/share/doc/libdune-common-doc/doxygen/a00167_source.html123 usr/share/doc/libdune-common-doc/doxygen/a00167_source.html
121 usr/share/doc/libdune-common-doc/doxygen/a00170.html124 usr/share/doc/libdune-common-doc/doxygen/a00170.html
122 usr/share/doc/libdune-common-doc/doxygen/a00170_source.html125 usr/share/doc/libdune-common-doc/doxygen/a00170_source.html
123 usr/share/doc/libdune-common-doc/doxygen/a00173.html126 usr/share/doc/libdune-common-doc/doxygen/a00173.html
124 usr/share/doc/libdune-common-doc/doxygen/a00173_source.html127 usr/share/doc/libdune-common-doc/doxygen/a00173_source.html
125 usr/share/doc/libdune-common-doc/doxygen/a00176.html128 usr/share/doc/libdune-common-doc/doxygen/a00176.html
Offset 137, 34 lines modifiedOffset 140, 33 lines modified
137 usr/share/doc/libdune-common-doc/doxygen/a00194.html140 usr/share/doc/libdune-common-doc/doxygen/a00194.html
138 usr/share/doc/libdune-common-doc/doxygen/a00194_source.html141 usr/share/doc/libdune-common-doc/doxygen/a00194_source.html
139 usr/share/doc/libdune-common-doc/doxygen/a00197.html142 usr/share/doc/libdune-common-doc/doxygen/a00197.html
140 usr/share/doc/libdune-common-doc/doxygen/a00197_source.html143 usr/share/doc/libdune-common-doc/doxygen/a00197_source.html
141 usr/share/doc/libdune-common-doc/doxygen/a00200.html144 usr/share/doc/libdune-common-doc/doxygen/a00200.html
142 usr/share/doc/libdune-common-doc/doxygen/a00200_source.html145 usr/share/doc/libdune-common-doc/doxygen/a00200_source.html
143 usr/share/doc/libdune-common-doc/doxygen/a00203.html146 usr/share/doc/libdune-common-doc/doxygen/a00203.html
 147 usr/share/doc/libdune-common-doc/doxygen/a00203_source.html
144 usr/share/doc/libdune-common-doc/doxygen/a00206.html148 usr/share/doc/libdune-common-doc/doxygen/a00206.html
145 usr/share/doc/libdune-common-doc/doxygen/a00206_source.html149 usr/share/doc/libdune-common-doc/doxygen/a00206_source.html
146 usr/share/doc/libdune-common-doc/doxygen/a00209.html150 usr/share/doc/libdune-common-doc/doxygen/a00209.html
147 usr/share/doc/libdune-common-doc/doxygen/a00209_source.html151 usr/share/doc/libdune-common-doc/doxygen/a00209_source.html
Max diff block lines reached; 5097/12332 bytes (41.33%) of diff not shown.
17.4 MB
data.tar.xz
17.4 MB
data.tar
72.2 KB
file list
    
Offset 26, 258 lines modifiedOffset 26, 258 lines modified
26 -rw-r--r--···0·root·········(0)·root·········(0)·····2944·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/buildsystem/html/search.html26 -rw-r--r--···0·root·········(0)·root·········(0)·····2944·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/buildsystem/html/search.html
27 -rw-r--r--···0·root·········(0)·root·········(0)····10569·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/buildsystem/html/searchindex.js27 -rw-r--r--···0·root·········(0)·root·········(0)····10569·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/buildsystem/html/searchindex.js
28 -rw-r--r--···0·root·········(0)·root·········(0)·····1683·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/changelog.Debian.gz28 -rw-r--r--···0·root·········(0)·root·········(0)·····1683·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/changelog.Debian.gz
29 -rw-r--r--···0·root·········(0)·root·········(0)·····7231·2022-10-20·18:41:15.000000·./usr/share/doc/libdune-common-doc/changelog.gz29 -rw-r--r--···0·root·········(0)·root·········(0)·····7231·2022-10-20·18:41:15.000000·./usr/share/doc/libdune-common-doc/changelog.gz
30 -rw-r--r--···0·root·········(0)·root·········(0)·····9815·2023-01-12·15:06:30.000000·./usr/share/doc/libdune-common-doc/copyright30 -rw-r--r--···0·root·········(0)·root·········(0)·····9815·2023-01-12·15:06:30.000000·./usr/share/doc/libdune-common-doc/copyright
31 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/31 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/
32 -rw-r--r--···0·root·········(0)·root·········(0)·····2875·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00002.html32 -rw-r--r--···0·root·········(0)·root·········(0)·····2875·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00002.html
33 -rw-r--r--···0·root·········(0)·root·········(0)·····6156·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008.html 
34 -rw-r--r--···0·root·········(0)·root·········(0)····18508·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008_source.html 
35 -rw-r--r--···0·root·········(0)·root·········(0)·····6433·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00011.html 
36 -rw-r--r--···0·root·········(0)·root·········(0)····56061·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00011_source.html 
37 -rw-r--r--···0·root·········(0)·root·········(0)·····5802·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014.html 
38 -rw-r--r--···0·root·········(0)·root·········(0)····49130·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014_source.html 
39 -rw-r--r--···0·root·········(0)·root·········(0)····11001·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017.html 
40 -rw-r--r--···0·root·········(0)·root·········(0)···285442·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017_source.html 
41 -rw-r--r--···0·root·········(0)·root·········(0)·····6463·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00020.html 
42 -rw-r--r--···0·root·········(0)·root·········(0)····38085·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00020_source.html 
43 -rw-r--r--···0·root·········(0)·root·········(0)·····8529·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00023.html 
44 -rw-r--r--···0·root·········(0)·root·········(0)····68849·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00023_source.html 
45 -rw-r--r--···0·root·········(0)·root·········(0)·····8223·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00026.html 
46 -rw-r--r--···0·root·········(0)·root·········(0)····45084·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00026_source.html 
47 -rw-r--r--···0·root·········(0)·root·········(0)·····5455·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00029.html 
48 -rw-r--r--···0·root·········(0)·root·········(0)····33081·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00029_source.html 
49 -rw-r--r--···0·root·········(0)·root·········(0)·····6215·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00032.html 
50 -rw-r--r--···0·root·········(0)·root·········(0)····32452·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00032_source.html 
51 -rw-r--r--···0·root·········(0)·root·········(0)····18448·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00035.html 
52 -rw-r--r--···0·root·········(0)·root·········(0)···177953·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00035_source.html 
53 -rw-r--r--···0·root·········(0)·root·········(0)····11262·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038.html 
54 -rw-r--r--···0·root·········(0)·root·········(0)····97989·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038_source.html 
55 -rw-r--r--···0·root·········(0)·root·········(0)····12174·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044.html 
56 -rw-r--r--···0·root·········(0)·root·········(0)···170838·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044_source.html 
57 -rw-r--r--···0·root·········(0)·root·········(0)·····3488·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047.html 
58 -rw-r--r--···0·root·········(0)·root·········(0)·····4599·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047_source.html 
59 -rw-r--r--···0·root·········(0)·root·········(0)·····7187·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050.html 
60 -rw-r--r--···0·root·········(0)·root·········(0)····31844·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050_source.html 
61 -rw-r--r--···0·root·········(0)·root·········(0)·····3479·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053.html 
62 -rw-r--r--···0·root·········(0)·root·········(0)·····4602·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053_source.html 
63 -rw-r--r--···0·root·········(0)·root·········(0)·····8958·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056.html 
64 -rw-r--r--···0·root·········(0)·root·········(0)···171994·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056_source.html 
65 -rw-r--r--···0·root·········(0)·root·········(0)·····7395·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059.html 
66 -rw-r--r--···0·root·········(0)·root·········(0)···135895·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059_source.html 
67 -rw-r--r--···0·root·········(0)·root·········(0)·····6387·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00062.html 
68 -rw-r--r--···0·root·········(0)·root·········(0)····18874·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00062_source.html 
69 -rw-r--r--···0·root·········(0)·root·········(0)·····6387·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00065.html 
70 -rw-r--r--···0·root·········(0)·root·········(0)····44463·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00065_source.html 
71 -rw-r--r--···0·root·········(0)·root·········(0)·····8593·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00068.html 
72 -rw-r--r--···0·root·········(0)·root·········(0)····50688·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00068_source.html 
73 -rw-r--r--···0·root·········(0)·root·········(0)····22487·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00071.html 
74 -rw-r--r--···0·root·········(0)·root·········(0)·····4754·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00074.html33 -rw-r--r--···0·root·········(0)·root·········(0)·····4754·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00008.html
 34 -rw-r--r--···0·root·········(0)·root·········(0)·····6651·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00011.html
 35 -rw-r--r--···0·root·········(0)·root·········(0)·····6253·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014.html
 36 -rw-r--r--···0·root·········(0)·root·········(0)····15564·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00014_source.html
 37 -rw-r--r--···0·root·········(0)·root·········(0)·····4537·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00017.html
 38 -rw-r--r--···0·root·········(0)·root·········(0)·····7160·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00020.html
 39 -rw-r--r--···0·root·········(0)·root·········(0)····13976·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00020_source.html
 40 -rw-r--r--···0·root·········(0)·root·········(0)·····7215·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00023.html
 41 -rw-r--r--···0·root·········(0)·root·········(0)····30184·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00023_source.html
 42 -rw-r--r--···0·root·········(0)·root·········(0)·····5301·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00026.html
 43 -rw-r--r--···0·root·········(0)·root·········(0)·····7858·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00026_source.html
 44 -rw-r--r--···0·root·········(0)·root·········(0)·····5064·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00029.html
 45 -rw-r--r--···0·root·········(0)·root·········(0)·····9917·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00029_source.html
 46 -rw-r--r--···0·root·········(0)·root·········(0)····13285·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00032.html
 47 -rw-r--r--···0·root·········(0)·root·········(0)····28077·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00032_source.html
75 -rw-r--r--···0·root·········(0)·root·········(0)·····5420·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077.html48 -rw-r--r--···0·root·········(0)·root·········(0)·····5420·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00035.html
76 -rw-r--r--···0·root·········(0)·root·········(0)·····8892·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077_source.html49 -rw-r--r--···0·root·········(0)·root·········(0)·····8892·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00035_source.html
 50 -rw-r--r--···0·root·········(0)·root·········(0)····45376·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038.html
 51 -rw-r--r--···0·root·········(0)·root·········(0)····14273·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00038_source.html
 52 -rw-r--r--···0·root·········(0)·root·········(0)·····4584·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00041.html
 53 -rw-r--r--···0·root·········(0)·root·········(0)····13590·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00041_source.html
77 -rw-r--r--···0·root·········(0)·root·········(0)·····8243·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080.html54 -rw-r--r--···0·root·········(0)·root·········(0)·····8243·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044.html
78 -rw-r--r--···0·root·········(0)·root·········(0)····40020·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080_source.html55 -rw-r--r--···0·root·········(0)·root·········(0)····40020·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00044_source.html
 56 -rw-r--r--···0·root·········(0)·root·········(0)·····3650·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047.html
 57 -rw-r--r--···0·root·········(0)·root·········(0)·····6145·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00047_source.html
 58 -rw-r--r--···0·root·········(0)·root·········(0)·····6044·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050.html
 59 -rw-r--r--···0·root·········(0)·root·········(0)·····8357·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00050_source.html
 60 -rw-r--r--···0·root·········(0)·root·········(0)····73012·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053.html
 61 -rw-r--r--···0·root·········(0)·root·········(0)···145326·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00053_source.html
 62 -rw-r--r--···0·root·········(0)·root·········(0)·····9514·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056.html
 63 -rw-r--r--···0·root·········(0)·root·········(0)····18624·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00056_source.html
79 -rw-r--r--···0·root·········(0)·root·········(0)····17498·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00083.html64 -rw-r--r--···0·root·········(0)·root·········(0)····13788·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059.html
80 -rw-r--r--···0·root·········(0)·root·········(0)····44697·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00083_source.html65 -rw-r--r--···0·root·········(0)·root·········(0)····86891·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00059_source.html
 66 -rw-r--r--···0·root·········(0)·root·········(0)····22309·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00062.html
 67 -rw-r--r--···0·root·········(0)·root·········(0)····41730·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00062_source.html
 68 -rw-r--r--···0·root·········(0)·root·········(0)····13240·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00065.html
 69 -rw-r--r--···0·root·········(0)·root·········(0)····19678·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00065_source.html
81 -rw-r--r--···0·root·········(0)·root·········(0)·····6004·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086.html70 -rw-r--r--···0·root·········(0)·root·········(0)·····6504·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00068.html
82 -rw-r--r--···0·root·········(0)·root·········(0)····16983·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086_source.html71 -rw-r--r--···0·root·········(0)·root·········(0)····10628·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00068_source.html
 72 -rw-r--r--···0·root·········(0)·root·········(0)·····3479·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00074.html
 73 -rw-r--r--···0·root·········(0)·root·········(0)····31969·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077.html
 74 -rw-r--r--···0·root·········(0)·root·········(0)···351570·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00077_source.html
 75 -rw-r--r--···0·root·········(0)·root·········(0)·····3944·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00080.html
 76 -rw-r--r--···0·root·········(0)·root·········(0)····20498·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00083.html
 77 -rw-r--r--···0·root·········(0)·root·········(0)····65100·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00083_source.html
 78 -rw-r--r--···0·root·········(0)·root·········(0)·····8013·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086.html
 79 -rw-r--r--···0·root·········(0)·root·········(0)···143638·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00086_source.html
83 -rw-r--r--···0·root·········(0)·root·········(0)·····4537·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089.html80 -rw-r--r--···0·root·········(0)·root·········(0)·····5431·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089.html
 81 -rw-r--r--···0·root·········(0)·root·········(0)·····6938·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00089_source.html
84 -rw-r--r--···0·root·········(0)·root·········(0)·····6651·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092.html82 -rw-r--r--···0·root·········(0)·root·········(0)·····6650·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092.html
 83 -rw-r--r--···0·root·········(0)·root·········(0)····12338·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00092_source.html
85 -rw-r--r--···0·root·········(0)·root·········(0)·····9892·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095.html84 -rw-r--r--···0·root·········(0)·root·········(0)·····6373·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095.html
 85 -rw-r--r--···0·root·········(0)·root·········(0)····18116·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095_source.html
 86 -rw-r--r--···0·root·········(0)·root·········(0)····11254·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098.html
86 -rw-r--r--···0·root·········(0)·root·········(0)···109105·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00095_source.html87 -rw-r--r--···0·root·········(0)·root·········(0)···114010·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098_source.html
87 -rw-r--r--···0·root·········(0)·root·········(0)·····6044·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098.html88 -rw-r--r--···0·root·········(0)·root·········(0)·····6004·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101.html
88 -rw-r--r--···0·root·········(0)·root·········(0)·····8357·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00098_source.html 
89 -rw-r--r--···0·root·········(0)·root·········(0)·····8575·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101.html 
90 -rw-r--r--···0·root·········(0)·root·········(0)····60148·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101_source.html89 -rw-r--r--···0·root·········(0)·root·········(0)····16983·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00101_source.html
91 -rw-r--r--···0·root·········(0)·root·········(0)·····4512·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104.html 
92 -rw-r--r--···0·root·········(0)·root·········(0)·····6996·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104_source.html 
93 -rw-r--r--···0·root·········(0)·root·········(0)·····7240·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107.html 
94 -rw-r--r--···0·root·········(0)·root·········(0)····18045·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107_source.html 
95 -rw-r--r--···0·root·········(0)·root·········(0)·····7987·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110.html 
96 -rw-r--r--···0·root·········(0)·root·········(0)····61732·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110_source.html 
97 -rw-r--r--···0·root·········(0)·root·········(0)·····3214·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00113.html 
98 -rw-r--r--···0·root·········(0)·root·········(0)····51504·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00113_source.html 
99 -rw-r--r--···0·root·········(0)·root·········(0)·····7934·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00116.html 
100 -rw-r--r--···0·root·········(0)·root·········(0)····24902·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00119.html 
101 -rw-r--r--···0·root·········(0)·root·········(0)····62033·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00119_source.html 
102 -rw-r--r--···0·root·········(0)·root·········(0)····11254·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00122.html 
103 -rw-r--r--···0·root·········(0)·root·········(0)···114010·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00122_source.html 
104 -rw-r--r--···0·root·········(0)·root·········(0)·····9138·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00125.html 
105 -rw-r--r--···0·root·········(0)·root·········(0)·····6998·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00128.html90 -rw-r--r--···0·root·········(0)·root·········(0)·····6998·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104.html
106 -rw-r--r--···0·root·········(0)·root·········(0)···148981·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00128_source.html91 -rw-r--r--···0·root·········(0)·root·········(0)···148981·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00104_source.html
 92 -rw-r--r--···0·root·········(0)·root·········(0)····16962·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107.html
 93 -rw-r--r--···0·root·········(0)·root·········(0)···166161·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00107_source.html
 94 -rw-r--r--···0·root·········(0)·root·········(0)····13669·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110.html
 95 -rw-r--r--···0·root·········(0)·root·········(0)····53424·2023-01-12·15:39:41.000000·./usr/share/doc/libdune-common-doc/doxygen/a00110_source.html
Max diff block lines reached; 44590/73865 bytes (60.37%) of diff not shown.
6.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a00008.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·tuplevector.hh·File·Reference</title>8 <title>dune-common:·stdthread.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 52 lines modifiedOffset 63, 36 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">tuplevector.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">stdthread.cc·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>
 76 <code>#include·&lt;iostream&gt;</code><br·/>
79 <code>#include·&lt;utility&gt;</code><br·/>77 <code>#include·&lt;mutex&gt;</code><br·/>
 78 <code>#include·&lt;ostream&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00125_source.html">dune/common/stdthread.hh</a>&gt;</code><br·/>
83 </div> 
84 <p><a·href="a00008_source.html">Go·to·the·source·code·of·this·file.</a></p> 
85 <table·class="memberdecls">80 </div><table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
87 Classes</h2></td></tr> 
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03024.html">Dune::TupleVector&lt;·T·&gt;</a></td></tr> 
89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·class·augmenting·std::tuple·by·element·access·via·operator[].··<a·href="a03024.html#details">More...</a><br·/></td></tr> 
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 </table><table·class="memberdecls"> 
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
93 Namespaces</h2></td></tr>82 Namespaces</h2></td></tr>
94 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>83 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
95 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>84 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
99 Functions</h2></td></tr>88 Functions</h2></td></tr>
 89 <tr·class="memitem:aa76832a917330622cdf531c2e6375f4c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">Dune::doAssertCallOnce</a>·(const·char·*file,·int·line,·const·char·*function)</td></tr>
100 <tr·class="memitem:ae982edb333af3a1f24fe324cc593be0d"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr> 
101 <tr·class="memitem:ae982edb333af3a1f24fe324cc593be0d"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae982edb333af3a1f24fe324cc593be0d">Dune::makeTupleVector</a>·(T·&amp;&amp;...·t)</td></tr> 
102 <tr·class="separator:ae982edb333af3a1f24fe324cc593be0d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table>91 </table>
104 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
105 <div·class="textblock"><p·>Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·</p> 
106 <dl·class="section·author"><dt>Author</dt><dd>Carsten·Gräser·</dd></dl> 
107 </div></div><!--·contents·-->92 </div><!--·contents·-->
108 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
109 <hr·class="footer"/><address·class="footer"><small>94 <hr·class="footer"/><address·class="footer"><small>
110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.495 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
111 </small></address>96 </small></address>
112 </body>97 </body>
113 </html>98 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
1.18 KB
html2text {}
    
Offset 4, 35 lines modifiedOffset 4, 24 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Namespaces·|·Functions
8 tuplevector.hh·File·Reference 
9 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·More...8 stdthread.cc·File·Reference
 9 #include·<cstdlib>
 10 #include·<iostream>
10 #include·<tuple>11 #include·<mutex>
 12 #include·<ostream>
11 #include·<utility> 
12 #include·<dune/common/indices.hh> 
13 #include·<dune/common/typetraits.hh> 
14 #include·<dune/common/std/type_traits.hh>13 #include·<dune/common/stdthread.hh>
15 Go_to_the_source_code_of_this_file. 
16 ·Classes 
17 class· Dune::TupleVector<_T_> 
18  ······A·class·augmenting·std::tuple·by·element·access·via·operator[].·More... 
19   
20 ·Namespaces14 ·Namespaces
21 namespace· Dune15 namespace· Dune
22  ··········Dune·namespace.16  ··········Dune·namespace.
23  17  
24 ·Functions18 ·Functions
 19 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)
25 template<class...·T> 
26 constexpr·auto Dune::makeTupleVector·(T·&&...·t) 
27  20  
28 *****·Detailed·Description·***** 
29 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[]. 
30 ··Author 
31 ······Carsten·Gräser 
  
32 ===============================================================================21 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.422 ·····Generated·by [doxygen]·1.9.4
10.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00011.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·selection.hh·File·Reference</title>8 <title>dune-common:·debugalign.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 53 lines modifiedOffset 58, 51 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>··</div>69 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">selection.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel[·...·truncated·by·diffoscope;·len:·45,·SHA:·bb400a3671523c8b1e0fe304e99812f39f58c916bb15004b83324fd8246e59aa·...·]</div>70 <a·href="#func-members">Functions</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">debugalign.cc·File·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Provides·classes·for·selecting·indices·based·on·attribute·flags.·· 
75 <a·href="#details">More...</a></p> 
76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00035_source.html">indexset.hh</a>&quot;</code><br·/>74 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
 75 <code>#include·&lt;cstddef&gt;</code><br·/>
 76 <code>#include·&lt;cstdlib&gt;</code><br·/>
 77 <code>#include·&lt;functional&gt;</code><br·/>
 78 <code>#include·&lt;ios&gt;</code><br·/>
 79 <code>#include·&lt;iostream&gt;</code><br·/>
 80 <code>#include·&lt;utility&gt;</code><br·/>
77 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/>
78 </div> 
79 <p><a·href="a00011_source.html">Go·to·the·source·code·of·this·file.</a></p> 
80 <table·class="memberdecls">82 </div><table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
82 Classes</h2></td></tr> 
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02264.html">Dune::SelectionIterator&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr> 
84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·const·iterator·over·an·uncached·selection.··<a·href="a02264.html#details">More...</a><br·/></td></tr> 
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02268.html">Dune::UncachedSelection&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr> 
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·uncached·selection·of·indices.··<a·href="a02268.html#details">More...</a><br·/></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02272.html">Dune::Selection&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·cached·selection·of·indices.··<a·href="a02272.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 </table><table·class="memberdecls"> 
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>84 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>85 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>86 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 </table><table·class="memberdecls">
 89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 90 Functions</h2></td></tr>
 91 <tr·class="memitem:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a9f0c3f5a28263a8dd6cb81d9cfd8c929">Dune::defaultViolatedAlignment</a>·(const·char·*className,·std::size_t·expectedAlignment,·const·void·*address)</td></tr>
 92 <tr·class="memdesc:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">default·alignment·violation·handler··<a·href="a00425.html#a9f0c3f5a28263a8dd6cb81d9cfd8c929">More...</a><br·/></td></tr>
 93 <tr·class="separator:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:abeb716c21bff1ff9559bb62074d90e86"><td·class="memItemLeft"·align="right"·valign="top">ViolatedAlignmentHandler·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">Dune::violatedAlignmentHandler</a>·()</td></tr>
 95 <tr·class="memdesc:abeb716c21bff1ff9559bb62074d90e86"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·the·handler·called·by·<code><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe"·title="called·when·an·alignment·violation·is·detected">violatedAlignment()</a></code>··<a·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">More...</a><br·/></td></tr>
 96 <tr·class="separator:abeb716c21bff1ff9559bb62074d90e86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:a0e6c32c539889f324d46417dca3dfebe"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">Dune::violatedAlignment</a>·(const·char·*className,·std::size_t·expectedAlignment,·const·void·*address)</td></tr>
 98 <tr·class="memdesc:a0e6c32c539889f324d46417dca3dfebe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">called·when·an·alignment·violation·is·detected··<a·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">More...</a><br·/></td></tr>
 99 <tr·class="separator:a0e6c32c539889f324d46417dca3dfebe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>100 </table>
99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
100 <div·class="textblock"><p·>Provides·classes·for·selecting·indices·based·on·attribute·flags.·</p> 
101 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
102 </div></div><!--·contents·-->101 </div><!--·contents·-->
103 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>103 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>105 </small></address>
107 </body>106 </body>
108 </html>107 </html>
1.96 KB
html2text {}
    
Offset 4, 36 lines modifiedOffset 4, 39 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Functions
 8 debugalign.cc·File·Reference
 9 #include·<config.h>
 10 #include·<cstddef>
 11 #include·<cstdlib>
 12 #include·<functional>
 13 #include·<ios>
 14 #include·<iostream>
 15 #include·<utility>
 16 #include·<dune/common/debugalign.hh>
7 ····*·parallel 
8 Classes·|·Namespaces 
9 selection.hh·File·Reference 
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Provides·classes·for·selecting·indices·based·on·attribute·flags.·More... 
12 #include·"indexset.hh" 
13 #include·<dune/common/iteratorfacades.hh> 
14 Go_to_the_source_code_of_this_file. 
15 ·Classes 
16 class· Dune::SelectionIterator<_TS,_TG,_TL,_N_> 
17  ······A·const·iterator·over·an·uncached·selection.·More... 
18   
19 class· Dune::UncachedSelection<_TS,_TG,_TL,_N_> 
20  ······An·uncached·selection·of·indices.·More... 
21   
22 class· Dune::Selection<_TS,_TG,_TL,_N_> 
23  ······A·cached·selection·of·indices.·More... 
24   
25 ·Namespaces17 ·Namespaces
26 namespace· Dune18 namespace· Dune
27  ··········Dune·namespace.19  ··········Dune·namespace.
28  20  
29 *****·Detailed·Description·***** 
30 Provides·classes·for·selecting·indices·based·on·attribute·flags. 
31 ··Author 
32 ······Markus·Blatt21 ·Functions
 22 ···············static·void Dune::defaultViolatedAlignment·(const·char
 23 ····························*className,·std::size_t·expectedAlignment,·const
 24 ····························void·*address)
 25  ··························default·alignment·violation·handler·More...
 26  
 27 ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·()
 28  ··························access·the·handler·called·by·violatedAlignment()
 29 ····························More...
 30  
 31 ······················void Dune::violatedAlignment·(const·char·*className,
 32 ····························std::size_t·expectedAlignment,·const·void·*address)
 33  ··························called·when·an·alignment·violation·is·detected
 34 ····························More...
 35  
  
33 ===============================================================================36 ===============================================================================
34 ·····Generated·by [doxygen]·1.9.437 ·····Generated·by [doxygen]·1.9.4
8.73 KB
./usr/share/doc/libdune-common-doc/doxygen/a00014.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpipack.hh·File·Reference</title>8 <title>dune-common:·classname.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 51 lines modifiedOffset 58, 54 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>··</div>69 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">mpipack.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>70 <a·href="#func-members">Functions</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">classname.hh·File·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>See·MPI_Pack.··74 <p>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>
 77 <code>#include·&lt;memory&gt;</code><br·/>
 78 <code>#include·&lt;string&gt;</code><br·/>
77 <code>#include·&lt;mpi.h&gt;</code><br·/>79 <code>#include·&lt;typeinfo&gt;</code><br·/>
 80 <code>#include·&lt;type_traits&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/> 
80 </div>81 </div>
81 <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00014_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">83 <table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
84 Classes</h2></td></tr> 
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02212.html">Dune::MPIPack</a></td></tr> 
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02216.html">Dune::MPIData&lt;·P,·std::enable_if_t&lt;·std::is_same&lt;·std::remove_const_t&lt;·P·&gt;,·MPIPack·&gt;::value·&gt;·&gt;</a></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 </table><table·class="memberdecls"> 
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>85 Namespaces</h2></td></tr>
92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 </table><table·class="memberdecls">
 90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 91 Functions</h2></td></tr>
 92 <tr·class="memitem:a33ac30656648b528235c913852c28ac7"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 93 <tr·class="memitem:a33ac30656648b528235c913852c28ac7"><td·class="memTemplItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a33ac30656648b528235c913852c28ac7">Dune::className</a>·()</td></tr>
 94 <tr·class="memdesc:a33ac30656648b528235c913852c28ac7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provide·the·demangled·class·name·of·a·type·T·as·a·string.··<a·href="a00425.html#a33ac30656648b528235c913852c28ac7">More...</a><br·/></td></tr>
 95 <tr·class="separator:a33ac30656648b528235c913852c28ac7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 <tr·class="memitem:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 97 <tr·class="memitem:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memTemplItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a1d7665500285ebc74f89523cb8cf4fae">Dune::className</a>·(T·&amp;&amp;v)</td></tr>
 98 <tr·class="memdesc:a1d7665500285ebc74f89523cb8cf4fae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provide·the·demangled·class·name·of·a·given·object·as·a·string.··<a·href="a00425.html#a1d7665500285ebc74f89523cb8cf4fae">More...</a><br·/></td></tr>
 99 <tr·class="separator:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table>100 </table>
96 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 102 <div·class="textblock"><p·>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.·</p>
97 <div·class="textblock"><p·>See·MPI_Pack.·</p> 
98 <p·>This·Wrapper·class·takes·care·of·the·memory·management·and·provides·methods·to·pack·and·unpack·objects.·All·objects·that·can·be·used·for·MPI·communication·can·also·be·packed·and·unpacked·to/from·MPIPack.</p> 
99 <dl·class="section·author"><dt>Author</dt><dd>Nils-Arne·Dreier·</dd></dl> 
100 </div></div><!--·contents·-->103 </div></div><!--·contents·-->
101 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>105 <hr·class="footer"/><address·class="footer"><small>
103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
104 </small></address>107 </small></address>
105 </body>108 </body>
106 </html>109 </html>
1.63 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 37 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 Classes·|·Namespaces 
9 mpipack.hh·File·Reference 
10 Common·»·Parallel_Communication 
11 See·MPI_Pack.·More...7 Namespaces·|·Functions
 8 classname.hh·File·Reference
 9 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type
 10 as·a·string.·More...
 11 #include·<cstdlib>
12 #include·<vector>12 #include·<memory>
13 #include·<mpi.h> 
14 #include·<dune/common/parallel/mpicommunication.hh> 
15 #include·<dune/common/parallel/mpidata.hh>13 #include·<string>
 14 #include·<typeinfo>
 15 #include·<type_traits>
16 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
17 ·Classes 
18 ·class· Dune::MPIPack 
19   
20 struct· Dune::MPIData<_P,_std::enable_if_t<_std::is_same<_std::remove_const_t< 
21 ·········P_>,_MPIPack_>::value_>_> 
22   
23 ·Namespaces17 ·Namespaces
24 namespace· Dune18 namespace· Dune
25  ··········Dune·namespace.19  ··········Dune·namespace.
26  20  
 21 ·Functions
 22 template<class·T·>
 23 std::string Dune::className·()
 24  ···········Provide·the·demangled·class·name·of·a·type·T·as·a·string.·More...
 25  
 26 template<class·T·>
 27 std::string Dune::className·(T·&&v)
 28  ···········Provide·the·demangled·class·name·of·a·given·object·as·a·string.
 29 ·············More...
 30  
27 *****·Detailed·Description·*****31 *****·Detailed·Description·*****
 32 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type
 33 as·a·string.
28 See·MPI_Pack. 
29 This·Wrapper·class·takes·care·of·the·memory·management·and·provides·methods·to 
30 pack·and·unpack·objects.·All·objects·that·can·be·used·for·MPI·communication·can 
31 also·be·packed·and·unpacked·to/from·MPIPack. 
32 ··Author 
33 ······Nils-Arne·Dreier 
  
34 ===============================================================================34 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
69.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00014_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpipack.hh·Source·File</title>8 <title>dune-common:·classname.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 235 lines modifiedOffset 58, 95 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpipack.hh</div></div>68 ··<div·class="headertitle"><div·class="title">classname.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00014.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment"></span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_CLASSNAME_HH</span></div>
76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_MPIPACK_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_CLASSNAME_HH</span></div>
77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>78 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#if·HAVE_MPI</span></div>79 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>80 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00038.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div>81 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00050.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>82 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>83 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 84 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#if·__has_include(&lt;cxxabi.h&gt;)·&amp;&amp;·!DISABLE_CXA_DEMANGLE</span></div>
 85 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#define·HAVE_CXA_DEMANGLE·1</span></div>
 86 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cxxabi.h&gt;</span></div>
 87 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif·</span><span·class="comment">//·#if·HAVE_CXA_DEMANGLE</span></div>
 88 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 89 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 90 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 91 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">namespace·</span>Impl·{</div>
 92 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">inline</span>·std::string·demangle(std::string·name)</div>
84 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>
85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#if·HAVE_CXA_DEMANGLE</span></div>
 96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keywordtype">int</span>·status;</div>
 97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······std::unique_ptr&lt;char,·void(*)(<span·class="keywordtype">void</span>*)&gt;</div>
 98 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>········demangled(abi::__cxa_demangle(name.c_str(),·<span·class="keyword">nullptr</span>,·<span·class="keyword">nullptr</span>,·&amp;status),</div>
 99 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··················std::free);</div>
 100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordflow">if</span>(·demangled·)</div>
 101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········name·=·demangled.get();</div>
 102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#endif·</span><span·class="comment">//·#if·HAVE_CXA_DEMANGLE</span></div>
 103 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keywordflow">return</span>·name;</div>
 104 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····}</div>
 105 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>
86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>106 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
87 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a02212.html">···32</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02212.html">MPIPack</a>·{</div> 
88 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····std::vector&lt;char&gt;·_buffer;</div> 
89 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordtype">int</span>·_position;</div> 
90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a02212.html#a809c55b98255835e47bc6a5ae30f9f73">···35</a></span>····MPI_Comm·_comm;</div> 
91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">friend</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a>&lt;<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&gt;;</div> 
93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">friend</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a>&lt;const·<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&gt;;</div> 
94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>:</div>107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="comment">/*</span></div>
95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02212.html#a4e166e81e3c9ffba16197994c428112f">···40</a></span>····<a·class="code·hl_function"·href="a02212.html#a4e166e81e3c9ffba16197994c428112f">MPIPack</a>(<a·class="code·hl_class"·href="a02164.html">Communication&lt;MPI_Comm&gt;</a>·comm,·std::size_t·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·0)</div> 
96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······:·_buffer(<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>)</div> 
97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······,·_position(0)</div> 
98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······,·_comm(comm)</div> 
99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····{}</div>108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">···*·\ingroup·CxxUtilities</span></div>
100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">···*/</span></div>
101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="comment">//·Its·not·valid·to·copy·a·MPIPack·but·you·can·move·it</span></div> 
102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a02212.html#a9f5ffce415d2f91c197a89d66f8c168e">···47</a></span>····<a·class="code·hl_function"·href="a02212.html#a9f5ffce415d2f91c197a89d66f8c168e">MPIPack</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;)·=·<span·class="keyword">delete</span>;</div> 
103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02212.html#a40ac12929ecb34d676625912c18fc5f7">···48</a></span>····<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;·<a·class="code·hl_function"·href="a02212.html#a40ac12929ecb34d676625912c18fc5f7">operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;·other)·=·<span·class="keyword">delete</span>;</div> 
104 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02212.html#ae345dccaffe1d2a7249cb69a6ed05bd1">···49</a></span>····<a·class="code·hl_function"·href="a02212.html#ae345dccaffe1d2a7249cb69a6ed05bd1">MPIPack</a>(<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;&amp;)·=·<span·class="keywordflow">default</span>;</div> 
105 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02212.html#a802cd4e8c4661dd5f8310aa79a8072dc">···50</a></span>····<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;·<a·class="code·hl_function"·href="a02212.html#a40ac12929ecb34d676625912c18fc5f7">operator·=·</a>(<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;&amp;·other)·=·<span·class="keywordflow">default</span>;</div> 
106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
107 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
108 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a02212.html#a8137baa3519b95bca7666656ab444c9a">···58</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02212.html#a8137baa3519b95bca7666656ab444c9a">pack</a>(<span·class="keyword">const</span>·T&amp;·data){</div> 
109 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">auto</span>·mpidata·=·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data);</div> 
110 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·<a·class="code·hl_function"·href="a02212.html#af8489fffe0883c0f32ea94149fa4ca07">getPackSize</a>(mpidata.size(),·_comm,·mpidata.type());</div> 
111 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·has_static_size·=·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(std::declval&lt;T&amp;&gt;()))::static_size;</div> 
112 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">if</span>(!has_static_size)</div> 
113 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·+=·<a·class="code·hl_function"·href="a02212.html#af8489fffe0883c0f32ea94149fa4ca07">getPackSize</a>(1,·_comm,·MPI_INT);</div> 
114 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">if</span>·(_position·+·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·&gt;·0·&amp;&amp;·<span·class="keywordtype">size_t</span>(_position·+·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>)·&gt;·_buffer.size())·<span·class="comment">//·resize·buffer·if·necessary</span></div> 
115 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········_buffer.resize(_position·+·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>);</div> 
116 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keywordflow">if</span>(!has_static_size){</div> 
117 <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="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·mpidata.size();</div> 
118 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········MPI_Pack(&amp;<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>,·1,·MPI_INT,·_buffer.data(),·_buffer.size(),</div> 
119 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·················&amp;_position,·_comm);</div> 
120 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······}</div> 
121 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······MPI_Pack(mpidata.ptr(),·mpidata.size(),</div> 
122 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···············mpidata.type(),·_buffer.data(),·_buffer.size(),</div> 
123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···············&amp;_position,·_comm);</div> 
124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div> 
125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a02212.html#a9397dca7e515551b4bd9cffd4e80596a">···81</a></span>····<span·class="keyword">auto</span>·<span·class="comment">/*void*/</span>·<a·class="code·hl_function"·href="a02212.html#a9397dca7e515551b4bd9cffd4e80596a">unpack</a>(T&amp;·data)</div> 
128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······-&gt;·std::enable_if_t&lt;<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data))::static_size,·<span·class="keywordtype">void</span>&gt;</div> 
129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{</div> 
130 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keyword">auto</span>·mpidata·=·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data);</div> 
131 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······MPI_Unpack(_buffer.data(),·_buffer.size(),·&amp;_position,</div> 
132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·················mpidata.ptr(),·mpidata.size(),</div> 
133 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·················mpidata.type(),·_comm);</div> 
134 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div> 
135 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
136 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>
 111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00425.html#a33ac30656648b528235c913852c28ac7">···47</a></span>··std::string·<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>·()</div>
137 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a02212.html#a8f9f039ea91efa7b7abf5315d42de788">···95</a></span>····<span·class="keyword">auto</span>·<span·class="comment">/*void*/</span>·<a·class="code·hl_function"·href="a02212.html#a8f9f039ea91efa7b7abf5315d42de788">unpack</a>(T&amp;·data)</div> 
138 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······-&gt;·std::enable_if_t&lt;!<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data))::static_size,·<span·class="keywordtype">void</span>&gt;</div> 
139 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····{</div> 
140 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<span·class="keyword">auto</span>·mpidata·=·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data);</div> 
141 <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="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·0;</div> 
142 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······MPI_Unpack(_buffer.data(),·_buffer.size(),·&amp;_position,</div> 
143 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·················&amp;<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>,·1,</div> 
144 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·················MPI_INT,·_comm);</div> 
145 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······mpidata.resize(<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>);</div> 
146 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······MPI_Unpack(_buffer.data(),·_buffer.size(),·&amp;_position,</div> 
Max diff block lines reached; 12021/59820 bytes (20.10%) of diff not shown.
10.9 KB
html2text {}
    
Offset 4, 325 lines modifiedOffset 4, 92 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 classname.hh
7 ····*·parallel 
8 mpipack.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·20#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH 
16 ·21#define·DUNE_COMMON_PARALLEL_MPIPACK_HH 
17 ·2214 ·5#ifndef·DUNE_CLASSNAME_HH
 15 ·6#define·DUNE_CLASSNAME_HH
 16 ·7
 17 ·13#include·<cstdlib>
18 ·23#include·<vector>18 ·14#include·<memory>
19 ·24#if·HAVE_MPI19 ·15#include·<string>
 20 ·16#include·<typeinfo>
 21 ·17#include·<type_traits>
 22 ·18
 23 ·19#if·__has_include(<cxxabi.h>)·&&·!DISABLE_CXA_DEMANGLE
 24 ·20#define·HAVE_CXA_DEMANGLE·1
20 ·25#include·<mpi.h>25 ·21#include·<cxxabi.h>
 26 ·22#endif·//·#if·HAVE_CXA_DEMANGLE
 27 ·23
21 ·26#include·<dune/common/parallel/mpicommunication.hh> 
22 ·27#include·<dune/common/parallel/mpidata.hh> 
23 ·28 
24 ·29 
25 ·30namespace·Dune·{28 ·24namespace·Dune·{
 29 ·25
 30 ·26·namespace·Impl·{
 31 ·27
 32 ·28·inline·std::string·demangle(std::string·name)
 33 ·29·{
 34 ·30#if·HAVE_CXA_DEMANGLE
 35 ·31·int·status;
 36 ·32·std::unique_ptr<char,·void(*)(void*)>
 37 ·33·demangled(abi::__cxa_demangle(name.c_str(),·nullptr,·nullptr,·&status),
 38 ·34·std::free);
 39 ·35·if(·demangled·)
 40 ·36·name·=·demangled.get();
 41 ·37#endif·//·#if·HAVE_CXA_DEMANGLE
 42 ·38·return·name;
 43 ·39·}
26 ·31 
27 32·class·MPIPack·{ 
28 ·33·std::vector<char>·_buffer; 
29 ·34·int·_position; 
30 35·MPI_Comm·_comm; 
31 ·36 
32 ·37·friend·struct·MPIData<MPIPack>; 
33 ·38·friend·struct·MPIData<const·MPIPack>; 
34 ·39·public: 
35 40·MPIPack(Communication<MPI_Comm>·comm,·std::size_t·size·=·0) 
36 ·41·:·_buffer(size) 
37 ·42·,·_position(0) 
38 ·43·,·_comm(comm) 
39 ·44·{} 
40 ·45 
41 ·46·//·Its·not·valid·to·copy·a·MPIPack·but·you·can·move·it 
42 47·MPIPack(const·MPIPack&)·=·delete; 
43 48·MPIPack&·operator_=(const·MPIPack&·other)·=·delete; 
44 49·MPIPack(MPIPack&&)·=·default; 
45 50·MPIPack&·operator_=(MPIPack&&·other)·=·default; 
46 ·51 
47 ·57·template<class·T> 
48 58·void·pack(const·T&·data){ 
49 ·59·auto·mpidata·=·getMPIData(data); 
50 ·60·int·size·=·getPackSize(mpidata.size(),·_comm,·mpidata.type()); 
51 ·61·constexpr·bool·has_static_size·=·decltype(getMPIData(std::declval<T&>())):: 
52 static_size; 
53 ·62·if(!has_static_size) 
54 ·63·size·+=·getPackSize(1,·_comm,·MPI_INT); 
55 ·64·if·(_position·+·size·>·0·&&·size_t(_position·+·size)·>·_buffer.size())·/ 
56 /·resize·buffer·if·necessary 
57 ·65·_buffer.resize(_position·+·size); 
58 ·66·if(!has_static_size){ 
59 ·67·int·size·=·mpidata.size(); 
60 ·68·MPI_Pack(&size,·1,·MPI_INT,·_buffer.data(),·_buffer.size(), 
61 ·69·&_position,·_comm); 
62 ·70·}44 ·40·}
 45 ·41
 46 ·43·/*
 47 ·44·*·\ingroup·CxxUtilities
 48 ·45·*/
63 ·71·MPI_Pack(mpidata.ptr(),·mpidata.size(), 
64 ·72·mpidata.type(),·_buffer.data(),·_buffer.size(), 
65 ·73·&_position,·_comm); 
66 ·74·} 
67 ·75 
68 ·80·template<class·T> 
69 81·auto·/*void*/·unpack(T&·data) 
70 ·82·->·std::enable_if_t<decltype(getMPIData(data))::static_size,·void> 
71 ·83·{ 
72 ·84·auto·mpidata·=·getMPIData(data); 
73 ·85·MPI_Unpack(_buffer.data(),·_buffer.size(),·&_position, 
74 ·86·mpidata.ptr(),·mpidata.size(), 
75 ·87·mpidata.type(),·_comm); 
76 ·88·} 
77 ·89 
78 ·94·template<class·T>49 ·46·template·<class·T>
 50 47·std::string·className·()
 51 ·48·{
 52 ·49·typedef·typename·std::remove_reference<T>::type·TR;
 53 ·50·std::string·className·=·Impl::demangle(·typeid(·TR·).name()·);
 54 ·51·if·(std::is_const<TR>::value)
 55 ·52·className·+=·"·const";
 56 ·53·if·(std::is_volatile<TR>::value)
 57 ·54·className·+=·"·volatile";
 58 ·55·if·(std::is_lvalue_reference<T>::value)
 59 ·56·className·+=·"&";
 60 ·57·else·if·(std::is_rvalue_reference<T>::value)
 61 ·58·className·+=·"&&";
 62 ·59·return·className;
 63 ·60·}
 64 ·61
 65 ·63·/*
 66 ·64·*·\ingroup·CxxUtilities
 67 ·65·*/
Max diff block lines reached; 4264/11114 bytes (38.37%) of diff not shown.
13.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00017.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·remoteindices.hh·File·Reference</title>8 <title>dune-common:·fmatrixev.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 89 lines modifiedOffset 58, 48 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124; 
71 <a·href="#func-members">Functions</a>··</div>69 <a·href="#define-members">Macros</a>··</div>
72 ··<div·class="headertitle"><div·class="title">remoteindices.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>70 ··<div·class="headertitle"><div·class="title">fmatrixev.cc·File·Reference</div></div>
73 </div><!--header-->71 </div><!--header-->
74 <div·class="contents">72 <div·class="contents">
  
75 <p>Classes·describing·a·distributed·indexset.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>73 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
78 <code>#include·&lt;iostream&gt;</code><br·/> 
79 <code>#include·&lt;ostream&gt;</code><br·/> 
80 <code>#include·&lt;map&gt;</code><br·/>74 <code>#include·&lt;cmath&gt;</code><br·/>
81 <code>#include·&lt;memory&gt;</code><br·/> 
82 <code>#include·&lt;set&gt;</code><br·/>75 <code>#include·&lt;cassert&gt;</code><br·/>
83 <code>#include·&lt;utility&gt;</code><br·/> 
84 <code>#include·&lt;vector&gt;</code><br·/> 
85 <code>#include·&lt;mpi.h&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>76 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
87 <code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/indexset.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00176_source.html">dune/common/sllist.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
92 </div> 
93 <p><a·href="a00017_source.html">Go·to·the·source·code·of·this·file.</a></p> 
94 <table·class="memberdecls">77 </div><table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
96 Classes</h2></td></tr> 
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02232.html">Dune::MPITraits&lt;·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&gt;</a></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02240.html">Dune::RemoteIndex&lt;·T1,·T2·&gt;</a></td></tr> 
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Information·about·an·index·residing·on·another·processor.··<a·href="a02240.html#details">More...</a><br·/></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02236.html">Dune::RemoteIndices&lt;·T,·A·&gt;</a></td></tr> 
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·indices·present·on·remote·processes.··<a·href="a02236.html#details">More...</a><br·/></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02244.html">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;</a></td></tr> 
106 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote·index·list.··<a·href="a02244.html#details">More...</a><br·/></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02256.html">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition</a></td></tr> 
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02248.html">Dune::CollectiveIterator&lt;·T,·A·&gt;</a></td></tr> 
111 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·collective·iterator·for·moving·over·the·remote·indices·for·all·processes·collectively.··<a·href="a02248.html#details">More...</a><br·/></td></tr> 
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02260.html">Dune::CollectiveIterator&lt;·T,·A·&gt;::iterator</a></td></tr> 
114 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Iterator·over·the·valid·underlying·iterators.··<a·href="a02260.html#details">More...</a><br·/></td></tr> 
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 </table><table·class="memberdecls"> 
117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
118 Namespaces</h2></td></tr> 
119 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
120 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 </table><table·class="memberdecls"> 
123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
124 Functions</h2></td></tr>79 Macros</h2></td></tr>
 80 <tr·class="memitem:afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html#afa3d4fc0f9c478d5f00cc7586b9dad48">DUNE_FMATRIXEIGENVALUES_CC</a></td></tr>
125 <tr·class="memitem:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·typename·T2·&gt;·</td></tr> 
126 <tr·class="memitem:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga3e5f972e5d5b0623aeaae8ea76610ef4">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·RemoteIndex&lt;·T1,·T2·&gt;·&amp;index)</td></tr> 
127 <tr·class="separator:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class·A·&gt;·</td></tr> 
129 <tr·class="memitem:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga4298476f0be2dd2f85d9fb856ff228a1">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·RemoteIndices&lt;·T,·A·&gt;·&amp;indices)</td></tr> 
130 <tr·class="separator:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
131 <tr·class="memitem:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
132 <tr·class="memitem:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a048ab774ecd43e33a5026deafb1c9a8c">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·RemoteIndex&lt;·TG,·TA·&gt;·&amp;index)</td></tr> 
133 <tr·class="separator:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 </table>82 </table>
135 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
136 <div·class="textblock"><p·>Classes·describing·a·distributed·indexset.·</p> 
137 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>83 <h2·class="groupheader">Macro·Definition·Documentation</h2>
 84 <a·id="afa3d4fc0f9c478d5f00cc7586b9dad48"·name="afa3d4fc0f9c478d5f00cc7586b9dad48"></a>
 85 <h2·class="memtitle"><span·class="permalink"><a·href="#afa3d4fc0f9c478d5f00cc7586b9dad48">&#9670;&nbsp;</a></span>DUNE_FMATRIXEIGENVALUES_CC</h2>
  
 86 <div·class="memitem">
 87 <div·class="memproto">
 88 ······<table·class="memname">
 89 ········<tr>
 90 ··········<td·class="memname">#define·DUNE_FMATRIXEIGENVALUES_CC</td>
 91 ········</tr>
 92 ······</table>
 93 </div><div·class="memdoc">
  
 94 </div>
 95 </div>
138 </div></div><!--·contents·-->96 </div><!--·contents·-->
139 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
140 <hr·class="footer"/><address·class="footer"><small>98 <hr·class="footer"/><address·class="footer"><small>
141 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.499 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
142 </small></address>100 </small></address>
143 </body>101 </body>
144 </html>102 </html>
2.47 KB
html2text {}
    
Offset 4, 74 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Macros
 8 fmatrixev.cc·File·Reference
7 ····*·parallel 
8 Classes·|·Namespaces·|·Functions 
9 remoteindices.hh·File·Reference 
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Classes·describing·a·distributed·indexset.·More... 
12 #include·<cassert> 
13 #include·<iostream>9 #include·<iostream>
14 #include·<ostream> 
15 #include·<map>10 #include·<cmath>
16 #include·<memory> 
17 #include·<set>11 #include·<cassert>
18 #include·<utility> 
19 #include·<vector> 
20 #include·<mpi.h> 
21 #include·<dune/common/exceptions.hh>12 #include·<dune/common/exceptions.hh>
 13 ·Macros
 14 #define DUNE_FMATRIXEIGENVALUES_CC
22 #include·<dune/common/parallel/indexset.hh> 
23 #include·<dune/common/parallel/mpitraits.hh> 
24 #include·<dune/common/parallel/plocalindex.hh> 
25 #include·<dune/common/sllist.hh> 
26 #include·<dune/common/stdstreams.hh> 
27 Go_to_the_source_code_of_this_file. 
28 ·Classes 
29 class· Dune::MPITraits<_IndexPair<_TG,_ParallelLocalIndex<_TA_>_>_> 
30   
31 class· Dune::RemoteIndex<_T1,_T2_> 
32  ······Information·about·an·index·residing·on·another·processor.·More... 
33   
34 class· Dune::RemoteIndices<_T,_A_> 
35  ······The·indices·present·on·remote·processes.·More... 
36   
37 class· Dune::RemoteIndexListModifier<_T,_A,_mode_> 
38  ······Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote 
39 ········index·list.·More... 
40   
41 class· Dune::RemoteIndexListModifier<_T,_A,_mode_>::InvalidPosition 
42   
43 class· Dune::CollectiveIterator<_T,_A_> 
44  ······A·collective·iterator·for·moving·over·the·remote·indices·for·all 
45 ········processes·collectively.·More... 
46   
47 class· Dune::CollectiveIterator<_T,_A_>::iterator 
48  ······Iterator·over·the·valid·underlying·iterators.·More... 
49   
50 ·Namespaces 
51 namespace· Dune 
52  ··········Dune·namespace. 
53   
54 ·Functions 
55 template<typename·T1·,·typename·T2·> 
56 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·T1,·T2·> 
57 ················&index) 
58   
59 template<class·T·,·class·A·> 
60 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndices<·T,·A·> 
61 ················&indices) 
62   
63 template<typename·TG·,·typename·TA·> 
64 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·TG,·TA·> 
65 ················&index) 
66  15  
 16 *****·Macro·Definition·Documentation·*****
 17 *****·◆ DUNE_FMATRIXEIGENVALUES_CC·*****
 18 #define·DUNE_FMATRIXEIGENVALUES_CC
67 *****·Detailed·Description·***** 
68 Classes·describing·a·distributed·indexset. 
69 ··Author 
70 ······Markus·Blatt 
  
71 ===============================================================================19 ===============================================================================
72 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
10.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00020.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·future.hh·File·Reference</title>8 <title>dune-common:·streamoperators.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 49 lines modifiedOffset 58, 57 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>··</div>69 <a·href="#namespaces">Namespaces</a>·&#124;
 70 <a·href="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">future.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">streamoperators.hh·File·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
 74 <p>Implementation·of·stream·operators·for·std::array·and·std::tuple.··
 75 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
 77 <code>#include·&lt;tuple&gt;</code><br·/>
 78 <code>#include·&lt;utility&gt;</code><br·/>
75 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00392_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
76 </div>80 </div>
77 <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00020_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <table·class="memberdecls">82 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
80 Classes</h2></td></tr> 
81 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02068.html">Dune::InvalidFutureException</a></td></tr> 
82 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.··<a·href="a02068.html#details">More...</a><br·/></td></tr> 
83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02076.html">Dune::Future&lt;·T·&gt;</a></td></tr> 
85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object·satisfying·the·interface·of·FutureBase.··<a·href="a02076.html#details">More...</a><br·/></td></tr> 
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02072.html">Dune::PseudoFuture&lt;·T·&gt;</a></td></tr> 
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·wrapper-class·for·a·object·which·is·ready·immediately.··<a·href="a02072.html#details">More...</a><br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02088.html">Dune::PseudoFuture&lt;·void·&gt;</a></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 </table><table·class="memberdecls"> 
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>84 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>85 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>86 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 </table><table·class="memberdecls">
 89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 90 Functions</h2></td></tr>
 91 <tr·class="memitem:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename...·Ts&gt;·</td></tr>
 92 <tr·class="memitem:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga940d97a9b4db5e48060115e5e46ccd40">Dune::operator&lt;&lt;</a>·(Stream·&amp;stream,·const·std::tuple&lt;·Ts...·&gt;·&amp;t)</td></tr>
 93 <tr·class="memdesc:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·a·std::tuple.··<a·href="a00397.html#ga940d97a9b4db5e48060115e5e46ccd40">More...</a><br·/></td></tr>
 94 <tr·class="separator:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename...·Ts&gt;·</td></tr>
 96 <tr·class="memitem:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">Dune::operator&gt;&gt;</a>·(Stream·&amp;stream,·std::tuple&lt;·Ts...·&gt;·&amp;t)</td></tr>
 97 <tr·class="memdesc:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Read·a·std::tuple.··<a·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">More...</a><br·/></td></tr>
 98 <tr·class="separator:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename·T·,·std::size_t·N&gt;·</td></tr>
 100 <tr·class="memitem:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga6ce3dfead28bdbf55cfec42171784831">Dune::operator&lt;&lt;</a>·(Stream·&amp;stream,·const·std::array&lt;·T,·N·&gt;·&amp;a)</td></tr>
 101 <tr·class="memdesc:ga6ce3dfead28bdbf55cfec42171784831"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·a·std::array.··<a·href="a00397.html#ga6ce3dfead28bdbf55cfec42171784831">More...</a><br·/></td></tr>
 102 <tr·class="separator:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>103 </table>
 104 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 105 <div·class="textblock"><p·>Implementation·of·stream·operators·for·std::array·and·std::tuple.·</p>
99 </div><!--·contents·-->106 </div></div><!--·contents·-->
100 <!--·start·footer·part·-->107 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>108 <hr·class="footer"/><address·class="footer"><small>
102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4109 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
103 </small></address>110 </small></address>
104 </body>111 </body>
105 </html>112 </html>
1.8 KB
html2text {}
    
Offset 4, 35 lines modifiedOffset 4, 37 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 Classes·|·Namespaces 
9 future.hh·File·Reference7 Namespaces·|·Functions
 8 streamoperators.hh·File·Reference
 9 Implementation·of·stream·operators·for·std::array·and·std::tuple.·More...
10 #include·<memory>10 #include·<array>
 11 #include·<tuple>
 12 #include·<utility>
11 #include·<dune/common/exceptions.hh>13 #include·<dune/common/hybridutilities.hh>
12 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
13 ·Classes 
14 class· Dune::InvalidFutureException 
15 ········This·exception·is·thrown·when·ready(),·wait()·or·get()·is·called·on·an 
16  ······invalid·future.·A·future·is·valid·until·get()·is·called·and·if·it·is 
17 ········not·default-constructed·and·it·was·not·moved·from.·More... 
18   
19 class· Dune::Future<_T_> 
20  ······Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object 
21 ········satisfying·the·interface·of·FutureBase.·More... 
22   
23 class· Dune::PseudoFuture<_T_> 
24  ······A·wrapper-class·for·a·object·which·is·ready·immediately.·More... 
25   
26 class· Dune::PseudoFuture<_void_> 
27   
28 ·Namespaces15 ·Namespaces
29 namespace· Dune16 namespace· Dune
30  ··········Dune·namespace.17  ··········Dune·namespace.
31  18  
 19 ·Functions
 20 template<typename·Stream·,·typename...·Ts>
 21 Stream·& Dune::operator<<·(Stream·&stream,·const·std::tuple<·Ts...·>·&t)
 22  ········Print·a·std::tuple.·More...
 23  
 24 template<typename·Stream·,·typename...·Ts>
 25 Stream·& Dune::operator>>·(Stream·&stream,·std::tuple<·Ts...·>·&t)
 26  ········Read·a·std::tuple.·More...
 27  
 28 template<typename·Stream·,·typename·T·,·std::size_t·N>
 29 Stream·& Dune::operator<<·(Stream·&stream,·const·std::array<·T,·N·>·&a)
 30  ········Print·a·std::array.·More...
 31  
 32 *****·Detailed·Description·*****
 33 Implementation·of·stream·operators·for·std::array·and·std::tuple.
  
32 ===============================================================================34 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
53.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00020_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·future.hh·Source·File</title>8 <title>dune-common:·streamoperators.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 211 lines modifiedOffset 58, 82 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">future.hh</div></div>68 ··<div·class="headertitle"><div·class="title">streamoperators.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00020.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_FUTURE_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_FUTURE_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_STREAMOPERATORS_HH</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_STREAMOPERATORS_HH</span></div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00392.html">dune/common/hybridutilities.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>{</div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div>
 87 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Stream,·<span·class="keyword">typename</span>...·Ts&gt;</div>
 88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga940d97a9b4db5e48060115e5e46ccd40">···28</a></span>··<span·class="keyword">inline</span>·Stream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(Stream&amp;·stream,·<span·class="keyword">const</span>·std::tuple&lt;Ts...&gt;&amp;·t)</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a02068.html">···17</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02068.html">InvalidFutureException</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01580.html">InvalidStateException</a></div> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··{};</div> 
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="comment">//·forward·declaration</span></div>90 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····stream&lt;&lt;<span·class="stringliteral">&quot;[&quot;</span>;</div>
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>91 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keywordflow">if</span>(<span·class="keyword">sizeof</span>...(Ts)&gt;0)</div>
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02072.html">PseudoFuture</a>;</div> 
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02076.html">···28</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02076.html">Future</a>{</div> 
92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·Future·interface:</span></div> 
93 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">class·</span>FutureBase{</div> 
94 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</span>:</div> 
95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">virtual</span>·~FutureBase()·=·<span·class="keywordflow">default</span>;</div> 
96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02076.html#a12d6700e91dc0441e562b2c6a534e56d">wait</a>()·=·0;</div> 
97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#a06dbf43dc827d5d6ccb248ff32dc68fe">ready</a>()·<span·class="keyword">const</span>·=·0;</div> 
98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#abd07d08dcdbbd412727ec7c0d870c800">valid</a>()·<span·class="keyword">const</span>·=·0;</div> 
99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keyword">virtual</span>·T·<a·class="code·hl_function"·href="a02076.html#a4c7f4da716cd69f8f6c9c8fe5ac17838">get</a>()·=·0;</div> 
100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····};</div> 
101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·model·class</span></div> 
103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div> 
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>FutureModel</div> 
105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······:·<span·class="keyword">public</span>·FutureBase</div> 
106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div>92 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····{</div>
 93 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<a·class="code·hl_function"·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">Hybrid::forEach</a>(std::make_index_sequence&lt;<span·class="keyword">sizeof</span>...(Ts)-1&gt;{},</div>
 94 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········[&amp;](<span·class="keyword">auto</span>·i){stream&lt;&lt;std::get&lt;i&gt;(t)&lt;&lt;<span·class="stringliteral">&quot;,&quot;</span>;});</div>
 95 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······stream&lt;&lt;<a·class="code·hl_function"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">std::get</a>&lt;<span·class="keyword">sizeof</span>...(Ts)-1&gt;(t);</div>
 96 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····}</div>
 97 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····stream&lt;&lt;<span·class="stringliteral">&quot;]&quot;</span>;</div>
 98 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·stream;</div>
 99 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div>
 100 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Stream,·<span·class="keyword">typename</span>...·Ts&gt;</div>
 102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">···43</a></span>··<span·class="keyword">inline</span>·Stream&amp;·<a·class="code·hl_function"·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">operator&gt;&gt;</a>(Stream&amp;·stream,·std::tuple&lt;Ts...&gt;&amp;·t)</div>
107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······F·_future;</div>103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>
 104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<a·class="code·hl_function"·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">Hybrid::forEach</a>(std::make_index_sequence&lt;<span·class="keyword">sizeof</span>...(Ts)&gt;{},</div>
 105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······[&amp;](<span·class="keyword">auto</span>·i){stream&gt;&gt;std::get&lt;i&gt;(t);});</div>
108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">public</span>:</div>106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">return</span>·stream;</div>
109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······FutureModel(F&amp;&amp;·f)</div> 
110 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········:·_future(std::forward&lt;F&gt;(f))</div> 
111 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······{}</div>107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··}</div>
112 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Stream,·<span·class="keyword">typename</span>·T,·std::<span·class="keywordtype">size_t</span>·N&gt;</div>
 110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga6ce3dfead28bdbf55cfec42171784831">···52</a></span>··<span·class="keyword">inline</span>·Stream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(Stream&amp;·stream,·<span·class="keyword">const</span>·std::array&lt;T,N&gt;&amp;·a)</div>
113 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02076.html#a12d6700e91dc0441e562b2c6a534e56d">wait</a>()<span·class="keyword">·override</span></div> 
114 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">······</span>{</div> 
115 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········_future.wait();</div> 
116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······}</div>111 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>
 112 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····stream&lt;&lt;<span·class="stringliteral">&quot;[&quot;</span>;</div>
117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#a06dbf43dc827d5d6ccb248ff32dc68fe">ready</a>()<span·class="keyword">·const·override</span></div> 
119 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">······</span>{</div>113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">if</span>(N&gt;0)</div>
120 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·_future.ready();</div> 
121 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div>114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>
 115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keywordflow">for</span>(std::size_t·i=0;·i&lt;N-1;·++i)</div>
 116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········stream&lt;&lt;a[i]&lt;&lt;<span·class="stringliteral">&quot;,&quot;</span>;</div>
 117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······stream&lt;&lt;a[N-1];</div>
122 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div>
123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#abd07d08dcdbbd412727ec7c0d870c800">valid</a>()<span·class="keyword">·const·override</span></div> 
124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">······</span>{</div>119 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····stream&lt;&lt;<span·class="stringliteral">&quot;]&quot;</span>;</div>
125 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">return</span>·_future.valid();</div>120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·stream;</div>
126 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······}</div>121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··}</div>
127 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keyword">virtual</span>·T·<a·class="code·hl_function"·href="a02076.html#a4c7f4da716cd69f8f6c9c8fe5ac17838">get</a>()<span·class="keyword">·override</span>{</div> 
129 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·(T)_future.get();</div> 
130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······}</div>123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
131 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····};</div>124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
133 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::unique_ptr&lt;FutureBase&gt;·_future;</div> 
134 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">public</span>:</div> 
135 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div> 
136 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02076.html#adada4a4ddbf330c0be748bf754ba8d80">···73</a></span>····<a·class="code·hl_function"·href="a02076.html#adada4a4ddbf330c0be748bf754ba8d80">Future</a>(F&amp;&amp;·f)</div> 
137 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······:·_future(<a·class="code·hl_namespace"·href="a00424.html">std</a>::make_unique&lt;FutureModel&lt;F&gt;&gt;(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;F&gt;(f)))</div> 
138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{}</div> 
139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
140 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····template&lt;class·U,·std::enable_if_t&lt;std::is_same&lt;U,T&gt;::value·&amp;&amp;·!std::is_same&lt;T,void&gt;::value&gt;&gt;</div> 
Max diff block lines reached; 7258/46960 bytes (15.46%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
7.74 KB
html2text {}
    
Offset 4, 262 lines modifiedOffset 4, 87 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 streamoperators.hh
7 ····*·parallel 
8 future.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_COMMON_PARALLEL_FUTURE_HH 
16 ·6#define·DUNE_COMMON_PARALLEL_FUTURE_HH 
17 ·7 
18 ·8#include·<memory> 
19 ·9#include·<dune/common/exceptions.hh> 
20 ·1014 ·5
 15 ·6#ifndef·DUNE_STREAMOPERATORS_HH
 16 ·7#define·DUNE_STREAMOPERATORS_HH
 17 ·8
 18 ·13#include·<array>
 19 ·14#include·<tuple>
 20 ·15#include·<utility>
 21 ·16
 22 ·17#include·<dune/common/hybridutilities.hh>
 23 ·18
21 ·11namespace·Dune{24 ·19namespace·Dune
 25 ·20{
 26 ·27·template<typename·Stream,·typename...·Ts>
 27 28·inline·Stream&·operator<<(Stream&·stream,·const·std::tuple<Ts...>&·t)
 28 ·29·{
 29 ·30·stream<<"[";
 30 ·31·if(sizeof...(Ts)>0)
22 ·12 
23 17·class·InvalidFutureException·:·public·InvalidStateException 
24 ·18·{}; 
25 ·19 
26 ·20·//·forward·declaration 
27 ·21·template<class·T> 
28 ·22·class·PseudoFuture; 
29 ·23 
30 ·27·template<class·T> 
31 28·class·Future{ 
32 ·29·//·Future·interface: 
33 ·30·class·FutureBase{ 
34 ·31·public: 
35 ·32·virtual·~FutureBase()·=·default; 
36 ·33·virtual·void·wait()·=·0; 
37 ·34·virtual·bool·ready()·const·=·0; 
38 ·35·virtual·bool·valid()·const·=·0; 
39 ·36·virtual·T·get()·=·0; 
40 ·37·}; 
41 ·38 
42 ·39·//·model·class 
43 ·40·template<class·F> 
44 ·41·class·FutureModel 
45 ·42·:·public·FutureBase 
46 ·43·{31 ·32·{
47 ·44·F·_future; 
48 ·45·public: 
49 ·46·FutureModel(F&&·f) 
50 ·47·:·_future(std::forward<F>(f))32 ·33·Hybrid::forEach(std::make_index_sequence<sizeof...(Ts)-1>{},
 33 ·34·[&](auto·i){stream<<std::get<i>(t)<<",";});
 34 ·35·stream<<std::get<sizeof...(Ts)-1>(t);
 35 ·36·}
 36 ·37·stream<<"]";
 37 ·38·return·stream;
 38 ·39·}
 39 ·40
 40 ·42·template<typename·Stream,·typename...·Ts>
 41 43·inline·Stream&·operator>>(Stream&·stream,·std::tuple<Ts...>&·t)
 42 ·44·{
 43 ·45·Hybrid::forEach(std::make_index_sequence<sizeof...(Ts)>{},
 44 ·46·[&](auto·i){stream>>std::get<i>(t);});
 45 ·47·return·stream;
51 ·48·{}46 ·48·}
52 ·4947 ·49
53 ·50·virtual·void·wait()·override48 ·51·template<typename·Stream,·typename·T,·std::size_t·N>
 49 52·inline·Stream&·operator<<(Stream&·stream,·const·std::array<T,N>&·a)
54 ·51·{50 ·53·{
 51 ·54·stream<<"[";
 52 ·55·if(N>0)
55 ·52·_future.wait(); 
56 ·53·} 
57 ·54 
58 ·55·virtual·bool·ready()·const·override 
59 ·56·{53 ·56·{
60 ·57·return·_future.ready(); 
61 ·58·} 
62 ·59 
63 ·60·virtual·bool·valid()·const·override 
64 ·61·{ 
65 ·62·return·_future.valid();54 ·57·for(std::size_t·i=0;·i<N-1;·++i)
 55 ·58·stream<<a[i]<<",";
 56 ·59·stream<<a[N-1];
 57 ·60·}
 58 ·61·stream<<"]";
 59 ·62·return·stream;
66 ·63·}60 ·63·}
67 ·6461 ·64
 62 ·67}·//·end·namespace·Dune
 63 ·68
68 ·65·virtual·T·get()·override{ 
69 ·66·return·(T)_future.get(); 
70 ·67·} 
71 ·68·}; 
72 ·69 
73 ·70·std::unique_ptr<FutureBase>·_future; 
74 ·71·public: 
75 ·72·template<class·F> 
76 73·Future(F&&·f) 
77 ·74·:·_future(std::make_unique<FutureModel<F>>(std::forward<F>(f))) 
78 ·75·{} 
79 ·76 
80 ·77·template<class·U,·std::enable_if_t<std::is_same<U,T>::value·&&·!std:: 
81 is_same<T,void>::value>> 
82 78·Future(U&&·data) 
83 ·79·:·_future(std::make_unique<FutureModel<PseudoFuture<T>>>(PseudoFuture<T> 
84 (std::forward<U>(data)))) 
85 ·80·{} 
86 ·81 
87 82·Future()·=·default; 
Max diff block lines reached; 2339/7905 bytes (29.59%) of diff not shown.
12.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00023.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·communication.hh·File·Reference</title>8 <title>dune-common:·mallocallocator.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 71 lines modifiedOffset 58, 62 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#typedef-members">Typedefs</a>·&#124; 
72 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">communication.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&#124;·<a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html"[·...·truncated·by·diffoscope;·len:·33,·SHA:·3483ac0dd2553822cdb505f73f39e6fe62e136ef13ccc098aa3895eca49c11bc·...·]</div></div>72 ··<div·class="headertitle"><div·class="title">mallocallocator.hh·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.··75 <p>Allocators·that·use·malloc/free.··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>
79 <code>#include·&lt;complex&gt;</code><br·/>78 <code>#include·&lt;cstdlib&gt;</code><br·/>
80 <code>#include·&lt;algorithm&gt;</code><br·/> 
81 <code>#include·&lt;vector&gt;</code><br·/>79 <code>#include·&lt;new&gt;</code><br·/>
 80 <code>#include·&lt;utility&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00020_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/> 
85 </div>81 </div>
86 <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00023_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">83 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
89 Classes</h2></td></tr>85 Classes</h2></td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01984.html">Dune::No_Comm</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01900.html">Dune::MallocAllocator&lt;·T·&gt;</a></td></tr>
 87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Allocators·implementation·which·simply·calls·malloc/free.··<a·href="a01900.html#details">More...</a><br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01904.html">Dune::MallocAllocator&lt;·T·&gt;::rebind&lt;·U·&gt;</a></td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01988.html">Dune::Communication&lt;·Communicator·&gt;</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Collective·communication·interface·and·sequential·default·implementation.··<a·href="a01988.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
97 Namespaces</h2></td></tr>93 Namespaces</h2></td></tr>
98 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>94 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
99 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>95 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls">97 </table><table·class="memberdecls">
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
103 Typedefs</h2></td></tr> 
104 <tr·class="memitem:a51c6057d41509cc616fb60f483d7d6dd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
105 <tr·class="memitem:a51c6057d41509cc616fb60f483d7d6dd"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a51c6057d41509cc616fb60f483d7d6dd">Dune::CollectiveCommunication</a>·=·Communication&lt;·T·&gt;</td></tr> 
106 <tr·class="separator:a51c6057d41509cc616fb60f483d7d6dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 </table><table·class="memberdecls"> 
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
109 Functions</h2></td></tr>99 Functions</h2></td></tr>
110 <tr·class="memitem:aee0776cda12fa2fc183e2796bcc23743"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aee0776cda12fa2fc183e2796bcc23743">Dune::operator==</a>·(const·No_Comm·&amp;,·const·No_Comm·&amp;)</td></tr> 
111 <tr·class="memdesc:aee0776cda12fa2fc183e2796bcc23743"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator·for·MPI·compatibility.··<a·href="a00425.html#aee0776cda12fa2fc183e2796bcc23743">More...</a><br·/></td></tr>100 <tr·class="memitem:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 101 <tr·class="memitem:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0b225faa806a6ba0744fd93ce17b447a">Dune::operator==</a>·(const·MallocAllocator&lt;·T·&gt;·&amp;,·const·MallocAllocator&lt;·T·&gt;·&amp;)</td></tr>
 102 <tr·class="memdesc:a0b225faa806a6ba0744fd93ce17b447a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·allocators·are·equivalent··<a·href="a00425.html#a0b225faa806a6ba0744fd93ce17b447a">More...</a><br·/></td></tr>
 103 <tr·class="separator:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:a336418ea10c30e25ece655d63bdf3d84"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 105 <tr·class="memitem:a336418ea10c30e25ece655d63bdf3d84"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a336418ea10c30e25ece655d63bdf3d84">Dune::operator!=</a>·(const·MallocAllocator&lt;·T·&gt;·&amp;,·const·MallocAllocator&lt;·T·&gt;·&amp;)</td></tr>
 106 <tr·class="memdesc:a336418ea10c30e25ece655d63bdf3d84"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·allocators·are·not·equivalent··<a·href="a00425.html#a336418ea10c30e25ece655d63bdf3d84">More...</a><br·/></td></tr>
112 <tr·class="separator:aee0776cda12fa2fc183e2796bcc23743"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:a336418ea10c30e25ece655d63bdf3d84"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a02c039e6b551a3771cc8c60e84e9bcdc">Dune::operator!=</a>·(const·No_Comm·&amp;,·const·No_Comm·&amp;)</td></tr> 
114 <tr·class="memdesc:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator·for·MPI·compatibility.··<a·href="a00425.html#a02c039e6b551a3771cc8c60e84e9bcdc">More...</a><br·/></td></tr> 
115 <tr·class="separator:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 </table>108 </table>
117 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 110 <div·class="textblock"><p·>Allocators·that·use·malloc/free.·</p>
118 <div·class="textblock"><p·>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·</p> 
119 <p·>An·abstraction·to·the·basic·methods·of·parallel·communication,·following·the·message-passing·paradigm.</p> 
120 </div></div><!--·contents·-->111 </div></div><!--·contents·-->
121 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>115 </small></address>
125 </body>116 </body>
126 </html>117 </html>
2.28 KB
html2text {}
    
Offset 4, 51 lines modifiedOffset 4, 41 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 Classes·|·Namespaces·|·Typedefs·|·Functions7 Classes·|·Namespaces·|·Functions
9 communication.hh·File·Reference8 mallocallocator.hh·File·Reference
 9 Allocators·that·use·malloc/free.·More...
10 Common·»·Parallel_Communication·|·Common·»·Parallel_Communication 
11 Implements·an·utility·class·that·provides·collective·communication·methods·for 
12 sequential·programs.·More... 
13 #include·<iostream> 
14 #include·<complex> 
15 #include·<algorithm> 
16 #include·<vector>10 #include·<exception>
17 #include·<dune/common/binaryfunctions.hh> 
18 #include·<dune/common/exceptions.hh> 
19 #include·<dune/common/parallel/future.hh>11 #include·<cstdlib>
 12 #include·<new>
 13 #include·<utility>
20 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
21 ·Classes15 ·Classes
22 struct· Dune::No_Comm16 ·class· Dune::MallocAllocator<_T_>
 17  ·······Allocators·implementation·which·simply·calls·malloc/free.·More...
23  18  
 19 struct· Dune::MallocAllocator<_T_>::rebind<_U_>
24 ·class· Dune::Communication<_Communicator_> 
25  ·······Collective·communication·interface·and·sequential·default 
26 ·········implementation.·More... 
27  20  
28 ·Namespaces21 ·Namespaces
29 namespace· Dune22 namespace· Dune
30  ··········Dune·namespace.23  ··········Dune·namespace.
31  24  
32 ·Typedefs 
33 template<class·T·> 
34 using Dune::CollectiveCommunication·=·Communication<·T·> 
35   
36 ·Functions25 ·Functions
37 bool Dune::operator==·(const·No_Comm·&,·const·No_Comm·&) 
38  ····Comparison·operator·for·MPI·compatibility.·More...26 template<class·T·>
 27 constexpr·bool Dune::operator==·(const·MallocAllocator<·T·>·&,·const
 28 ················MallocAllocator<·T·>·&)
 29  ··············check·whether·allocators·are·equivalent·More...
39  30  
40 bool Dune::operator!=·(const·No_Comm·&,·const·No_Comm·&) 
41  ····Comparison·operator·for·MPI·compatibility.·More...31 template<class·T·>
 32 constexpr·bool Dune::operator!=·(const·MallocAllocator<·T·>·&,·const
 33 ················MallocAllocator<·T·>·&)
 34  ··············check·whether·allocators·are·not·equivalent·More...
42  35  
43 *****·Detailed·Description·*****36 *****·Detailed·Description·*****
 37 Allocators·that·use·malloc/free.
44 Implements·an·utility·class·that·provides·collective·communication·methods·for 
45 sequential·programs. 
46 An·abstraction·to·the·basic·methods·of·parallel·communication,·following·the 
47 message-passing·paradigm. 
  
48 ===============================================================================38 ===============================================================================
49 ·····Generated·by [doxygen]·1.9.439 ·····Generated·by [doxygen]·1.9.4
110 KB
./usr/share/doc/libdune-common-doc/doxygen/a00023_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·communication.hh·Source·File</title>8 <title>dune-common:·mallocallocator.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 342 lines modifiedOffset 58, 142 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">communication.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mallocallocator.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00023.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00023.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_COMMUNICATION_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MALLOC_ALLOCATOR_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_COMMUNICATION_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MALLOC_ALLOCATOR_HH</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
77 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div>
78 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
79 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
80 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>
82 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00227.html">dune/common/binaryfunctions.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00020.html">dune/common/parallel/future.hh</a>&gt;</span></div>85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>
 86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01900.html">···24</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01900.html">MallocAllocator</a>·{</div>
 87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">public</span>:</div>
 88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">···26</a></span>····<span·class="keyword">typedef</span>·std::size_t·<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">size_type</a>;</div>
 89 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01900.html#a5bd412902e78278cfc4ae87b18914203">···27</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01900.html#a5bd412902e78278cfc4ae87b18914203">difference_type</a>;</div>
 90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01900.html#a1602721e262656858b3238da474046b5">···28</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>;</div>
 91 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01900.html#af6eae134970cf98f7a838ab3534f046e">···29</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T*·<a·class="code·hl_typedef"·href="a01900.html#af6eae134970cf98f7a838ab3534f046e">const_pointer</a>;</div>
 92 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01900.html#ace628b73f1b9be04006069bf1a19e6bc">···30</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a01900.html#ace628b73f1b9be04006069bf1a19e6bc">reference</a>;</div>
 93 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01900.html#a8f6131f08be1676b2184d42e5a66291c">···31</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T&amp;·<a·class="code·hl_typedef"·href="a01900.html#a8f6131f08be1676b2184d42e5a66291c">const_reference</a>;</div>
 94 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01900.html#a6b7e7f4763a686cb502ec965c6fc5510">···32</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01900.html#a6b7e7f4763a686cb502ec965c6fc5510">value_type</a>;</div>
 95 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01904.html">···33</a></span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·U&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01904.html">rebind</a>·{</div>
 96 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01904.html#ac7be9e590b210d8694a19e329048982c">···34</a></span>······<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01900.html">MallocAllocator&lt;U&gt;</a>·<a·class="code·hl_typedef"·href="a01904.html#ac7be9e590b210d8694a19e329048982c">other</a>;</div>
85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····};</div>
86 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
87 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div>98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01900.html#a35ebf90590908c206d9844e8d9355f7f">···38</a></span>····<a·class="code·hl_function"·href="a01900.html#a35ebf90590908c206d9844e8d9355f7f">MallocAllocator</a>()·noexcept·{}</div>
 100 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·U&gt;</div>
 101 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01900.html#a38af96ea5e917601570241b50c6ae099">···41</a></span>····<a·class="code·hl_function"·href="a01900.html#a38af96ea5e917601570241b50c6ae099">MallocAllocator</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01900.html">MallocAllocator&lt;U&gt;</a>&amp;)·<span·class="keyword">noexcept</span>·{}</div>
 102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01900.html#a1053835e7c61170dc70b48d420e51bbe">···43</a></span>····<a·class="code·hl_function"·href="a01900.html#a1053835e7c61170dc70b48d420e51bbe">~MallocAllocator</a>()·noexcept·{}</div>
88 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
89 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">/*·define·some·type·that·definitely·differs·from·MPI_Comm·*/</span></div> 
90 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01984.html">···46</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01984.html">No_Comm</a>·{};</div>104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01900.html#ab469170e893476617e6bfb8849232e25">···45</a></span>····<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·<a·class="code·hl_function"·href=[·...·truncated·by·diffoscope;·len:·191,·SHA:·86bcb3dbb45fa2ba85339b459a10fd2699ea79a7977aba81fff4108ff2064c28·...·]</div>
 105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">····</span>{</div>
 106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keywordflow">return</span>·&amp;x;</div>
91 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····}</div>
92 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00425.html#aee0776cda12fa2fc183e2796bcc23743">···52</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d[·...·truncated·by·diffoscope;·len:·240,·SHA:·2f57b4d61c34d73cf2618f1dfaa815f36ad1f3d0cd1d61a1e2e0eeb12fefe07e·...·]</div>108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01900.html#a823237939fd7a83d0830f3d2b6767796">···49</a></span>····<a·class="code·hl_typedef"·href="a01900.html#af6eae134970cf98f7a838ab3534f046e">const_pointer</a>·<a·class="code·hl_function[·...·truncated·by·diffoscope;·len:·204,·SHA:·d739336c6d259ac2438e76538325cb0bd99fbeb6af8f3abb8ee32265d94eacc4·...·]</div>
 109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">····</span>{</div>
 110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordflow">return</span>·&amp;x;</div>
 111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div>
93 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
94 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div>113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01900.html#a9bf546795ab89c063bb7d7cd70db449f">···55</a></span>····<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·<a·class="code·hl_function"·href=[·...·truncated·by·diffoscope;·len:·157,·SHA:·027272692fb15f072773a201be9324ef2cfc9cd78c95c992a46a29295805208c·...·]</div>
 114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·····················[[maybe_unused]]·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*·hint·=·0)</div>
95 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··}</div>115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····{</div>
 116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keywordflow">if</span>·(n·&gt;·this-&gt;<a·class="code·hl_function"·href="a01900.html#ae73000f492c7b45cd0a4236577eaf70f">max_size</a>())</div>
 117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div>
96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
97 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00425.html#a02c039e6b551a3771cc8c60e84e9bcdc">···61</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a[·...·truncated·by·diffoscope;·len:·197,·SHA:·a8b6eb77b426ed040d1519383abd887369c04eb1debac63b10faf899b7ffe477·...·]</div>119 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·ret·=·<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a><span[·...·truncated·by·diffoscope;·len:·86,·SHA:·31607e3bc4b8b0d0a401752a1575211751652691f737c3afd386cb2464e79cbd·...·]</div>
98 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">if</span>·(!ret)</div>
 121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div>
99 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">return</span>·ret;</div>
100 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div> 
101 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>123 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>
 124 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 125 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01900.html#a5f41df6e2ab3518c09c6afca0127e094">···68</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01900.html#a5f41df6e2ab3518c09c6afca0127e094">deallocate</a>(<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·p,·[[maybe_unused]]·<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">size_type</a>·n)</div>
 126 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····{</div>
 127 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······std::free(p);</div>
 128 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div>
 129 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 130 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01900.html#ae73000f492c7b45cd0a4236577eaf70f">···74</a></span>····<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">size_type</a>·<a·class="code·hl_function"·href="a01900.html#ae73000f492c7b45cd0a4236577eaf70f">max_size</a>()·const·noexcept</div>
 131 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{</div>
 132 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">size_type</a>(-1)·/·<span·class="keyword">sizeof</span>(T);</div>
 133 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
 134 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 135 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01900.html#a26835d6ddecf172c3f42f14e7e51774c">···80</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01900.html#a26835d6ddecf172c3f42f14e7e51774c">construct</a>(<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·p,·<span·class="keyword">const</span>·T&amp;·val)</div>
 136 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····{</div>
 137 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······::new((<span·class="keywordtype">void</span>*)p)T(val);</div>
 138 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····}</div>
 139 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
102 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Communicator&gt;</div>140 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·...·Args&gt;</div>
103 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01988.html">···99</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01988.html">Communication</a></div>141 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01900.html#abc66d994c8d242b64151593c6a3d9909">···87</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01900.html#abc66d994c8d242b64151593c6a3d9909">const[·...·truncated·by·diffoscope;·len:·127,·SHA:·15465633a6dfa1c41f714df897e1774e2de69e2fcb512e38bb4b42f5bbe6ef2b·...·]</div>
 142 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div>
 143 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······::new((<span·class="keywordtype">void</span>·*)p)T(std::forward&lt;Args&gt;(args)·...);</div>
 144 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div>
 145 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 146 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01900.html#a9a87f603e3548cd4668be6afd123c278">···93</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01900.html#a9a87f603e3548cd4668be6afd123c278">destroy</a>(<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·p)</div>
 147 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div>
 148 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······p-&gt;~T();</div>
 149 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····}</div>
 150 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··};</div>
 151 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 152 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 153 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span></div>
 154 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a00425.html#a0b225faa806a6ba0744fd93ce17b447a">··102</a></span>··<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01900.html">MallocAllocator&lt;T&gt;</a>·&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01900.html">MallocAllocator&lt;T&gt;</a>·&amp;)</div>
104 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div>155 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{</div>
105 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">public</span>:</div>156 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div>
106 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01988.html#af9873f31f9e81114b4edcc50b01b0a3c">··103</a></span>····<a·class="code·hl_function"·href="a01988.html#af9873f31f9e81114b4edcc50b01b0a3c">Communication</a>()</div> 
107 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{}</div> 
108 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>157 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··}</div>
109 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01988.html#a8e0e5bd2a26b9faa9e838f6511251299">··110</a></span>····<a·class="code·hl_function"·href="a01988.html#a8e0e5bd2a26b9faa9e838f6511251299">Communication</a>·(<span·class="keyword">co[·...·truncated·by·diffoscope;·len:·29,·SHA:·8ea6dd77870d825fbe0f574e91eaa993abedfcb5025edd05f027dfbacabfa987·...·]</div>158 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 159 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
Max diff block lines reached; 23676/93219 bytes (25.40%) of diff not shown.
19.0 KB
html2text {}
    
Offset 4, 310 lines modifiedOffset 4, 114 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 mallocallocator.hh
7 ····*·parallel 
8 communication.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5#ifndef·DUNE_MALLOC_ALLOCATOR_HH
 15 ·6#define·DUNE_MALLOC_ALLOCATOR_HH
 16 ·7
15 ·5#ifndef·DUNE_COMMON_PARALLEL_COMMUNICATION_HH 
16 ·6#define·DUNE_COMMON_PARALLEL_COMMUNICATION_HH 
17 ·14#include·<iostream> 
18 ·15#include·<complex> 
19 ·16#include·<algorithm> 
20 ·17#include·<vector>17 ·8#include·<exception>
 18 ·9#include·<cstdlib>
 19 ·10#include·<new>
 20 ·11#include·<utility>
 21 ·12
21 ·18 
22 ·19#include·<dune/common/binaryfunctions.hh> 
23 ·20#include·<dune/common/exceptions.hh> 
24 ·21#include·<dune/common/parallel/future.hh> 
25 ·22 
26 ·42namespace·Dune22 ·17namespace·Dune
27 ·43{23 ·18{
 24 ·23·template·<class·T>
 25 24·class·MallocAllocator·{
 26 ·25·public:
 27 26·typedef·std::size_t·size_type;
 28 27·typedef·std::ptrdiff_t·difference_type;
 29 28·typedef·T*·pointer;
 30 29·typedef·const·T*·const_pointer;
 31 30·typedef·T&·reference;
 32 31·typedef·const·T&·const_reference;
 33 32·typedef·T·value_type;
 34 33·template·<class·U>·struct·rebind·{
 35 34·typedef·MallocAllocator<U>·other;
 36 ·35·};
 37 ·36
 38 38·MallocAllocator()·noexcept·{}
 39 ·40·template·<class·U>
 40 41·MallocAllocator(const·MallocAllocator<U>&)·noexcept·{}
 41 43·~MallocAllocator()·noexcept·{}
28 ·4442 ·44
 43 45·pointer·address(reference·x)·const
29 ·45·/*·define·some·type·that·definitely·differs·from·MPI_Comm·*/ 
30 46·struct·No_Comm·{}; 
31 ·47 
32 52·inline·bool·operator==(const·No_Comm&,·const·No_Comm&) 
33 ·53·{ 
34 ·54·return·true; 
35 ·55·} 
36 ·56 
37 61·inline·bool·operator!=(const·No_Comm&,·const·No_Comm&) 
38 ·62·{44 ·46·{
39 ·63·return·false;45 ·47·return·&x;
40 ·64·}46 ·48·}
 47 49·const_pointer·address(const_reference·x)·const
 48 ·50·{
41 ·65 
42 ·98·template<typename·Communicator> 
43 99·class·Communication 
44 ·100·{ 
45 ·101·public: 
46 103·Communication() 
47 ·104·{} 
48 ·105 
49 110·Communication·(const·Communicator&) 
50 ·111·{} 
51 ·112 
52 114·int·rank·()·const 
53 ·115·{ 
54 ·116·return·0;49 ·51·return·&x;
55 ·117·} 
56 ·118 
57 120·operator·No_Comm()·const 
58 ·121·{ 
59 ·122·return·{}; 
60 ·123·} 
61 ·124 
62 126·int·size·()·const 
63 ·127·{ 
64 ·128·return·1; 
65 ·129·} 
66 ·13050 ·52·}
 51 ·53
 52 55·pointer·allocate(size_type·n,
 53 ·56·[[maybe_unused]]·const·void*·hint·=·0)
 54 ·57·{
 55 ·58·if·(n·>·this->max_size())
 56 ·59·throw·std::bad_alloc();
 57 ·60
 58 ·61·pointer·ret·=·static_cast<pointer>(std::malloc(n·*·sizeof(T)));
 59 ·62·if·(!ret)
 60 ·63·throw·std::bad_alloc();
 61 ·64·return·ret;
 62 ·65·}
 63 ·66
 64 68·void·deallocate(pointer·p,·[[maybe_unused]]·size_type·n)
 65 ·69·{
 66 ·70·std::free(p);
 67 ·71·}
 68 ·72
 69 74·size_type·max_size()·const·noexcept
 70 ·75·{
 71 ·76·return·size_type(-1)·/·sizeof(T);
 72 ·77·}
 73 ·78
 74 80·void·construct(pointer·p,·const·T&·val)
 75 ·81·{
 76 ·82·::new((void*)p)T(val);
 77 ·83·}
 78 ·84
 79 ·86·template<typename·...·Args>
 80 87·void·construct(pointer·p,·Args&&...·args)
 81 ·88·{
Max diff block lines reached; 9714/19422 bytes (50.02%) of diff not shown.
11.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00026.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpihelper.hh·File·Reference</title>8 <title>dune-common:·filledarray.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 72 lines modifiedOffset 58, 47 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>··</div>69 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">mpihelper.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>70 <a·href="#func-members">Functions</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">filledarray.hh·File·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Helpers·for·dealing·with·MPI.··74 <p>Utility·to·generate·an·array·with·a·certain·value.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
77 <code>#include·&lt;mpi.h&gt;</code><br·/> 
78 <code>#include·&lt;mutex&gt;</code><br·/>77 <code>#include·&lt;cstddef&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00308_source.html">dune/common/visibility.hh</a>&gt;</code><br·/> 
83 </div>78 </div>
84 <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00026_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">80 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
87 Classes</h2></td></tr> 
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html">Dune::FakeMPIHelper</a></td></tr> 
89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·fake·mpi·helper.··<a·href="a02204.html#details">More...</a><br·/></td></tr> 
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html">Dune::MPIHelper</a></td></tr> 
92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·real·mpi·helper.··<a·href="a02208.html#details">More...</a><br·/></td></tr> 
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 </table><table·class="memberdecls"> 
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
96 Namespaces</h2></td></tr>82 Namespaces</h2></td></tr>
97 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>83 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
98 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>84 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 86 </table><table·class="memberdecls">
 87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 88 Functions</h2></td></tr>
 89 <tr·class="memitem:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·n,·class·T·&gt;·</td></tr>
 90 <tr·class="memitem:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·std::array&lt;·T,·n·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">Dune::filledArray</a>·(const·T·&amp;t)</td></tr>
 91 <tr·class="memdesc:ga46cb139c38212292b2f30c3b2743aa48"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·an·array·filled·with·the·provided·value.··<a·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">More...</a><br·/></td></tr>
 92 <tr·class="separator:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table>93 </table>
101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 95 <div·class="textblock"><p·>Utility·to·generate·an·array·with·a·certain·value.·</p>
102 <div·class="textblock"><p·>Helpers·for·dealing·with·MPI.·</p> 
103 <p·>Basically·there·are·two·helpers·available:·</p><dl> 
104 <dt>FakeMPIHelper·</dt> 
105 <dd>A·class·adhering·to·the·interface·of·MPIHelper·that·does·not·need·MPI·at·all.·This·can·be·used·to·create·a·sequential·program·even·if·MPI·is·used·to·compile·it.··</dd> 
106 <dt>MPIHelper·</dt> 
107 <dd>A·real·MPI·helper.·When·the·singleton·gets·instantiated·MPI_Init·will·be·called·and·before·the·program·exits·MPI_Finalize·will·be·called.··</dd> 
108 </dl> 
109 <p·>Example·of·who·to·use·these·classes:</p> 
110 <p·>A·program·that·is·parallel·if·compiled·with·MPI·and·sequential·otherwise:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>**·argv){</div> 
111 <div·class="line">···<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02208.html">Dune::MPIHelper</a>·MPIHelper;</div> 
112 <div·class="line">···MPIHelper::instance(argc,·argv);</div> 
113 <div·class="line">···<span·class="keyword">typename</span>·MPIHelper::MPICommunicator·world·=</div> 
114 <div·class="line">·····MPIHelper::getCommunicator();</div> 
115 <div·class="line">···...</div> 
116 <div·class="ttc"·id="aa00071_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div> 
117 <div·class="ttc"·id="aa02208_html"><div·class="ttname"><a·href="a02208.html">Dune::MPIHelper</a></div><div·class="ttdoc">A·real·mpi·helper.</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:179</div></div> 
118 </div><!--·fragment·--><p·>If·one·wants·to·have·sequential·program·even·if·the·code·is·compiled·with·mpi·then·one·simply·has·to·exchange·the·typedef·with·</p><div·class="fragment"><div·class="line"><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02208.html">Dune::MPIHelper</a>·FakeMPIHelper;·</div> 
119 </div><!--·fragment·--><p>.</p> 
120 <p·>For·checking·whether·we·really·use·MPI·or·just·fake·please·use·MPIHelper::isFake·(this·is·also·possible·at·compile·time!)·</p> 
121 </div></div><!--·contents·-->96 </div></div><!--·contents·-->
122 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>98 <hr·class="footer"/><address·class="footer"><small>
124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.499 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
125 </small></address>100 </small></address>
126 </body>101 </body>
127 </html>102 </html>
2.42 KB
html2text {}
    
Offset 4, 64 lines modifiedOffset 4, 28 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Functions
7 ····*·parallel 
8 Classes·|·Namespaces 
9 mpihelper.hh·File·Reference8 filledarray.hh·File·Reference
10 Common·»·Parallel_Communication 
11 Helpers·for·dealing·with·MPI.·More...9 Utility·to·generate·an·array·with·a·certain·value.·More...
 10 #include·<array>
12 #include·<cassert>11 #include·<cstddef>
13 #include·<mpi.h> 
14 #include·<mutex> 
15 #include·<dune/common/parallel/communication.hh> 
16 #include·<dune/common/parallel/mpicommunication.hh> 
17 #include·<dune/common/stdstreams.hh> 
18 #include·<dune/common/visibility.hh> 
19 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
20 ·Classes 
21 class· Dune::FakeMPIHelper 
22  ······A·fake·mpi·helper.·More... 
23   
24 class· Dune::MPIHelper 
25  ······A·real·mpi·helper.·More... 
26   
27 ·Namespaces13 ·Namespaces
28 namespace· Dune14 namespace· Dune
29  ··········Dune·namespace.15  ··········Dune·namespace.
30  16  
 17 ·Functions
 18 template<std::size_t·n,·class·T·>
 19 constexpr·std::array<·T,·n·> Dune::filledArray·(const·T·&t)
 20  ····························Return·an·array·filled·with·the·provided·value.
 21 ······························More...
 22  
31 *****·Detailed·Description·*****23 *****·Detailed·Description·*****
 24 Utility·to·generate·an·array·with·a·certain·value.
32 Helpers·for·dealing·with·MPI. 
33 Basically·there·are·two·helpers·available: 
34 ··FakeMPIHelper 
35 ······A·class·adhering·to·the·interface·of·MPIHelper·that·does·not·need·MPI·at 
36 ······all.·This·can·be·used·to·create·a·sequential·program·even·if·MPI·is·used 
37 ······to·compile·it. 
38 ··MPIHelper 
39 ······A·real·MPI·helper.·When·the·singleton·gets·instantiated·MPI_Init·will·be 
40 ······called·and·before·the·program·exits·MPI_Finalize·will·be·called. 
41 Example·of·who·to·use·these·classes: 
42 A·program·that·is·parallel·if·compiled·with·MPI·and·sequential·otherwise: 
43 int·main(int·argc,·char**·argv){ 
44 typedef·Dune::MPIHelper·MPIHelper; 
45 MPIHelper::instance(argc,·argv); 
46 typename·MPIHelper::MPICommunicator·world·= 
47 MPIHelper::getCommunicator(); 
48 ... 
49 main 
50 int·main(int·argc,·char·**argv) 
51 Definition:·mpi_collective_benchmark.cc:293 
52 Dune::MPIHelper 
53 A·real·mpi·helper. 
54 Definition:·mpihelper.hh:179 
55 If·one·wants·to·have·sequential·program·even·if·the·code·is·compiled·with·mpi 
56 then·one·simply·has·to·exchange·the·typedef·with 
57 typedef·Dune::MPIHelper·FakeMPIHelper; 
58 . 
59 For·checking·whether·we·really·use·MPI·or·just·fake·please·use·MPIHelper:: 
60 isFake·(this·is·also·possible·at·compile·time!) 
  
61 ===============================================================================25 ===============================================================================
62 ·····Generated·by [doxygen]·1.9.426 ·····Generated·by [doxygen]·1.9.4
56.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00026_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpihelper.hh·Source·File</title>8 <title>dune-common:·filledarray.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 237 lines modifiedOffset 58, 50 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpihelper.hh</div></div>68 ··<div·class="headertitle"><div·class="title">filledarray.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00026.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00026.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MPIHELPER</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MPIHELPER</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_FILLED_ARRAY_HH</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_FILLED_ARRAY_HH</span></div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#endif</span></div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;mutex&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00023.html">dune/common/parallel/communication.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00038.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#endif</span></div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00308.html">dune/common/visibility.hh</a>&gt;</span></div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>84 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
94 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02204.html">···73</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02204.html">FakeMPIHelper</a></div>85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·n,·<span·class="keyword">class</span>·T&gt;</div>
 86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">···33</a></span>··<span·class="keyword">constexpr</span>·std::array&lt;T,·n&gt;·<a·class="code·hl_function"·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">filledArray</a>(<span·class="keyword">const</span>·T&amp;·t)</div>
95 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div>87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>
 88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····std::array&lt;T,·n&gt;·arr{};</div>
 89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="comment">//·this·is·constexpr·in·c++17,·`arr.fill(t)`·is·not</span></div>
 90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·&amp;el·:·arr)</div>
 91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······el·=·t;</div>
96 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">public</span>:</div>92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·arr;</div>
97 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a02204.html#ad9493432e4a2a80668846429b56a3933">···80</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="c[·...·truncated·by·diffoscope;·len:·117,·SHA:·a68c0e4fbcef8dda5201606c3e905f80c1ae8700c8430684e46e7b3ef3995373·...·]</div>93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>
98 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
99 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">···85</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a01984.html">No_Comm</a>·<a·class="code·hl_typedef"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>;</div> 
100 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
101 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">···93</a></span>····<a·class="code·hl_define"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·<a·class="code·hl_struct"·href="a01984.html">MPICommunicator</a>·<a·class="code·hl_function"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">getCommunicator</a>·()</div> 
102 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div>96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
103 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="keyword">static</span>·<a·class="code·hl_struct"·href="a01984.html">MPICommunicator</a>·comm;</div> 
104 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<span·class="keywordflow">return</span>·comm;</div> 
105 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div> 
106 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
107 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a02204.html#a7c0cb1ffbda2e8f4feeadd745f64a5ef">··105</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_struct"·href="a01984.html">MPICommunicator</a>·<a·class="code·hl_function"·href="a02204.html#a7c0cb1ffbda2e8f4feeadd745f64a5ef">getLocalCommunicator</a>·()</div> 
108 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····{</div> 
109 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">getCommunicator</a>();</div> 
110 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····}</div> 
111 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
112 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
113 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
114 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····[[deprecated(<span·class="stringliteral">&quot;getCollectionCommunication·is·deprecated.·Use·getCommunication·instead.&quot;</span>)]]</div> 
115 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a02204.html#a6f7959361cf241356fb6cd7a1618e643">··118</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01988.html">Communication&lt;MPICommunicator&gt;</a>·<a·class="code·hl_function"·href="a02204.html#a6f7959361cf241356fb6cd7a1618e643">getCollectiveCommunication</a>()</div> 
116 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····{</div> 
117 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01988.html">Communication&lt;MPICommunicator&gt;</a>(<a·class="code·hl_function"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">getCommunicator</a>());</div> 
118 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····}</div> 
119 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
120 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a01988.html">Communication&lt;MPICommunicator&gt;</a></div> 
121 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno"><a·class="line"·href="a02204.html#ad2aa684d80dfcfc38ed0c314d5c6a648">··124</a></span>····<a·class="code·hl_function"·href="a02204.html#ad2aa684d80dfcfc38ed0c314d5c6a648">getCommunication</a>()</div> 
122 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····{</div> 
123 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a01988.html">Communication&lt;MPICommunicator&gt;</a>(<a·class="code·hl_function"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">getCommunicator</a>());</div> 
124 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····}</div> 
125 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> 
126 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno"><a·class="line"·href="a02204.html#a957ab3c46933eaa060a6de415a738247">··144</a></span>····<a·class="code·hl_define"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02204.html">FakeMPIHelper</a>&amp;·<a·class="code·hl_function"·href="a02204.html#a957ab3c46933eaa060a6de415a738247">instance</a>([[maybe_unused]]·<span·class="keywordtype">int</span>·argc,</div> 
127 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>···············································[[maybe_unused]]·<span·class="keywordtype">char</span>**·argv)</div> 
128 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>····{</div> 
129 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a02204.html#abfe6f30c37fb06179ec7b8fb607040e0">instance</a>();</div> 
130 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>····}</div> 
131 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> 
132 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="a02204.html#abfe6f30c37fb06179ec7b8fb607040e0">··150</a></span>····<a·class="code·hl_define"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02204.html">FakeMPIHelper</a>&amp;·<a·class="code·hl_function"·href="a02204.html#abfe6f30c37fb06179ec7b8fb607040e0">instance</a>()</div> 
133 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>····{</div> 
134 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>······<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02204.html">FakeMPIHelper</a>·singleton;</div> 
135 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>······<span·class="keywordflow">return</span>·singleton;</div> 
136 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····}</div> 
137 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>·</div> 
138 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno"><a·class="line"·href="a02204.html#aebff07320a4b09dc687d0d13ee9a75a6">··159</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02204.html#aebff07320a4b09dc687d0d13ee9a75a6">rank</a>·()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·0;·}</div> 
139 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno"><a·class="line"·href="a02204.html#a60a600fe6ed51c70a0a61b86ebba2977">··163</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02204.html#a60a600fe6ed51c70a0a61b86ebba2977">size</a>·()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·1;·}</div> 
140 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div> 
141 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>··<span·class="keyword">private</span>:</div> 
142 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>····<a·class="code·hl_class"·href="a02204.html">FakeMPIHelper</a>()·{}</div> 
143 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>····FakeMPIHelper(<span·class="keyword">const</span>·FakeMPIHelper&amp;);</div> 
144 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>····FakeMPIHelper&amp;·operator=(<span·class="keyword">const</span>·FakeMPIHelper);</div> 
145 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>··};</div> 
146 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>·</div> 
147 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
148 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno"><a·class="line"·href="a02208.html">··178</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02208.html">MPIHelper</a></div> 
149 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>··{</div> 
150 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>··<span·class="keyword">public</span>:</div> 
151 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno"><a·class="line"·href="a02208.html#a2873dfa4334235a0ac70430447e104fa">··185</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a02208.html#a2873dfa4334235a0ac70430447e104fa">isFake</a>·=·<span·class="keyword">false</span>;</div> 
152 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div> 
153 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno"><a·class="line"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">··190</a></span>····<span·class="keyword">typedef</span>·MPI_Comm·<a·class="code·hl_typedef"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a>;</div> 
154 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>·</div> 
155 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno"><a·class="line"·href="a02208.html#a9a512ea0eb356230aee39b93af2eceaf">··198</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_typedef"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a>·<a·class="code·hl_function"·href="a02208.html#a9a512ea0eb356230aee39b93af2eceaf">getCommunicator</a>·()</div> 
156 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>····{</div> 
157 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>······<span·class="keywordflow">return</span>·MPI_COMM_WORLD;</div> 
158 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>····}</div> 
159 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>·</div> 
Max diff block lines reached; 9163/48025 bytes (19.08%) of diff not shown.
9.44 KB
html2text {}
    
Offset 4, 316 lines modifiedOffset 4, 47 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 filledarray.hh
7 ····*·parallel 
8 mpihelper.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5
 15 ·6#ifndef·DUNE_COMMON_FILLED_ARRAY_HH
 16 ·7#define·DUNE_COMMON_FILLED_ARRAY_HH
 17 ·8
 18 ·13#include·<array>
15 ·5#ifndef·DUNE_MPIHELPER 
16 ·6#define·DUNE_MPIHELPER 
17 ·7 
18 ·8#if·HAVE_MPI 
19 ·9#include·<cassert> 
20 ·10#include·<mpi.h> 
21 ·11#endif 
22 ·12 
23 ·13#include·<mutex>19 ·14#include·<cstddef>
 20 ·15
24 ·14 
25 ·15#include·<dune/common/parallel/communication.hh> 
26 ·16#if·HAVE_MPI 
27 ·17#include·<dune/common/parallel/mpicommunication.hh> 
28 ·18#include·<dune/common/stdstreams.hh> 
29 ·19#endif 
30 ·20#include·<dune/common/visibility.hh> 
31 ·21 
32 ·22namespace·Dune21 ·16namespace·Dune
33 ·23{ 
34 73·class·FakeMPIHelper 
35 ·74·{ 
36 ·75·public: 
37 80·constexpr·static·bool·isFake·=·true; 
38 ·81 
39 85·typedef·No_Comm·MPICommunicator; 
40 ·86 
41 93·DUNE_EXPORT·static·MPICommunicator·getCommunicator·() 
42 ·94·{ 
43 ·95·static·MPICommunicator·comm; 
44 ·96·return·comm; 
45 ·97·} 
46 ·98 
47 105·static·MPICommunicator·getLocalCommunicator·() 
48 ·106·{ 
49 ·107·return·getCommunicator(); 
50 ·108·} 
51 ·109 
52 ·110 
53 ·111 
54 ·117·[[deprecated("getCollectionCommunication·is·deprecated.·Use 
55 getCommunication·instead.")]] 
56 118·static·Communication<MPICommunicator>·getCollectiveCommunication() 
57 ·119·{ 
58 ·120·return·Communication<MPICommunicator>(getCommunicator()); 
59 ·121·} 
60 ·122 
61 ·123·static·Communication<MPICommunicator> 
62 124·getCommunication() 
63 ·125·{ 
64 ·126·return·Communication<MPICommunicator>(getCommunicator()); 
65 ·127·} 
66 ·128 
67 144·DUNE_EXPORT·static·FakeMPIHelper&·instance([[maybe_unused]]·int·argc, 
68 ·145·[[maybe_unused]]·char**·argv) 
69 ·146·{ 
70 ·147·return·instance(); 
71 ·148·} 
72 ·149 
73 150·DUNE_EXPORT·static·FakeMPIHelper&·instance() 
74 ·151·{ 
75 ·152·static·FakeMPIHelper·singleton; 
76 ·153·return·singleton; 
77 ·154·} 
78 ·155 
79 159·int·rank·()·const·{·return·0;·} 
80 163·int·size·()·const·{·return·1;·} 
81 ·164 
82 ·165·private: 
83 ·166·FakeMPIHelper()·{} 
84 ·167·FakeMPIHelper(const·FakeMPIHelper&); 
85 ·168·FakeMPIHelper&·operator=(const·FakeMPIHelper); 
86 ·169·}; 
87 ·170 
88 ·171#if·HAVE_MPI 
89 178·class·MPIHelper 
90 ·179·{22 ·17{
91 ·180·public: 
92 185·constexpr·static·bool·isFake·=·false; 
93 ·186 
94 190·typedef·MPI_Comm·MPICommunicator; 
95 ·191 
96 198·static·MPICommunicator·getCommunicator·() 
97 ·199·{ 
98 ·200·return·MPI_COMM_WORLD; 
99 ·201·} 
100 ·202 
101 209·static·MPICommunicator·getLocalCommunicator·() 
102 ·210·{ 
103 ·211·return·MPI_COMM_SELF; 
104 ·212·} 
105 ·213 
106 ·219·[[deprecated("getCollectionCommunication·is·deprecated.·Use 
107 getCommunication·instead.")]] 
108 ·220·static·Communication<MPICommunicator> 
109 221·getCollectiveCommunication() 
110 ·222·{ 
111 ·223·return·Communication<MPICommunicator>(getCommunicator()); 
112 ·224·} 
113 ·225 
114 ·226·static·Communication<MPICommunicator> 
115 227·getCommunication() 
116 ·228·{ 
117 ·229·return·Communication<MPICommunicator>(getCommunicator()); 
118 ·230·} 
119 246·DUNE_EXPORT·static·MPIHelper&·instance(int&·argc,·char**&·argv) 
Max diff block lines reached; 3401/9641 bytes (35.28%) of diff not shown.
6.29 KB
./usr/share/doc/libdune-common-doc/doxygen/a00029.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpitraits.hh·File·Reference</title>8 <title>dune-common:·ios_state.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 50 lines modifiedOffset 58, 45 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
71 ··<div·class="headertitle"><div·class="title">mpitraits.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>71 ··<div·class="headertitle"><div·class="title">ios_state.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Traits·classes·for·mapping·types·onto·MPI_Datatype.··74 <p>Utility·class·for·storing·and·resetting·stream·attributes.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>
77 <code>#include·&lt;cstdint&gt;</code><br·/> 
78 <code>#include·&lt;type_traits&gt;</code><br·/> 
79 <code>#include·&lt;utility&gt;</code><br·/> 
80 <code>#include·&lt;complex&gt;</code><br·/> 
81 <code>#include·&lt;mpi.h&gt;</code><br·/> 
82 </div>77 </div>
83 <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00029_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">79 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>81 Classes</h2></td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01288.html">Dune::MPITraits&lt;·T·&gt;</a></td></tr>82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01872.html">Dune::ios_base_all_saver</a></td></tr>
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.··<a·href="a01288.html#details">More...</a><br·/></td></tr>83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·storing·and·resetting·stream·attributes.··<a·href="a01872.html#details">More...</a><br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
92 Namespaces</h2></td></tr>87 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
94 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table>91 </table>
97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
98 <div·class="textblock"><p·>Traits·classes·for·mapping·types·onto·MPI_Datatype.·</p>93 <div·class="textblock"><p·>Utility·class·for·storing·and·resetting·stream·attributes.·</p>
99 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>94 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
100 </div></div><!--·contents·-->95 </div></div><!--·contents·-->
101 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>97 <hr·class="footer"/><address·class="footer"><small>
103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.498 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
104 </small></address>99 </small></address>
105 </body>100 </body>
1.11 KB
html2text {}
    
Offset 4, 35 lines modifiedOffset 4, 28 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 Classes·|·Namespaces7 Classes·|·Namespaces
9 mpitraits.hh·File·Reference8 ios_state.hh·File·Reference
 9 Common
 10 Utility·class·for·storing·and·resetting·stream·attributes.·More...
10 Common·»·Parallel_Communication 
11 Traits·classes·for·mapping·types·onto·MPI_Datatype.·More... 
12 #include·<cstddef> 
13 #include·<cstdint> 
14 #include·<type_traits> 
15 #include·<utility> 
16 #include·<complex> 
17 #include·<mpi.h>11 #include·<ios>
18 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
19 ·Classes13 ·Classes
 14 class· Dune::ios_base_all_saver
 15  ······Utility·class·for·storing·and·resetting·stream·attributes.·More...
20 struct· Dune::MPITraits<_T_> 
21  ·······A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes. 
22 ·········More... 
23  16  
24 ·Namespaces17 ·Namespaces
25 namespace· Dune18 namespace· Dune
26  ··········Dune·namespace.19  ··········Dune·namespace.
27  20  
28 *****·Detailed·Description·*****21 *****·Detailed·Description·*****
29 Traits·classes·for·mapping·types·onto·MPI_Datatype.22 Utility·class·for·storing·and·resetting·stream·attributes.
30 ··Author23 ··Author
31 ······Markus·Blatt24 ······Markus·Blatt
  
32 ===============================================================================25 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.426 ·····Generated·by [doxygen]·1.9.4
44.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00029_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpitraits.hh·Source·File</title>8 <title>dune-common:·ios_state.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 214 lines modifiedOffset 58, 58 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpitraits.hh</div></div>68 ··<div·class="headertitle"><div·class="title">ios_state.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00029.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00029.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MPITRAITS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_IOS_STATE_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MPITRAITS_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_IOS_STATE_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#if·HAVE_MPI</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>
79 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
80 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
81 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div> 
82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
83 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
84 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div> 
85 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
86 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div> 
87 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 81 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01872.html">···33</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01872.html">ios_base_all_saver</a></div>
89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> 
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01288.html">···40</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a></div> 
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>82 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">private</span>:</div> 
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<a·class="code·hl_struct"·href="a01288.html">MPITraits</a>(){}</div> 
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<a·class="code·hl_struct"·href="a01288.html">MPITraits</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&amp;){}</div> 
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">static</span>·MPI_Datatype·datatype;</div> 
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·MPI_Datatype·vectortype;</div> 
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">public</span>:</div>83 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">public</span>:</div>
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">···48</a></span>····<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·<a·class="code·hl_function"·href="a0128[·...·truncated·by·diffoscope;·len:·55,·SHA:·dfb1c7b85ae436014fc55bc067f069f616fbc8731ce279b3ef1449ae207adde9·...·]</div>84 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">···37</a></span>····<span·class="keyword">typedef</span>·std::ios_base·<a·class="code·hl_typedef"·href="a00397.html#gaab42b8e2cf5e10c794a7957e0[·...·truncated·by·diffoscope;·len:·24,·SHA:·986271c25ae29d26c9105ff9e1baccea48de42ed3114fabf1b6660d84ff416bd·...·]</div>
 85 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 86 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<a·class="code·hl_function"·href="a00397.html#gaba871722210fe56717056b5e32f46429">ios_base_all_saver</a>(<a·class="code·hl_typedef"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a>&amp;·ios_);</div>
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div>87 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 88 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<a·class="code·hl_function"·href="a00397.html#ga022177c21c172353d00b3d4658e75e33">~ios_base_all_saver</a>();</div>
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">if</span>(datatype==MPI_DATATYPE_NULL)·{</div> 
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········MPI_Type_contiguous(<span·class="keyword">sizeof</span>(T),MPI_BYTE,&amp;datatype);</div> 
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········MPI_Type_commit(&amp;datatype);</div> 
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······}</div> 
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keywordflow">return</span>·datatype;</div> 
106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div> 
107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01288.html#ad7d2090b026c427e3a5455d2a60c83da">···56</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01288.html#ad7d2090b026c427e3a5455d2a60c83da">is_intrinsic</a>·=·<span·class="keyword">false</span>;</div> 
108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··};</div>89 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 90 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#ga11e7a466cb1a43b36026a751364ae564">restore</a>();</div>
109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··MPI_Datatype·<a·class="code·hl_struct"·href="a01288.html">MPITraits&lt;T&gt;::datatype</a>·=·MPI_DATATYPE_NULL;</div> 
111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>91 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·A·Macro·for·defining·traits·for·the·primitive·data·types</span></div> 
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#define·ComposeMPITraits(p,m)···················\</span></div> 
116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">··template&lt;&gt;····································\</span></div> 
117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">··struct·MPITraits&lt;p&gt;{··························\</span></div> 
118 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">····static·inline·MPI_Datatype·getType(){·······\</span></div> 
119 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">······return·m;·································\</span></div> 
120 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">····}···········································\</span></div> 
121 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="preprocessor">····static·constexpr·bool·is_intrinsic·=·true;··\</span></div> 
122 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">··}</span></div>92 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">private</span>:</div>
 93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<a·class="code·hl_typedef"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a>&amp;·ios;</div>
 94 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····state_type::fmtflags·oldflags;</div>
 95 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····std::streamsize·oldprec;</div>
 96 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····std::streamsize·oldwidth;</div>
123 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>97 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>
124 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··ComposeMPITraits(<span·class="keywordtype">char</span>,·MPI_CHAR);</div> 
125 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··ComposeMPITraits(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">char</span>,MPI_UNSIGNED_CHAR);</div> 
126 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··ComposeMPITraits(<span·class="keywordtype">short</span>,MPI_SHORT);</div> 
127 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··ComposeMPITraits(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">short</span>,MPI_UNSIGNED_SHORT);</div> 
128 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··ComposeMPITraits(<span·class="keywordtype">int</span>,MPI_INT);</div> 
129 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··ComposeMPITraits(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>,MPI_UNSIGNED);</div> 
130 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··ComposeMPITraits(<span·class="keywordtype">long</span>,MPI_LONG);</div> 
131 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··ComposeMPITraits(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>,MPI_UNSIGNED_LONG);</div> 
132 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··ComposeMPITraits(<span·class="keywordtype">float</span>,MPI_FLOAT);</div> 
133 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··ComposeMPITraits(<span·class="keywordtype">double</span>,MPI_DOUBLE);</div> 
134 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··ComposeMPITraits(<span·class="keywordtype">long</span>·<span·class="keywordtype">double</span>,MPI_LONG_DOUBLE);</div> 
135 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··ComposeMPITraits(std::complex&lt;double&gt;,·MPI_CXX_DOUBLE_COMPLEX);</div> 
136 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··ComposeMPITraits(std::complex&lt;long·double&gt;,·MPI_CXX_LONG_DOUBLE_COMPLEX);</div> 
137 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··ComposeMPITraits(std::complex&lt;float&gt;,·MPI_CXX_FLOAT_COMPLEX);</div> 
138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>98 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
140 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="preprocessor">#undef·ComposeMPITraits</span></div> 
141 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01412.html">FieldVector</a>;</div> 
143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> 
144 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;</div> 
145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;K,n&gt;·&gt;</div> 
146 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div>99 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div>
147 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">static</span>·MPI_Datatype·datatype;</div> 
148 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">static</span>·MPI_Datatype·vectortype;</div> 
149 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
150 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·<a·class="code·hl_function"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">getType</a>()</div> 
151 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····{</div> 
152 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······<span·class="keywordflow">if</span>(datatype==MPI_DATATYPE_NULL)·{</div> 
153 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········MPI_Type_contiguous(n,·<a·class="code·hl_struct"·href="a01288.html">MPITraits&lt;K&gt;::getType</a>(),·&amp;vectortype);</div> 
154 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>········MPI_Type_commit(&amp;vectortype);</div> 
155 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········<a·class="code·hl_class"·href="a01412.html">FieldVector&lt;K,n&gt;</a>·fvector;</div> 
156 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········MPI_Aint·base;</div> 
157 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········MPI_Aint·displ;</div> 
158 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········MPI_Get_address(&amp;fvector,·&amp;base);</div> 
Max diff block lines reached; 1991/37880 bytes (5.26%) of diff not shown.
7.33 KB
html2text {}
    
Offset 4, 224 lines modifiedOffset 4, 66 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ios_state.hh
7 ····*·parallel 
8 mpitraits.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_MPITRAITS_HH14 ·5#ifndef·DUNE_COMMON_IOS_STATE_HH
16 ·6#define·DUNE_MPITRAITS_HH15 ·6#define·DUNE_COMMON_IOS_STATE_HH
17 ·716 ·7
18 ·18#if·HAVE_MPI17 ·8#include·<ios>
19 ·1918 ·9
20 ·20#include·<cstddef> 
21 ·21#include·<cstdint> 
22 ·22#include·<type_traits> 
23 ·23#include·<utility> 
24 ·24#include·<complex> 
25 ·25 
26 ·26#include·<mpi.h> 
27 ·27 
28 ·28namespace·Dune19 ·10namespace·Dune·{
 20 33·class·ios_base_all_saver
29 ·29{ 
30 ·39·template<typename·T> 
31 40·struct·MPITraits 
32 ·41·{21 ·34·{
33 ·42·private: 
34 ·43·MPITraits(){} 
35 ·44·MPITraits(const·MPITraits&){} 
36 ·45·static·MPI_Datatype·datatype; 
37 ·46·static·MPI_Datatype·vectortype; 
38 ·47·public:22 ·35·public:
39 48·static·inline·MPI_Datatype·getType()23 37·typedef·std::ios_base·state_type;
 24 ·38
 25 ·48·ios_base_all_saver(state_type&·ios_);
40 ·49·{26 ·49
 27 ·53·~ios_base_all_saver();
 28 ·54
 29 ·61·void·restore();
41 ·50·if(datatype==MPI_DATATYPE_NULL)·{ 
42 ·51·MPI_Type_contiguous(sizeof(T),MPI_BYTE,&datatype); 
43 ·52·MPI_Type_commit(&datatype); 
44 ·53·} 
45 ·54·return·datatype; 
46 ·55·} 
47 56·static·constexpr·bool·is_intrinsic·=·false; 
48 ·57·}; 
49 ·58·template<class·T> 
50 ·59·MPI_Datatype·MPITraits<T>::datatype·=·MPI_DATATYPE_NULL; 
51 ·60 
52 ·61#ifndef·DOXYGEN 
53 ·6230 ·62
54 ·63·//·A·Macro·for·defining·traits·for·the·primitive·data·types 
55 ·64#define·ComposeMPITraits(p,m)·\ 
56 ·65·template<>·\ 
57 ·66·struct·MPITraits<p>{·\ 
58 ·67·static·inline·MPI_Datatype·getType(){·\ 
59 ·68·return·m;·\ 
60 ·69·}·\ 
61 ·70·static·constexpr·bool·is_intrinsic·=·true;·\ 
62 ·71·} 
63 ·72 
64 ·73·ComposeMPITraits(char,·MPI_CHAR); 
65 ·74·ComposeMPITraits(unsigned·char,MPI_UNSIGNED_CHAR); 
66 ·75·ComposeMPITraits(short,MPI_SHORT); 
67 ·76·ComposeMPITraits(unsigned·short,MPI_UNSIGNED_SHORT); 
68 ·77·ComposeMPITraits(int,MPI_INT); 
69 ·78·ComposeMPITraits(unsigned·int,MPI_UNSIGNED); 
70 ·79·ComposeMPITraits(long,MPI_LONG); 
71 ·80·ComposeMPITraits(unsigned·long,MPI_UNSIGNED_LONG); 
72 ·81·ComposeMPITraits(float,MPI_FLOAT); 
73 ·82·ComposeMPITraits(double,MPI_DOUBLE); 
74 ·83·ComposeMPITraits(long·double,MPI_LONG_DOUBLE); 
75 ·84·ComposeMPITraits(std::complex<double>,·MPI_CXX_DOUBLE_COMPLEX); 
76 ·85·ComposeMPITraits(std::complex<long·double>,·MPI_CXX_LONG_DOUBLE_COMPLEX); 
77 ·86·ComposeMPITraits(std::complex<float>,·MPI_CXX_FLOAT_COMPLEX); 
78 ·87 
79 ·88 
80 ·89#undef·ComposeMPITraits 
81 ·90 
82 ·91·template<class·K,·int·n>·class·FieldVector; 
83 ·92 
84 ·93·template<class·K,·int·n> 
85 ·94·struct·MPITraits<FieldVector<K,n>·> 
86 ·95·{ 
87 ·96·static·MPI_Datatype·datatype; 
88 ·97·static·MPI_Datatype·vectortype; 
89 ·98 
90 ·99·static·inline·MPI_Datatype·getType() 
91 ·100·{ 
92 ·101·if(datatype==MPI_DATATYPE_NULL)·{ 
93 ·102·MPI_Type_contiguous(n,·MPITraits<K>::getType(),·&vectortype); 
94 ·103·MPI_Type_commit(&vectortype); 
95 ·104·FieldVector<K,n>·fvector; 
96 ·105·MPI_Aint·base; 
97 ·106·MPI_Aint·displ; 
98 ·107·MPI_Get_address(&fvector,·&base); 
99 ·108·MPI_Get_address(&(fvector[0]),·&displ); 
100 ·109·displ·-=·base; 
101 ·110·int·length[1]={1}; 
102 ·111 
103 ·112·MPI_Type_create_struct(1,·length,·&displ,·&vectortype,·&datatype); 
104 ·113·MPI_Type_commit(&datatype); 
105 ·114·} 
106 ·115·return·datatype; 
107 ·116·} 
108 ·117 
109 ·118·}; 
110 ·119 
111 ·120·template<class·K,·int·n> 
112 ·121·MPI_Datatype·MPITraits<FieldVector<K,n>·>::datatype·=·MPI_DATATYPE_NULL; 
113 ·122·template<class·K,·int·n> 
114 ·123·MPI_Datatype·MPITraits<FieldVector<K,n>·>::vectortype·= 
115 {MPI_DATATYPE_NULL}; 
116 ·124 
117 ·125 
118 ·126·template<int·k> 
119 ·127·class·bigunsignedint; 
Max diff block lines reached; 760/7482 bytes (10.16%) of diff not shown.
17.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00032.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpiguard.hh·File·Reference</title>8 <title>dune-common:·typelist.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 52 lines modifiedOffset 58, 93 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">mpiguard.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>71 <a·href="#typedef-members">Typedefs</a>·&#124;
 72 <a·href="#func-members">Functions</a>··</div>
 73 ··<div·class="headertitle"><div·class="title">typelist.hh·File·Reference</div></div>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
 76 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
 77 <code>#include·&lt;tuple&gt;</code><br·/>
 78 <code>#include·&lt;utility&gt;</code><br·/>
  
74 <p>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·· 
75 <a·href="#details">More...</a></p> 
76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00026_source.html">mpihelper.hh</a>&quot;</code><br·/> 
77 <code>#include·&quot;<a·class="el"·href="a00023_source.html">communication.hh</a>&quot;</code><br·/> 
78 <code>#include·&quot;<a·class="el"·href="a00038_source.html">mpicommunication.hh</a>&quot;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
80 </div>79 </div>
81 <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00032_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">81 <table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
84 Classes</h2></td></tr>83 Classes</h2></td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02196.html">Dune::MPIGuardError</a></td></tr>84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03028.html">Dune::MetaType&lt;·T·&gt;</a></td></tr>
86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·exception·is·thrown·if·the·<a·class="el"·href="a02200.html"·title="detects·a·thrown·exception·and·communicates·to·all·other·processes">MPIGuard</a>·detects·an·error·on·a·remote·process.··<a·href="a02196.html#details">More...</a><br·/></td></tr>85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·type·that·refers·to·another·type.··<a·href="a03028.html#details">More...</a><br·/></td></tr>
 86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03032.html">Dune::IsTypeList&lt;·T·&gt;</a></td></tr>
 88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·given·type·is·a·TypeList.··<a·href="a03032.html#details">More...</a><br·/></td></tr>
 89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03036.html">Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
 91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·given·type·is·a·TypeList.··<a·href="a03036.html#details">More...</a><br·/></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03040.html">Dune::IsEmptyTypeList&lt;·T·&gt;</a></td></tr>
 94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·given·type·is·an·empty·TypeList.··<a·href="a03040.html#details">More...</a><br·/></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03044.html">Dune::TypeListSize&lt;·T·&gt;</a></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03048.html">Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
 99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·size·of·TypeList.··<a·href="a03048.html#details">More...</a><br·/></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02200.html">Dune::MPIGuard</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03052.html">Dune::TypeListElement&lt;·i,·T·&gt;</a></td></tr>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03056.html">Dune::TypeListElement&lt;·i,·TypeList&lt;·T...·&gt;·&gt;</a></td></tr>
89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">detects·a·thrown·exception·and·communicates·to·all·other·processes··<a·href="a02200.html#details">More...</a><br·/></td></tr>104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·element·of·TypeList.··<a·href="a03056.html#details">More...</a><br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
93 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
94 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>109 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
95 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>110 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 </table><table·class="memberdecls">
 113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 114 Typedefs</h2></td></tr>
 115 <tr·class="memitem:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 116 <tr·class="memitem:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">Dune::TypeList</a>·=·std::tuple&lt;·MetaType&lt;·T·&gt;...·&gt;</td></tr>
 117 <tr·class="memdesc:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·type·list.··<a·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">More...</a><br·/></td></tr>
 118 <tr·class="separator:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:ae06816da928c17285e09ccb74357648b"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i,·class·T·&gt;·</td></tr>
 120 <tr·class="memitem:ae06816da928c17285e09ccb74357648b"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae06816da928c17285e09ccb74357648b">Dune::TypeListEntry_t</a>·=·typename·TypeListElement&lt;·i,·T·&gt;::type</td></tr>
 121 <tr·class="memdesc:ae06816da928c17285e09ccb74357648b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Shortcut·for·TypeListElement&lt;i,·T&gt;::type;.··<a·href="a00425.html#ae06816da928c17285e09ccb74357648b">More...</a><br·/></td></tr>
 122 <tr·class="separator:ae06816da928c17285e09ccb74357648b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:a05190548d101a946d1cab292cff5fdb9"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class·TL·&gt;·</td></tr>
 124 <tr·class="memitem:a05190548d101a946d1cab292cff5fdb9"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a05190548d101a946d1cab292cff5fdb9">Dune::UnpackTypeList_t</a>·=·typename·Impl::UnpackTypeList&lt;·Target,·TL·&gt;::type</td></tr>
 125 <tr·class="memdesc:a05190548d101a946d1cab292cff5fdb9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Unpack·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f"·title="A·simple·type·list.">Dune::TypeList</a>.··<a·href="a00425.html#a05190548d101a946d1cab292cff5fdb9">More...</a><br·/></td></tr>
 126 <tr·class="separator:a05190548d101a946d1cab292cff5fdb9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:a7f31a234ebc9fa02660570324eabde1a"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class...·T&gt;·</td></tr>
 128 <tr·class="memitem:a7f31a234ebc9fa02660570324eabde1a"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a7f31a234ebc9fa02660570324eabde1a">Dune::UniqueTypes_t</a>·=·typename·Impl::UniqueTypesHelper&lt;·Target,·TypeList&lt;·T...·&gt;·&gt;::type</td></tr>
 129 <tr·class="memdesc:a7f31a234ebc9fa02660570324eabde1a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Remove·duplicates·from·a·list·of·types.··<a·href="a00425.html#a7f31a234ebc9fa02660570324eabde1a">More...</a><br·/></td></tr>
 130 <tr·class="separator:a7f31a234ebc9fa02660570324eabde1a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memTemplParams"·colspan="2">template&lt;class·NonUniqueTypeList·&gt;·</td></tr>
 132 <tr·class="memitem:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab8e5f27ee5ff462d88e7eb109f143263">Dune::UniqueTypeList_t</a>·=·typename·Impl::UniqueTypesHelper&lt;·TypeList,·NonUniqueTypeList·&gt;::type</td></tr>
 133 <tr·class="memdesc:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Remove·duplicates·from·a·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f"·title="A·simple·type·list.">Dune::TypeList</a>.··<a·href="a00425.html#ab8e5f27ee5ff462d88e7eb109f143263">More...</a><br·/></td></tr>
 134 <tr·class="separator:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 </table><table·class="memberdecls">
 136 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 137 Functions</h2></td></tr>
 138 <tr·class="memitem:a595be06b36830646a9a348d33b7c51c1"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 139 <tr·class="memitem:a595be06b36830646a9a348d33b7c51c1"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a595be06b36830646a9a348d33b7c51c1">Dune::uniqueTypeList</a>·(TypeList&lt;·T...·&gt;·list)</td></tr>
 140 <tr·class="memdesc:a595be06b36830646a9a348d33b7c51c1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Remove·duplicates·from·a·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f"·title="A·simple·type·list.">Dune::TypeList</a>.··<a·href="a00425.html#a595be06b36830646a9a348d33b7c51c1">More...</a><br·/></td></tr>
 141 <tr·class="separator:a595be06b36830646a9a348d33b7c51c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table>142 </table>
98 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
99 <div·class="textblock"><p·>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·</p> 
100 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> 
101 </div></div><!--·contents·-->143 </div><!--·contents·-->
102 <!--·start·footer·part·-->144 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>145 <hr·class="footer"/><address·class="footer"><small>
104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4146 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
105 </small></address>147 </small></address>
106 </body>148 </body>
107 </html>149 </html>
2.78 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 72 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Typedefs·|·Functions
7 ····*·parallel 
8 Classes·|·Namespaces 
9 mpiguard.hh·File·Reference8 typelist.hh·File·Reference
 9 #include·<type_traits>
 10 #include·<tuple>
 11 #include·<utility>
10 Common·»·Parallel_Communication 
11 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·More... 
12 #include·"mpihelper.hh" 
13 #include·"communication.hh" 
14 #include·"mpicommunication.hh" 
15 #include·<dune/common/exceptions.hh> 
16 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
17 ·Classes13 ·Classes
 14 struct· Dune::MetaType<_T_>
 15  ·······A·type·that·refers·to·another·type.·More...
18 class· Dune::MPIGuardError 
19  ······This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote 
20 ········process.·More... 
21  16  
22 class· Dune::MPIGuard 
23  ······detects·a·thrown·exception·and·communicates·to·all·other·processes 
24 ········More...17 struct· Dune::IsTypeList<_T_>
 18  ·······Check·if·given·type·is·a·TypeList.·More...
 19  
 20 struct· Dune::IsTypeList<_TypeList<_T..._>_>
 21  ·······Check·if·given·type·is·a·TypeList.·More...
 22  
 23 struct· Dune::IsEmptyTypeList<_T_>
 24  ·······Check·if·given·type·is·an·empty·TypeList.·More...
 25  
 26 struct· Dune::TypeListSize<_T_>
 27  
 28 struct· Dune::TypeListSize<_TypeList<_T..._>_>
 29  ·······Get·size·of·TypeList.·More...
 30  
 31 struct· Dune::TypeListElement<_i,_T_>
 32  
 33 struct· Dune::TypeListElement<_i,_TypeList<_T..._>_>
 34  ·······Get·element·of·TypeList.·More...
25  35  
26 ·Namespaces36 ·Namespaces
27 namespace· Dune37 namespace· Dune
28  ··········Dune·namespace.38  ··········Dune·namespace.
29  39  
30 *****·Detailed·Description·***** 
31 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process. 
32 ··Author 
33 ······Christian·Engwer40 ·Typedefs
 41 template<class...·T>
 42 using Dune::TypeList·=·std::tuple<·MetaType<·T·>...·>
 43  ·····A·simple·type·list.·More...
 44  
 45 template<std::size_t·i,·class·T·>
 46 using Dune::TypeListEntry_t·=·typename·TypeListElement<·i,·T·>::type
 47  ·····Shortcut·for·TypeListElement<i,·T>::type;.·More...
 48  
 49 template<template<·class...·>·class·Target,·class·TL·>
 50 using Dune::UnpackTypeList_t·=·typename·Impl::UnpackTypeList<·Target,·TL·>::
 51 ·······type
 52  ·····Unpack·Dune::TypeList.·More...
 53  
 54 template<template<·class...·>·class·Target,·class...·T>
 55 using Dune::UniqueTypes_t·=·typename·Impl::UniqueTypesHelper<·Target,
 56 ·······TypeList<·T...·>·>::type
 57  ·····Remove·duplicates·from·a·list·of·types.·More...
 58  
 59 template<class·NonUniqueTypeList·>
 60 using Dune::UniqueTypeList_t·=·typename·Impl::UniqueTypesHelper<·TypeList,
 61 ·······NonUniqueTypeList·>::type
 62  ·····Remove·duplicates·from·a·Dune::TypeList.·More...
 63  
 64 ·Functions
 65 template<class...·T>
 66 constexpr·auto Dune::uniqueTypeList·(TypeList<·T...·>·list)
 67  ··············Remove·duplicates·from·a·Dune::TypeList.·More...
 68  
  
34 ===============================================================================69 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.470 ·····Generated·by [doxygen]·1.9.4
65.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00032_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpiguard.hh·Source·File</title>8 <title>dune-common:·typelist.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 196 lines modifiedOffset 58, 146 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpiguard.hh</div></div>68 ··<div·class="headertitle"><div·class="title">typelist.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00032.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00032.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TYPELIST_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TYPELIST_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
76 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·DUNE_COMMON_MPIGUARD_HH</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
77 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·DUNE_COMMON_MPIGUARD_HH</span></div> 
78 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
79 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00026.html">mpihelper.hh</a>&quot;</span></div> 
80 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00023.html">communication.hh</a>&quot;</span></div> 
81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00038.html">mpicommunication.hh</a>&quot;</span></div> 
82 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
84 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> 
86 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
87 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
88 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
89 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="comment">/*</span></div> 
90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·····Interface·class·for·the·communication·needed·by·MPIGuard</span></div> 
91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">···*/</span></div> 
92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">struct·</span>GuardCommunicator</div> 
93 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div> 
94 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="comment">//·cleanup</span></div> 
95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">virtual</span>·~GuardCommunicator()·{};</div> 
96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="comment">//·all·the·communication·methods·we·need</span></div> 
97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·rank()·=·0;</div> 
98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·size()·=·0;</div> 
99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·sum(<span·class="keywordtype">int</span>·i)·=·0;</div> 
100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="comment">//·create·a·new·GuardCommunicator·pointer</span></div> 
101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·C&gt;</div>84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a03028.html">···33</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03028.html">MetaType</a>·{</div>
 86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a03028.html#a6b3de5881641ffb3bb9c5af780fc3a13">···35</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a03028.html#a6b3de5881641ffb3bb9c5af780fc3a13">type</a>·=·T;</div>
102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">static</span>·GuardCommunicator·*·create(<span·class="keyword">const</span>·Communication&lt;C&gt;·&amp;·c);</div> 
103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">inline</span></div> 
105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">static</span>·GuardCommunicator·*·create(<span·class="keyword">const</span>·MPI_Comm·&amp;·c);</div> 
106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#endif</span></div> 
107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··};</div> 
108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>{</div> 
110 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="comment">/*</span></div> 
111 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·······templated·implementation·of·different·communication·classes</span></div> 
112 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">·····*/</span></div> 
113 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//·the·default·class·will·always·fail,·due·to·the·missing·implementation·of·&quot;sum&quot;</span></div> 
114 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·Imp&gt;</div> 
115 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">struct·</span>GenericGuardCommunicator</div> 
116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·<span·class="keyword">public</span>·GuardCommunicator</div> 
117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{};</div> 
118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·specialization·for·Communication</span></div> 
119 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div> 
120 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">struct·</span>GenericGuardCommunicator&lt;·Communication&lt;T&gt;·&gt;</div> 
121 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······:·<span·class="keyword">public</span>·GuardCommunicator</div> 
122 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div> 
123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">const</span>·Communication&lt;T&gt;·comm;</div> 
124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······GenericGuardCommunicator(<span·class="keyword">const</span>·Communication&lt;T&gt;·&amp;·c)·:</div> 
125 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········comm(c)·{}</div> 
126 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keywordtype">int</span>·rank()<span·class="keyword">·override·</span>{·<span·class="keywordflow">return</span>·comm.rank();·};</div> 
127 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordtype">int</span>·size()<span·class="keyword">·override·</span>{·<span·class="keywordflow">return</span>·comm.size();·};</div> 
128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordtype">int</span>·sum(<span·class="keywordtype">int</span>·i)<span·class="keyword">·override·</span>{·<span·class="keywordflow">return</span>·comm.sum(i);·}</div> 
129 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····};</div>87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··};</div>
130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
131 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·specialization·for·MPI_Comm</span></div> 
133 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">template</span>·&lt;&gt;</div> 
134 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">struct·</span>GenericGuardCommunicator&lt;MPI_Comm&gt;</div> 
135 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······:·<span·class="keyword">public</span>·GenericGuardCommunicator&lt;·Communication&lt;MPI_Comm&gt;·&gt;</div> 
136 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····{</div> 
137 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······GenericGuardCommunicator(<span·class="keyword">const</span>·MPI_Comm·&amp;·c)·:</div> 
138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········GenericGuardCommunicator&lt;·Communication&lt;MPI_Comm&gt;·&gt;(</div> 
139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··········Communication&lt;MPI_Comm&gt;(c))·{}</div> 
140 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····};</div> 
141 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div> 
142 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}···<span·class="comment">//·anonymous·namespace</span></div> 
143 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
144 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·C&gt;</div>89 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div>
 90 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">···87</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>·=·std::tuple&lt;MetaType&lt;T&gt;...&gt;;</div>
145 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··GuardCommunicator·*·GuardCommunicator::create(<span·class="keyword">const</span>·Communication&lt;C&gt;·&amp;·comm)</div> 
146 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> 
147 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·GenericGuardCommunicator&lt;·Communication&lt;C&gt;·&gt;(comm);</div> 
148 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div> 
149 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>91 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
150 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
151 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··GuardCommunicator·*·GuardCommunicator::create(<span·class="keyword">const</span>·MPI_Comm·&amp;·comm)</div> 
152 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{</div>92 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
153 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keywordflow">return</span>·<span·class="keyword">new</span>·GenericGuardCommunicator&lt;·Communication&lt;MPI_Comm&gt;·&gt;(comm);</div> 
154 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}</div> 
155 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">#endif</span></div> 
156 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>93 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 94 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 95 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a03032.html">··100</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03032.html">IsTypeList</a>·:·std::false_type·{};</div>
157 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">#endif</span></div> 
158 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> 
Max diff block lines reached; 32326/55575 bytes (58.17%) of diff not shown.
10.8 KB
html2text {}
    
Offset 4, 230 lines modifiedOffset 4, 183 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 typelist.hh
7 ····*·parallel 
8 mpiguard.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5 
16 ·13#ifndef·DUNE_COMMON_MPIGUARD_HH14 ·5#ifndef·DUNE_COMMON_TYPELIST_HH
17 ·14#define·DUNE_COMMON_MPIGUARD_HH15 ·6#define·DUNE_COMMON_TYPELIST_HH
 16 ·7
 17 ·8#include·<type_traits>
 18 ·9#include·<tuple>
 19 ·10#include·<utility>
 20 ·11
18 ·15 
19 ·16#include·"mpihelper.hh" 
20 ·17#include·"communication.hh" 
21 ·18#include·"mpicommunication.hh" 
22 ·19#include·<dune/common/exceptions.hh> 
23 ·20 
24 ·21namespace·Dune21 ·12namespace·Dune·{
 22 ·13
25 ·22{ 
26 ·23 
27 ·24#ifndef·DOXYGEN 
28 ·25 
29 ·26·/* 
30 ·27·Interface·class·for·the·communication·needed·by·MPIGuard 
31 ·28·*/ 
32 ·29·struct·GuardCommunicator 
33 ·30·{ 
34 ·31·//·cleanup 
35 ·32·virtual·~GuardCommunicator()·{}; 
36 ·33·//·all·the·communication·methods·we·need 
37 ·34·virtual·int·rank()·=·0; 
38 ·35·virtual·int·size()·=·0; 
39 ·36·virtual·int·sum(int·i)·=·0; 
40 ·37·//·create·a·new·GuardCommunicator·pointer 
41 ·38·template·<class·C>23 ·32·template<class·T>
42 ·39·static·GuardCommunicator·*·create(const·Communication<C>·&·c); 
43 ·40#if·HAVE_MPI 
44 ·41·inline 
45 ·42·static·GuardCommunicator·*·create(const·MPI_Comm·&·c); 
46 ·43#endif 
47 ·44·}; 
48 ·45 
49 ·46·namespace·{ 
50 ·47·/* 
51 ·48·templated·implementation·of·different·communication·classes 
52 ·49·*/ 
53 ·50·//·the·default·class·will·always·fail,·due·to·the·missing·implementation·of 
54 "sum"24 33·struct·MetaType·{
 25 35·using·type·=·T;
 26 ·36·};
 27 ·37
 28 ·86·template<class...·T>
 29 87·using·TypeList·=·std::tuple<MetaType<T>...>;
 30 ·88
 31 ·89
 32 ·90
 33 ·99·template<class·T>
 34 100·struct·IsTypeList·:·std::false_type·{};
 35 ·101
 36 ·107·template<class...·T>
 37 108·struct·IsTypeList<TypeList<T...>·>·:·std::true_type·{};
 38 ·109
 39 ·110
 40 ·111
55 ·51·template·<class·Imp>41 ·120·template<class·T>
56 ·52·struct·GenericGuardCommunicator 
57 ·53·:·public·GuardCommunicator 
58 ·54·{}; 
59 ·55·//·specialization·for·Communication42 121·struct·IsEmptyTypeList·:·std::is_same<T,·TypeList<>·>·{};
 43 ·122
 44 ·123
 45 ·124
60 ·56·template·<class·T>46 ·125·template<class·T>
 47 126·struct·TypeListSize·{};
 48 ·127
61 ·57·struct·GenericGuardCommunicator<·Communication<T>·> 
62 ·58·:·public·GuardCommunicator 
63 ·59·{ 
64 ·60·const·Communication<T>·comm; 
65 ·61·GenericGuardCommunicator(const·Communication<T>·&·c)·: 
66 ·62·comm(c)·{} 
67 ·63·int·rank()·override·{·return·comm.rank();·}; 
68 ·64·int·size()·override·{·return·comm.size();·}; 
69 ·65·int·sum(int·i)·override·{·return·comm.sum(i);·} 
70 ·66·}; 
71 ·67 
72 ·68#if·HAVE_MPI 
73 ·69·//·specialization·for·MPI_Comm 
74 ·70·template·<> 
75 ·71·struct·GenericGuardCommunicator<MPI_Comm> 
76 ·72·:·public·GenericGuardCommunicator<·Communication<MPI_Comm>·> 
77 ·73·{ 
78 ·74·GenericGuardCommunicator(const·MPI_Comm·&·c)·: 
79 ·75·GenericGuardCommunicator<·Communication<MPI_Comm>·>( 
80 ·76·Communication<MPI_Comm>(c))·{} 
81 ·77·}; 
82 ·78#endif 
83 ·79·}·//·anonymous·namespace 
84 ·80 
85 ·81·template<class·C>49 ·136·template<class...·T>
 50 137·struct·TypeListSize<TypeList<T...>>·:·std::integral_constant<std::size_t,
 51 sizeof...(T)>·{};
86 ·82·GuardCommunicator·*·GuardCommunicator::create(const·Communication<C>·& 
87 comm) 
88 ·83·{ 
89 ·84·return·new·GenericGuardCommunicator<·Communication<C>·>(comm); 
90 ·85·} 
91 ·86 
92 ·87#if·HAVE_MPI 
93 ·88·GuardCommunicator·*·GuardCommunicator::create(const·MPI_Comm·&·comm) 
94 ·89·{ 
95 ·90·return·new·GenericGuardCommunicator<·Communication<MPI_Comm>·>(comm); 
96 ·91·} 
Max diff block lines reached; 7209/11055 bytes (65.21%) of diff not shown.
22.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00035.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·indexset.hh·File·Reference</title>8 <title>dune-common:·promotiontraits.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 124 lines modifiedOffset 58, 48 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">promotiontraits.hh·File·Reference</div></div>
71 <a·href="#enum-members">Enumerations</a>·&#124; 
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">indexset.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div> 
74 </div><!--header-->72 </div><!--header-->
75 <div·class="contents">73 <div·class="contents">
  
76 <p>Provides·a·map·between·global·and·local·indices.··74 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··
77 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/arraylist.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;iostream&gt;</code><br·/> 
82 <code>#include·&quot;<a·class="el"·href="a00062_source.html">localindex.hh</a>&quot;</code><br·/> 
83 <code>#include·&lt;stdint.h&gt;</code><br·/> 
84 </div>77 </div>
85 <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00035_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">79 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
88 Classes</h2></td></tr>81 Classes</h2></td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02092.html">Dune::IndexPair&lt;·TG,·TL·&gt;</a></td></tr>82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02432.html">Dune::PromotionTraits&lt;·T1,·T2·&gt;</a></td></tr>
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·pair·consisting·of·a·global·and·local·index.··<a·href="a02092.html#details">More...</a><br·/></td></tr>83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··<a·href="a02432.html#details">More...</a><br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02096.html">Dune::InvalidIndexSetState</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Exception</a>·indicating·that·the·index·set·is·not·in·the·expected·state.··<a·href="a02096.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02104.html">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;</a></td></tr> 
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.··<a·href="a02104.html#details">More...</a><br·/></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02108.html">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator</a></td></tr> 
99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·iterator·over·the·pairs.··<a·href="a02108.html#details">More...</a><br·/></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02100.html">Dune::GlobalLookupIndexSet&lt;·I·&gt;</a></td></tr> 
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Decorates·an·index·set·with·the·possibility·to·find·a·global·index·that·is·mapped·to·a·specific·local.··<a·href="a02100.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02112.html">Dune::LocalIndexComparator&lt;·T·&gt;</a></td></tr> 
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02116.html">Dune::IndexSetSortFunctor&lt;·TG,·TL·&gt;</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02436.html">Dune::PromotionTraits&lt;·T1,·T1·&gt;</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
110 Namespaces</h2></td></tr>89 Namespaces</h2></td></tr>
111 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
112 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table><table·class="memberdecls"> 
115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a> 
116 Enumerations</h2></td></tr> 
117 <tr·class="memitem:ga1b1dd66b80964351e68f44bddb32593e"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga1b1dd66b80964351e68f44bddb32593e">Dune::ParallelIndexSetState</a>·{·<a·class="el"·href="a00416.html#gga1b1dd66b80964351e68f44bddb32593ea30f779eddf23499c322b692257ae7116">Dune::GROUND</a> 
118 ,·<a·class="el"·href="a00416.html#gga1b1dd66b80964351e68f44bddb32593ea2fbc0ce9b92442e69a405a452f2ef416">Dune::RESIZE</a> 
119 ·}</td></tr> 
120 <tr·class="memdesc:ga1b1dd66b80964351e68f44bddb32593e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·states·the·index·set·can·be·in.··<a·href="a00416.html#ga1b1dd66b80964351e68f44bddb32593e">More...</a><br·/></td></tr> 
121 <tr·class="separator:ga1b1dd66b80964351e68f44bddb32593e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 </table><table·class="memberdecls"> 
123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
124 Functions</h2></td></tr> 
125 <tr·class="memitem:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
126 <tr·class="memitem:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7fcd5b444a9e60cfdc21f7d0cfd22250">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;pair)</td></tr> 
127 <tr·class="memdesc:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·an·index·pair.··<a·href="a00416.html#ga7fcd5b444a9e60cfdc21f7d0cfd22250">More...</a><br·/></td></tr> 
128 <tr·class="separator:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:ga7795b290702a59497007270c46e2b8c6"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
130 <tr·class="memitem:ga7795b290702a59497007270c46e2b8c6"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7795b290702a59497007270c46e2b8c6">Dune::operator==</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
131 <tr·class="separator:ga7795b290702a59497007270c46e2b8c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
133 <tr·class="memitem:ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga3a50aa86c8ff96eee7ef68200531326d">Dune::operator!=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
134 <tr·class="separator:ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
136 <tr·class="memitem:ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga0d9a1c3873a538aa66c22b03b406db87">Dune::operator&lt;</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
137 <tr·class="separator:ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
139 <tr·class="memitem:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga0bc63043e58d66643b64cbd6b08dfb82">Dune::operator&gt;</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
140 <tr·class="separator:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
142 <tr·class="memitem:ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga6cdf9614911aa5cd70ed58663de013c2">Dune::operator&lt;=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
143 <tr·class="separator:ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 <tr·class="memitem:ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
145 <tr·class="memitem:ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga5c5245f4fd0352faad94ca8e9c1f6c6f">Dune::operator&gt;=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr> 
146 <tr·class="separator:ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
147 <tr·class="memitem:ga239e646b27f7f35ac944aebb59380913"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
148 <tr·class="memitem:ga239e646b27f7f35ac944aebb59380913"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga239e646b27f7f35ac944aebb59380913">Dune::operator==</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
149 <tr·class="separator:ga239e646b27f7f35ac944aebb59380913"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 <tr·class="memitem:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
151 <tr·class="memitem:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gadf0b39a244a69d9e7f71811f960a5728">Dune::operator!=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
152 <tr·class="separator:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
153 <tr·class="memitem:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
154 <tr·class="memitem:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga912a9eba5f4d34e7e50ef4335b7ba108">Dune::operator&lt;</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
155 <tr·class="separator:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:gab4b337bd4e613e88381306db889e811f"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
157 <tr·class="memitem:gab4b337bd4e613e88381306db889e811f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gab4b337bd4e613e88381306db889e811f">Dune::operator&gt;</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
158 <tr·class="separator:gab4b337bd4e613e88381306db889e811f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
159 <tr·class="memitem:gad6d5923b72e3214d9f20349b722ea874"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
160 <tr·class="memitem:gad6d5923b72e3214d9f20349b722ea874"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gad6d5923b72e3214d9f20349b722ea874">Dune::operator&lt;=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
161 <tr·class="separator:gad6d5923b72e3214d9f20349b722ea874"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:ga7d670d228f6635f587d21ef117951fd9"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr> 
163 <tr·class="memitem:ga7d670d228f6635f587d21ef117951fd9"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7d670d228f6635f587d21ef117951fd9">Dune::operator&gt;=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr> 
164 <tr·class="separator:ga7d670d228f6635f587d21ef117951fd9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
165 <tr·class="memitem:gac377e14b5944471054bdb0012008393b"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·,·int·N&gt;·</td></tr> 
Max diff block lines reached; 742/18669 bytes (3.97%) of diff not shown.
4.04 KB
html2text {}
    
Offset 4, 110 lines modifiedOffset 4, 32 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces
 8 promotiontraits.hh·File·Reference
 9 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different
 10 number·types.·More...
7 ····*·parallel 
8 Classes·|·Namespaces·|·Enumerations·|·Functions 
9 indexset.hh·File·Reference 
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Provides·a·map·between·global·and·local·indices.·More... 
12 #include·<algorithm> 
13 #include·<dune/common/arraylist.hh> 
14 #include·<dune/common/exceptions.hh> 
15 #include·<iostream> 
16 #include·"localindex.hh" 
17 #include·<stdint.h>11 #include·<utility>
18 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
19 ·Classes13 ·Classes
20 ·class· Dune::IndexPair<_TG,_TL_> 
21  ·······A·pair·consisting·of·a·global·and·local·index.·More...14 struct· Dune::PromotionTraits<_T1,_T2_>
 15  ·······Compute·type·of·the·result·of·an·arithmetic·operation·involving·two
 16 ·········different·number·types.·More...
22  17  
 18 struct· Dune::PromotionTraits<_T1,_T1_>
23 ·class· Dune::InvalidIndexSetState 
24  ·······Exception·indicating·that·the·index·set·is·not·in·the·expected·state. 
25 ·········More... 
26   
27 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_> 
28  ·······Manager·class·for·the·mapping·between·local·indices·and·globally 
29 ·········unique·indices.·More... 
30   
31 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_>::iterator 
32  ·······The·iterator·over·the·pairs.·More... 
33   
34 ·class· Dune::GlobalLookupIndexSet<_I_> 
35  ·······Decorates·an·index·set·with·the·possibility·to·find·a·global·index 
36 ·········that·is·mapped·to·a·specific·local.·More... 
37   
38 struct· Dune::LocalIndexComparator<_T_> 
39   
40 struct· Dune::IndexSetSortFunctor<_TG,_TL_> 
41  19  
42 ·Namespaces20 ·Namespaces
43 namespace· Dune21 namespace· Dune
44  ··········Dune·namespace.22  ··········Dune·namespace.
45  23  
46 ·Enumerations 
47 enum· Dune::ParallelIndexSetState·{·Dune::GROUND·,·Dune::RESIZE·} 
48  ·····The·states·the·index·set·can·be·in.·More... 
49   
50 ·Functions 
51 template<class·TG·,·class·TL·> 
52 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·IndexPair<·TG,·TL·> 
53 ················&pair) 
54  ··············Print·an·index·pair.·More... 
55   
56 template<class·TG·,·class·TL·> 
57 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
58 ················TG,·TL·>·&) 
59   
60 template<class·TG·,·class·TL·> 
61 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
62 ················TG,·TL·>·&) 
63   
64 template<class·TG·,·class·TL·> 
65 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
66 ················TG,·TL·>·&) 
67   
68 template<class·TG·,·class·TL·> 
69 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
70 ················TG,·TL·>·&) 
71   
72 template<class·TG·,·class·TL·> 
73 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
74 ················TG,·TL·>·&) 
75   
76 template<class·TG·,·class·TL·> 
77 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair< 
78 ················TG,·TL·>·&) 
79   
80 template<class·TG·,·class·TL·> 
81 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
82   
83 template<class·TG·,·class·TL·> 
84 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
85   
86 template<class·TG·,·class·TL·> 
87 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
88   
89 template<class·TG·,·class·TL·> 
90 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
91   
92 template<class·TG·,·class·TL·> 
93 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
94   
95 template<class·TG·,·class·TL·> 
96 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&) 
97   
98 template<class·TG·,·class·TL·,·int·N> 
99 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·ParallelIndexSet<·TG, 
100 ················TL,·N·>·&indexSet) 
101  ··············Print·an·index·set.·More... 
102   
103 *****·Detailed·Description·*****24 *****·Detailed·Description·*****
104 Provides·a·map·between·global·and·local·indices.25 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different
 26 number·types.
105 ··Author27 ··Author
106 ······Markus·Blatt28 ······Matthias·Wohlmuth
  
107 ===============================================================================29 ===============================================================================
108 ·····Generated·by [doxygen]·1.9.430 ·····Generated·by [doxygen]·1.9.4
212 KB
./usr/share/doc/libdune-common-doc/doxygen/a00035_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·indexset.hh·Source·File</title>8 <title>dune-common:·promotiontraits.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 912 lines modifiedOffset 58, 51 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">indexset.hh</div></div>68 ··<div·class="headertitle"><div·class="title">promotiontraits.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00035.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INDEXSET_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PROMOTIONTRAITS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INDEXSET_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PROMOTIONTRAITS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00344.html">dune/common/arraylist.hh</a>&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00062.html">localindex.hh</a>&quot;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;stdint.h&gt;</span>·<span·class="comment">//·for·uint32_t</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 81 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div>
 82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a02432.html">···26</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a></div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div>
89 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="comment">//·forward·declarations</span></div>84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02432.html#a3f2079447de3426b9da835d3f32d73b6">···28</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">decltype</span>(std::declval&lt;T1&gt;()+std::declval&lt;T2&gt;())·<a·class="code·hl_typedef"·href="a02432.h[·...·truncated·by·diffoscope;·len:·56,·SHA:·3d1f6d87c5c182a7b950ece1e8fab09fb7771e4af5b99cfb3f2e788f34f737a5·...·]</div>
90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··};</div>
91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">class·</span>IndexPair;</div> 
93 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 87 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="comment">//·Specialization·for·the·case·of·two·equal·types</span></div>
 88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="comment">//·One·should·think·that·the·generic·template·should·handle·this·case·as·well.</span></div>
 89 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="comment">//·However,·the·fvectortest.cc·unit·test·fails·without·it·if·ENABLE_GMP·is·set.</span></div>
94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T1&gt;</div>
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream&amp;·os,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;[·...·truncated·by·diffoscope;·len:·11,·SHA:·93afac963c53737f5f21c6c26f8f5818ac589ae83239b3a0e166485e1da38885·...·];</div>91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a02436.html#ab4f6d422c0baac66e9496252327e6682">···35</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;T1,T1&gt;·{·<span·class[·...·truncated·by·diffoscope;·len:·128,·SHA:·f2016b1e64d48386512433c1f5e8c5ec7472e42975bb399183a79fdfb502837a·...·];</div>
 92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}·<span·class="comment">//·end·namespace</span></div>
 94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
Diff chunk too large, falling back to line-by-line diff (1 lines added, 849 lines removed)
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_PROMOTIONTRAITS_HH</span></div>
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div> 
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div> 
102 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
103 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
104 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">operator&lt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div> 
105 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
106 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
107 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga4e05f002f8262357d9bdd7874fcb0f68">operator&gt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div> 
108 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
109 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
110 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga798235d5677109c73826c07eda54642a">operator&lt;=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div> 
111 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
112 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gad3b5d2384ffc58bc20968c4b6c6fcefb">operator·&gt;=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div> 
114 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
115 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div> 
117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
118 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</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="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
122 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">operator&lt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div> 
123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga4e05f002f8262357d9bdd7874fcb0f68">operator&gt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div> 
126 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
127 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga798235d5677109c73826c07eda54642a">operator&lt;=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div> 
129 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
130 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
131 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gad3b5d2384ffc58bc20968c4b6c6fcefb">operator·&gt;=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div> 
132 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
133 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
134 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">struct·</span>MPITraits;</div> 
135 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
136 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div> 
137 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a02092.html">···84</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02092.html">IndexPair</a></div> 
138 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··{</div> 
139 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">friend</span>·std::ostream&amp;·operator&lt;&lt;&lt;&gt;(std::ostream&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div> 
140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator==&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div> 
141 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator!=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div> 
142 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&lt;·&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div> 
143 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&gt;&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div> 
144 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&lt;=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div> 
145 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&gt;=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;);</div> 
146 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator==&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div> 
147 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator!=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div> 
148 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&lt;·&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div> 
149 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&gt;·&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div> 
150 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&lt;=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div> 
151 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00416.html#gac56f63a1893eb6178552c12f89661016">···98</a></span>····<span·class="keyword">friend</span>·<span·class="keywordtype">bool</span>·operator&gt;=&lt;&gt;(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;TG,TL&gt;</a>&amp;,·<span·class="keyword">const</span>·TG·&amp;);</div> 
152 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">friend</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&lt;<a·class="code·hl_class"·href="a02092.html">IndexPair</a>&lt;TG,TL&gt;·&gt;;</div> 
153 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
154 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">public</span>:</div> 
155 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00416.html#gac7ba161114dcda480ec1e03fade5d887">··107</a></span>····<span·class="keyword">typedef</span>·TG·<a·class="code·hl_typedef"·href="a00416.html#gac7ba161114dcda480ec1e03fade5d887">GlobalIndex</a>;</div> 
156 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
157 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga43eed1b88f2bc2e0b683465638df39fb">··120</a></span>····<span·class="keyword">typedef</span>·TL·<a·class="code·hl_typedef"·href="a00416.html#ga43eed1b88f2bc2e0b683465638df39fb">LocalIndex</a>;</div> 
158 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> 
Max diff block lines reached; 5592/182418 bytes (3.07%) of diff not shown.
33.6 KB
html2text {}
    
Offset 4, 1120 lines modifiedOffset 4, 54 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 promotiontraits.hh
7 ····*·parallel 
8 indexset.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_INDEXSET_HH 
16 ·6#define·DUNE_INDEXSET_HH14 ·5#ifndef·DUNE_PROMOTIONTRAITS_HH
 15 ·6#define·DUNE_PROMOTIONTRAITS_HH
17 ·716 ·7
18 ·8#include·<algorithm>17 ·8#include·<utility>
 18 ·9
19 ·9#include·<dune/common/arraylist.hh> 
20 ·10#include·<dune/common/exceptions.hh> 
21 ·11#include·<iostream> 
22 ·12 
23 ·13#include·"localindex.hh" 
24 ·14 
25 ·15#include·<stdint.h>·//·for·uint32_t 
26 ·16 
27 ·17namespace·Dune19 ·10namespace·Dune·{
28 ·18{ 
29 ·28·//·forward·declarations 
30 ·29 
31 ·30·template<class·TG,·class·TL> 
32 ·31·class·IndexPair; 
33 ·32 
34 ·38·template<class·TG,·class·TL> 
35 ·39·std::ostream&·operator<<(std::ostream&·os,·const·IndexPair<TG,TL>&·pair);20 ·25·template·<typename·T1,·typename·T2>
 21 26·struct·PromotionTraits
 22 ·27·{
 23 28·typedef·decltype(std::declval<T1>()+std::declval<T2>())·PromotedType;
 24 ·29·};
 25 ·30
 26 ·31·//·Specialization·for·the·case·of·two·equal·types
 27 ·32·//·One·should·think·that·the·generic·template·should·handle·this·case·as
 28 well.
 29 ·33·//·However,·the·fvectortest.cc·unit·test·fails·without·it·if·ENABLE_GMP·is
 30 set.
 31 ·34·template·<typename·T1>
 32 35·struct·PromotionTraits<T1,T1>·{·typedef·T1·PromotedType;·};
 33 ·36
 34 ·38}·//·end·namespace
 35 ·39
Diff chunk too large, falling back to line-by-line diff (1 lines added, 1027 lines removed)
36 ·4036 ·40
37 ·41·template<class·TG,·class·TL>37 ·41#endif·//·DUNE_PROMOTIONTRAITS_HH
38 ·42·bool·operator==(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
39 ·43 
40 ·44·template<class·TG,·class·TL> 
41 ·45·bool·operator!=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
42 ·46 
43 ·47·template<class·TG,·class·TL> 
44 ·48·bool·operator<(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
45 ·49 
46 ·50·template<class·TG,·class·TL> 
47 ·51·bool·operator>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
48 ·52 
49 ·53·template<class·TG,·class·TL> 
50 ·54·bool·operator<=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
51 ·55 
52 ·56·template<class·TG,·class·TL> 
53 ·57·bool·operator_>=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
54 ·58 
55 ·59·template<class·TG,·class·TL> 
56 ·60·bool·operator==(const·IndexPair<TG,TL>&,·const·TG&); 
57 ·61 
58 ·62·template<class·TG,·class·TL> 
59 ·63·bool·operator!=(const·IndexPair<TG,TL>&,·const·TG&); 
60 ·64 
61 ·65·template<class·TG,·class·TL> 
62 ·66·bool·operator<(const·IndexPair<TG,TL>&,·const·TG&); 
63 ·67 
64 ·68·template<class·TG,·class·TL> 
65 ·69·bool·operator>(const·IndexPair<TG,TL>&,·const·TG&); 
66 ·70 
67 ·71·template<class·TG,·class·TL> 
68 ·72·bool·operator<=(const·IndexPair<TG,TL>&,·const·TG&); 
69 ·73 
70 ·74·template<class·TG,·class·TL> 
71 ·75·bool·operator_>=(const·IndexPair<TG,TL>&,·const·TG&); 
72 ·76 
73 ·77·template<typename·T> 
74 ·78·struct·MPITraits; 
75 ·79 
76 ·83·template<class·TG,·class·TL> 
77 84·class·IndexPair 
78 ·85·{ 
79 ·86·friend·std::ostream&·operator<<<>(std::ostream&,·const·IndexPair<TG,TL>&); 
80 ·87·friend·bool·operator==<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
81 ·88·friend·bool·operator!=<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
82 ·89·friend·bool·operator<·<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
83 ·90·friend·bool·operator><>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
84 ·91·friend·bool·operator<=<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
85 ·92·friend·bool·operator>=<>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&); 
86 ·93·friend·bool·operator==<>(const·IndexPair<TG,TL>&,·const·TG·&); 
87 ·94·friend·bool·operator!=<>(const·IndexPair<TG,TL>&,·const·TG·&); 
88 ·95·friend·bool·operator<·<>(const·IndexPair<TG,TL>&,·const·TG·&); 
89 ·96·friend·bool·operator>·<>(const·IndexPair<TG,TL>&,·const·TG·&); 
90 ·97·friend·bool·operator<=<>(const·IndexPair<TG,TL>&,·const·TG·&); 
91 98·friend·bool·operator>=<>(const·IndexPair<TG,TL>&,·const·TG·&); 
92 ·99·friend·struct·MPITraits<IndexPair<TG,TL>·>; 
93 ·100 
94 ·101·public: 
95 107·typedef·TG·GlobalIndex; 
96 ·108 
97 120·typedef·TL·LocalIndex; 
98 ·121 
99 128·IndexPair(const·GlobalIndex&·global,·const·LocalIndex&·local); 
100 ·129 
101 133·IndexPair(); 
102 140·IndexPair(const·GlobalIndex&·global); 
103 ·141 
104 147·inline·const·GlobalIndex&·global()·const; 
105 ·148 
106 154·inline·LocalIndex&·local(); 
107 ·155 
Max diff block lines reached; 2417/34400 bytes (7.03%) of diff not shown.
68.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00038.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpicommunication.hh·File·Reference</title>8 <title>dune-common:·version.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 112 lines modifiedOffset 58, 779 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124; 
71 <a·href="#define-members">Macros</a>·&#124;69 <a·href="#define-members">Macros</a>··</div>
 70 ··<div·class="headertitle"><div·class="title">version.hh·File·Reference</div></div>
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">mpicommunication.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div> 
74 </div><!--header-->71 </div><!--header-->
75 <div·class="contents">72 <div·class="contents">
  
76 <p>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.··73 <p>Various·macros·to·work·with·Dune·module·version·numbers.··
77 <a·href="#details">More...</a></p>74 <a·href="#details">More...</a></p>
  
78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/> 
79 <code>#include·&lt;functional&gt;</code><br·/> 
80 <code>#include·&lt;memory&gt;</code><br·/> 
81 <code>#include·&lt;mpi.h&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/> 
88 </div> 
89 <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00038_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">76 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
92 Classes</h2></td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02160.html">Dune::Generic_MPI_Op&lt;·Type,·BinaryFunction,·Enable·&gt;</a></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02164.html">Dune::Communication&lt;·MPI_Comm·&gt;</a></td></tr> 
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·of·<a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·for·MPI.··<a·href="a02164.html#details">More...</a><br·/></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 </table><table·class="memberdecls"> 
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
100 Namespaces</h2></td></tr> 
101 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
102 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 </table><table·class="memberdecls"> 
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
106 Macros</h2></td></tr>78 Macros</h2></td></tr>
107 <tr·class="memitem:abf4b9767826441f78c43351f92490b89"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(func,··op)</td></tr>79 <tr·class="memitem:a229e35109d69cff060df5c80e71f3d73"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,··type)&#160;&#1[·...·truncated·by·diffoscope;·len:·36,·SHA:·1f8eb730e2a1b85b663d1e6029975cd11918d5f974c57cf982a869428bd27346·...·]</td></tr>
 80 <tr·class="memdesc:a229e35109d69cff060df5c80e71f3d73"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.··<a·href="a00038.html#a229e35109d69cff060df5c80e71f3d73">More...</a><br·/></td></tr>
 81 <tr·class="separator:a229e35109d69cff060df5c80e71f3d73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 82 <tr·class="memitem:ab25a714acc2ab9e565053cb523054a95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#ab25a714acc2ab9e565053cb523054a95">DUNE_VERSION_EQUAL</a>(module,··major,··minor)</td></tr>
 83 <tr·class="memdesc:ab25a714acc2ab9e565053cb523054a95"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.··<a·href="a00038.html#ab25a714acc2ab9e565053cb523054a95">More...</a><br·/></td></tr>
 84 <tr·class="separator:ab25a714acc2ab9e565053cb523054a95"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 85 <tr·class="memitem:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a860ad2275fe1229fe01d9992a6685fe7">DUNE_VERSION_EQUAL_REV</a>(module,··major,··minor,··revision)</td></tr>
 86 <tr·class="memdesc:a860ad2275fe1229fe01d9992a6685fe7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision.··<a·href="a00038.html#a860ad2275fe1229fe01d9992a6685fe7">More...</a><br·/></td></tr>
 87 <tr·class="separator:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 <tr·class="memitem:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,··major,··minor)</td></tr>
 89 <tr·class="memdesc:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·greater.··<a·href="a00038.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">More...</a><br·/></td></tr>
 90 <tr·class="separator:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:a989ea73953b5d09cb17675d64233a15b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a989ea73953b5d09cb17675d64233a15b">DUNE_VERSION_LT</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00038.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr>
 92 <tr·class="memdesc:a989ea73953b5d09cb17675d64233a15b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·less·than·major.minor.··<a·href="a00038.html#a989ea73953b5d09cb17675d64233a15b">More...</a><br·/></td></tr>
108 <tr·class="separator:abf4b9767826441f78c43351f92490b89"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:a989ea73953b5d09cb17675d64233a15b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table><table·class="memberdecls"> 
110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
111 Functions</h2></td></tr> 
112 <tr·class="memitem:a59a2fa61f1387001cea29f6934ff2316"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">Dune::ComposeMPIOp</a>·(std::plus,·MPI_SUM)</td></tr>94 <tr·class="memitem:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a3ff6f986ce87d82c20da62e6355cf520">DUNE_VERSION_NEWER</a>(module,··major,··minor[·...·truncated·by·diffoscope;·len:·127,·SHA:·eda9fcd350f716b00e6c0d64e0b97f7c6dc01f034e991edf9915407c17d800f4·...·])</td></tr>
 95 <tr·class="memdesc:a3ff6f986ce87d82c20da62e6355cf520"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·newer.··<a·href="a00038.html#a3ff6f986ce87d82c20da62e6355cf520">More...</a><br·/></td></tr>
 96 <tr·class="separator:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:a4221602addcd43bfc16992d83eaab73b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,··major,··minor)</td></tr>
 98 <tr·class="memdesc:a4221602addcd43bfc16992d83eaab73b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·greater·than·major.minor.··<a·href="a00038.html#a4221602addcd43bfc16992d83eaab73b">More...</a><br·/></td></tr>
 99 <tr·class="separator:a4221602addcd43bfc16992d83eaab73b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:a30a27a1b8996420c55ed3c6009a62253"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a30a27a1b8996420c55ed3c6009a62253">DUNE_VERSION_LTE</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00038.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,major,minor)</td></tr>
 101 <tr·class="memdesc:a30a27a1b8996420c55ed3c6009a62253"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·less·than·or·equal·to·major.minor.··<a·href="a00038.html#a30a27a1b8996420c55ed3c6009a62253">More...</a><br·/></td></tr>
 102 <tr·class="separator:a30a27a1b8996420c55ed3c6009a62253"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,··major,··minor,··revision)</td></tr>
 104 <tr·class="memdesc:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision·or·greater.··<a·href="a00038.html#a95ef2ff0c01c2b1add28f5d4a55e6904">More...</a><br·/></td></tr>
113 <tr·class="separator:a59a2fa61f1387001cea29f6934ff2316"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:a8b1b0f5e50429120ba7fc972b022c620"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a8b1b0f5e50429120ba7fc972b022c620">Dune::ComposeMPIOp</a>·(std::multiplies,·MPI_PROD)</td></tr>106 <tr·class="memitem:a475b789ab8bce20d26045e337955a52b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a475b789ab8bce20d26045e337955a52b">DUNE_VERSION_LT_REV</a>(module,··major,··mino[·...·truncated·by·diffoscope;·len:·154,·SHA:·2d08d5428fc8bc474bc94f69edce54a74ae01f4ddbe6d09a0e918c55039ebb7c·...·])</td></tr>
 107 <tr·class="memdesc:a475b789ab8bce20d26045e337955a52b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·lower·than·major.minor.revision.··<a·href="a00038.html#a475b789ab8bce20d26045e337955a52b">More...</a><br·/></td></tr>
 108 <tr·class="separator:a475b789ab8bce20d26045e337955a52b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:a5b004009c0c7997b2330992534942c3b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a5b004009c0c7997b2330992534942c3b">DUNE_VERSION_NEWER_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··<a·class="el"·href="a00038.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr>
 110 <tr·class="memdesc:a5b004009c0c7997b2330992534942c3b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision·or·newer.··<a·href="a00038.html#a5b004009c0c7997b2330992534942c3b">More...</a><br·/></td></tr>
115 <tr·class="separator:a8b1b0f5e50429120ba7fc972b022c620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:a5b004009c0c7997b2330992534942c3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 <tr·class="memitem:a428c0ab2a3d2fd8f57aaf06a51bcc558"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a428c0ab2a3d2fd8f57aaf06a51bcc558">Dune::ComposeMPIOp</a>·(Min,·MPI_MIN)</td></tr>112 <tr·class="memitem:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,··major,··mino[·...·truncated·by·diffoscope;·len:·12,·SHA:·1c05f6b18e19136c33a56c200615c93a0c9e49e485166206614f21fa4b1ab546·...·])</td></tr>
 113 <tr·class="memdesc:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·greater·version·than·major.minor.revision.··<a·href="a00038.html#ab892e2a1845da3fb29c5fb0cbe4d413f">More...</a><br·/></td></tr>
 114 <tr·class="separator:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a3e5db809b447136ea37c9c2ab3ea8c52">DUNE_VERSION_LTE_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00038.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,major,minor,revision)</td></tr>
 116 <tr·class="memdesc:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·lower·or·equal·to·major.minor.revision.··<a·href="a00038.html#a3e5db809b447136ea37c9c2ab3ea8c52">More...</a><br·/></td></tr>
 117 <tr·class="separator:a3e5db809b447136ea37c9c2ab3ea8c52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(major,··minor,··revision)&#160;&#160;&#160;··((unsigned·int)((major·&lt;&lt;·24)·+·(minor·&lt;&lt;·16)·+·revision))</td></tr>
 119 <tr·class="memdesc:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·a·unique·uint·id·from·the·major,·minor,·and·revision·numbers.··<a·href="a00038.html#ae3ff9d66de4e43cbc5e67743013977c9">More...</a><br·/></td></tr>
 120 <tr·class="separator:ae3ff9d66de4e43cbc5e67743013977c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html#a2c5026c661a32b8cb9e0f92a4515c6c6">DUNE_MODULE_VERSION_ID</a>(module)&#160;&#160;&#160;··<a·class="el"·href="a00038.html#ae3ff9d66de4e43cbc5e67743013977c9">DUNE_VERSION_ID</a>(·<a·class="el"·href="a00038.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MAJOR),·<a·class="el"·href="a00038.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,MINOR),·<a·class="el"·href="a00038.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,REVISION)·)</td></tr>
 122 <tr·class="memdesc:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·a·unique·uint·id·for·the·given·module.··<a·href="a00038.html#a2c5026c661a32b8cb9e0f92a4515c6c6">More...</a><br·/></td></tr>
117 <tr·class="separator:a428c0ab2a3d2fd8f57aaf06a51bcc558"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:a2c5026c661a32b8cb9e0f92a4515c6c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 <tr·class="memitem:ac6814315ac90b4c03e394688a30c63d9"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ac6814315ac90b4c03e394688a30c63d9">Dune::ComposeMPIOp</a>·(Max,·MPI_MAX)</td></tr> 
119 <tr·class="separator:ac6814315ac90b4c03e394688a30c63d9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 </table>124 </table>
121 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>125 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
122 <div·class="textblock"><p·>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·</p>126 <div·class="textblock"><p·>Various·macros·to·work·with·Dune·module·version·numbers.·</p>
123 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>127 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
124 <a·id="abf4b9767826441f78c43351f92490b89"·name="abf4b9767826441f78c43351f92490b89"></a> 
125 <h2·class="memtitle"><span·class="permalink"><a·href="#abf4b9767826441f78c43351f92490b89">&#9670;&nbsp;</a></span>ComposeMPIOp</h2>128 <a·id="a2c5026c661a32b8cb9e0f92a4515c6c6"·name="a2c5026c661a32b8cb9e0f92a4515c6c6"></a>
 129 <h2·class="memtitle"><span·class="permalink"><a·href="#a2c5026c661a32b8cb9e0f92a4515c6c6">&#9670;&nbsp;</a></span>DUNE_MODULE_VERSION_ID</h2>
  
Max diff block lines reached; 19298/52415 bytes (36.82%) of diff not shown.
17.2 KB
html2text {}
    
Offset 4, 73 lines modifiedOffset 4, 346 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Macros
 8 version.hh·File·Reference
 9 Various·macros·to·work·with·Dune·module·version·numbers.·More...
7 ····*·parallel 
8 Classes·|·Namespaces·|·Macros·|·Functions 
9 mpicommunication.hh·File·Reference 
10 Common·»·Parallel_Communication 
11 Implements·an·utility·class·that·provides·MPI's·collective·communication 
12 methods.·More... 
13 #include·<algorithm> 
14 #include·<functional> 
15 #include·<memory> 
16 #include·<mpi.h> 
17 #include·<dune/common/binaryfunctions.hh> 
18 #include·<dune/common/exceptions.hh> 
19 #include·<dune/common/parallel/communication.hh> 
20 #include·<dune/common/parallel/mpitraits.hh> 
21 #include·<dune/common/parallel/mpifuture.hh> 
22 #include·<dune/common/parallel/mpidata.hh> 
23 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
24 ·Classes 
25 class· Dune::Generic_MPI_Op<_Type,_BinaryFunction,_Enable_>11 ·Macros
 12 #define DUNE_VERSION_JOIN(module,·type)   module·##·_VERSION_·##·type
 13  ·······Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.
 14 ·········More...
26  15  
27 class· Dune::Communication<_MPI_Comm_> 
28  ······Specialization·of·Communication·for·MPI.·More...16 #define DUNE_VERSION_EQUAL(module,·major,·minor)
 17  ·······True·if·'module'·has·the·version·major.minor.·More...
29  18  
 19 #define DUNE_VERSION_EQUAL_REV(module,·major,·minor,·revision)
 20  ·······True·if·'module'·has·the·version·major.minor.revision.·More...
30 ·Namespaces 
31 namespace· Dune 
32  ··········Dune·namespace. 
33  21  
34 ·Macros 
35 #define ComposeMPIOp(func,·op)22 #define DUNE_VERSION_GTE(module,·major,·minor)
 23  ·······True·if·'module'·has·the·version·major.minor·or·greater.·More...
 24  
 25 #define DUNE_VERSION_LT(module,·major,·minor)   ·!·DUNE_VERSION_GTE(module,major,minor)
 26  ·······True·if·'module'·has·a·version·less·than·major.minor.·More...
 27  
 28 #define DUNE_VERSION_NEWER(module,·major,·minor)   ·DUNE_VERSION_GTE(module,major,minor)
 29  ·······True·if·'module'·has·the·version·major.minor·or·newer.·More...
 30  
 31 #define DUNE_VERSION_GT(module,·major,·minor)
 32  ·······True·if·'module'·has·a·version·greater·than·major.minor.·More...
 33  
 34 #define DUNE_VERSION_LTE(module,·major,·minor)   ·!·DUNE_VERSION_GT(module,major,minor)
 35  ·······True·if·'module'·has·a·version·less·than·or·equal·to·major.minor.·More...
 36  
 37 #define DUNE_VERSION_GTE_REV(module,·major,·minor,·revision)
 38  ·······True·if·'module'·has·the·version·major.minor.revision·or·greater.·More...
 39  
 40 #define DUNE_VERSION_LT_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GTE_REV
 41 ·········(module,major,minor,revision)
 42  ·······True·if·'module'·has·a·version·lower·than·major.minor.revision.·More...
36  43  
37 ·Functions 
38  Dune::ComposeMPIOp·(std::plus,·MPI_SUM)44 #define DUNE_VERSION_NEWER_REV(module,·major,·minor,·revision)   ·DUNE_VERSION_GTE_REV
 45 ·········(module,major,minor,revision)
 46  ·······True·if·'module'·has·the·version·major.minor.revision·or·newer.·More...
39  47  
40  Dune::ComposeMPIOp·(std::multiplies,·MPI_PROD)48 #define DUNE_VERSION_GT_REV(module,·major,·minor,·revision)
 49  ·······True·if·'module'·has·a·greater·version·than·major.minor.revision.·More...
41  50  
42  Dune::ComposeMPIOp·(Min,·MPI_MIN)51 #define DUNE_VERSION_LTE_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GT_REV
 52 ·········(module,major,minor,revision)
 53  ·······True·if·'module'·has·a·version·lower·or·equal·to·major.minor.revision.·More...
43  54  
44  Dune::ComposeMPIOp·(Max,·MPI_MAX)55 #define DUNE_VERSION_ID(major,·minor,·revision)   ·((unsigned·int)((major·<<·24)·+·(minor
 56 ·········<<·16)·+·revision))
 57  ·······Compute·a·unique·uint·id·from·the·major,·minor,·and·revision·numbers.·More...
 58  
 59 #define DUNE_MODULE_VERSION_ID(module)   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN
 60 ·········(module,MAJOR),·DUNE_VERSION_JOIN(module,MINOR),·DUNE_VERSION_JOIN
 61 ·········(module,REVISION)·)
 62  ·······Compute·a·unique·uint·id·for·the·given·module.·More...
45  63  
46 *****·Detailed·Description·*****64 *****·Detailed·Description·*****
 65 Various·macros·to·work·with·Dune·module·version·numbers.
47 Implements·an·utility·class·that·provides·MPI's·collective·communication 
48 methods. 
49 *****·Macro·Definition·Documentation·*****66 *****·Macro·Definition·Documentation·*****
50 *****·◆ ComposeMPIOp·***** 
51 #define·ComposeMPIOp·(· func,67 *****· DUNE_MODULE_VERSION_ID·*****
 68 #define················(· module·)·   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN(module,MAJOR),·DUNE_VERSION_JOIN
 69 DUNE_MODULE_VERSION_ID··············(module,MINOR),·DUNE_VERSION_JOIN(module,REVISION)·)
 70 Compute·a·unique·uint·id·for·the·given·module.
 71 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:
 72 ····*·DUNE_COMMON·for·dune-common
 73 ····*·DUNE_GRID·for·dune-grid
 74 ····*·DUNE_GEOMETRY·for·dune-geometry
 75 ····*·DUNE_ISTL·for·dune-istl
 76 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions
 77 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by
 78 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as
 79 module·name·in·the·context·of·this·macro.
 80 *****·◆ DUNE_VERSION_EQUAL·*****
 81 #define·DUNE_VERSION_EQUAL·(· module,
 82 ····························· major,
 83 ····························· minor 
 84 ···························)
 85 Value:
 86 ((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·\
 87 (DUNE_VERSION_JOIN(module,MINOR)·==·minor))
 88 DUNE_VERSION_JOIN
 89 #define·DUNE_VERSION_JOIN(module,·type)
 90 Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.
 91 Definition:·version.hh:28
 92 True·if·'module'·has·the·version·major.minor.
 93 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names:
 94 ····*·DUNE_COMMON·for·dune-common
 95 ····*·DUNE_GRID·for·dune-grid
 96 ····*·DUNE_GEOMETRY·for·dune-geometry
 97 ····*·DUNE_ISTL·for·dune-istl
 98 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions
 99 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by
 100 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as
Max diff block lines reached; 116/17565 bytes (0.66%) of diff not shown.
130 KB
./usr/share/doc/libdune-common-doc/doxygen/a00038_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpicommunication.hh·Source·File</title>8 <title>dune-common:·version.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 501 lines modifiedOffset 58, 83 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpicommunication.hh</div></div>68 ··<div·class="headertitle"><div·class="title">version.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00038.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00038.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_VERSION_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_VERSION_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00038.html#a229e35109d69cff060df5c80e71f3d73">···28</a></span><span·class="preprocessor">#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type</span></div>
78 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
79 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
80 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
81 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div> 
82 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
83 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>79 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 80 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00038.html#ab25a714acc2ab9e565053cb523054a95">···44</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL(module,major,minor)·\</span></div>
84 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>81 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">··((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·\</span></div>
85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00227.html">dune/common/binaryfunctions.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00023.html">dune/common/parallel/communication.hh</a>&gt;</span></div> 
89 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div> 
90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00065.html">dune/common/parallel/mpifuture.hh</a>&gt;</span></div> 
91 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00050.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div> 
92 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
93 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
94 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div> 
95 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
96 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="comment">//=======================================================</span></div> 
97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="comment">//·use·singleton·pattern·and·template·specialization·to</span></div> 
98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="comment">//·generate·MPI·operations</span></div> 
99 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="comment">//=======================================================</span></div> 
100 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
101 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Type,·<span·class="keyword">typename</span>·BinaryFunction,·<span·class="keyword">typename</span>·Enable=<span·class="keywordtype">void</span>&gt;</div> 
102 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02160.html">···40</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02160.html">Generic_MPI_Op</a></div> 
103 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> 
104 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div>82 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">···(DUNE_VERSION_JOIN(module,MINOR)·==·minor))</span></div>
106 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02160.html#a630e429addd37d613753026e63f07410">···44</a></span>····<span·class="keyword">static</span>·MPI_Op·<a·class="code·hl_function"·href="a02160.html#a630e429addd37d613753026e63f07410">get</a>·()</div> 
107 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div> 
108 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">if</span>·(!op)</div> 
109 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······{</div>83 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 84 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00038.html#a860ad2275fe1229fe01d9992a6685fe7">···62</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL_REV(module,major,minor,revision)·\</span></div>
 85 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="preprocessor">··(·DUNE_VERSION_EQUAL(module,major,minor)·&amp;&amp;·\</span></div>
 86 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">····(DUNE_VERSION_JOIN(module,REVISION)·==·revision))</span></div>
110 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········op·=·std::make_unique&lt;MPI_Op&gt;();</div> 
111 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="comment">//·The·following·line·leaks·an·MPI·operation·object,·because·the·corresponding</span></div> 
112 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<span·class="comment">//`MPI_Op_free`·is·never·called.··It·is·never·called·because·there·is·no·easy</span></div> 
113 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="comment">//·way·to·call·it·at·the·right·moment:·right·before·the·call·to·MPI_Finalize.</span></div> 
114 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="comment">//·See·https://gitlab.dune-project.org/core/dune-istl/issues/80</span></div> 
115 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········MPI_Op_create((<span·class="keywordtype">void</span>·(*)(<span·class="keywordtype">void</span>*,·<span·class="keywordtype">void</span>*,·<span·class="keywordtype">int</span>*,·MPI_Datatype*))&amp;operation,<span·class="keyword">true</span>,op.get());</div> 
116 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······}</div> 
117 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keywordflow">return</span>·*op;</div> 
118 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····}</div> 
119 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</div> 
120 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·operation·(Type·*in,·Type·*inout,·<span·class="keywordtype">int</span>·*len,·MPI_Datatype*)</div> 
121 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div> 
122 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······BinaryFunction·func;</div> 
123 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>87 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 88 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00038.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">···80</a></span><span·class="preprocessor">#define·DUNE_VERSION_GTE(module,major,minor)·\</span></div>
 89 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="preprocessor">··((DUNE_VERSION_JOIN(module,MAJOR)·&gt;·major)·\</span></div>
 90 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">···||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·(DUNE_VERSION_JOIN(module,MINOR)·&gt;=·minor)))</span></div>
124 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=0;·i&lt;·*len;·++i,·++in,·++inout)·{</div> 
125 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········Type·temp;</div> 
126 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········temp·=·func(*in,·*inout);</div> 
127 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········*inout·=·temp;</div> 
128 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······}</div> 
129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div> 
130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····Generic_MPI_Op·()·{}</div> 
131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····Generic_MPI_Op·(<span·class="keyword">const</span>·Generic_MPI_Op&amp;·)·{}</div> 
132 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">static</span>·std::unique_ptr&lt;MPI_Op&gt;·op;</div> 
133 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div> 
134 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
135 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>91 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 92 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00038.html#a989ea73953b5d09cb17675d64233a15b">···98</a></span><span·class="preprocessor">#define·DUNE_VERSION_LT(module,major,minor)·\</span></div>
136 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Type,·<span·class="keyword">typename</span>·BinaryFunction,·<span·class="keyword">typename</span>·Enable&gt;</div> 
137 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··std::unique_ptr&lt;MPI_Op&gt;·Generic_MPI_Op&lt;Type,BinaryFunction,·Enable&gt;::op;</div> 
138 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
139 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00038.html#abf4b9767826441f78c43351f92490b89">···77</a></span><span·class="preprocessor">#define·ComposeMPIOp(func,op)···········································\</span></div> 
140 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">··template&lt;class·T,·class·S&gt;············································\</span></div> 
141 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">··class·Generic_MPI_Op&lt;T,·func&lt;S&gt;,·std::enable_if_t&lt;MPITraits&lt;S&gt;::is_intrinsic&gt;·&gt;{·\</span></div> 
142 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">··public:·······························································\</span></div> 
143 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="preprocessor">··static·MPI_Op·get(){··················································\</span></div> 
144 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">····return·op;··························································\</span></div> 
145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">··}·····································································\</span></div> 
146 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="preprocessor">··private:······························································\</span></div> 
147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="preprocessor">··Generic_MPI_Op·()·{}··················································\</span></div> 
148 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="preprocessor">··Generic_MPI_Op·(const·Generic_MPI_Op·&amp;·)·{}···························\</span></div> 
149 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">··}</span></div>93 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">··!·DUNE_VERSION_GTE(module,major,minor)</span></div>
150 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
151 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
152 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">···90</a></span>··<a·class="code·hl_function"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">ComposeMPIOp</a>(std::plus,·MPI_SUM);</div> 
153 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a00425.html#a8b1b0f5e50429120ba7fc972b022c620">···91</a></span>··<a·class="code·hl_function"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">ComposeMPIOp</a>(std::multiplies,·MPI_PROD);</div> 
154 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00425.html#a428c0ab2a3d2fd8f57aaf06a51bcc558">···92</a></span>··<a·class="code·hl_function"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">ComposeMPIOp</a>(<a·class="code·hl_struct"·href="a01312.html">Min</a>,·MPI_MIN);</div> 
155 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a00425.html#ac6814315ac90b4c03e394688a30c63d9">···93</a></span>··<a·class="code·hl_function"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">ComposeMPIOp</a>(<a·class="code·hl_struct"·href="a01316.html">Max</a>,·MPI_MAX);</div> 
156 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
157 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="preprocessor">#undef·ComposeMPIOp</span></div> 
158 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
Max diff block lines reached; 271/107754 bytes (0.25%) of diff not shown.
24.3 KB
html2text {}
    
Offset 4, 666 lines modifiedOffset 4, 82 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 version.hh
7 ····*·parallel 
8 mpicommunication.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH 
16 ·6#define·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH14 ·5#ifndef·DUNE_VERSION_HH
 15 ·6#define·DUNE_VERSION_HH
17 ·716 ·7
 17 28#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type
18 ·16#if·HAVE_MPI 
19 ·17 
20 ·18#include·<algorithm> 
21 ·19#include·<functional> 
22 ·20#include·<memory> 
23 ·21 
24 ·22#include·<mpi.h> 
25 ·23 
26 ·24#include·<dune/common/binaryfunctions.hh> 
27 ·25#include·<dune/common/exceptions.hh> 
28 ·26#include·<dune/common/parallel/communication.hh> 
29 ·27#include·<dune/common/parallel/mpitraits.hh> 
30 ·28#include·<dune/common/parallel/mpifuture.hh> 
31 ·29#include·<dune/common/parallel/mpidata.hh> 
32 ·30 
33 ·31namespace·Dune 
34 ·32{ 
35 ·33 
36 ·34·//======================================================= 
37 ·35·//·use·singleton·pattern·and·template·specialization·to 
38 ·36·//·generate·MPI·operations 
39 ·37·//======================================================= 
40 ·38 
41 ·39·template<typename·Type,·typename·BinaryFunction,·typename·Enable=void> 
42 40·class·Generic_MPI_Op 
43 ·41·{ 
44 ·42 
45 ·43·public: 
46 44·static·MPI_Op·get·() 
47 ·45·{ 
48 ·46·if·(!op) 
49 ·47·{ 
50 ·48·op·=·std::make_unique<MPI_Op>(); 
51 ·49·//·The·following·line·leaks·an·MPI·operation·object,·because·the 
52 corresponding 
53 ·50·//`MPI_Op_free`·is·never·called.·It·is·never·called·because·there·is·no 
54 easy 
55 ·51·//·way·to·call·it·at·the·right·moment:·right·before·the·call·to 
56 MPI_Finalize. 
57 ·52·//·See·https://gitlab.dune-project.org/core/dune-istl/issues/80 
58 ·53·MPI_Op_create((void·(*)(void*,·void*,·int*, 
59 MPI_Datatype*))&operation,true,op.get()); 
60 ·54·} 
61 ·55·return·*op; 
62 ·56·} 
63 ·57·private: 
64 ·58·static·void·operation·(Type·*in,·Type·*inout,·int·*len,·MPI_Datatype*) 
65 ·59·{ 
66 ·60·BinaryFunction·func; 
67 ·61 
68 ·62·for·(int·i=0;·i<·*len;·++i,·++in,·++inout)·{ 
69 ·63·Type·temp; 
70 ·64·temp·=·func(*in,·*inout); 
71 ·65·*inout·=·temp; 
72 ·66·} 
73 ·67·} 
74 ·68·Generic_MPI_Op·()·{} 
75 ·69·Generic_MPI_Op·(const·Generic_MPI_Op&·)·{} 
76 ·70·static·std::unique_ptr<MPI_Op>·op; 
77 ·71·}; 
78 ·72 
79 ·73 
80 ·74·template<typename·Type,·typename·BinaryFunction,·typename·Enable> 
81 ·75·std::unique_ptr<MPI_Op>·Generic_MPI_Op<Type,BinaryFunction,·Enable>::op; 
82 ·76 
83 77#define·ComposeMPIOp(func,op)·\ 
84 ·78·template<class·T,·class·S>·\ 
85 ·79·class·Generic_MPI_Op<T,·func<S>,·std::enable_if_t<MPITraits<S>:: 
86 is_intrinsic>·>{·\ 
87 ·80·public:·\ 
88 ·81·static·MPI_Op·get(){·\ 
89 ·82·return·op;·\ 
90 ·83·}·\ 
91 ·84·private:·\ 
92 ·85·Generic_MPI_Op·()·{}·\ 
93 ·86·Generic_MPI_Op·(const·Generic_MPI_Op·&·)·{}·\ 
94 ·87·} 
95 ·88 
96 ·89 
97 90·ComposeMPIOp(std::plus,·MPI_SUM); 
98 91·ComposeMPIOp(std::multiplies,·MPI_PROD); 
99 92·ComposeMPIOp(Min,·MPI_MIN); 
100 93·ComposeMPIOp(Max,·MPI_MAX); 
101 ·94 
102 ·95#undef·ComposeMPIOp 
103 ·96 
104 ·97 
105 ·98·//======================================================= 
106 ·99·//·use·singleton·pattern·and·template·specialization·to 
107 ·100·//·generate·MPI·operations 
108 ·101·//======================================================= 
109 ·102 
110 ·106·template<> 
111 107·class·Communication<MPI_Comm> 
112 ·108·{ 
113 ·109·public: 
114 111·Communication·(const·MPI_Comm&·c·=·MPI_COMM_WORLD) 
115 ·112·:·communicator(c) 
116 ·113·{ 
117 ·114·if(communicator!=MPI_COMM_NULL)·{ 
118 ·115·int·initialized·=·0; 
119 ·116·MPI_Initialized(&initialized); 
120 ·117·if·(!initialized) 
121 ·118·DUNE_THROW(ParallelError,"You·must·call·MPIHelper::instance(argc,argv)·in 
122 your·main()·function·before·using·the·MPI·Communication!"); 
123 ·119·MPI_Comm_rank(communicator,&me); 
Max diff block lines reached; 116/24863 bytes (0.47%) of diff not shown.
18.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00044.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·indicessyncer.hh·File·Reference</title>8 <title>dune-common:·transpose.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 86 lines modifiedOffset 58, 60 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124;69 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>70 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">indicessyncer.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>71 ··<div·class="headertitle"><div·class="title">transpose.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
 74 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
  
75 <p>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00035_source.html">indexset.hh</a>&quot;</code><br·/> 
78 <code>#include·&quot;<a·class="el"·href="a00017_source.html">remoteindices.hh</a>&quot;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00176_source.html">dune/common/sllist.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;cassert&gt;</code><br·/> 
82 <code>#include·&lt;cmath&gt;</code><br·/> 
83 <code>#include·&lt;limits&gt;</code><br·/> 
84 <code>#include·&lt;algorithm&gt;</code><br·/> 
85 <code>#include·&lt;functional&gt;</code><br·/>75 <code>#include·&lt;functional&gt;</code><br·/>
86 <code>#include·&lt;map&gt;</code><br·/> 
87 <code>#include·&lt;tuple&gt;</code><br·/>76 <code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 77 <code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00194_source.html">dune/common/referencehelper.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/dynmatrix.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/>
88 </div>82 </div>
89 <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00044_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">84 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
92 Classes</h2></td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02120.html">Dune::IndicesSyncer&lt;·T·&gt;</a></td></tr> 
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Class·for·recomputing·missing·indices·of·a·distributed·index·set.··<a·href="a02120.html#details">More...</a><br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 </table><table·class="memberdecls"> 
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>86 Namespaces</h2></td></tr>
99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>87 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>88 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">90 </table><table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
104 Functions</h2></td></tr>92 Functions</h2></td></tr>
105 <tr·class="memitem:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
106 <tr·class="memitem:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gaf61fa30bf15e87a0f910b9068f775067">Dune::operator&lt;</a>·(const·Index[·...·truncated·by·diffoscope;·len:·98,·SHA:·9aad34f6512cf34f0b3871810b163ae13bfaa727f6fff87fd8694ab578a083ec·...·]</td></tr>93 <tr·class="memitem:ad090bea53c1598805a721f989ffea309"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·,·std::enable_if_t&lt;·Impl::HasMemberFunctionTransposed&lt;·Matrix·&gt;::value,·int·&gt;··=·0&gt;·</td></tr>
 94 <tr·class="memitem:ad090bea53c1598805a721f989ffea309"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ad090bea53c1598805a721f989ffea309">Dune::transpose</a>·(const·Matrix·&amp;matrix)</td></tr>
 95 <tr·class="memdesc:ad090bea53c1598805a721f989ffea309"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·the·transposed·of·the·given·matrix.··<a·href="a00425.html#ad090bea53c1598805a721f989ffea309">More...</a><br·/></td></tr>
107 <tr·class="separator:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:ad090bea53c1598805a721f989ffea309"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:gae5b7bd4e69ee01360e666f12913c1459"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
109 <tr·class="memitem:gae5b7bd4e69ee01360e666f12913c1459"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gae5b7bd4e69ee01360e666f12913c1459">Dune::operator&lt;</a>·(const·std::[·...·truncated·by·diffoscope;·len:·98,·SHA:·c19b77c77b3fab121ddfb39890970be62c115478cc2e0033fa5e6eefc8701cfa·...·]</td></tr>97 <tr·class="memitem:a15675202af9ce6f9282065c808f24a82"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·,·std::enable_if_t&lt;·not·Impl::HasMemberFunctionTransposed&lt;·std::decay_t&lt;·Matrix·&gt;·&gt;::value,·int·&gt;··=·0&gt;·</td></tr>
 98 <tr·class="memitem:a15675202af9ce6f9282065c808f24a82"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a15675202af9ce6f9282065c808f24a82">Dune::transpose</a>·(Matrix·&amp;&amp;matrix)</td></tr>
 99 <tr·class="memdesc:a15675202af9ce6f9282065c808f24a82"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·wrapper·modelling·the·transposed·matrix.··<a·href="a00425.html#a15675202af9ce6f9282065c808f24a82">More...</a><br·/></td></tr>
110 <tr·class="separator:gae5b7bd4e69ee01360e666f12913c1459"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:a15675202af9ce6f9282065c808f24a82"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:a7fd3975f961a390371400a55a41b6209"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·&gt;·</td></tr>
 102 <tr·class="memitem:a7fd3975f961a390371400a55a41b6209"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a7fd3975f961a390371400a55a41b6209">Dune::transpose</a>·(const·std::reference_wrapper&lt;·Matrix·&gt;·&amp;matrix)</td></tr>
 103 <tr·class="memdesc:a7fd3975f961a390371400a55a41b6209"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·wrapper·modelling·the·transposed·matrix.··<a·href="a00425.html#a7fd3975f961a390371400a55a41b6209">More...</a><br·/></td></tr>
111 <tr·class="memitem:ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
112 <tr·class="memitem:ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga058ac87cbdd5c6c4bf3166e8f55efa30">Dune::operator==</a>·(const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr> 
113 <tr·class="separator:ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:ga94296b1fafb04cd392611a43968df582"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
115 <tr·class="memitem:ga94296b1fafb04cd392611a43968df582"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga94296b1fafb04cd392611a43968df582">Dune::operator!=</a>·(const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr> 
116 <tr·class="separator:ga94296b1fafb04cd392611a43968df582"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:a7fd3975f961a390371400a55a41b6209"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:ga300a4a465d5bb251de3953c682d314cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
118 <tr·class="memitem:ga300a4a465d5bb251de3953c682d314cb"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga300a4a465d5bb251de3953c682d314cb">Dune::operator==</a>·(const·std::pa[·...·truncated·by·diffoscope;·len:·96,·SHA:·8ff1cdf1ba7a633cff9a61836daef7cee2be20b538dcbd9800c688d36ddb6693·...·]</td></tr>105 <tr·class="memitem:ae4a7b79043c218c135e2762d5874ce15"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·&gt;·</td></tr>
 106 <tr·class="memitem:ae4a7b79043c218c135e2762d5874ce15"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae4a7b79043c218c135e2762d5874ce15">Dune::transposedView</a>·(const·Matrix·&amp;matrix)</td></tr>
 107 <tr·class="memdesc:ae4a7b79043c218c135e2762d5874ce15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·view·modelling·the·transposed·matrix.··<a·href="a00425.html#ae4a7b79043c218c135e2762d5874ce15">More...</a><br·/></td></tr>
119 <tr·class="separator:ga300a4a465d5bb251de3953c682d314cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:ae4a7b79043c218c135e2762d5874ce15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
120 <tr·class="memitem:ga114537d071365593e8ec0ac11de6ac31"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr> 
121 <tr·class="memitem:ga114537d071365593e8ec0ac11de6ac31"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga114537d071365593e8ec0ac11de6ac31">Dune::operator!=</a>·(const·std::pair&lt;·TG,·TA·&gt;·&amp;i2,·const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i1)</td></tr> 
122 <tr·class="separator:ga114537d071365593e8ec0ac11de6ac31"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:gac603bb313a217401041e4afc6fe4fa3a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·,·typename·A1·&gt;·</td></tr> 
124 <tr·class="memitem:gac603bb313a217401041e4afc6fe4fa3a"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gac603bb313a217401041e4afc6fe4fa3a">Dune::storeGlobalIndicesOfRemoteIndices</a>·(std::map&lt;·int,·SLList&lt;·std::pair&lt;·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·&gt;,·A·&gt;·&gt;·&amp;globalMap,·const·RemoteIndices&lt;·T,·A1·&gt;·&amp;remoteIndices)</td></tr> 
125 <tr·class="memdesc:gac603bb313a217401041e4afc6fe4fa3a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stores·the·corresponding·global·indices·of·the·remote·index·information.··<a·href="a00416.html#gac603bb313a217401041e4afc6fe4fa3a">More...</a><br·/></td></tr> 
126 <tr·class="separator:gac603bb313a217401041e4afc6fe4fa3a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:ga33d784101a8baf32ce462c484a90674c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·,·typename·A1·&gt;·</td></tr> 
128 <tr·class="memitem:ga33d784101a8baf32ce462c484a90674c"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga33d784101a8baf32ce462c484a90674c">Dune::repairLocalIndexPointers</a>·(std::map&lt;·int,·SLList&lt;·std::pair&lt;·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·&gt;,·A·&gt;·&gt;·&amp;globalMap,·RemoteIndices&lt;·T,·A1·&gt;·&amp;remoteIndices,·const·T·&amp;indexSet)</td></tr> 
129 <tr·class="memdesc:ga33d784101a8baf32ce462c484a90674c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Repair·the·pointers·to·the·local·indices·in·the·remote·indices.··<a·href="a00416.html#ga33d784101a8baf32ce462c484a90674c">More...</a><br·/></td></tr> 
130 <tr·class="separator:ga33d784101a8baf32ce462c484a90674c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 </table>109 </table>
132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
133 <div·class="textblock"><p·>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·</p> 
134 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
135 </div></div><!--·contents·-->110 </div><!--·contents·-->
136 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
137 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
138 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
139 </small></address>114 </small></address>
140 </body>115 </body>
141 </html>116 </html>
3.75 KB
html2text {}
    
Offset 4, 80 lines modifiedOffset 4, 44 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 Classes·|·Namespaces·|·Functions7 Namespaces·|·Functions
 8 transpose.hh·File·Reference
9 indicessyncer.hh·File·Reference 
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local 
12 communication.·More... 
13 #include·"indexset.hh" 
14 #include·"remoteindices.hh" 
15 #include·<dune/common/stdstreams.hh> 
16 #include·<dune/common/sllist.hh> 
17 #include·<cassert>9 #include·<cstddef>
18 #include·<cmath> 
19 #include·<limits> 
20 #include·<algorithm> 
21 #include·<functional>10 #include·<functional>
22 #include·<map> 
23 #include·<tuple>11 #include·<dune/common/std/type_traits.hh>
 12 #include·<dune/common/fmatrix.hh>
 13 #include·<dune/common/promotiontraits.hh>
 14 #include·<dune/common/referencehelper.hh>
 15 #include·<dune/common/dynmatrix.hh>
 16 #include·<dune/common/matrixconcepts.hh>
24 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
25 ·Classes 
26 class· Dune::IndicesSyncer<_T_> 
27  ······Class·for·recomputing·missing·indices·of·a·distributed·index·set. 
28 ········More... 
29   
30 ·Namespaces18 ·Namespaces
31 namespace· Dune19 namespace· Dune
32  ··········Dune·namespace.20  ··········Dune·namespace.
33  21  
34 ·Functions22 ·Functions
35 template<typename·TG·,·typename·TA·> 
36 bool Dune::operator<·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1, 
37 ······const·std::pair<·TG,·TA·>·&i2)23 template<class·Matrix·,·std::enable_if_t<·Impl::HasMemberFunctionTransposed<
 24 Matrix·>::value,·int·>·=·0>
 25 auto Dune::transpose·(const·Matrix·&matrix)
 26  ····Return·the·transposed·of·the·given·matrix.·More...
38  27  
39 template<typename·TG·,·typename·TA·> 
40 bool Dune::operator<·(const·std::pair<·TG,·TA·>·&i1,·const·IndexPair<·TG, 
41 ······ParallelLocalIndex<·TA·>·>·&i2)28 template<class·Matrix·,·std::enable_if_t<·not·Impl::
 29 HasMemberFunctionTransposed<·std::decay_t<·Matrix·>·>::value,·int·>·=·0>
 30 auto Dune::transpose·(Matrix·&&matrix)
 31  ····Create·a·wrapper·modelling·the·transposed·matrix.·More...
42  32  
43 template<typename·TG·,·typename·TA·> 
44 bool Dune::operator==·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1, 
45 ······const·std::pair<·TG,·TA·>·&i2)33 template<class·Matrix·>
 34 auto Dune::transpose·(const·std::reference_wrapper<·Matrix·>·&matrix)
 35  ····Create·a·wrapper·modelling·the·transposed·matrix.·More...
46  36  
 37 template<class·Matrix·>
 38 auto Dune::transposedView·(const·Matrix·&matrix)
 39  ····Create·a·view·modelling·the·transposed·matrix.·More...
47 template<typename·TG·,·typename·TA·> 
48 bool Dune::operator!=·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1, 
49 ······const·std::pair<·TG,·TA·>·&i2) 
50   
51 template<typename·TG·,·typename·TA·> 
52 bool Dune::operator==·(const·std::pair<·TG,·TA·>·&i2,·const·IndexPair<·TG, 
53 ······ParallelLocalIndex<·TA·>·>·&i1) 
54   
55 template<typename·TG·,·typename·TA·> 
56 bool Dune::operator!=·(const·std::pair<·TG,·TA·>·&i2,·const·IndexPair<·TG, 
57 ······ParallelLocalIndex<·TA·>·>·&i1) 
58   
59 template<typename·T·,·typename·A·,·typename·A1·> 
60 void Dune::storeGlobalIndicesOfRemoteIndices·(std::map<·int,·SLList<·std:: 
61 ······pair<·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·>,·A·>·> 
62 ······&globalMap,·const·RemoteIndices<·T,·A1·>·&remoteIndices) 
63  ····Stores·the·corresponding·global·indices·of·the·remote·index·information. 
64 ······More... 
65   
66 template<typename·T·,·typename·A·,·typename·A1·> 
67 void Dune::repairLocalIndexPointers·(std::map<·int,·SLList<·std::pair< 
68 ······typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·>,·A·>·> 
69 ······&globalMap,·RemoteIndices<·T,·A1·>·&remoteIndices,·const·T·&indexSet) 
70  ····Repair·the·pointers·to·the·local·indices·in·the·remote·indices.·More... 
71  40  
72 *****·Detailed·Description·***** 
73 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local 
74 communication. 
75 ··Author 
76 ······Markus·Blatt 
  
77 ===============================================================================41 ===============================================================================
78 ·····Generated·by [doxygen]·1.9.442 ·····Generated·by [doxygen]·1.9.4
247 KB
./usr/share/doc/libdune-common-doc/doxygen/a00044_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·indicessyncer.hh·Source·File</title>8 <title>dune-common:·transpose.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 996 lines modifiedOffset 58, 244 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">indicessyncer.hh</div></div>68 ··<div·class="headertitle"><div·class="title">transpose.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00044.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00044.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INDICESSYNCER_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TRANSPOSE_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INDICESSYNCER_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TRANSPOSE_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00035.html">indexset.hh</a>&quot;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00017.html">remoteindices.hh</a>&quot;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00176.html">dune/common/sllist.hh</a>&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00152.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00107.html">dune/common/fmatrix.hh</a>&gt;</span></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00035.html">dune/common/promotiontraits.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00194.html">dune/common/referencehelper.hh</a>&gt;</span></div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00305.html">dune/common/dynmatrix.hh</a>&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00128.html">dune/common/matrixconcepts.hh</a>&gt;</span></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·HAVE_MPI</span></div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span>Impl·{</div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··template&lt;class·M,·bool·=·IsStaticSizeMatrix&lt;M&gt;::value&gt;</div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">struct·</span>TransposedDenseMatrixTraits</div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">using·</span>type·=·<a·class="code·hl_class"·href="a01408.html">Dune::FieldMatrix&lt;typename·FieldTraits&lt;M&gt;::field_type</a>,·M::cols,·M::rows&gt;;</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··};</div>
 99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
93 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·M&gt;</div>
94 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02120.html">···40</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02120.html">IndicesSyncer</a></div>101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">struct·</span>TransposedDenseMatrixTraits&lt;M,·false&gt;</div>
 102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div>
 103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">using·</span>type·=·<a·class="code·hl_class"·href="a01500.html">Dune::DynamicMatrix&lt;typename·FieldTraits&lt;M&gt;::field_type</a>&gt;;</div>
 104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··};</div>
 105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·M&gt;</div>
 107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">using·</span>TransposedDenseMatrixTraits_t·=·<span·class="keyword">typename</span>·TransposedDenseMatrixTraits&lt;M&gt;::type;</div>
 108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">//·CRTP·mixin·class·to·provide·the·static·part·of·the·interface,</span></div>
 112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="comment">//·namely·enums·rows·and·cols.</span></div>
 113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··template&lt;class·WM,·bool·staticSize·=·IsStaticSizeMatrix&lt;WM&gt;::value&gt;</div>
 114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">class·</span>TransposedMatrixWrapperMixin·{};</div>
 115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·WM&gt;</div>
 117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">class·</span>TransposedMatrixWrapperMixin&lt;WM,·true&gt;</div>
95 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··{</div>
96 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">public</span>:</div>119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">public</span>:</div>
97 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
98 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">···45</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a>;</div> 
99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00416.html#gae01c9c9d98e213ba18897c0fc69dba78">···48</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a02092.html">ParallelIndexSet::IndexPair</a>·<a·class="code·hl_typedef"·href="a00416.html#gae01c9c9d98e213ba18897c0fc69dba78">IndexPair</a>;</div> 
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga44992bb99b3f3f3d7c9badb9c7ff74c2">···51</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00416.html#gac025d93d84144d1ab5bcddfbc1760d53">ParallelIndexSet::GlobalIndex</a>·<a·class="code·hl_typedef"·href="a00416.html#ga44992bb99b3f3f3d7c9badb9c7ff74c2">GlobalIndex</a>;</div> 
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
104 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga6087c4c3aa666ff87aa4ea4b9876646a">···54</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·ParallelIndexSet::LocalIndex::Attribute·<a·class=[·...·truncated·by·diffoscope;·len:·85,·SHA:·a5106a696bdcb340083a32cd3dfee69cc150012bc30579a66c8f226b55a28628·...·];</div>121 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·rows·=·WM::cols;</div>
 122 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·cols·=·WM::rows;</div>
105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>123 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··};</div>
106 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga1d307cac53327747eab59d2c3bae34ce">···59</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02236.html">Dune::RemoteIndices&lt;ParallelIndexSet&gt;</a>·<a·class="code·hl_typedef"·href="a00416.html#ga1d307cac53327747eab59d2c3bae34ce">RemoteIndices</a>;</div> 
107 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>124 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
108 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<a·class="code·hl_function"·href="a00416.html#ga8b032138e767af75563f7eab24eae18c">IndicesSyncer</a>(<a·class="code·hl_typedef"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a>&amp;·indexSet,</div> 
109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··················<a·class="code·hl_class"·href="a02236.html">RemoteIndices</a>&amp;·remoteIndices);</div> 
110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>125 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
111 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#gac6edb7facf4c4407f74982989e5f9980">sync</a>();</div>126 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 127 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·M&gt;</div>
 128 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">class·</span>TransposedMatrixWrapper;</div>
 129 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 130 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}·<span·class="comment">//·namespace·Impl</span></div>
 131 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 132 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//·Specialization·of·FieldTraits·needs·to·be·in·namespace·Dune::</span></div>
 133 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·M&gt;</div>
 134 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">struct·</span>FieldTraits&lt;·Impl::TransposedMatrixWrapper&lt;M&gt;·&gt;</div>
 135 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{</div>
 136 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">field_type</a>·=·<span·class="keyword">typename</span>·FieldTraits&lt;ResolveRef_t&lt;M&gt;&gt;<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">::field_type</a>;</div>
 137 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">real_type</a>·=·<span·class="keyword">typename</span>·FieldTraits&lt;ResolveRef_t&lt;M&gt;&gt;<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">::real_type</a>;</div>
 138 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>};</div>
 139 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 140 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">namespace·</span>Impl·{</div>
 141 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 142 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="comment">//·Wrapper·representing·the·transposed·of·a·matrix.</span></div>
 143 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="comment">//·Creating·the·wrapper·does·not·compute·anything</span></div>
 144 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·but·only·serves·for·tagging·the·wrapped·matrix</span></div>
 145 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="comment">//·for·transposition.·This·class·will·store·M·by·value.</span></div>
 146 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="comment">//·To·support·reference-semantic,·it·supports·using</span></div>
 147 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="comment">//·M=std::reference_wrapper&lt;OriginalMatrixType&gt;.</span></div>
 148 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·M&gt;</div>
 149 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">class·</span>TransposedMatrixWrapper·:</div>
 150 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">public</span>·TransposedMatrixWrapperMixin&lt;ResolveRef_t&lt;M&gt;&gt;</div>
112 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>151 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>
Max diff block lines reached; 181827/206151 bytes (88.20%) of diff not shown.
45.8 KB
html2text {}
    
Offset 4, 1171 lines modifiedOffset 4, 280 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 transpose.hh
7 ····*·parallel 
8 indicessyncer.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_INDICESSYNCER_HH 
16 ·6#define·DUNE_INDICESSYNCER_HH14 ·5#ifndef·DUNE_COMMON_TRANSPOSE_HH
 15 ·6#define·DUNE_COMMON_TRANSPOSE_HH
17 ·716 ·7
 17 ·8#include·<cstddef>
18 ·8#include·"indexset.hh" 
19 ·9#include·"remoteindices.hh" 
20 ·10#include·<dune/common/stdstreams.hh> 
21 ·11#include·<dune/common/sllist.hh> 
22 ·12#include·<cassert> 
23 ·13#include·<cmath> 
24 ·14#include·<limits> 
25 ·15#include·<algorithm> 
26 ·16#include·<functional>18 ·9#include·<functional>
27 ·17#include·<map> 
28 ·18#include·<tuple>19 ·10
 20 ·11#include·<dune/common/std/type_traits.hh>
 21 ·12#include·<dune/common/fmatrix.hh>
 22 ·13#include·<dune/common/promotiontraits.hh>
 23 ·14#include·<dune/common/referencehelper.hh>
 24 ·15#include·<dune/common/dynmatrix.hh>
 25 ·16#include·<dune/common/matrixconcepts.hh>
 26 ·17
 27 ·18namespace·Dune·{
29 ·1928 ·19
30 ·20#if·HAVE_MPI 
31 ·21namespace·Dune29 ·20namespace·Impl·{
 30 ·21
32 ·22{31 ·22
33 ·39·template<typename·T> 
34 40·class·IndicesSyncer32 ·23
 33 ·24·template<class·M,·bool·=·IsStaticSizeMatrix<M>::value>
 34 ·25·struct·TransposedDenseMatrixTraits
 35 ·26·{
 36 ·27·using·type·=·Dune::FieldMatrix<typename_FieldTraits<M>::field_type,·M::
 37 cols,·M::rows>;
 38 ·28·};
 39 ·29
 40 ·30·template<class·M>
 41 ·31·struct·TransposedDenseMatrixTraits<M,·false>
 42 ·32·{
 43 ·33·using·type·=·Dune::DynamicMatrix<typename_FieldTraits<M>::field_type>;
 44 ·34·};
 45 ·35
 46 ·36·template<class·M>
 47 ·37·using·TransposedDenseMatrixTraits_t·=·typename
 48 TransposedDenseMatrixTraits<M>::type;
 49 ·38
 50 ·39
 51 ·40
 52 ·41·//·CRTP·mixin·class·to·provide·the·static·part·of·the·interface,
 53 ·42·//·namely·enums·rows·and·cols.
 54 ·43·template<class·WM,·bool·staticSize·=·IsStaticSizeMatrix<WM>::value>
 55 ·44·class·TransposedMatrixWrapperMixin·{};
 56 ·45
 57 ·46·template<class·WM>
 58 ·47·class·TransposedMatrixWrapperMixin<WM,·true>
35 ·41·{59 ·48·{
36 ·42·public:60 ·49·public:
37 ·43 
38 45·typedef·T·ParallelIndexSet; 
39 ·46 
40 48·typedef·typename·ParallelIndexSet::IndexPair·IndexPair; 
41 ·49 
42 51·typedef·typename·ParallelIndexSet::GlobalIndex·GlobalIndex; 
43 ·52 
44 54·typedef·typename·ParallelIndexSet::LocalIndex::Attribute·Attribute; 
45 ·55 
46 59·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices; 
47 ·60 
48 ·70·IndicesSyncer(ParallelIndexSet&·indexSet, 
49 ·71·RemoteIndices&·remoteIndices); 
50 ·72 
51 ·82·void·sync();61 ·50
 62 ·52·constexpr·static·int·rows·=·WM::cols;
 63 ·54·constexpr·static·int·cols·=·WM::rows;
 64 ·55·};
 65 ·56
 66 ·57
 67 ·58
 68 ·59·template<class·M>
 69 ·60·class·TransposedMatrixWrapper;
 70 ·61
 71 ·62}·//·namespace·Impl
 72 ·63
 73 ·64//·Specialization·of·FieldTraits·needs·to·be·in·namespace·Dune::
 74 ·65template<class·M>
 75 ·66struct·FieldTraits<·Impl::TransposedMatrixWrapper<M>·>
 76 ·67{
 77 ·68·using·field_type·=·typename·FieldTraits<ResolveRef_t<M>>::field_type;
 78 ·69·using·real_type·=·typename·FieldTraits<ResolveRef_t<M>>::real_type;
 79 ·70};
 80 ·71
 81 ·72namespace·Impl·{
 82 ·73
 83 ·74·//·Wrapper·representing·the·transposed·of·a·matrix.
 84 ·75·//·Creating·the·wrapper·does·not·compute·anything
 85 ·76·//·but·only·serves·for·tagging·the·wrapped·matrix
 86 ·77·//·for·transposition.·This·class·will·store·M·by·value.
 87 ·78·//·To·support·reference-semantic,·it·supports·using
 88 ·79·//·M=std::reference_wrapper<OriginalMatrixType>.
 89 ·80·template<class·M>
 90 ·81·class·TransposedMatrixWrapper·:
 91 ·82·public·TransposedMatrixWrapperMixin<ResolveRef_t<M>>
52 ·8392 ·83·{
53 ·94·template<typename·T1> 
54 ·95·void·sync(T1&·numberer); 
55 ·96 
56 ·97·private:93 ·84·constexpr·static·bool·hasStaticSize·=·IsStaticSizeMatrix<ResolveRef_t<M>>::
 94 value;
 95 ·85·public:
Max diff block lines reached; 42583/46846 bytes (90.90%) of diff not shown.
3.68 KB
./usr/share/doc/libdune-common-doc/doxygen/a00047.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpicollectivecommunication.hh·File·Reference</title>8 <title>dune-common:·vc.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 24 lines modifiedOffset 58, 29 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh·File·Reference</div></div>68 ··<div·class="headertitle"><div·class="title">vc.hh·File·Reference</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/> 
72 </div> 
 71 <p>Compatibility·header·for·including·&lt;Vc/Vc&gt;··
 72 <a·href="#details">More...</a></p>
  
73 <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p>73 <p><a·href="a00047_source.html">Go·to·the·source·code·of·this·file.</a></p>
 74 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 75 <div·class="textblock"><p·>Compatibility·header·for·including·&lt;Vc/Vc&gt;·</p>
 76 <p·>Certain·versions·(1.3.2)·of·Vc·(<a·href="https://github.com/VcDevel/Vc">https://github.com/VcDevel/Vc</a>)·have·a·problem·with·certain·compiler·versions·(g++·7.2.0)·in·c++17·mode,·see·#88.·</p>
74 </div><!--·contents·-->77 </div></div><!--·contents·-->
75 <!--·start·footer·part·-->78 <!--·start·footer·part·-->
76 <hr·class="footer"/><address·class="footer"><small>79 <hr·class="footer"/><address·class="footer"><small>
77 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.480 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
78 </small></address>81 </small></address>
79 </body>82 </body>
80 </html>83 </html>
664 B
html2text {}
    
Offset 4, 14 lines modifiedOffset 4, 17 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 vc.hh·File·Reference
 8 Compatibility·header·for·including·<Vc/Vc>·More...
7 ····*·parallel 
8 mpicollectivecommunication.hh·File·Reference 
9 #include·<dune/common/parallel/mpicommunication.hh> 
10 Go_to_the_source_code_of_this_file.9 Go_to_the_source_code_of_this_file.
 10 *****·Detailed·Description·*****
 11 Compatibility·header·for·including·<Vc/Vc>
 12 Certain·versions·(1.3.2)·of·Vc·(https://github.com/VcDevel/Vc)·have·a·problem
 13 with·certain·compiler·versions·(g++·7.2.0)·in·c++17·mode,·see·#88.
  
11 ===============================================================================14 ===============================================================================
12 ·····Generated·by [doxygen]·1.9.415 ·····Generated·by [doxygen]·1.9.4
7.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a00047_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpicollectivecommunication.hh·Source·File</title>8 <title>dune-common:·vc.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 27 lines modifiedOffset 58, 42 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh</div></div>68 ··<div·class="headertitle"><div·class="title">vc.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00047.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_VC_HH</span></div>
 74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_VC_HH</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 76 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#if·HAVE_VC</span></div>
 77 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 78 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//·include·Vc&#39;s·macro·definitions</span></div>
 79 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;Vc/global.h&gt;</span></div>
 80 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·undefine·the·macro·that·signals·C++17·support,·if·set</span></div>
 82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifdef·Vc_CXX17</span></div>
 83 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#undef·Vc_CXX17</span></div>
 84 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div>
 85 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·Will·be·removed·after·the·2.7·release</span></div>86 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·include·the·rest·of·Vc</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#warning·&quot;Deprecated·header,·use·#include·&lt;dune/common/parallel/mpicommunication.hh&gt;·instead!&quot;</span></div> 
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00038.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div> 
76 <div·class="ttc"·id="aa00038_html"><div·class="ttname"><a·href="a00038.html">mpicommunication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.</div></div>87 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;Vc/Vc&gt;</span></div>
 88 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 89 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_VC</span></div>
 90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_VC_HH</span></div>
77 </div><!--·fragment·--></div><!--·contents·-->92 </div><!--·fragment·--></div><!--·contents·-->
78 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
79 <hr·class="footer"/><address·class="footer"><small>94 <hr·class="footer"/><address·class="footer"><small>
80 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.495 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
81 </small></address>96 </small></address>
82 </body>97 </body>
83 </html>98 </html>
1.15 KB
html2text {}
    
Offset 4, 23 lines modifiedOffset 4, 34 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 vc.hh
7 ····*·parallel 
8 mpicollectivecommunication.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root10 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
13 ·3//·Will·be·removed·after·the·2.7·release 
14 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/ 
15 mpicommunication.hh>·instead!" 
16 ·5#include·<dune/common/parallel/mpicommunication.hh> 
17 mpicommunication.hh 
18 Implements·an·utility·class·that·provides·MPI's·collective·communication 
19 methods.12 ·3#ifndef·DUNE_COMMON_VC_HH
 13 ·4#define·DUNE_COMMON_VC_HH
 14 ·5
 15 ·15#if·HAVE_VC
 16 ·16
 17 ·17//·include·Vc's·macro·definitions
 18 ·18#include·<Vc/global.h>
 19 ·19
 20 ·20//·undefine·the·macro·that·signals·C++17·support,·if·set
 21 ·21#ifdef·Vc_CXX17
 22 ·22#undef·Vc_CXX17
 23 ·23#endif
 24 ·24
 25 ·25//·include·the·rest·of·Vc
 26 ·26#include·<Vc/Vc>
 27 ·27
 28 ·28#endif·//·HAVE_VC
 29 ·29
 30 ·30#endif·//·DUNE_COMMON_VC_HH
  
20 ===============================================================================31 ===============================================================================
21 ·····Generated·by [doxygen]·1.9.432 ·····Generated·by [doxygen]·1.9.4
9.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a00050.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpidata.hh·File·Reference</title>8 <title>dune-common:·to_unique_ptr.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 61 lines modifiedOffset 58, 49 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124;69 <a·href="#namespaces">Namespaces</a>·&#124;
 70 <a·href="#typedef-members">Typedefs</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">mpidata.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
78 <code>#include·&lt;string&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
82 </div>76 </div>
83 <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p>77 <p><a·href="a00050_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">78 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
86 Classes</h2></td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02168.html">Dune::MPIData&lt;·T,·Enable·&gt;</a></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02172.html">Dune::MPIData&lt;·void·&gt;</a></td></tr> 
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02176.html">Dune::MPIData&lt;·T,·std::void_t&lt;·std::tuple&lt;·decltype(std::declval&lt;·T·&gt;().data()),·decltype(std::declval&lt;·T·&gt;().size()),·typename·std::decay_t&lt;·T·&gt;::value_type·&gt;·&gt;·&gt;</a></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 </table><table·class="memberdecls"> 
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
95 Namespaces</h2></td></tr>80 Namespaces</h2></td></tr>
96 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>81 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
97 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>82 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
 85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 86 Typedefs</h2></td></tr>
 87 <tr·class="memitem:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 88 <tr·class="memitem:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">Dune::ToUniquePtr</a>·=·std::unique_ptr&lt;·T·&gt;</td></tr>
 89 <tr·class="memdesc:a9bbde85cc655ad122680398fef8fa5cd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Alias·for·<code>std::unique_ptr</code>·introduced·as·transition·wrapper.··<a·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">More...</a><br·/></td></tr>
 90 <tr·class="separator:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
101 Functions</h2></td></tr>93 Functions</h2></td></tr>
102 <tr·class="memitem:a60e5c2863bb763524cbc65eaea515adb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>94 <tr·class="memitem:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class...·Args&gt;·</td></tr>
103 <tr·class="memitem:a60e5c2863bb763524cbc65eaea515adb"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">Dune::getMPIData</a>·(T·&amp;t)</td></tr>95 <tr·class="memitem:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memTemplItemLeft"·align="right"·valign="top">std::unique_ptr&lt;·T·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">Dune::makeToUniqu[·...·truncated·by·diffoscope;·len:·30,·SHA:·ed99facc22c6a332bba6b33f31314457828ebb30b1ca03c17b2f048286396db2·...·])</td></tr>
 96 <tr·class="memdesc:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Alias·for·<code>std::make_unique</code>·introduced·as·transition·wrapper.··<a·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">More...</a><br·/></td></tr>
104 <tr·class="separator:a60e5c2863bb763524cbc65eaea515adb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table>98 </table>
106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
107 <div·class="textblock"><p·>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·</p> 
108 <p·>Furthermore·it·can·be·used·to·resize·the·object·if·possible.·This·makes·it·possible·to·receive·a·message·with·variable·size.·See·<code>Communication::rrecv</code>.</p> 
109 <p·>To·'register'·a·new·dynamic·type·for·MPI·communication·specialize·<code>MPIData</code>·or·overload·<code>getMPIData</code>.·</p> 
110 </div></div><!--·contents·-->99 </div><!--·contents·-->
111 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>101 <hr·class="footer"/><address·class="footer"><small>
113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
114 </small></address>103 </small></address>
115 </body>104 </body>
116 </html>105 </html>
1.81 KB
html2text {}
    
Offset 4, 46 lines modifiedOffset 4, 29 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Typedefs·|·Functions
 8 to_unique_ptr.hh·File·Reference
7 ····*·parallel 
8 Classes·|·Namespaces·|·Functions 
9 mpidata.hh·File·Reference 
10 Common·»·Parallel_Communication 
11 Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for 
12 MPI·calls.·More... 
13 #include·<vector>9 #include·<memory>
14 #include·<string> 
15 #include·<dune/common/typetraits.hh> 
16 #include·<dune/common/std/type_traits.hh> 
17 #include·<dune/common/parallel/mpitraits.hh> 
18 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
19 ·Classes 
20 struct· Dune::MPIData<_T,_Enable_> 
21   
22 struct· Dune::MPIData<_void_> 
23   
24 struct· Dune::MPIData<_T,_std::void_t<_std::tuple<_decltype(std::declval<_T_> 
25 ·········().data()),_decltype(std::declval<_T_>().size()),_typename_std:: 
26 ·········decay_t<_T_>::value_type_>_>_> 
27   
28 ·Namespaces11 ·Namespaces
29 namespace· Dune12 namespace· Dune
30  ··········Dune·namespace.13  ··········Dune·namespace.
31  14  
32 ·Functions15 ·Typedefs
33 template<class·T·>16 template<class·T·>
34 auto Dune::getMPIData·(T·&t)17 using Dune::ToUniquePtr·=·std::unique_ptr<·T·>
 18  ·····Alias·for·std::unique_ptr·introduced·as·transition·wrapper.·More...
 19  
 20 ·Functions
 21 template<class·T·,·class...·Args>
 22 std::unique_ptr<·T·> Dune::makeToUnique·(Args·&&...·args)
 23  ····················Alias·for·std::make_unique·introduced·as·transition
 24 ······················wrapper.·More...
35  25  
36 *****·Detailed·Description·***** 
37 Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for 
38 MPI·calls. 
39 Furthermore·it·can·be·used·to·resize·the·object·if·possible.·This·makes·it 
40 possible·to·receive·a·message·with·variable·size.·See·Communication::rrecv. 
41 To·'register'·a·new·dynamic·type·for·MPI·communication·specialize·MPIData·or 
42 overload·getMPIData. 
  
43 ===============================================================================26 ===============================================================================
44 ·····Generated·by [doxygen]·1.9.427 ·····Generated·by [doxygen]·1.9.4
40.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00050_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpidata.hh·Source·File</title>8 <title>dune-common:·to_unique_ptr.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 164 lines modifiedOffset 58, 50 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpidata.hh</div></div>68 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00050.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00050.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIDATA_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_TO_UNIQUE_PTR_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_MPIDATA_HH</span></div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_TO_UNIQUE_PTR_HH</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#warning·to_unique_ptr.hh·and·ToUniquePtr·are·deprecated.·Use·std::unique_ptr·or·std::shared_ptr·instead.</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·HAVE_MPI</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00335.html">dune/common/std/type_traits.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>{</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>,·<span·class="keyword">class</span>·=·<span·class="keywordtype">void</span>&gt;</div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">struct·</span>MPIData;</div> 
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02168.html#aeba1f4509657983770fefd330a8467e3">···43</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(T&amp;·t){</div> 
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a02168.html">MPIData&lt;T&gt;</a>(t);</div> 
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div> 
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="comment">//·Default·implementation·for·static·datatypes</span></div> 
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·Enable&gt;</div> 
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02168.html">···49</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a></div> 
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div> 
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">friend</span>·<span·class="keyword">auto</span>·getMPIData&lt;T&gt;(T&amp;);</div> 
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">protected</span>:</div> 
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">···53</a></span>····T&amp;·<a·class="code·hl_variable"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">data_</a>;</div> 
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02168.html#ae90ceb5a21137756e6976b11cb4dbb95">···55</a></span>····<a·class="code·hl_function"·href="a02168.html#ae90ceb5a21137756e6976b11cb4dbb95">MPIData</a>(T&amp;·t)</div> 
107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······:·<a·class="code·hl_variable"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">data_</a>(t)</div> 
108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····{}</div> 
109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">public</span>:</div> 
111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02168.html#a9834f1258b028e1fcda4f04c329a02f5">···60</a></span>····<span·class="keywordtype">void</span>*·<a·class="code·hl_function"·href="a02168.html#a9834f1258b028e1fcda4f04c329a02f5">ptr</a>()<span·class="keyword">·const·</span>{</div> 
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keywordflow">return</span>·(<span·class="keywordtype">void</span>*)&amp;<a·class="code·hl_variable"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">data_</a>;</div> 
113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div> 
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="comment">//·indicates·whether·the·datatype·can·be·resized</span></div> 
116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02168.html#ac3d9baea31f200f2c24c5d4f11247ed7">···65</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a02168.html#ac3d9baea31f200f2c24c5d4f11247ed7">static_size</a>·=·<span·class="keyword">true</span>;</div> 
117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
118 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a02168.html#aaa76e34727f04969952f182fdac25c06">···67</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02168.html#aaa76e34727f04969952f182fdac25c06">size</a>()<span·class="keyword">·const</span>{</div> 
119 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">return</span>·1;</div> 
120 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div> 
121 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
122 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a02168.html#a7cb19d5652c945edfe6d1fc99807a56b">···71</a></span>····MPI_Datatype·<a·class="code·hl_function"·href="a02168.html#a7cb19d5652c945edfe6d1fc99807a56b">type</a>()<span·class="keyword">·const·</span>{</div> 
123 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a01288.html">MPITraits&lt;std::decay_t&lt;T&gt;</a>&gt;::getType();</div> 
124 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····}</div> 
125 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··};</div> 
126 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
127 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·dummy·implementation·for·void</span></div> 
128 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span>&lt;&gt;</div> 
129 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a02172.html">···78</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a>&lt;void&gt;{</div> 
130 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">protected</span>:</div> 
131 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a02172.html#a7b0b250c4f2420d3b0b1696779461cda">···80</a></span>····<a·class="code·hl_function"·href="a02172.html#a7b0b250c4f2420d3b0b1696779461cda">MPIData</a>()·{}</div> 
132 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
133 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">public</span>:</div> 
134 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a02172.html#ae570394656e5e49658c9f84fc8ad6b38">···83</a></span>····<span·class="keywordtype">void</span>*·<a·class="code·hl_function"·href="a02172.html#ae570394656e5e49658c9f84fc8ad6b38">ptr</a>(){</div> 
135 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keywordflow">return</span>·<span·class="keyword">nullptr</span>;</div> 
136 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div> 
137 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a02172.html#ac6af51037c43267ff48f26fff43c00e1">···86</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02172.html#ac6af51037c43267ff48f26fff43c00e1">size</a>(){</div> 
138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·0;</div> 
139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div> 
140 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a02172.html#a69921753947113bb6dc2277b662e78b4">···89</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02172.html#a69921753947113bb6dc2277b662e78b4">get</a>(){}</div> 
141 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a02172.html#aed622bd6987ec696881ac2d055c89234">···90</a></span>····MPI_Datatype·<a·class="code·hl_function"·href="a02172.html#aed622bd6987ec696881ac2d055c89234">type</a>()<span·class="keyword">·const</span>{</div> 
142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="keywordflow">return</span>·MPI_INT;</div> 
143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····}</div> 
144 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··};</div> 
145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
146 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="comment">//·specializations:</span></div> 
147 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<span·class="comment">//·std::vector·of·static·sized·elements·or·std::string</span></div> 
148 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>85 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>
 86 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">···18</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">ToUniquePtr</a>·[[deprecated]]·=·std::unique_ptr&lt;T&gt;;</div>
149 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a02176.html">···98</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a>&lt;T,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::<a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">void_t</a>&lt;std::tuple&lt;decltype(std::declval&lt;T&gt;().data()),</div> 
150 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>···········································decltype(std::declval&lt;T&gt;().size()),</div> 
151 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>···········································typename·std::decay_t&lt;T&gt;::value_type&gt;&gt;&gt;{</div> 
152 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">private</span>:</div>87 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
153 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·U&gt;</div> 
154 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keyword">using·</span>hasResizeOp·=·<span·class="keyword">decltype</span>(std::declval&lt;U&gt;().resize(0));</div>88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args&gt;</div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">···23</a></span>··[[deprecated]]·std::unique_ptr&lt;T&gt;·<a·class="code·hl_function"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">makeToUnique</a>·(Args&amp;&amp;...·args)</div>
155 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··{</div>
156 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">protected</span>:</div>91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="keywordflow">return</span>·std::make_unique(std::forward&lt;Args&gt;(args)...);</div>
157 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keyword">friend</span>·<span·class="keyword">auto</span>·getMPIData&lt;T&gt;(T&amp;);</div> 
158 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a02176.html#a3d4a8fdc4a660381174ab7542c6e27be">··107</a></span>····<a·class="code·hl_function"·href="a02176.html#a3d4a8fdc4a660381174ab7542c6e27be">MPIData</a>(T&amp;·t)</div> 
159 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>······:·<a·class="code·hl_variable"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">data_</a>(t)</div> 
160 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····{}</div> 
161 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">public</span>:</div> 
162 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a02176.html#a6dbdde2bd1a29875c60b16873c3fe4ea">··111</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a02168.html#ac3d9baea31f200f2c24c5d4f11247ed7">static_size</a>·=·std::is_const&lt;T&gt;::value·||·!Std::is_detected_v&lt;hasResizeOp,·T&gt;;</div> 
163 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a02176.html#a3e2ebaf1cdd57c67aac90db5a306eef1">··112</a></span>····<span·class="keywordtype">void</span>*·<a·class="code·hl_function"·href="a02176.html#a3e2ebaf1cdd57c67aac90db5a306eef1">ptr</a>()·{</div> 
164 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······<span·class="keywordflow">return</span>·(<span·class="keywordtype">void</span>*)·<a·class="code·hl_variable"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">data_</a>.data();</div> 
Max diff block lines reached; 7949/35025 bytes (22.70%) of diff not shown.
6.61 KB
html2text {}
    
Offset 4, 219 lines modifiedOffset 4, 51 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 to_unique_ptr.hh
7 ····*·parallel 
8 mpidata.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·514 ·5
16 ·6#ifndef·DUNE_COMMON_PARALLEL_MPIDATA_HH 
17 ·7#define·DUNE_COMMON_PARALLEL_MPIDATA_HH15 ·6#ifndef·DUNE_TO_UNIQUE_PTR_HH
 16 ·7#define·DUNE_TO_UNIQUE_PTR_HH
18 ·817 ·8
 18 ·9#warning·to_unique_ptr.hh·and·ToUniquePtr·are·deprecated.·Use·std::unique_ptr
 19 or·std::shared_ptr·instead.
 20 ·10
19 ·9#include·<vector>21 ·11#include·<memory>
 22 ·12
20 ·10#include·<string> 
21 ·11 
22 ·12#if·HAVE_MPI 
23 ·13 
24 ·14#include·<dune/common/typetraits.hh> 
25 ·15#include·<dune/common/std/type_traits.hh> 
26 ·16#include·<dune/common/parallel/mpitraits.hh> 
27 ·17 
28 ·37namespace·Dune{23 ·13namespace·Dune
 24 ·14{
29 ·38 
30 ·39·template<class,·class·=·void> 
31 ·40·struct·MPIData; 
32 ·41 
33 ·42·template<class·T> 
34 43·auto·getMPIData(T&·t){ 
35 ·44·return·MPIData<T>(t); 
36 ·45·} 
37 ·46 
38 ·47·//·Default·implementation·for·static·datatypes 
39 ·48·template<class·T,·class·Enable> 
40 49·struct·MPIData 
41 ·50·{ 
42 ·51·friend·auto·getMPIData<T>(T&); 
43 ·52·protected: 
44 53·T&·data_; 
45 ·54 
46 55·MPIData(T&·t) 
47 ·56·:·data_(t) 
48 ·57·{} 
49 ·58 
50 ·59·public: 
51 60·void*·ptr()·const·{ 
52 ·61·return·(void*)&data_; 
53 ·62·} 
54 ·63 
55 ·64·//·indicates·whether·the·datatype·can·be·resized 
56 65·static·constexpr·bool·static_size·=·true; 
57 ·66 
58 67·int·size()·const{ 
59 ·68·return·1; 
60 ·69·} 
61 ·70 
62 71·MPI_Datatype·type()·const·{ 
63 ·72·return·MPITraits<std::decay_t<T>>::getType(); 
64 ·73·} 
65 ·74·}; 
66 ·75 
67 ·76·//·dummy·implementation·for·void 
68 ·77·template<> 
69 78·struct·MPIData<void>{ 
70 ·79·protected: 
71 80·MPIData()·{} 
72 ·81 
73 ·82·public: 
74 83·void*·ptr(){ 
75 ·84·return·nullptr; 
76 ·85·} 
77 86·int·size(){ 
78 ·87·return·0; 
79 ·88·} 
80 89·void·get(){} 
81 90·MPI_Datatype·type()·const{ 
82 ·91·return·MPI_INT; 
83 ·92·} 
84 ·93·}; 
85 ·94 
86 ·95·//·specializations: 
87 ·96·//·std::vector·of·static·sized·elements·or·std::string 
88 ·97·template<class·T>25 ·17·template·<class·T>
 26 18·using·ToUniquePtr·[[deprecated]]·=·std::unique_ptr<T>;
 27 ·19
 28 ·22·template·<class·T,·class...·Args>
 29 23·[[deprecated]]·std::unique_ptr<T>·makeToUnique·(Args&&...·args)
 30 ·24·{
 31 ·25·return·std::make_unique(std::forward<Args>(args)...);
 32 ·26·}
 33 ·27
 34 ·28}·//·end·namespace·Dune
 35 ·29
 36 ·30#endif·//·DUNE_TO_UNIQUE_PTR_HH
89 98·struct·MPIData<T,·std::void_t<std::tuple<decltype(std::declval<T>().data()), 
90 ·99·decltype(std::declval<T>().size()), 
91 ·100·typename·std::decay_t<T>::value_type>>>{ 
92 ·101·private: 
93 ·102·template<class·U> 
94 ·103·using·hasResizeOp·=·decltype(std::declval<U>().resize(0)); 
95 ·104 
96 ·105·protected: 
97 ·106·friend·auto·getMPIData<T>(T&); 
98 107·MPIData(T&·t) 
99 ·108·:·data_(t) 
100 ·109·{} 
101 ·110·public: 
102 111·static·constexpr·bool·static_size·=·std::is_const<T>::value·||·!Std:: 
103 is_detected_v<hasResizeOp,·T>; 
104 112·void*·ptr()·{ 
105 ·113·return·(void*)·data_.data(); 
106 ·114·} 
107 115·int·size()·{ 
108 ·116·return·data_.size(); 
Max diff block lines reached; 2905/6748 bytes (43.05%) of diff not shown.
87.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00053.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·collectivecommunication.hh·File·Reference</title>8 <title>dune-common:·loop.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 24 lines modifiedOffset 58, 680 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
 68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
 70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#define-members">Macros</a>·&#124;
 72 <a·href="#func-members">Functions</a>··</div>
68 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">loop.hh·File·Reference</div></div>
69 </div><!--header-->74 </div><!--header-->
70 <div·class="contents">75 <div·class="contents">
 76 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
 77 <code>#include·&lt;cmath&gt;</code><br·/>
 78 <code>#include·&lt;cstddef&gt;</code><br·/>
 79 <code>#include·&lt;cstdlib&gt;</code><br·/>
 80 <code>#include·&lt;ostream&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
71 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
72 </div>84 </div>
73 <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00053_source.html">Go·to·the·source·code·of·this·file.</a></p>
 86 <table·class="memberdecls">
 87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 88 Classes</h2></td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02636.html">Dune::LoopSIMD&lt;·T,·S,·A·&gt;</a></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02640.html">Dune::Simd::Overloads::ScalarType&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02644.html">Dune::Simd::Overloads::RebindType&lt;·U,·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02648.html">Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02652.html">Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 </table><table·class="memberdecls">
 100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 101 Namespaces</h2></td></tr>
 102 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 103 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>
 106 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr>
 109 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr>
 110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:a00438"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html">Dune::MathOverloads</a></td></tr>
 112 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 </table><table·class="memberdecls">
 115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 116 Macros</h2></td></tr>
 117 <tr·class="memitem:acb2192556fb08c1550c78d0db36245d5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#acb2192556fb08c1550c78d0db36245d5">DUNE_PRAGMA_OMP_SIMD</a></td></tr>
 118 <tr·class="separator:acb2192556fb08c1550c78d0db36245d5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:ab2eb0e852e28f54bf511377690ba664a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#ab2eb0e852e28f54bf511377690ba664a">DUNE_SIMD_LOOP_PREFIX_OP</a>(SYMBOL)</td></tr>
 120 <tr·class="separator:ab2eb0e852e28f54bf511377690ba664a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:ad0a3db4ac4d313e5df2f650176a7f47a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#ad0a3db4ac4d313e5df2f650176a7f47a">DUNE_SIMD_LOOP_UNARY_OP</a>(SYMBOL)</td></tr>
 122 <tr·class="separator:ad0a3db4ac4d313e5df2f650176a7f47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:a5d85dc28387ccfb44c53064ad236c22c"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#a5d85dc28387ccfb44c53064ad236c22c">DUNE_SIMD_LOOP_POSTFIX_OP</a>(SYMBOL)</td></tr>
 124 <tr·class="separator:a5d85dc28387ccfb44c53064ad236c22c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:ad721241fb510adc8e57604f6b9d6db18"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#ad721241fb510adc8e57604f6b9d6db18">DUNE_SIMD_LOOP_ASSIGNMENT_OP</a>(SYMBOL)</td></tr>
 126 <tr·class="separator:ad721241fb510adc8e57604f6b9d6db18"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:a0302b46e03078ba45bebdde05a538fa1"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#a0302b46e03078ba45bebdde05a538fa1">DUNE_SIMD_LOOP_BINARY_OP</a>(SYMBOL)</td></tr>
 128 <tr·class="separator:a0302b46e03078ba45bebdde05a538fa1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:aa267e22530058c5e240294d1fe9b72c5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#aa267e22530058c5e240294d1fe9b72c5">DUNE_SIMD_LOOP_BITSHIFT_OP</a>(SYMBOL)</td></tr>
 130 <tr·class="separator:aa267e22530058c5e240294d1fe9b72c5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:a8b0fe90d07a9419c0c5fa7edf441cc98"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#a8b0fe90d07a9419c0c5fa7edf441cc98">DUNE_SIMD_LOOP_COMPARISON_OP</a>(SYMBOL)</td></tr>
 132 <tr·class="separator:a8b0fe90d07a9419c0c5fa7edf441cc98"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:a4edb401d8c39ee4047c4157062238926"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#a4edb401d8c39ee4047c4157062238926">DUNE_SIMD_LOOP_BOOLEAN_OP</a>(SYMBOL)</td></tr>
 134 <tr·class="separator:a4edb401d8c39ee4047c4157062238926"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:ab733fd44275677e226938c6366d0e1dc"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#ab733fd44275677e226938c6366d0e1dc">DUNE_SIMD_LOOP_CMATH_UNARY_OP</a>(expr)</td></tr>
 136 <tr·class="separator:ab733fd44275677e226938c6366d0e1dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:acd61d806a793ead4a570ab5edf47857a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#acd61d806a793ead4a570ab5edf47857a">DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN</a>(expr,··returnType)</td></tr>
 138 <tr·class="separator:acd61d806a793ead4a570ab5edf47857a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:a811ee59270233c3c40d1e4c52d3ee310"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#a811ee59270233c3c40d1e4c52d3ee310">DUNE_SIMD_LOOP_STD_UNARY_OP</a>(expr)</td></tr>
 140 <tr·class="separator:a811ee59270233c3c40d1e4c52d3ee310"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:a7f745d4f9480ed07bfe69af914816b22"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html#a7f745d4f9480ed07bfe69af914816b22">DUNE_SIMD_LOOP_STD_BINARY_OP</a>(expr)</td></tr>
 142 <tr·class="separator:a7f745d4f9480ed07bfe69af914816b22"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 </table><table·class="memberdecls">
 144 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 145 Functions</h2></td></tr>
 146 <tr·class="memitem:a87b977cae5e0e694b4b108bc1cab9434"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a87b977cae5e0e694b4b108bc1cab9434">Dune::DUNE_SIMD_LOOP_BINARY_OP</a>·(+)</td></tr>
 147 <tr·class="separator:a87b977cae5e0e694b4b108bc1cab9434"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 148 <tr·class="memitem:aa97415d63ec08e63ea87832efe86ddb4"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa97415d63ec08e63ea87832efe86ddb4">Dune::DUNE_SIMD_LOOP_BINARY_OP</a>·(-)</td></tr>
 149 <tr·class="separator:aa97415d63ec08e63ea87832efe86ddb4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:a971fdb1c4fc3a2045834643c0b3ac41d"><td·class="memItemLeft"·align="right"·valign="top">DUNE_SIMD_LOOP_BINARY_OP·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a971fdb1c4fc3a2045834643c0b3ac41d">Dune::DUNE_SIMD_LOOP_BINARY_OP</a>·(/);DUNE_SIMD_LOOP_BINARY_OP(%</td></tr>
 151 <tr·class="separator:a971fdb1c4fc3a2045834643c0b3ac41d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <tr·class="memitem:affe0a8a108f83afdc111db9843ac6e66"><td·class="memItemLeft"·align="right"·valign="top">DUNE_SIMD_LOOP_BINARY_OP·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#affe0a8a108f83afdc111db9843ac6e66">Dune::DUNE_SIMD_LOOP_BINARY_OP</a>·(|);DUNE_SIMD_LOOP_BINARY_OP(^</td></tr>
 153 <tr·class="separator:affe0a8a108f83afdc111db9843ac6e66"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:ab1786e12e4c3efe8a6117ddd99a8724a"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab1786e12e4c3efe8a6117ddd99a8724a">Dune::DUNE_SIMD_LOOP_BITSHIFT_OP</a>·(&lt;&lt;)</td></tr>
 155 <tr·class="separator:ab1786e12e4c3efe8a6117ddd99a8724a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:a5146d4e5a65562d14d000c78019ec6dd"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a5146d4e5a65562d14d000c78019ec6dd">Dune::DUNE_SIMD_LOOP_BITSHIFT_OP</a>·(&gt;·&gt;)</td></tr>
 157 <tr·class="separator:a5146d4e5a65562d14d000c78019ec6dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 158 <tr·class="memitem:aae72f618cfe280b17a988b83395f8927"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aae72f618cfe280b17a988b83395f8927">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(&lt;)</td></tr>
 159 <tr·class="separator:aae72f618cfe280b17a988b83395f8927"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 160 <tr·class="memitem:a86b3da3ac3b884cf28ba5dc3dfee5652"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a86b3da3ac3b884cf28ba5dc3dfee5652">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(&lt;=)</td></tr>
 161 <tr·class="separator:a86b3da3ac3b884cf28ba5dc3dfee5652"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:a16bec43001a47bb4b3d6a78aec88476b"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a16bec43001a47bb4b3d6a78aec88476b">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(&gt;=)</td></tr>
 163 <tr·class="separator:a16bec43001a47bb4b3d6a78aec88476b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 164 <tr·class="memitem:aafcd80f1669dd6eee03a6ff6bbf85150"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aafcd80f1669dd6eee03a6ff6bbf85150">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(!=)</td></tr>
 165 <tr·class="separator:aafcd80f1669dd6eee03a6ff6bbf85150"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 <tr·class="memitem:a21591c57055642e5f2efa98a3fd6e9f0"><td·class="memItemLeft"·align="right"·valign="top">DUNE_SIMD_LOOP_BOOLEAN_OP·&amp;&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a21591c57055642e5f2efa98a3fd6e9f0">Dune::DUNE_SIMD_LOOP_BOOLEAN_OP</a>·(||);template&lt;·class·T,·std::size_t·S,·std::size_t·A·&gt;·std::ostream·&amp;operator&lt;&lt;(std::ostream·&amp;os,·const·LoopSIMD&lt;·T,·S,·A·&gt;·&amp;v</td></tr>
 167 <tr·class="separator:a21591c57055642e5f2efa98a3fd6e9f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 271/72971 bytes (0.37%) of diff not shown.
16.3 KB
html2text {}
    
Offset 4, 14 lines modifiedOffset 4, 490 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 collectivecommunication.hh·File·Reference 
9 #include·<dune/common/parallel/communication.hh>7 ····*·simd
 8 Classes·|·Namespaces·|·Macros·|·Functions
 9 loop.hh·File·Reference
 10 #include·<array>
 11 #include·<cmath>
 12 #include·<cstddef>
 13 #include·<cstdlib>
 14 #include·<ostream>
 15 #include·<dune/common/math.hh>
 16 #include·<dune/common/simd/simd.hh>
 17 #include·<dune/common/typetraits.hh>
10 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
 19 ·Classes
 20 ·class· Dune::LoopSIMD<_T,_S,_A_>
 21  
 22 struct· Dune::Simd::Overloads::ScalarType<_LoopSIMD<_T,_S,_A_>_>
 23  
 24 struct· Dune::Simd::Overloads::RebindType<_U,_LoopSIMD<_T,_S,_A_>_>
 25  
 26 struct· Dune::Simd::Overloads::LaneCount<_LoopSIMD<_T,_S,_A_>_>
 27  
 28 struct· Dune::IsNumber<_LoopSIMD<_T,_S,_A_>_>
 29  
 30 ·Namespaces
 31 namespace· Dune
 32  ··········Dune·namespace.
 33  
 34 namespace· Dune::Simd
 35  ··········Namespace·for·vectorization·interface·functions·used·by·library
 36 ············developers.
 37  
 38 namespace· Dune::Simd::Overloads
 39  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 40 ············implementation.
 41  
 42 namespace· Dune::MathOverloads
 43  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics
 44  
 45 ·Macros
 46 #define DUNE_PRAGMA_OMP_SIMD
 47  
 48 #define DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)
 49  
 50 #define DUNE_SIMD_LOOP_UNARY_OP(SYMBOL)
 51  
 52 #define DUNE_SIMD_LOOP_POSTFIX_OP(SYMBOL)
 53  
 54 #define DUNE_SIMD_LOOP_ASSIGNMENT_OP(SYMBOL)
 55  
 56 #define DUNE_SIMD_LOOP_BINARY_OP(SYMBOL)
 57  
 58 #define DUNE_SIMD_LOOP_BITSHIFT_OP(SYMBOL)
 59  
 60 #define DUNE_SIMD_LOOP_COMPARISON_OP(SYMBOL)
 61  
 62 #define DUNE_SIMD_LOOP_BOOLEAN_OP(SYMBOL)
 63  
 64 #define DUNE_SIMD_LOOP_CMATH_UNARY_OP(expr)
 65  
 66 #define DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN(expr,·returnType)
 67  
 68 #define DUNE_SIMD_LOOP_STD_UNARY_OP(expr)
 69  
 70 #define DUNE_SIMD_LOOP_STD_BINARY_OP(expr)
 71  
 72 ·Functions
 73 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(+)
 74  
 75 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(-)
 76  
 77 ··DUNE_SIMD_LOOP_BINARY_OP·* Dune::DUNE_SIMD_LOOP_BINARY_OP·(/
 78 ······························);DUNE_SIMD_LOOP_BINARY_OP(%
 79  
 80 ··DUNE_SIMD_LOOP_BINARY_OP·& Dune::DUNE_SIMD_LOOP_BINARY_OP
 81 ······························(|);DUNE_SIMD_LOOP_BINARY_OP(^
 82  
 83 ···························· Dune::DUNE_SIMD_LOOP_BITSHIFT_OP·(<<)
 84  
 85 ···························· Dune::DUNE_SIMD_LOOP_BITSHIFT_OP·(>·>)
 86  
 87 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(<)
 88  
 89 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(<=)
 90  
 91 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(>=)
 92  
 93 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(!=)
 94  
 95 DUNE_SIMD_LOOP_BOOLEAN_OP·&& Dune::DUNE_SIMD_LOOP_BOOLEAN_OP·(||);template<
 96 ······························class·T,·std::size_t·S,·std::size_t·A·>·std::
 97 ······························ostream·&operator<<(std::ostream·&os,·const
 98 ······························LoopSIMD<·T,·S,·A·>·&v
 99  
 100 template<class·T·,·std::size_t·S,·std::size_t·A>
 101 ························auto Dune::Simd::Overloads::lane·(ADLTag<·5·>,·std::
 102 ······························size_t·l,·LoopSIMD<·T,·S,·A·>·&&v)·->·decltype
 103 ······························(std::move(Simd::lane(l%lanes<·T·>(),·v[l/lanes<
 104 ······························T·>()])))
 105  
 106 template<class·T·,·std::size_t·S,·std::size_t·A>
 107 ························auto Dune::Simd::Overloads::lane·(ADLTag<·5·>,·std::
 108 ······························size_t·l,·const·LoopSIMD<·T,·S,·A·>·&v)·-
 109 ······························>·decltype(Simd::lane(l%lanes<·T·>(),·v[l/lanes<
 110 ······························T·>()]))
 111  
 112 template<class·T·,·std::size_t·S,·std::size_t·A>
 113 ························auto Dune::Simd::Overloads::lane·(ADLTag<·5·>,·std::
 114 ······························size_t·l,·LoopSIMD<·T,·S,·A·>·&v)·->·decltype
 115 ······························(Simd::lane(l%lanes<·T·>(),·v[l/lanes<·T·>()]))
 116  
 117 template<class·T·,·std::size_t·S,·std::size_t·AM,·std::size_t·AD>
 118 ························auto Dune::Simd::Overloads::cond·(ADLTag<·5·>,·Simd::
 119 ······························Mask<·LoopSIMD<·T,·S,·AM·>·>·mask,·LoopSIMD<·T,
 120 ······························S,·AD·>·ifTrue,·LoopSIMD<·T,·S,·AD·>·ifFalse)
 121  
 122 template<class·M·,·class·T·,·std::size_t·S,·std::size_t·A>
 123 ························auto Dune::Simd::Overloads::cond·(ADLTag<·5,·std::
 124 ······························is_same<·bool,·Simd::Scalar<·M·>·>::value
Max diff block lines reached; 116/16618 bytes (0.70%) of diff not shown.
169 KB
./usr/share/doc/libdune-common-doc/doxygen/a00053_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·collectivecommunication.hh·Source·File</title>8 <title>dune-common:·loop.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 27 lines modifiedOffset 58, 705 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh</div></div>68 ··<div·class="headertitle"><div·class="title">loop.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00053.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_LOOP_HH</span></div>
 74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_LOOP_HH</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·Will·be·removed·after·the·2.7·release</span></div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#warning·&quot;Deprecated·header,·use·#include·&lt;dune/common/parallel/communication.hh&gt;·instead!&quot;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00023.html">dune/common/parallel/communication.hh</a>&gt;</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00281.html">dune/common/math.hh</a>&gt;</span></div>
76 <div·class="ttc"·id="aa00023_html"><div·class="ttname"><a·href="a00023.html">communication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.</div></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">/*</span></div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">·*·silence·warnings·from·GCC·about·using·integer·operands·on·a·bool</span></div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">·*·(when·instantiated·for·T=bool)</span></div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*/</span></div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#if·__GNUC__·&gt;=·7</span></div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#··pragma·GCC·diagnostic·push</span></div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#··pragma·GCC·diagnostic·ignored·&quot;-Wbool-operation&quot;</span></div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··pragma·GCC·diagnostic·ignored·&quot;-Wint-in-bool-context&quot;</span></div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#··define·GCC_WARNING_DISABLED</span></div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div>
 99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">/*</span></div>
 101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·*·silence·warnings·from·Clang·about·using·bitwise·operands·on</span></div>
 102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">·*·a·bool·(when·instantiated·for·T=bool)</span></div>
 103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*/</span></div>
 104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#ifdef·__clang__</span></div>
 105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#if·__has_warning(&quot;-Wbitwise-instead-of-logical&quot;</span>)</div>
 106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#··pragma·clang·diagnostic·push</span></div>
 107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#··pragma·clang·diagnostic·ignored·&quot;-Wbitwise-instead-of-logical&quot;</span></div>
 108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#··define·CLANG_WARNING_DISABLED</span></div>
 109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#endif</span></div>
 110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#endif</span></div>
 111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">/*</span></div>
 113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·&gt;=·4</span></div>
 114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">·*/</span></div>
 115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#if·_OPENMP·&gt;=·201307</span></div>
 116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">··#define·DUNE_PRAGMA_OMP_SIMD·_Pragma(&quot;omp·simd&quot;</span>)</div>
 117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#else</span></div>
 118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00053.html#acb2192556fb08c1550c78d0db36245d5">···48</a></span><span·class="preprocessor">··#define·DUNE_PRAGMA_OMP_SIMD</span></div>
 119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#endif</span></div>
 120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·S,·std::<span·class="keywordtype">size_t</span>·A·=·0&gt;</div>
 123 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02636.html">···64</a></span>··<span·class="keyword">class·</span><span·class="keyword">alignas</span>(A==0?alignof(T):A)·<a·class="code·hl_class"·href="a02636.html">LoopSIMD</a>·:·<span·class="keyword">public</span>·std::array&lt;T,S&gt;·{</div>
 124 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 125 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">public</span>:</div>
 126 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 127 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//default·constructor</span></div>
 128 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02636.html#aa7b761d44fdf729db83c8c2ad943c4ba">···69</a></span>····<a·class="code·hl_function"·href="a02636.html#aa7b761d44fdf729db83c8c2ad943c4ba">LoopSIMD</a>()·{</div>
 129 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······assert(<span·class="keyword">reinterpret_cast&lt;</span>uintptr_t<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)·%·<a·class="code·hl_function"·href="a00428.html#a10f66b4d8465c253379031564e8ba250">std::min</a>(<span·class="keyword">alignof</span>(<a·class="code·hl_class"·href="a02636.html">LoopSIMD&lt;T,S,A&gt;</a>),<span·class="keyword">alignof</span>(std::max_align_t))·==·0);</div>
 130 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div>
 131 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 132 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·broadcast·constructor·initializing·the·content·with·a·given·value</span></div>
 133 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a02636.html#a072ca848e458658de03c506a9d2408b1">···74</a></span>····<a·class="code·hl_function"·href="a02636.html#a072ca848e458658de03c506a9d2408b1">LoopSIMD</a>(<a·class="code·hl_typedef"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar&lt;T&gt;</a>·i)·:·<a·class="code·hl_class"·href="a02636.html">LoopSIMD</a>()·{</div>
 134 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······this-&gt;fill(i);</div>
 135 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····}</div>
 136 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 137 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·OA&gt;</div>
 138 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a02636.html#aa66bb88d1bb61a611d0ebe555e9e6f07">···79</a></span>······<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a02636.html#aa66bb88d1bb61a611d0ebe555e9e6f07">LoopSIMD</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02636.html">LoopSIMD&lt;T,S,OA&gt;</a>&amp;·other)</div>
 139 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······:·<a·class="code·hl_namespace"·href="a00424.html">std</a>::array&lt;T,S&gt;(other)</div>
 140 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····{</div>
 141 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······assert(<span·class="keyword">reinterpret_cast&lt;</span>uintptr_t<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)·%·<a·class="code·hl_function"·href="a00428.html#a10f66b4d8465c253379031564e8ba250">std::min</a>(<span·class="keyword">alignof</span>(<a·class="code·hl_class"·href="a02636.html">LoopSIMD&lt;T,S,A&gt;</a>),<span·class="keyword">alignof</span>(std::max_align_t))·==·0);</div>
 142 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</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">/*</span></div>
 145 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">·····*··Definition·of·basic·operators</span></div>
 146 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">·····*/</span></div>
 147 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 148 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="comment">//Prefix·operators</span></div>
 149 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00053.html#ab2eb0e852e28f54bf511377690ba664a">···90</a></span><span·class="preprocessor">#define·DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)·········\</span></div>
 150 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">····auto·operator·SYMBOL()·{·····················\</span></div>
 151 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">······DUNE_PRAGMA_OMP_SIMD·······················\</span></div>
 152 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="preprocessor">······for(std::size_t·i=0;·i&lt;S;·i++){············\</span></div>
 153 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">········SYMBOL(*this)[i];························\</span></div>
 154 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="preprocessor">······}··········································\</span></div>
 155 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="preprocessor">······return·*this;······························\</span></div>
 156 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="preprocessor">····}············································\</span></div>
 157 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="preprocessor">····static_assert(true,·&quot;expecting·;&quot;</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"><a·class="line"·href="a02636.html#a09206bc74b4e9a3a25c7457ead00e494">··100</a></span>····<a·class="code·hl_function"·href="a02636.html#a09206bc74b4e9a3a25c7457ead00e494">DUNE_SIMD_LOOP_PREFIX_OP</a>(++);</div>
 160 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a02636.html#a92891f99fea14834d17cbe94428d539f">··101</a></span>····<a·class="code·hl_function"·href="a02636.html#a92891f99fea14834d17cbe94428d539f">DUNE_SIMD_LOOP_PREFIX_OP</a>(--);</div>
 161 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#undef·DUNE_SIMD_LOOP_PREFIX_OP</span></div>
 162 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 163 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="comment">//Unary·operators</span></div>
 164 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a00053.html#ad0a3db4ac4d313e5df2f650176a7f47a">··105</a></span><span·class="preprocessor">#define·DUNE_SIMD_LOOP_UNARY_OP(SYMBOL)··········\</span></div>
 165 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="preprocessor">····auto·operator·SYMBOL()·const·{···············\</span></div>
 166 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">······LoopSIMD&lt;T,S,A&gt;·out;························\</span></div>
 167 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="preprocessor">······DUNE_PRAGMA_OMP_SIMD·······················\</span></div>
Max diff block lines reached; 271/145998 bytes (0.19%) of diff not shown.
26.8 KB
html2text {}
    
Offset 4, 23 lines modifiedOffset 4, 844 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 collectivecommunication.hh7 ····*·simd
 8 loop.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
Diff chunk too large, falling back to line-by-line diff (828 lines added, 7 lines removed)
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
13 ·3//·Will·be·removed·after·the·2.7·release13 ·3#ifndef·DUNE_COMMON_SIMD_LOOP_HH
14 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/14 ·4#define·DUNE_COMMON_SIMD_LOOP_HH
15 communication.hh>·instead!"15 ·5
16 ·5#include·<dune/common/parallel/communication.hh>16 ·6#include·<array>
17 communication.hh17 ·7#include·<cmath>
18 Implements·an·utility·class·that·provides·collective·communication·methods·for18 ·8#include·<cstddef>
19 sequential·programs.19 ·9#include·<cstdlib>
 20 ·10#include·<ostream>
 21 ·11
 22 ·12#include·<dune/common/math.hh>
 23 ·13#include·<dune/common/simd/simd.hh>
 24 ·14#include·<dune/common/typetraits.hh>
 25 ·15
 26 ·16namespace·Dune·{
 27 ·17
 28 ·18
 29 ·19/*
 30 ·20·*·silence·warnings·from·GCC·about·using·integer·operands·on·a·bool
 31 ·21·*·(when·instantiated·for·T=bool)
 32 ·22·*/
 33 ·23#if·__GNUC__·>=·7
 34 ·24#·pragma·GCC·diagnostic·push
 35 ·25#·pragma·GCC·diagnostic·ignored·"-Wbool-operation"
 36 ·26#·pragma·GCC·diagnostic·ignored·"-Wint-in-bool-context"
 37 ·27#·define·GCC_WARNING_DISABLED
 38 ·28#endif
 39 ·29
 40 ·30/*
 41 ·31·*·silence·warnings·from·Clang·about·using·bitwise·operands·on
 42 ·32·*·a·bool·(when·instantiated·for·T=bool)
 43 ·33·*/
 44 ·34#ifdef·__clang__
 45 ·35#if·__has_warning("-Wbitwise-instead-of-logical")
 46 ·36#·pragma·clang·diagnostic·push
 47 ·37#·pragma·clang·diagnostic·ignored·"-Wbitwise-instead-of-logical"
 48 ·38#·define·CLANG_WARNING_DISABLED
 49 ·39#endif
 50 ·40#endif
 51 ·41
 52 ·42/*
 53 ·43·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·>=·4
 54 ·44·*/
 55 ·45#if·_OPENMP·>=·201307
 56 ·46·#define·DUNE_PRAGMA_OMP_SIMD·_Pragma("omp·simd")
 57 ·47#else
 58 48·#define·DUNE_PRAGMA_OMP_SIMD
 59 ·49#endif
 60 ·50
 61 ·51
 62 ·63·template<class·T,·std::size_t·S,·std::size_t·A·=·0>
 63 64·class·alignas(A==0?alignof(T):A)·LoopSIMD·:·public·std::array<T,S>·{
 64 ·65
 65 ·66·public:
 66 ·67
 67 ·68·//default·constructor
 68 69·LoopSIMD()·{
 69 ·70·assert(reinterpret_cast<uintptr_t>(this)·%·std::min(alignof
 70 (LoopSIMD<T,S,A>),alignof(std::max_align_t))·==·0);
 71 ·71·}
 72 ·72
 73 ·73·//·broadcast·constructor·initializing·the·content·with·a·given·value
 74 74·LoopSIMD(Simd::Scalar<T>·i)·:·LoopSIMD()·{
 75 ·75·this->fill(i);
 76 ·76·}
 77 ·77
 78 ·78·template<std::size_t·OA>
 79 79·explicit·LoopSIMD(const·LoopSIMD<T,S,OA>&·other)
 80 ·80·:·std::array<T,S>(other)
 81 ·81·{
 82 ·82·assert(reinterpret_cast<uintptr_t>(this)·%·std::min(alignof
 83 (LoopSIMD<T,S,A>),alignof(std::max_align_t))·==·0);
 84 ·83·}
 85 ·84
 86 ·85·/*
 87 ·86·*·Definition·of·basic·operators
 88 ·87·*/
 89 ·88
 90 ·89·//Prefix·operators
 91 90#define·DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)·\
 92 ·91·auto·operator·SYMBOL()·{·\
 93 ·92·DUNE_PRAGMA_OMP_SIMD·\
 94 ·93·for(std::size_t·i=0;·i<S;·i++){·\
 95 ·94·SYMBOL(*this)[i];·\
 96 ·95·}·\
 97 ·96·return·*this;·\
 98 ·97·}·\
 99 ·98·static_assert(true,·"expecting·;")
 100 ·99
 101 100·DUNE_SIMD_LOOP_PREFIX_OP(++);
 102 101·DUNE_SIMD_LOOP_PREFIX_OP(--);
 103 ·102#undef·DUNE_SIMD_LOOP_PREFIX_OP
 104 ·103
 105 ·104·//Unary·operators
 106 105#define·DUNE_SIMD_LOOP_UNARY_OP(SYMBOL)·\
 107 ·106·auto·operator·SYMBOL()·const·{·\
 108 ·107·LoopSIMD<T,S,A>·out;·\
 109 ·108·DUNE_PRAGMA_OMP_SIMD·\
 110 ·109·for(std::size_t·i=0;·i<S;·i++){·\
 111 ·110·out[i]·=·SYMBOL((*this)[i]);·\
 112 ·111·}·\
 113 ·112·return·out;·\
 114 ·113·}·\
 115 ·114·static_assert(true,·"expecting·;")
 116 ·115
 117 116·DUNE_SIMD_LOOP_UNARY_OP(+);
 118 117·DUNE_SIMD_LOOP_UNARY_OP(-);
 119 118·DUNE_SIMD_LOOP_UNARY_OP(~);
 120 ·119
 121 120·auto·operator!()·const·{
 122 ·121·Simd::Mask<LoopSIMD<T,S,A>>·out;
 123 ·122·DUNE_PRAGMA_OMP_SIMD
 124 ·123·for(std::size_t·i=0;·i<S;·i++){
Max diff block lines reached; 116/27404 bytes (0.42%) of diff not shown.
16.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00056.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·communicator.hh·File·Reference</title>8 <title>dune-common:·io.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 73 lines modifiedOffset 58, 76 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">communicator.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Paral[·...·truncated·by·diffoscope;·len:·48,·SHA:·2727033eb60665b51a5a7986f458b78c42d86f966feef3cdd7afe292fe22fafd·...·]</div>71 <a·href="#func-members">Functions</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">io.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00419.html">Library·Developer's·Interface</a></div></div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
74 <p>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.··75 <p>IO·interface·of·the·SIMD·abstraction.··
75 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>
77 <code>#include·&lt;cstddef&gt;</code><br·/> 
78 <code>#include·&lt;iostream&gt;</code><br·/> 
79 <code>#include·&lt;map&gt;</code><br·/> 
80 <code>#include·&lt;type_traits&gt;</code><br·/>78 <code>#include·&lt;type_traits&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;utility&gt;</code><br·/> 
82 <code>#include·&lt;mpi.h&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
87 </div>82 </div>
88 <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00056_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">84 <table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
91 Classes</h2></td></tr>86 Classes</h2></td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01992.html">Dune::SizeOne</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.··<a·href="a01992.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01996.html">Dune::VariableSize</a></td></tr> 
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.··<a·href="a01996.html#details">More...</a><br·/></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02000.html">Dune::CommPolicy&lt;·V·&gt;</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02632.html">Dune::SimdImpl::Inserter&lt;·T·&gt;</a></td></tr>
99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·policy·used·for·communicating·an·indexed·type.··<a·href="a02000.html#details">More...</a><br·/></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02012.html">Dune::CommPolicy&lt;·V·&gt;::CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&gt;·&gt;</a></td></tr> 
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02016.html">Dune::CommPolicy&lt;·V·&gt;::CommunicationError</a></td></tr> 
104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Error·thrown·if·there·was·a·problem·with·the·communication.··<a·href="a02016.html#details">More...</a><br·/></td></tr> 
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02020.html">Dune::CommPolicy&lt;·V·&gt;::CopyGatherScatter&lt;·T·&gt;</a></td></tr> 
107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">GatherScatter·default·implementation·that·just·copies·data.··<a·href="a02020.html#details">More...</a><br·/></td></tr> 
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02024.html">Dune::BufferedCommunicator</a></td></tr> 
110 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be·send·or·received.··<a·href="a02024.html#details">More...</a><br·/></td></tr> 
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
114 Namespaces</h2></td></tr>91 Namespaces</h2></td></tr>
115 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
116 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:a00447"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00447.html">Dune::SimdImpl</a></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>
 98 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 </table><table·class="memberdecls">
 101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 102 Functions</h2></td></tr>
 103 <tr·class="memitem:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class··=·std::enable_if_t&lt;Simd::lanes&lt;V&gt;()·!=·1&gt;&gt;·</td></tr>
 104 <tr·class="memitem:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memTemplItemLeft"·align="right"·valign="top">Inserter&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00447.html#ae447d4ba0de956891f38d9ae1ab14271">Dune::SimdImpl::io</a>·(const·V·&amp;v)</td></tr>
 105 <tr·class="separator:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:a30f9b97082aee4177ff947a63ae6deea"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class··=·std::enable_if_t&lt;Simd::lanes&lt;V&gt;()·==·1&gt;&gt;·</td></tr>
 107 <tr·class="memitem:a30f9b97082aee4177ff947a63ae6deea"><td·class="memTemplItemLeft"·align="right"·valign="top">Simd::Scalar&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00447.html#a30f9b97082aee4177ff947a63ae6deea">Dune::SimdImpl::io</a>·(const·V·&amp;v)</td></tr>
 108 <tr·class="separator:a30f9b97082aee4177ff947a63ae6deea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr><td·colspan="2"><div·class="groupHeader">IO·interface</div></td></tr>
 110 <tr><td·colspan="2"><div·class="groupText"><p·>Templates·and·functions·in·this·group·provide·syntactic·sugar·for·IO.·They·are·implemented·using·the·functionality·from·SimdInterfaceBase,·and·are·not·customizable·by·implementations.·</p>
 111 </div></td></tr>
 112 <tr·class="memitem:ga5f024733517533308b22bd0b9a5e0820"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 113 <tr·class="memitem:ga5f024733517533308b22bd0b9a5e0820"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga5f024733517533308b22bd0b9a5e0820">Dune::Simd::vio</a>·(const·V·&amp;v)</td></tr>
 114 <tr·class="memdesc:ga5f024733517533308b22bd0b9a5e0820"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">construct·a·stream·inserter··<a·href="a00419.html#ga5f024733517533308b22bd0b9a5e0820">More...</a><br·/></td></tr>
 115 <tr·class="separator:ga5f024733517533308b22bd0b9a5e0820"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:ga47000d8c79bf7ab0548867bc01a56cac"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 117 <tr·class="memitem:ga47000d8c79bf7ab0548867bc01a56cac"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00419.html#ga47000d8c79bf7ab0548867bc01a56cac">Dune::Simd::io</a>·(const·V·&amp;v)</td></tr>
 118 <tr·class="memdesc:ga47000d8c79bf7ab0548867bc01a56cac"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">construct·a·stream·inserter··<a·href="a00419.html#ga47000d8c79bf7ab0548867bc01a56cac">More...</a><br·/></td></tr>
 119 <tr·class="separator:ga47000d8c79bf7ab0548867bc01a56cac"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table>120 </table>
119 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>121 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
120 <div·class="textblock"><p·>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·</p> 
121 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>122 <div·class="textblock"><p·>IO·interface·of·the·SIMD·abstraction.·</p>
 123 <p·>This·file·provides·IO·interface·functions·of·the·SIMD·abstraction·layer.</p>
 124 <p·>This·file·is·intended·for·direct·inclusion·by·header·making·use·of·the·IO·interface.·</p>
122 </div></div><!--·contents·-->125 </div></div><!--·contents·-->
123 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
124 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
126 </small></address>129 </small></address>
127 </body>130 </body>
128 </html>131 </html>
3.28 KB
html2text {}
    
Offset 4, 61 lines modifiedOffset 4, 58 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel7 ····*·simd
8 Classes·|·Namespaces8 Classes·|·Namespaces·|·Functions
9 communicator.hh·File·Reference9 io.hh·File·Reference
 10 Common·»·Vectorization·»·Library_Developer's_Interface
 11 IO·interface·of·the·SIMD·abstraction.·More...
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication. 
12 More... 
13 #include·<cassert> 
14 #include·<cstddef> 
15 #include·<iostream>12 #include·<ios>
16 #include·<map> 
17 #include·<type_traits>13 #include·<type_traits>
18 #include·<utility> 
19 #include·<mpi.h> 
20 #include·<dune/common/exceptions.hh>14 #include·<dune/common/rangeutilities.hh>
 15 #include·<dune/common/simd/simd.hh>
21 #include·<dune/common/parallel/interface.hh> 
22 #include·<dune/common/parallel/remoteindices.hh> 
23 #include·<dune/common/stdstreams.hh>16 #include·<dune/common/typetraits.hh>
24 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
25 ·Classes18 ·Classes
 19 class· Dune::SimdImpl::Inserter<_T_>
26 struct· Dune::SizeOne 
27  ·······Flag·for·marking·indexed·data·structures·where·data·at·each·index·is 
28 ·········of·the·same·size.·More... 
29   
30 struct· Dune::VariableSize 
31  ·······Flag·for·marking·indexed·data·structures·where·the·data·at·each·index 
32 ·········may·be·a·variable·multiple·of·another·type.·More... 
33   
34 struct· Dune::CommPolicy<_V_> 
35  ·······Default·policy·used·for·communicating·an·indexed·type.·More... 
36   
37 struct· Dune::CommPolicy<_V_>::CommPolicy<_VariableBlockVector<_FieldVector< 
38 ·········K,_n_>,_A_>_> 
39   
40 ·class· Dune::CommPolicy<_V_>::CommunicationError 
41  ·······Error·thrown·if·there·was·a·problem·with·the·communication.·More... 
42   
43 struct· Dune::CommPolicy<_V_>::CopyGatherScatter<_T_> 
44  ·······GatherScatter·default·implementation·that·just·copies·data.·More... 
45   
46 ·class· Dune::BufferedCommunicator 
47  ·······A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be 
48 ·········send·or·received.·More... 
49  20  
50 ·Namespaces21 ·Namespaces
51 namespace· Dune22 namespace· Dune
52  ··········Dune·namespace.23  ··········Dune·namespace.
53  24  
 25 namespace· Dune::SimdImpl
 26  
 27 namespace· Dune::Simd
 28  ··········Namespace·for·vectorization·interface·functions·used·by·library
 29 ············developers.
 30  
 31 ·Functions
 32 template<class·V·,·class·=·std::enable_if_t<Simd::lanes<V>()·!=·1>>
 33 ····Inserter<·V·> Dune::SimdImpl::io·(const·V·&v)
 34  
 35 template<class·V·,·class·=·std::enable_if_t<Simd::lanes<V>()·==·1>>
 36 Simd::Scalar<·V·> Dune::SimdImpl::io·(const·V·&v)
 37  
 38 IO·interface
 39 Templates·and·functions·in·this·group·provide·syntactic·sugar·for·IO.·They·are
 40 implemented·using·the·functionality·from·SimdInterfaceBase,·and·are·not
 41 customizable·by·implementations.
 42 template<class·V·>
 43 ·············auto Dune::Simd::vio·(const·V·&v)
 44  ·················construct·a·stream·inserter·More...
 45  
 46 template<class·V·>
 47 ·············auto Dune::Simd::io·(const·V·&v)
 48  ·················construct·a·stream·inserter·More...
 49  
54 *****·Detailed·Description·*****50 *****·Detailed·Description·*****
55 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication. 
56 ··Author 
57 ······Markus·Blatt51 IO·interface·of·the·SIMD·abstraction.
 52 This·file·provides·IO·interface·functions·of·the·SIMD·abstraction·layer.
 53 This·file·is·intended·for·direct·inclusion·by·header·making·use·of·the·IO
 54 interface.
  
58 ===============================================================================55 ===============================================================================
59 ·····Generated·by [doxygen]·1.9.456 ·····Generated·by [doxygen]·1.9.4
224 KB
./usr/share/doc/libdune-common-doc/doxygen/a00056_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·communicator.hh·Source·File</title>8 <title>dune-common:·io.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 1026 lines modifiedOffset 58, 107 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">communicator.hh</div></div>68 ··<div·class="headertitle"><div·class="title">io.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00056.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00056.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMUNICATOR</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_IO_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMUNICATOR</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_IO_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>76 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>77 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div> 
Diff chunk too large, falling back to line-by-line diff (73 lines added, 945 lines removed)
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>78 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div>79 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04442.html">dune/common/parallel/interface.hh</a>&gt;</span></div>80 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00017.html">dune/common/parallel/remoteindices.hh</a>&gt;</span></div>81 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div>82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>83 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>84 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>85 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00447.html">···25</a></span>··<span·class="keyword">namespace·</span>SimdImpl·{</div>
96 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01992.html">··109</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01992.html">SizeOne</a></div>86 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
97 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··{};</div>87 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
98 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02632.html">···28</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02632.html">Inserter</a>·{</div>
99 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01996.html">··117</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01996.html">VariableSize</a></div>89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······T·value_;</div>
100 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{};</div>90 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
101 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>91 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</span>:</div>
102 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>92 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a02632.html#a232e95fd4c68d29088364920b6049269">···32</a></span>······<a·class="code·hl_function"·href="a02632.html#a232e95fd4c68d29088364920b6049269">Inserter</a>(<span·class="keyword">const[·...·truncated·by·diffoscope;·len:·40,·SHA:·9878f6958261b6e44970b03520f2d890fa82104baaa6d4eaabdd2ff2d6b599b1·...·]</div>
103 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>93 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
104 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a02000.html">··127</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02000.html">CommPolicy</a></div>94 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>Stream,</div>
105 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div>95 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>···············<span·class="keyword">class·</span>=·std::enable_if_t&lt;std::is_base_of&lt;std::ios_base,</div>
106 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a02000.html#af60cf019b8e895938b6143f186c62d1b">··140</a></span>····<span·class="keyword">typedef</span>·V·<a·class="code·hl_typedef"·href="a02000.html#af60cf019b8e895938b6143f186c62d1b">Type[·...·truncated·by·diffoscope;·len:·4,·SHA:·ecd5b806462c7dfdf078ac76c549060a06660422d00e55bd5823be6747361085·...·];</div>96 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>························································Stream&gt;::value&gt;·&gt;</div>
107 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div>97 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02632.html#aa6b65b59351d83c3fb4a8dc175e1116f">···37</a></span>······<span·class="keyword">friend</span>·Stream&amp;·<a·class="code·hl_friend"·href="a02632.html#aa6b65b59351d83c3fb4a8dc175e1[·...·truncated·by·diffoscope;·len:·145,·SHA:·2f922bcd5eebf809afbc958a3649d691e059f39210e19c314ae9aabff437119c·...·]</div>
108 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a02000.html#a2cda5e943599178476fac79e207b365b">··147</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·V::value_type·<a·class="code·hl_typedef"·href="a[·...·truncated·by·diffoscope;·len:·62,·SHA:·89ecbdc2379e6093c004aa6bd8c7ba9fd22a642b1253914811d1784fbcc571d3·...·]</div>98 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······{</div>
109 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div>99 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*sep·=·<span·class="stringliteral">&quot;&lt;&quot;</span>;</div>
110 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a02000.html#a82711a42e162a721414c8d9737a8ee0c">··153</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a01992.html">SizeOne</a>·<a·class="code·hl_typedef"·hr[·...·truncated·by·diffoscope;·len:·71,·SHA:·34791d46f7effdcf3942f8d510a887919349af6aefde8a7c49dcfc1964c5bd81·...·]</div>100 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·l·:·<a·class="code·hl_variable"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>(<a·class="code·hl_functio[·...·truncated·by·diffoscope;·len:·86,·SHA:·2c3f7e52a24205af54470167c631ff6c0fa9b1acecebc0a22b234b0267899dcc·...·]</div>
111 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>101 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>········{</div>
112 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno"><a·class="line"·href="a02000.html#ab9aacd93b76315b459857b3ee5d4b6d0">··163</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*·<a·class="cod[·...·truncated·by·diffoscope;·len:·170,·SHA:·e449f89425687b62c399e1e8d1e95d061d1a5a52abc82adb2a3c2a05b19dab0b·...·]);</div>102 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··········out·&lt;&lt;·sep·&lt;&lt;·<a·class="code·hl_function"·href="a00406.html#ga558b4b74a548ee372165a7a79a74b40c">autoCopy</a>(<a·class="code·hl_function"·href="a00419.html#gaca5433c99a350b973623f[·...·truncated·by·diffoscope;·len:·42,·SHA:·b092a4427e3216624705157394852492ec1d6010d6ed6264246b215086233401·...·]);</div>
113 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div>103 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··········sep·=·<span·class="stringliteral">&quot;,·&quot;</span>;</div>
114 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno"><a·class="line"·href="a02000.html#a4b5cf5c019f467b3e1f7798b076ceee8">··170</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02000.html#a4b5[·...·truncated·by·diffoscope;·len:·130,·SHA:·11295e2d42a315b9fa9feb38e59978062e43d478718aaff7df6355a04747e370·...·]</div>104 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>········}</div>
115 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>··};</div>105 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········out·&lt;&lt;·&#39;&gt;<span·class="stringliteral">&#39;;</span></div>
116 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div>106 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="stringliteral">········return·out;</span></div>
117 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno"><a·class="line"·href="a02004.html">··173</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;·<span·class="keyword">class·</span><a[·...·truncated·by·diffoscope;·len:·58,·SHA:·fcede363dfb6b9d10c4587bf4ef692517e091761d408ce97e956ed57f08d4d2f·...·]</div>107 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="stringliteral">······}</span></div>
118 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div>108 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="stringliteral">····};</span></div>
119 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno"><a·class="line"·href="a02008.html">··175</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·B,·<span·class="keyword">class</span>·A&gt;·<span·class="keyword">class·</span><a·c[·...·truncated·by·diffoscope;·len:·64,·SHA:·345655170dddfbe7ab565568227bb183ba834de6d4301cad0eee958e071277ab·...·]</div>109 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="stringliteral"></span>·</div>
120 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div>110 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="stringliteral">····template&lt;class·V,·class·=·std::enable_if_t&lt;Simd::lanes&lt;V&gt;()·!=·1&gt;·&gt;</span></div>
121 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·A,·<span·class="keywordtype">int</span>·n&gt;</div>111 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00447.html#ae447d4ba0de956891f38d9ae1ab14271">···51</a></span><span·class="stringliteral">····Inserter&lt;V&gt;·io(const·V·&amp;v)</span></div>
122 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno"><a·class="line"·href="a02012.html">··178</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02000.html">CommPolicy</a>&lt;<a·class="code·hl_class"·href="a02008.html">VariableBlockVec[·...·truncated·by·diffoscope;·len:·94,·SHA:·0dcc16a9cd046df42d0232fd4b0e5592d11c77e059e3af91acdb81e92cb1bb51·...·]</div>112 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="stringliteral">····{</span></div>
123 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>··{</div>113 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="stringliteral">······return·{·v·};</span></div>
124 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno"><a·class="line"·href="a02012.html#a63316a3f87f4edf2011ffa151e1abd73">··180</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02008.html">VariableBlockVector&lt;FieldVector&lt;K,·n[·...·truncated·by·diffoscope;·len:·105,·SHA:·600fe22315ad365a8116f78d7bbe72dd51e57ad14f311722de3444fd26cc7063·...·]</div>114 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="stringliteral">····}</span></div>
125 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div>115 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="stringliteral"></span>·</div>
126 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno"><a·class="line"·href="a02012.html#af196fdca100c252ea392e44d2cdf02b8">··182</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Type::B·<a·class="code·hl_typedef"·href="a02012.[·...·truncated·by·diffoscope;·len:·56,·SHA:·73fda2ce4a259cb9d9842258757f14bc6445c8eff6914e66a5ef7fc84074014d·...·]</div>116 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="stringliteral">····template&lt;class·V,·class·=·std::enable_if_t&lt;Simd::lanes&lt;V&gt;()·==·1&gt;·&gt;</span></div>
127 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>117 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a00447.html#a30f9b97082aee4177ff947a63ae6deea">···57</a></span><span·class="stringliteral">····Simd::Scalar&lt;V&gt;·io(const·V·&amp;v)</span></div>
128 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno"><a·class="line"·href="a02012.html#a19085e204009d8644f44f8b9645559f1">··184</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a01996.html">VariableSize</a>·<a·class="code·hl_typede[·...·truncated·by·diffoscope;·len:·76,·SHA:·f73b3c3f35861197db835db7c7c1f1c07b019a9c21077ae91fff6b4f86e8bd31·...·]</div>118 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="stringliteral">····{</span></div>
129 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>·</div>119 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="stringliteral">······return·Simd::lane(0,·v);</span></div>
130 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno"><a·class="line"·href="a02012.html#ac381be5d5dd975a4352d69067772476e">··186</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*·<a·class="cod[·...·truncated·by·diffoscope;·len:·219,·SHA:·c150d779f305fb8cb9b71bd4b04977740b7e671c4ee92ebd59f8f274d5f07500·...·]</div>120 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="stringliteral">····}</span></div>
131 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>·</div>121 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="stringliteral"></span>·</div>
132 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno"><a·class="line"·href="a02012.html#a0d606c4b57293f6b13b0d1e933cfb32e">··188</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02012.html#a0d6[·...·truncated·by·diffoscope;·len:·179,·SHA:·00d377cdb75d29ad48addbb02c5eceb8d7f58c64f446dc956f6d3f51f4e1999b·...·]</div>122 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="stringliteral">··}</span></div>
133 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>··};</div>123 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="stringliteral"></span>·</div>
134 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>124 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="stringliteral">··namespace·Simd·{</span></div>
135 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno"><a·class="line"·href="a02016.html">··194</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02016.html">CommunicationError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_c[·...·truncated·by·diffoscope;·len:·36,·SHA:·16c870f4144d3052caee4b585de66277794bf8443a79077b8d624928cbc9060d·...·]</div>125 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="stringliteral"></span>·</div>
136 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··{};</div>126 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="stringliteral"></span>·</div>
137 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div>127 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="stringliteral">····template&lt;class·V&gt;</span></div>
138 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>128 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00419.html#ga5f024733517533308b22bd0b9a5e0820">···90</a></span><span·class="stringliteral">····auto·vio(const·V·&amp;v)</span></div>
139 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno"><a·class="line"·href="a02020.html">··201</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02020.html">CopyGatherScatter</a></div>129 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="stringliteral">····{</span></div>
140 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>··{</div>130 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="stringliteral">······return·SimdImpl::Inserter&lt;V&gt;{·v·};</span></div>
141 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno"><a·class="line"·href="a02020.html#a75f3ea805efadcb366dc402490a20929">··203</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02000.html#a2c[·...·truncated·by·diffoscope;·len:·165,·SHA:·dcbf58c4004bd46139e0111cb1c47902fdda0e3e0a7ccff137230e8ddc77c0ca·...·]</div>131 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="stringliteral">····}</span></div>
142 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>·</div>132 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="stringliteral"></span>·</div>
143 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno"><a·class="line"·href="a02020.html#ae8c09be11f1f4489951ea82e5fe9d9fc">··205</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02020.html#a75f3ea[·...·truncated·by·diffoscope;·len:·203,·SHA:·7ff62d4fc5c4f2bb9888328d9c3141994d22d34c9b920cac34df73f89ffec274·...·]</div>133 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="stringliteral"></span>·</div>
144 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>·</div>134 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="stringliteral">····template&lt;class·V&gt;</span></div>
145 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno"><a·class="line"·href="a02020.html#a3a2e583dfb9e572e4e0606cfafcd4aa2">··207</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02020.html#a3a[·...·truncated·by·diffoscope;·len:·210,·SHA:·31f69bd5b85a085a2633b19f0e9c8dd77131edf53547e735ae7b7f426a2b2d44·...·]</div>135 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a00419.html#ga47000d8c79bf7ab0548867bc01a56cac">··106</a></span><span·class="stringliteral">····auto·io(const·V·&amp;v)</span></div>
146 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>·</div>136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="stringliteral">····{</span></div>
147 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>··};</div>137 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="stringliteral">······return·SimdImpl::io(v);</span></div>
148 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>·</div>138 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="stringliteral">····}</span></div>
149 <div·class="line"><a·id="l00222"·name="l00222"></a><span·class="lineno">··222</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>139 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="stringliteral"></span>·</div>
150 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>··<span·class="keyword">class·</span>DatatypeCommunicator·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a02136.html">InterfaceBuilder</a></div>140 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="stringliteral"></span>·</div>
151 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span>··{</div>141 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="stringliteral"></span>·</div>
152 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span>··<span·class="keyword">public</span>:</div>142 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="stringliteral">··}·//·namespace·Simd</span></div>
153 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</span>·</div>143 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="stringliteral">}·//·namespace·Dune</span></div>
154 <div·class="line"><a·id="l00230"·name="l00230"></a><span·class="lineno">··230</span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_class"·href="a02104.html">ParallelIndexSet</a>;</div>144 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="stringliteral"></span>·</div>
155 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div>145 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span><span·class="stringliteral">#endif·//·DUNE_COMMON_SIMD_IO_HH</span></div>
156 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02236.html">Dune::RemoteIndices&lt;ParallelIndexSet&gt;</a>·<a·class="code·hl_class"·href="a02236.html">RemoteI[·...·truncated·by·diffoscope;·len:·11,·SHA:·4871e34cf7245105a62fa0aac84d7d0bab806b7ebdc19f55d8f47b1748465d88·...·]</div>146 <div·class="ttc"·id="aa00083_html"><div·class="ttname"><a·href="a00083.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
157 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>·</div>147 <div·class="ttc"·id="aa00302_html"><div·class="ttname"><a·href="a00302.html">rangeutilities.hh</a></div><div·class="ttdoc">Utilities·for·reduction·like·operations·on·ranges.</div></div>
158 <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02236.html#a306a6c53829e2034c1468bdf34d53053">RemoteIndices::GlobalInde[·...·truncated·by·diffoscope;·len:·18,·SHA:·4cc81522a7f5d181cba98ba41b4c62c2dfba0fb3a5cdff4a83ecaf706269049b·...·]</div>148 <div·class="ttc"·id="aa00401_html_gaf6a410eeed71fe1210f8dc847174cbc8"><div·class="ttname"><a·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">Dune::range</a></div><div·class="ttdeci">static·StaticIntegralRange&lt;·T,·to,·from·&gt;·range(std::integral_constant&lt;[·...·truncated·by·diffoscope;·len:·133,·SHA:·d4a798af5b3e74f0875ab23745bf34bd93fc5621f5152f5735b568b392a8f3e4·...·]</div>
159 <div·class="line"><a·id="l00241"·name="l00241"></a><span·class="lineno">··241</span>·</div>149 <div·class="ttc"·id="aa00406_html_ga558b4b74a548ee372165a7a79a74b40c"><div·class="ttname"><a·href="a00406.html#ga558b4b74a548ee372165a7a79a74b40c">Dune::autoCopy</a></div><div·class="ttdeci">constexpr·AutonomousValue&lt;·T·&gt;·autoCopy(T·&amp;&amp;v)</div><div·class=[·...·truncated·by·diffoscope;·len:·147,·SHA:·b330034d7121e43df67f99c7e8e1a2d71d2ba480e0876843c13488cc3f1c93fd·...·]</div>
160 <div·class="line"><a·id="l00245"·name="l00245"></a><span·class="lineno">··245</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02236.html#a43e2c046c8e66d671a035b0b6e3ba8a7">RemoteIndices::Attribute<[·...·truncated·by·diffoscope;·len:·14,·SHA:·e8b7fe751902d446d2a32a3fd931f609c91c72e43f8572e9ecba0fbde7a14cda·...·]</div>150 <div·class="ttc"·id="aa00419_html_gac6a0cf43eb7664581bd8a6954d7ff305"><div·class="ttname"><a·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">Dune::Simd::lanes</a></div><div·class="ttdeci">constexpr·std::size_t·lanes()</div><div·class="ttdoc">Number·of·lanes·in·a[·...·truncated·by·diffoscope;·len:·82,·SHA:·e3b747c8bc1e0925598398f304d44416edd33c07982d969916886a7f4c32e22c·...·]</div>
161 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno">··246</span>·</div>151 <div·class="ttc"·id="aa00419_html_gaca5433c99a350b973623f94491e43a86"><div·class="ttname"><a·href="a00419.html#gaca5433c99a350b973623f94491e43a86">Dune::Simd::lane</a></div><div·class="ttdeci">decltype(auto)·lane(std::size_t·l,·V·&amp;&amp;v)</div><div·class="ttdoc">E[·...·truncated·by·diffoscope;·len:·104,·SHA:·cf9c10e0f2925e2661e314b8f525959785e0f3cf2f3057bc815914535e2cfe8b·...·]</div>
162 <div·class="line"><a·id="l00250"·name="l00250"></a><span·class="lineno">··250</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02236.html#aec082eb9f2fa728a4e66af2165dee854">RemoteIndices::LocalIndex</a>·<a·class="code·hl_class"·href="a02156.html">LocalIndex</a>;</div> 
163 <div·class="line"><a·id="l00251"·name="l00251"></a><span·class="lineno">··251</span>·</div> 
164 <div·class="line"><a·id="l00255"·name="l00255"></a><span·class="lineno">··255</span>····DatatypeCommunicator();</div> 
165 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>·</div> 
Max diff block lines reached; 14290/187293 bytes (7.63%) of diff not shown.
40.6 KB
html2text {}
    
Offset 4, 1208 lines modifiedOffset 4, 122 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 communicator.hh7 ····*·simd
 8 io.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 13 ·3#ifndef·DUNE_COMMON_SIMD_IO_HH
 14 ·4#define·DUNE_COMMON_SIMD_IO_HH
 15 ·5
15 ·5#ifndef·DUNE_COMMUNICATOR 
16 ·6#define·DUNE_COMMUNICATOR 
17 ·7 
18 ·8#if·HAVE_MPI 
19 ·9 
20 ·10#include·<cassert> 
21 ·11#include·<cstddef> 
22 ·12#include·<iostream>16 ·16#include·<ios>
23 ·13#include·<map> 
24 ·14#include·<type_traits>17 ·17#include·<type_traits>
25 ·15#include·<utility> 
26 ·16 
27 ·17#include·<mpi.h> 
Diff chunk too large, falling back to line-by-line diff (87 lines added, 1039 lines removed)
28 ·1818 ·18
29 ·19#include·<dune/common/exceptions.hh>19 ·19#include·<dune/common/rangeutilities.hh>
30 ·20#include·<dune/common/parallel/interface.hh>20 ·20#include·<dune/common/simd/simd.hh>
31 ·21#include·<dune/common/parallel/remoteindices.hh>21 ·21#include·<dune/common/typetraits.hh>
32 ·22#include·<dune/common/stdstreams.hh>22 ·22
33 ·2323 ·23namespace·Dune·{
34 ·24namespace·Dune24 ·24
35 ·25{25 25·namespace·SimdImpl·{
36 109·struct·SizeOne26 ·26
37 ·110·{};27 ·27·template<class·T>
38 ·11128 28·class·Inserter·{
39 117·struct·VariableSize29 ·29·T·value_;
40 ·118·{};30 ·30
41 ·11931 ·31·public:
42 ·12032 32·Inserter(const·T·&value)·:·value_(value)·{}
43 ·126·template<class·V>33 ·33
44 127·struct·CommPolicy34 ·34·template<class·Stream,
45 ·128·{35 ·35·class·=·std::enable_if_t<std::is_base_of<std::ios_base,
46 140·typedef·V·Type;36 ·36·Stream>::value>·>
47 ·14137 37·friend·Stream&·operator<<(Stream·&out,·const·Inserter·&ins)
48 147·typedef·typename·V::value_type·IndexedType;38 ·38·{
49 ·14839 ·39·const·char·*sep·=·"<";
50 153·typedef·SizeOne·IndexedTypeFlag;40 ·40·for(auto·l·:·range(Simd::lanes(ins.value_)))
51 ·15441 ·41·{
52 163·static·const·void*·getAddress(const·V&·v,·int·index);42 ·42·out·<<·sep·<<·autoCopy(Simd::lane(l,·ins.value_));
53 ·16443 ·43·sep·=·",·";
54 170·static·int·getSize(const·V&,·int·index);44 ·44·}
55 ·171·};45 ·45·out·<<·'>';
56 ·17246 ·46·return·out;
57 173·template<class·K,·int·n>·class·FieldVector;47 ·47·}
58 ·17448 ·48·};
59 175·template<class·B,·class·A>·class·VariableBlockVector;49 ·49
60 ·17650 ·50·template<class·V,·class·=·std::enable_if_t<Simd::lanes<V>()·!=·1>·>
61 ·177·template<class·K,·class·A,·int·n>51 51·Inserter<V>·io(const·V·&v)
62 178·struct·CommPolicy<VariableBlockVector<FieldVector<K,·n>,·A>·>52 ·52·{
63 ·179·{53 ·53·return·{·v·};
64 180·typedef·VariableBlockVector<FieldVector<K,_n>,·A>·Type;54 ·54·}
65 ·18155 ·55
66 182·typedef·typename·Type::B·IndexedType;56 ·56·template<class·V,·class·=·std::enable_if_t<Simd::lanes<V>()·==·1>·>
67 ·18357 57·Simd::Scalar<V>·io(const·V·&v)
68 184·typedef·VariableSize·IndexedTypeFlag;58 ·58·{
69 ·18559 ·59·return·Simd::lane(0,·v);
70 186·static·const·void*·getAddress(const·Type&·v,·int·i);60 ·60·}
71 ·18761 ·61
72 188·static·int·getSize(const·Type&·v,·int·i);62 ·62·}
73 ·189·};63 ·63
74 ·19064 ·64·namespace·Simd·{
75 194·class·CommunicationError·:·public·IOError65 ·65
76 ·195·{};66 ·82
77 ·19667 ·89·template<class·V>
78 ·200·template<class·T>68 90·auto·vio(const·V·&v)
79 201·struct·CopyGatherScatter69 ·91·{
80 ·202·{70 ·92·return·SimdImpl::Inserter<V>{·v·};
81 203·typedef·typename·CommPolicy<T>::IndexedType·IndexedType;71 ·93·}
82 ·20472 ·94
83 205·static·const·IndexedType&·gather(const·T&·vec,·std::size_t·i);73 ·96
84 ·20674 ·105·template<class·V>
85 207·static·void·scatter(T&·vec,·const·IndexedType&·v,·std::size_t·i);75 106·auto·io(const·V·&v)
86 ·20876 ·107·{
87 ·209·};77 ·108·return·SimdImpl::io(v);
88 ·21078 ·109·}
89 ·222·template<typename·T>79 ·110
90 ·223·class·DatatypeCommunicator·:·public·InterfaceBuilder80 ·112
91 ·224·{81 ·114
92 ·225·public:82 ·115·}·//·namespace·Simd
93 ·22683 ·116}·//·namespace·Dune
94 ·230·typedef·T·ParallelIndexSet;84 ·117
95 ·23185 ·118#endif·//·DUNE_COMMON_SIMD_IO_HH
96 ·235·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices;86 typetraits.hh
97 ·23687 Traits·for·type·conversions·and·type·information.
98 ·240·typedef·typename·RemoteIndices::GlobalIndex·GlobalIndex;88 rangeutilities.hh
99 ·24189 Utilities·for·reduction·like·operations·on·ranges.
100 ·245·typedef·typename·RemoteIndices::Attribute·Attribute;90 Dune::range
101 ·24691 static·StaticIntegralRange<·T,·to,·from·>·range(std::integral_constant<·T,·from
102 ·250·typedef·typename·RemoteIndices::LocalIndex·LocalIndex;92 >,·std::integral_constant<·T,·to·>)·noexcept
103 ·25193 Definition:·rangeutilities.hh:300
104 ·255·DatatypeCommunicator();94 Dune::autoCopy
105 ·25695 constexpr·AutonomousValue<·T·>·autoCopy(T·&&v)
106 ·260·~DatatypeCommunicator();96 Autonomous·copy·of·an·expression's·value·for·use·in·auto·type·deduction.
107 ·26197 Definition:·typetraits.hh:642
108 ·288·template<class·T1,·class·T2,·class·V>98 Dune::Simd::lanes
109 ·289·void·build(const·RemoteIndices&·remoteIndices,·const·T1&·sourceFlags,·V&99 constexpr·std::size_t·lanes()
110 sendData,·const·T2&·destFlags,·V&·receiveData);100 Number·of·lanes·in·a·SIMD·type.
111 ·290101 Definition:·simd/interface.hh:305
112 ·294·void·forward();102 Dune::Simd::lane
113 ·295103 decltype(auto)·lane(std::size_t·l,·V·&&v)
114 ·299·void·backward();104 Extract·an·element·of·a·SIMD·type.
115 ·300105 Definition:·simd/interface.hh:324
116 ·304·void·free(); 
117 ·305·private: 
118 ·309·constexpr·static·int·commTag_·=·234; 
119 ·310 
120 ·314·const·RemoteIndices*·remoteIndices_; 
121 ·315 
Max diff block lines reached; 5689/41566 bytes (13.69%) of diff not shown.
19.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00059.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·variablesizecommunicator.hh·File·Reference</title>8 <title>dune-common:·simd.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 79 lines modifiedOffset 58, 101 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">variablesizecommunicator.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416[·...·truncated·by·diffoscope;·len:·66,·SHA:·30178de73741b65234596b16ccec7e428aa6eafc903ab5b47d7c0883d915ebe5·...·]71 <a·href="#typedef-members">Typedefs</a>·&#124;
 72 <a·href="#func-members">Functions</a>··</div>
 73 ··<div·class="headertitle"><div·class="title">simd.hh·File·Reference</div></div>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
  
74 <p>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.··76 <p>Abstractions·for·support·of·dedicated·SIMD·data·types.··
75 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
77 <code>#include·&lt;cassert&gt;</code><br·/> 
78 <code>#include·&lt;cstddef&gt;</code><br·/>79 <code>#include·&lt;cstddef&gt;</code><br·/>
79 <code>#include·&lt;functional&gt;</code><br·/> 
80 <code>#include·&lt;map&gt;</code><br·/>80 <code>#include·&lt;type_traits&gt;</code><br·/>
81 <code>#include·&lt;memory&gt;</code><br·/> 
82 <code>#include·&lt;utility&gt;</code><br·/>81 <code>#include·&lt;utility&gt;</code><br·/>
83 <code>#include·&lt;vector&gt;</code><br·/> 
84 <code>#include·&lt;mpi.h&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/conditional.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/concept.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00047_source.html">dune/common/vc.hh</a>&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/> 
88 </div>87 </div>
89 <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00059_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">89 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
92 Classes</h2></td></tr>91 Classes</h2></td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02276.html">Dune::Concept::HasFixedSize</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02592.html">Dune::SimdScalarTypeTraits&lt;·T·&gt;</a></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02288.html">Dune::VariableSizeCommunicator&lt;·Allocator·&gt;</a></td></tr>94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02596.html">Dune::SimdScalarTypeTraits&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr>
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to·be·known·a·priori.··<a·href="a02288.html#details">More...</a><br·/></td></tr>95 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">deduce·the·underlying·scalar·data·type·of·an·AlignedNumber··<a·href="a02596.html#details">More...</a><br·/></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02600.html">Dune::SimdIndexTypeTraits&lt;·V,·typename·&gt;</a></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02604.html">Dune::SimdMaskTypeTraits&lt;·V,·typename·&gt;</a></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
100 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
101 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>104 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
102 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>105 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a00427"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00427.html">Dune::Concept</a></td></tr> 
105 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></td></tr>107 </table><table·class="memberdecls">
 108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 109 Typedefs</h2></td></tr>
 110 <tr·class="memitem:a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 111 <tr·class="memitem:a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a7cab87dc8a3eff4191a99a1084d7b28e">Dune::SimdScalar</a>·=·typename·SimdScalarTypeTraits&lt;·T·&gt;::type</td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a3c668a396cf5cd88bb7da3225787959a"><td·class="memTemplParams"·colspan="2">template&lt;typename·V·&gt;·</td></tr>
 114 <tr·class="memitem:a3c668a396cf5cd88bb7da3225787959a"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a3c668a396cf5cd88bb7da3225787959a">Dune::SimdIndex</a>·=·typename·SimdIndexTypeTraits&lt;·V·&gt;::type</td></tr>
 115 <tr·class="memdesc:a3c668a396cf5cd88bb7da3225787959a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·simd·vector·of·indices·corresponding·to·a·simd·vector·V.··<a·href="a00425.html#a3c668a396cf5cd88bb7da3225787959a">More...</a><br·/></td></tr>
 116 <tr·class="separator:a3c668a396cf5cd88bb7da3225787959a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:a846fa7e0d4cf9e70b148592224eb360f"><td·class="memTemplParams"·colspan="2">template&lt;typename·V·&gt;·</td></tr>
 118 <tr·class="memitem:a846fa7e0d4cf9e70b148592224eb360f"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a846fa7e0d4cf9e70b148592224eb360f">Dune::SimdMask</a>·=·typename·SimdMaskTypeTraits&lt;·V·&gt;::type</td></tr>
 119 <tr·class="memdesc:a846fa7e0d4cf9e70b148592224eb360f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simd·vector·of·truth·values·corresponding·to·a·simd·vector·V.··<a·href="a00425.html#a846fa7e0d4cf9e70b148592224eb360f">More...</a><br·/></td></tr>
 120 <tr·class="separator:a846fa7e0d4cf9e70b148592224eb360f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 </table><table·class="memberdecls">
 122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 123 Functions</h2></td></tr>
 124 <tr·class="memitem:afc2c37fe2704917536f5263272d0a7e2"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 125 <tr·class="memitem:afc2c37fe2704917536f5263272d0a7e2"><td·class="memTemplItemLeft"·align="right"·valign="top">std::size_t&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#afc2c37fe2704917536f5263272d0a7e2">Dune::lanes</a>·(const·T·&amp;)</td></tr>
 126 <tr·class="memdesc:afc2c37fe2704917536f5263272d0a7e2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·number·of·lanes·of·a·simd·vector·(scalar·version)··<a·href="a00425.html#afc2c37fe2704917536f5263272d0a7e2">More...</a><br·/></td></tr>
 127 <tr·class="separator:afc2c37fe2704917536f5263272d0a7e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:a87be73bb4b219361645afcce2eb5b7a4"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 129 <tr·class="memitem:a87be73bb4b219361645afcce2eb5b7a4"><td·class="memTemplItemLeft"·align="right"·valign="top">T&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a87be73bb4b219361645afcce2eb5b7a4">Dune::lane</a>·(std::size_t·l,·const·T·&amp;v)</td></tr>
 130 <tr·class="memdesc:a87be73bb4b219361645afcce2eb5b7a4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·a·lane·of·a·simd·vector·(scalar·version)··<a·href="a00425.html#a87be73bb4b219361645afcce2eb5b7a4">More...</a><br·/></td></tr>
 131 <tr·class="separator:a87be73bb4b219361645afcce2eb5b7a4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 133 <tr·class="memitem:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memTemplItemLeft"·align="right"·valign="top">T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5">Dune::lane</a>·(std::size_t·l,·T·&amp;v)</td></tr>
 134 <tr·class="memdesc:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·a·lane·of·a·simd·vector·(scalar·version)··<a·href="a00425.html#ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5">More...</a><br·/></td></tr>
 135 <tr·class="separator:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:a90c073df341c13a4da1c1522c60af0c3"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 137 <tr·class="memitem:a90c073df341c13a4da1c1522c60af0c3"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a90c073df341c13a4da1c1522c60af0c3">Dune::assign</a>·(T·&amp;dst,·const·T·&amp;src,·bool·mask)</td></tr>
 138 <tr·class="memdesc:a90c073df341c13a4da1c1522c60af0c3"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">masked·<a·class="el"·href="a00429.html"·title="Namespace·for·vectorization·interface·functions·used·by·library·developers.">Simd</a>·assignment·(scalar·version)··<a·href="a00425.html#a90c073df341c13a4da1c1522c60af0c3">More...</a><br·/></td></tr>
 139 <tr·class="separator:a90c073df341c13a4da1c1522c60af0c3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 140 <tr·class="memitem:a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 141 <tr·class="memitem:a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a8cc9a46e5ec32e3b68c3071cf1a25361">Dune::swap</a>·(T·&amp;v1,·T·&amp;v2,·bool·mask)</td></tr>
 142 <tr·class="separator:a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table>143 </table>
108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>144 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 145 <div·class="textblock"><p·>Abstractions·for·support·of·dedicated·SIMD·data·types.·</p>
 146 <p·>Libraries·like·Vc·(<a·href="https://github.com/VcDevel/Vc">https://github.com/VcDevel/Vc</a>)·add·high-level·data·types·for·SIMD·(or·vectorization)·support·in·C++.·Most·of·these·operations·mimic·the·behavior·of·a·numerical·data·type.·Some·boolean·operations·can·not·be·implemented·in·a·compatible·way·to·trivial·data·types.</p>
 147 <p·>This·header·contains·additional·abstractions·to·help·writing·code·that·works·with·trivial·numerical·data·types·(like·double)·and·Vc·vectorization·data·types.</p>
 148 <p·>See·also·the·<a·class="el"·href="a00191.html">conditional.hh</a>·and·range_utils.hh·headers.</p>
 149 <dl·class="deprecated"><dt><b><a·class="el"·href="a00396.html#_deprecated000007">Deprecated:</a></b></dt><dd>Use·the·newer·simd·architecture·from·<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>·instead.·</dd></dl>
109 <div·class="textblock"><p·>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·</p> 
110 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
111 </div><h2·class="groupheader">Variable·Documentation</h2> 
112 <a·id="ab8808b7c88a6c9013967559c8eae5e8c"·name="ab8808b7c88a6c9013967559c8eae5e8c"></a> 
113 <h2·class="memtitle"><span·class="permalink"><a·href="#ab8808b7c88a6c9013967559c8eae5e8c">&#9670;&nbsp;</a></span>fixedSize</h2> 
  
114 <div·class="memitem"> 
115 <div·class="memproto"> 
116 ······<table·class="memname"> 
117 ········<tr> 
Max diff block lines reached; 243/15933 bytes (1.53%) of diff not shown.
3.74 KB
html2text {}
    
Offset 4, 52 lines modifiedOffset 4, 81 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Typedefs·|·Functions
 8 simd.hh·File·Reference
 9 Abstractions·for·support·of·dedicated·SIMD·data·types.·More...
7 ····*·parallel 
8 Classes·|·Namespaces 
9 variablesizecommunicator.hh·File·Reference 
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the 
12 sender·side.·More... 
13 #include·<algorithm> 
14 #include·<cassert>10 #include·<cassert>
15 #include·<cstddef>11 #include·<cstddef>
 12 #include·<type_traits>
16 #include·<functional> 
17 #include·<map> 
18 #include·<memory> 
19 #include·<utility>13 #include·<utility>
20 #include·<vector> 
21 #include·<mpi.h>14 #include·<dune/common/conditional.hh>
 15 #include·<dune/common/debugalign.hh>
 16 #include·<dune/common/rangeutilities.hh>
 17 #include·<dune/common/typetraits.hh>
22 #include·<dune/common/concept.hh>18 #include·<dune/common/vc.hh>
23 #include·<dune/common/parallel/interface.hh> 
24 #include·<dune/common/parallel/mpitraits.hh> 
25 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
26 ·Classes20 ·Classes
27 struct· Dune::Concept::HasFixedSize21 struct· Dune::SimdScalarTypeTraits<_T_>
28  22  
29 ·class· Dune::VariableSizeCommunicator<_Allocator_> 
30  ·······A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to 
31 ·········be·known·a·priori.·More...23 struct· Dune::SimdScalarTypeTraits<_AlignedNumber<_T,_align_>_>
 24  ·······deduce·the·underlying·scalar·data·type·of·an·AlignedNumber·More...
 25  
 26 struct· Dune::SimdIndexTypeTraits<_V,_typename_>
 27  
 28 struct· Dune::SimdMaskTypeTraits<_V,_typename_>
32  29  
33 ·Namespaces30 ·Namespaces
34 namespace· Dune31 namespace· Dune
35  ··········Dune·namespace.32  ··········Dune·namespace.
36  33  
37 namespace· Dune::Concept 
38  ··········Namespace·for·concepts.34 ·Typedefs
 35 template<typename·T·>
 36 using Dune::SimdScalar·=·typename·SimdScalarTypeTraits<·T·>::type
 37  
 38 template<typename·V·>
 39 using Dune::SimdIndex·=·typename·SimdIndexTypeTraits<·V·>::type
 40  ·····An·simd·vector·of·indices·corresponding·to·a·simd·vector·V.·More...
 41  
 42 template<typename·V·>
 43 using Dune::SimdMask·=·typename·SimdMaskTypeTraits<·V·>::type
 44  ·····A·simd·vector·of·truth·values·corresponding·to·a·simd·vector·V.·More...
 45  
 46 ·Functions
 47 template<class·T·>
 48 std::size_t Dune::lanes·(const·T·&)
 49  ···········get·the·number·of·lanes·of·a·simd·vector·(scalar·version)·More...
 50  
 51 template<class·T·>
 52 ··········T Dune::lane·(std::size_t·l,·const·T·&v)
 53  ···········access·a·lane·of·a·simd·vector·(scalar·version)·More...
 54  
 55 template<class·T·>
 56 ········T·& Dune::lane·(std::size_t·l,·T·&v)
 57  ···········access·a·lane·of·a·simd·vector·(scalar·version)·More...
 58  
 59 template<class·T·>
 60 ·······void Dune::assign·(T·&dst,·const·T·&src,·bool·mask)
 61  ···········masked·Simd·assignment·(scalar·version)·More...
 62  
 63 template<class·T·>
 64 ·······void Dune::swap·(T·&v1,·T·&v2,·bool·mask)
39  65  
40 *****·Detailed·Description·*****66 *****·Detailed·Description·*****
41 A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the 
42 sender·side. 
43 ··Author 
44 ······Markus·Blatt 
45 *****·Variable·Documentation·***** 
46 *****·◆ fixedSize·***** 
47 std::size_t·fixedSize 
48 The·number·of·data·items·per·index·if·it·is·fixed,·0·otherwise.67 Abstractions·for·support·of·dedicated·SIMD·data·types.
 68 Libraries·like·Vc·(https://github.com/VcDevel/Vc)·add·high-level·data·types·for
 69 SIMD·(or·vectorization)·support·in·C++.·Most·of·these·operations·mimic·the
 70 behavior·of·a·numerical·data·type.·Some·boolean·operations·can·not·be
 71 implemented·in·a·compatible·way·to·trivial·data·types.
 72 This·header·contains·additional·abstractions·to·help·writing·code·that·works
 73 with·trivial·numerical·data·types·(like·double)·and·Vc·vectorization·data
 74 types.
 75 See·also·the·conditional.hh·and·range_utils.hh·headers.
 76 ··Deprecated:
 77 ······Use·the·newer·simd·architecture·from·dune/common/simd/simd.hh·instead.
  
49 ===============================================================================78 ===============================================================================
50 ·····Generated·by [doxygen]·1.9.479 ·····Generated·by [doxygen]·1.9.4
260 KB
./usr/share/doc/libdune-common-doc/doxygen/a00059_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·variablesizecommunicator.hh·Source·File</title>8 <title>dune-common:·simd.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 893 lines modifiedOffset 58, 507 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">variablesizecommunicator.hh</div></div>68 ··<div·class="headertitle"><div·class="title">simd.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00059.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH·</span><span·class="comment">//·Still·fits·the·line!</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#warning·dune/common/simd.hh·is·deprecated.</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#warning·Use·the·new·infrastructure·from·dune/common/simd/simd.h·instead.</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>79 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>80 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>81 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00155.html">dune/common/concept.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04442.html">dune/common/parallel/interface.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00029.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
96 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
97 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div> 
98 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>83 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 84 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/conditional.hh</a>&gt;</span></div>
 85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/debugalign.hh</a>&gt;</span></div>
 86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
 87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#if·HAVE_VC</span></div>
 88 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//·include·Vc·part·of·new·simd·interface·to·provide·compatibility·for</span></div>
 89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//·functionality·that·has·been·switched·over.</span></div>
 90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04451.html">dune/common/simd/vc.hh</a>&gt;</span></div>
99 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Concept·{</div>91 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#endif</span></div>
 92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00047.html">dune/common/vc.hh</a>&gt;</span></div>
100 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
101 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02276.html">···43</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02276.html">HasFixedSize</a>·{</div> 
102 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02276.html#a9acffceab715728d980beae9cbbe8634">···44</a></span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·H&gt;·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a02276.html#a9acffceab715728d980beae9cbbe8634">require</a>(H·&amp;&amp;h)·-&gt;·<span·class="keyword">decltype</span>(h.fixedSize());</div> 
103 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div>94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
104 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div>
105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·namespace·Concept</span></div> 
106 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>97 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·HAVE_VC</span></div>
107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span>Impl·{</div>99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">namespace·</span>VcImpl·{</div>
108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>100 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·H,</div>101 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··········std::enable_if_t&lt;models&lt;Concept::HasFixedSize,·H&gt;(),·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div> 
111 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·callFixedSize(H·&amp;&amp;handle)·{</div> 
112 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordflow">return</span>·handle.fixedSize();</div>102 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">class·</span>Proxy</div>
113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</div>103 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{</div>
 104 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">static_assert</span>(std::is_same&lt;V,·std::decay_t&lt;V&gt;·&gt;::value,·<span·class="stringliteral">&quot;Class·Proxy·&quot;</span></div>
 105 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····················<span·class="stringliteral">&quot;may·only·be·instantiated·with·unqualified·types&quot;</span>);</div>
 106 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">public</span>:</div>
 107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">using·</span>value_type·=·<span·class="keyword">typename</span>·V::value_type;</div>
114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">private</span>:</div>
 110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">static_assert</span>(std::is_arithmetic&lt;value_type&gt;::value,</div>
 111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····················<span·class="stringliteral">&quot;Only·arithmetic·types·are·supported&quot;</span>);</div>
 112 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······V·&amp;vec_;</div>
 113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······std::size_t·idx_;</div>
 114 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>}·<span·class="comment">//·namespace·Impl</span></div>115 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">public</span>:</div>
 116 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······Proxy(std::size_t·idx,·V·&amp;vec)</div>
 117 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········:·vec_(vec),·idx_(idx)</div>
 118 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······{·}</div>
 119 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 120 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keyword">operator</span>·value_type()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·vec_[idx_];·}</div>
116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>121 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">namespace</span></div> 
118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>{</div> 
119 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·Allocator=std::allocator&lt;T&gt;·&gt;</div> 
120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">class·</span>MessageBuffer</div> 
121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{</div> 
122 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">public</span>:</div>122 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="comment">//·postfix·operators</span></div>
123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">explicit</span>·MessageBuffer(<span·class="keywordtype">int</span>·size)</div> 
124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····:·buffer_(new·T[size]),·size_(size),·position_(0)</div> 
125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{}</div> 
126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">explicit</span>·MessageBuffer(<span·class="keyword">const</span>·MessageBuffer&amp;·o)</div> 
127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··:·buffer_(new·T[o.size_]),·size_(o.size_),·position_(o.position_)</div> 
128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div> 
129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div>123 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
130 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··~MessageBuffer()</div> 
131 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> 
132 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">delete</span>[]·buffer_;</div> 
133 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> 
134 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keywordtype">void</span>·write(<span·class="keyword">const</span>·T&amp;·data)</div>124 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div>
135 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div> 
136 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····buffer_[position_++]=data;</div> 
137 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}</div>125 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>···············<span·class="keyword">class·</span>=·std::enable_if_t&lt;!std::is_same&lt;T,·bool&gt;::value&gt;·&gt;</div>
 126 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······value_type·operator++(<span·class="keywordtype">int</span>)·{·<span·class="keywordflow">return</span>·vec_[idx_]++;·}</div>
 127 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div>
Max diff block lines reached; 172799/219066 bytes (78.88%) of diff not shown.
46.3 KB
html2text {}
    
Offset 4, 1008 lines modifiedOffset 4, 556 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 simd.hh
7 ····*·parallel 
8 variablesizecommunicator.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root10 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 12 ·3#ifndef·DUNE_COMMON_SIMD_HH
 13 ·4#define·DUNE_COMMON_SIMD_HH
 14 ·5
 15 ·6#warning·dune/common/simd.hh·is·deprecated.
 16 ·7#warning·Use·the·new·infrastructure·from·dune/common/simd/simd.h·instead.
 17 ·8
15 ·5#ifndef·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH·//·Still·fits·the 
16 line! 
17 ·6#define·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH 
18 ·7 
19 ·8#if·HAVE_MPI 
20 ·9 
21 ·10#include·<algorithm> 
22 ·11#include·<cassert>18 ·30#include·<cassert>
23 ·12#include·<cstddef>19 ·31#include·<cstddef>
 20 ·32#include·<type_traits>
24 ·13#include·<functional> 
25 ·14#include·<map> 
26 ·15#include·<memory> 
27 ·16#include·<utility>21 ·33#include·<utility>
 22 ·34
28 ·17#include·<vector> 
29 ·18#include·<algorithm> 
30 ·19 
31 ·20#include·<mpi.h> 
32 ·21 
33 ·22#include·<dune/common/concept.hh>23 ·35#include·<dune/common/conditional.hh>
34 ·23#include·<dune/common/parallel/interface.hh>24 ·36#include·<dune/common/debugalign.hh>
 25 ·37#include·<dune/common/rangeutilities.hh>
 26 ·38#if·HAVE_VC
 27 ·39//·include·Vc·part·of·new·simd·interface·to·provide·compatibility·for
 28 ·40//·functionality·that·has·been·switched·over.
 29 ·41#include·<dune/common/simd/vc.hh>
 30 ·42#endif
35 ·24#include·<dune/common/parallel/mpitraits.hh>31 ·43#include·<dune/common/typetraits.hh>
36 ·2532 ·44#include·<dune/common/vc.hh>
 33 ·45
37 ·38namespace·Dune34 ·46namespace·Dune
 35 ·47{
38 ·39{ 
39 ·40 
40 ·41namespace·Concept·{ 
41 ·42 
42 43struct·HasFixedSize·{ 
43 44·template·<typename·H>·auto·require(H·&&h)·->·decltype(h.fixedSize()); 
44 ·45}; 
45 ·46 
46 ·47}·//·namespace·Concept 
47 ·4836 ·48
 37 ·49#if·HAVE_VC
48 ·49namespace·Impl·{38 ·50·namespace·VcImpl·{
 39 ·52
 40 ·61·template<class·V>
 41 ·62·class·Proxy
 42 ·63·{
 43 ·64·static_assert(std::is_same<V,·std::decay_t<V>·>::value,·"Class·Proxy·"
 44 ·65·"may·only·be·instantiated·with·unqualified·types");
49 ·50 
50 ·51template·<typename·H, 
51 ·52·std::enable_if_t<models<Concept::HasFixedSize,·H>(),·int>·=·0> 
52 ·53constexpr·bool·callFixedSize(H·&&handle)·{ 
53 ·54·return·handle.fixedSize(); 
54 ·55} 
55 ·56 
56 ·57}·//·namespace·Impl 
57 ·58 
58 ·59namespace 
59 ·60{ 
60 ·65template<class·T,·class·Allocator=std::allocator<T>·> 
61 ·66class·MessageBuffer 
62 ·67{ 
63 ·68public:45 ·66·public:
64 ·73·explicit·MessageBuffer(int·size) 
65 ·74·:·buffer_(new·T[size]),·size_(size),·position_(0)46 ·67·using·value_type·=·typename·V::value_type;
 47 ·68
 48 ·69·private:
 49 ·70·static_assert(std::is_arithmetic<value_type>::value,
 50 ·71·"Only·arithmetic·types·are·supported");
 51 ·72·V·&vec_;
 52 ·73·std::size_t·idx_;
 53 ·74
 54 ·75·public:
 55 ·76·Proxy(std::size_t·idx,·V·&vec)
 56 ·77·:·vec_(vec),·idx_(idx)
66 ·75·{}57 ·78·{·}
67 ·80·explicit·MessageBuffer(const·MessageBuffer&·o) 
68 ·81·:·buffer_(new·T[o.size_]),·size_(o.size_),·position_(o.position_) 
69 ·82·{58 ·79
 59 ·80·operator·value_type()·const·{·return·vec_[idx_];·}
 60 ·81
 61 ·82·//·postfix·operators
70 ·83·}62 ·83
71 ·85·~MessageBuffer() 
72 ·86·{ 
73 ·87·delete[]·buffer_; 
74 ·88·} 
75 ·93·void·write(const·T&·data) 
76 ·94·{ 
77 ·95·buffer_[position_++]=data; 
78 ·96·} 
79 ·97 
80 ·102·void·read(T&·data) 
81 ·103·{ 
82 ·104·data=buffer_[position_++]; 
83 ·105·}63 ·84·template<class·T·=·value_type,
 64 ·85·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·>
 65 ·86·value_type·operator++(int)·{·return·vec_[idx_]++;·}
 66 ·87·template<class·T·=·value_type,
 67 ·88·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·>
 68 ·89·value_type·operator--(int)·{·return·vec_[idx_]--;·}
 69 ·90
Max diff block lines reached; 39645/47352 bytes (83.72%) of diff not shown.
28.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00062.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·localindex.hh·File·Reference</title>8 <title>dune-common:·defaults.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 55 lines modifiedOffset 58, 127 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124;69 <a·href="#namespaces">Namespaces</a>··</div>
 70 ··<div·class="headertitle"><div·class="title">defaults.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>
71 <a·href="#enum-members">Enumerations</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">localindex.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div> 
73 </div><!--header-->71 </div><!--header-->
74 <div·class="contents">72 <div·class="contents">
  
75 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.··73 <p>Default·implementations·for·SIMD·Implementations.··
76 <a·href="#details">More...</a></p>74 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 76 <code>#include·&lt;cstddef&gt;</code><br·/>
 77 <code>#include·&lt;type_traits&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
78 </div>83 </div>
79 <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00062_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">85 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
82 Classes</h2></td></tr> 
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02156.html">Dune::LocalIndex</a></td></tr> 
84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·index·present·on·the·local·process.··<a·href="a02156.html#details">More...</a><br·/></td></tr> 
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 </table><table·class="memberdecls"> 
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
88 Namespaces</h2></td></tr>87 Namespaces</h2></td></tr>
89 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
90 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>
 92 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
 93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr>
 95 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">97 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
94 Enumerations</h2></td></tr>99 Functions</h2></td></tr>
95 <tr·class="memitem:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">Dune::LocalIndexState</a>·{·<a·class="el"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">Dune::VALID</a> 
96 ,·<a·class="el"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">Dune::DELETED</a> 
97 ·}</td></tr> 
98 <tr·class="memdesc:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·states·available·for·the·local·indices.··<a·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">More...</a><br·/></td></tr>100 <tr><td·colspan="2"><div·class="groupHeader">Overloadable·and·default·functions</div></td></tr>
 101 <tr><td·colspan="2"><div·class="groupText"><p·>This·group·contains·functions·that·you,·as·an·abstraction·developer,·must·implement.·All·functions·that·are·deleted·must·be·provided,·functions·that·have·a·default·implementation·may·be·left·unimplemented·if·the·default·behaviour·is·satisfactory.·</p>
 102 </div></td></tr>
 103 <tr·class="memitem:ga172c6bee6a07fdaf412ca0771084d117"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 104 <tr·class="memitem:ga172c6bee6a07fdaf412ca0771084d117"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga172c6bee6a07fdaf412ca0771084d117">Dune::Simd::Overloads::lane</a>·(ADLTag&lt;·0·&gt;,·std::size_t·l,·V·v)=delete</td></tr>
 105 <tr·class="memdesc:ga172c6bee6a07fdaf412ca0771084d117"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaca5433c99a350b973623f94491e43a86"·title="Extract·an·element·of·a·SIMD·type.">Simd::lane()</a>··<a·href="a00420.html#ga172c6bee6a07fdaf412ca0771084d117">More...</a><br·/></td></tr>
 106 <tr·class="separator:ga172c6bee6a07fdaf412ca0771084d117"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 <tr·class="memitem:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 108 <tr·class="memitem:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">Dune::Simd::Overloads::implCast</a>·(ADLTag&lt;·0·&gt;,·MetaType&lt;·V·&gt;,·const·V·&amp;u)</td></tr>
 109 <tr·class="memdesc:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::implCast&lt;V&gt;(V)··<a·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">More...</a><br·/></td></tr>
 110 <tr·class="separator:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·U·&gt;·</td></tr>
 112 <tr·class="memitem:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gaacc1dbc07ddc0fd6b237ca18e213c3be">Dune::Simd::Overloads::implCast</a>·(ADLTag&lt;·0·&gt;,·MetaType&lt;·V·&gt;,·const·U·&amp;u)</td></tr>
 113 <tr·class="memdesc:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::implCast&lt;V&gt;(U)··<a·href="a00420.html#gaacc1dbc07ddc0fd6b237ca18e213c3be">More...</a><br·/></td></tr>
 114 <tr·class="separator:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:gac82cb295f767f7aece888fd9216db1b3"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·S·&gt;·</td></tr>
 116 <tr·class="memitem:gac82cb295f767f7aece888fd9216db1b3"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gac82cb295f767f7aece888fd9216db1b3">Dune::Simd::Overloads::broadcast</a>·(ADLTag&lt;·0·&gt;,·MetaType&lt;·V·&gt;,·S·s)</td></tr>
 117 <tr·class="memdesc:gac82cb295f767f7aece888fd9216db1b3"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f"·title="Broadcast·a·scalar·to·a·vector·explicitly.">Simd::broadcast&lt;V&gt;()</a>··<a·href="a00420.html#gac82cb295f767f7aece888fd9216db1b3">More...</a><br·/></td></tr>
 118 <tr·class="separator:gac82cb295f767f7aece888fd9216db1b3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 120 <tr·class="memitem:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memTemplItemLeft"·align="right"·valign="top">V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gacd3b3b8cae27c30aa73e855afbe904d7">Dune::Simd::Overloads::cond</a>·(ADLTag&lt;·0·&gt;,·const·Mask&lt;·V·&gt;·&amp;mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)=delete</td></tr>
 121 <tr·class="memdesc:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8"·title="Like·the·?:·operator.">Simd::cond()</a>··<a·href="a00420.html#gacd3b3b8cae27c30aa73e855afbe904d7">More...</a><br·/></td></tr>
 122 <tr·class="separator:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:gafb35651a7a1777d932462357552bb90c"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 124 <tr·class="memitem:gafb35651a7a1777d932462357552bb90c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gafb35651a7a1777d932462357552bb90c">Dune::Simd::Overloads::max</a>·(ADLTag&lt;·0·&gt;,·const·V·&amp;v1,·const·V·&amp;v2)</td></tr>
 125 <tr·class="memdesc:gafb35651a7a1777d932462357552bb90c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·binary·<a·class="el"·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f"·title="The·binary·maximum·value·over·two·simd·objects.">Simd::max()</a>··<a·href="a00420.html#gafb35651a7a1777d932462357552bb90c">More...</a><br·/></td></tr>
 126 <tr·class="separator:gafb35651a7a1777d932462357552bb90c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:gab9dde84db30133b70a28c0b89399bc71"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 128 <tr·class="memitem:gab9dde84db30133b70a28c0b89399bc71"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">Dune::Simd::Overloads::min</a>·(ADLTag&lt;·0·&gt;,·const·V·&amp;v1,·const·V·&amp;v2)</td></tr>
 129 <tr·class="memdesc:gab9dde84db30133b70a28c0b89399bc71"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·binary·<a·class="el"·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559"·title="The·binary·minimum·value·over·two·simd·objects.">Simd::min()</a>··<a·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">More...</a><br·/></td></tr>
 130 <tr·class="separator:gab9dde84db30133b70a28c0b89399bc71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>
 132 <tr·class="memitem:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gae87036ad8322cb0064cdd3bfad16ca69">Dune::Simd::Overloads::anyTrue</a>·(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)=delete</td></tr>
 133 <tr·class="memdesc:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4"·title="Whether·any·entry·is·true">Simd::anyTrue()</a>··<a·href="a00420.html#gae87036ad8322cb0064cdd3bfad16ca69">More...</a><br·/></td></tr>
 134 <tr·class="separator:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>
 136 <tr·class="memitem:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">Dune::Simd::Overloads::allTrue</a>·(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</td></tr>
 137 <tr·class="memdesc:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24"·title="Whether·all·entries·are·true">Simd::allTrue()</a>··<a·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">More...</a><br·/></td></tr>
 138 <tr·class="separator:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:gaa272813526339482ae077b1a0e52a01e"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>
 140 <tr·class="memitem:gaa272813526339482ae077b1a0e52a01e"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gaa272813526339482ae077b1a0e52a01e">Dune::Simd::Overloads::anyFalse</a>·(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</td></tr>
 141 <tr·class="memdesc:gaa272813526339482ae077b1a0e52a01e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaaee5c9c3caa23996397af767ca52845e"·title="Whether·any·entry·is·false">Simd::anyFalse()</a>··<a·href="a00420.html#gaa272813526339482ae077b1a0e52a01e">More...</a><br·/></td></tr>
99 <tr·class="separator:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="memSeparator"·colspan="2">&#160;</td></tr>142 <tr·class="separator:gaa272813526339482ae077b1a0e52a01e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:ga537e92d4cfd4637707852c7f93c73c74"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>
 144 <tr·class="memitem:ga537e92d4cfd4637707852c7f93c73c74"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga537e92d4cfd4637707852c7f93c73c74">Dune::Simd::Overloads::allFalse</a>·(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</td></tr>
 145 <tr·class="memdesc:ga537e92d4cfd4637707852c7f93c73c74"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaf404687904c5a04c3ab453b9b19c1562"·title="Whether·all·entries·are·false">Simd::allFalse()</a>··<a·href="a00420.html#ga537e92d4cfd4637707852c7f93c73c74">More...</a><br·/></td></tr>
 146 <tr·class="separator:ga537e92d4cfd4637707852c7f93c73c74"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 148 <tr·class="memitem:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga6be36412c4ee50b1e5023f43e85a53ec">Dune::Simd::Overloads::max</a>·(ADLTag&lt;·0·&gt;,·const·V·&amp;v)</td></tr>
 149 <tr·class="memdesc:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::maxValue()··<a·href="a00420.html#ga6be36412c4ee50b1e5023f43e85a53ec">More...</a><br·/></td></tr>
 150 <tr·class="separator:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 151 <tr·class="memitem:ga45f575aad94606a1a2afa3698abcee72"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 152 <tr·class="memitem:ga45f575aad94606a1a2afa3698abcee72"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga45f575aad94606a1a2afa3698abcee72">Dune::Simd::Overloads::min</a>·(ADLTag&lt;·0·&gt;,·const·V·&amp;v)</td></tr>
 153 <tr·class="memdesc:ga45f575aad94606a1a2afa3698abcee72"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::minValue()··<a·href="a00420.html#ga45f575aad94606a1a2afa3698abcee72">More...</a><br·/></td></tr>
 154 <tr·class="separator:ga45f575aad94606a1a2afa3698abcee72"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 1018/23844 bytes (4.27%) of diff not shown.
5.11 KB
html2text {}
    
Offset 4, 33 lines modifiedOffset 4, 128 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 Classes·|·Namespaces·|·Enumerations 
9 localindex.hh·File·Reference 
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·More...7 ····*·simd
 8 Namespaces
 9 defaults.hh·File·Reference
 10 Common·»·Vectorization·»·Abstraction_Developer's_Interface
 11 Default·implementations·for·SIMD·Implementations.·More...
 12 #include·<algorithm>
12 #include·<cstddef>13 #include·<cstddef>
 14 #include·<type_traits>
 15 #include·<dune/common/rangeutilities.hh>
 16 #include·<dune/common/simd/base.hh>
 17 #include·<dune/common/simd/interface.hh>
 18 #include·<dune/common/typelist.hh>
 19 #include·<dune/common/typetraits.hh>
13 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
14 ·Classes 
15 class· Dune::LocalIndex 
16  ······An·index·present·on·the·local·process.·More... 
17   
18 ·Namespaces21 ·Namespaces
19 namespace· Dune22 namespace· Dune
20  ··········Dune·namespace.23  ··········Dune·namespace.
21  24  
22 ·Enumerations 
23 enum· Dune::LocalIndexState·{·Dune::VALID·,·Dune::DELETED·} 
24  ·····The·states·available·for·the·local·indices.·More...25 namespace· Dune::Simd
 26  ··········Namespace·for·vectorization·interface·functions·used·by·library
 27 ············developers.
 28  
 29 namespace· Dune::Simd::Overloads
 30  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 31 ············implementation.
 32  
 33 ·Functions
 34 Overloadable·and·default·functions
 35 This·group·contains·functions·that·you,·as·an·abstraction·developer,·must
 36 implement.·All·functions·that·are·deleted·must·be·provided,·functions·that·have
 37 a·default·implementation·may·be·left·unimplemented·if·the·default·behaviour·is
 38 satisfactory.
 39 template<class·V·>
 40 decltype(auto) Dune::Simd::Overloads::lane·(ADLTag<·0·>,·std::size_t·l,·V
 41 ················v)=delete
 42  ··············implements·Simd::lane()·More...
 43  
 44 template<class·V·>
 45 ···constexpr·V Dune::Simd::Overloads::implCast·(ADLTag<·0·>,·MetaType<·V·>,
 46 ················const·V·&u)
 47  ··············implements·Simd::implCast<V>(V)·More...
 48  
 49 template<class·V·,·class·U·>
 50 ···constexpr·V Dune::Simd::Overloads::implCast·(ADLTag<·0·>,·MetaType<·V·>,
 51 ················const·U·&u)
 52  ··············implements·Simd::implCast<V>(U)·More...
 53  
 54 template<class·V·,·class·S·>
 55 ··········auto Dune::Simd::Overloads::broadcast·(ADLTag<·0·>,·MetaType<·V·>,·S
 56 ················s)
 57  ··············implements·Simd::broadcast<V>()·More...
 58  
 59 template<class·V·>
 60 ·············V Dune::Simd::Overloads::cond·(ADLTag<·0·>,·const·Mask<·V·>
 61 ················&mask,·const·V·&ifTrue,·const·V·&ifFalse)=delete
 62  ··············implements·Simd::cond()·More...
 63  
 64 template<class·V·>
 65 ··········auto Dune::Simd::Overloads::max·(ADLTag<·0·>,·const·V·&v1,·const·V
 66 ················&v2)
 67  ··············implements·binary·Simd::max()·More...
 68  
 69 template<class·V·>
 70 ··········auto Dune::Simd::Overloads::min·(ADLTag<·0·>,·const·V·&v1,·const·V
 71 ················&v2)
 72  ··············implements·binary·Simd::min()·More...
 73  
 74 template<class·Mask·>
 75 ··········bool Dune::Simd::Overloads::anyTrue·(ADLTag<·0·>,·const·Mask
 76 ················&mask)=delete
 77  ··············implements·Simd::anyTrue()·More...
 78  
 79 template<class·Mask·>
 80 ··········bool Dune::Simd::Overloads::allTrue·(ADLTag<·0·>,·const·Mask·&mask)
 81  ··············implements·Simd::allTrue()·More...
 82  
 83 template<class·Mask·>
 84 ··········bool Dune::Simd::Overloads::anyFalse·(ADLTag<·0·>,·const·Mask·&mask)
 85  ··············implements·Simd::anyFalse()·More...
 86  
 87 template<class·Mask·>
 88 ··········bool Dune::Simd::Overloads::allFalse·(ADLTag<·0·>,·const·Mask·&mask)
 89  ··············implements·Simd::allFalse()·More...
 90  
 91 template<class·V·>
 92 ··········auto Dune::Simd::Overloads::max·(ADLTag<·0·>,·const·V·&v)
 93  ··············implements·Simd::maxValue()·More...
 94  
 95 template<class·V·>
 96 ··········auto Dune::Simd::Overloads::min·(ADLTag<·0·>,·const·V·&v)
 97  ··············implements·Simd::minValue()·More...
 98  
 99 template<class·V·>
 100 ·····Mask<·V·> Dune::Simd::Overloads::mask·(ADLTag<·0,·std::is_same<·V,·Mask<
 101 ················V·>·>::value·>,·const·V·&v)
 102  ··············implements·Simd::mask()·More...
 103  
 104 template<class·V·>
 105 ··········auto Dune::Simd::Overloads::mask·(ADLTag<·0,·!std::is_same<·V,·Mask<
 106 ················V·>·>::value·>,·const·V·&v)
 107  ··············implements·Simd::mask()·More...
 108  
 109 template<class·V1·,·class·V2·>
 110 ··········auto Dune::Simd::Overloads::maskOr·(ADLTag<·0·>,·const·V1·&v1,·const
 111 ················V2·&v2)
 112  ··············implements·Simd::maskOr()·More...
 113  
 114 template<class·V1·,·class·V2·>
 115 ··········auto Dune::Simd::Overloads::maskAnd·(ADLTag<·0·>,·const·V1·&v1,
 116 ················const·V2·&v2)
Max diff block lines reached; 557/5209 bytes (10.69%) of diff not shown.
64.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00062_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·localindex.hh·Source·File</title>8 <title>dune-common:·defaults.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 101 lines modifiedOffset 58, 190 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">localindex.hh</div></div>68 ··<div·class="headertitle"><div·class="title">defaults.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00062.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00062.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_DEFAULTS_HH</span></div>
 74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_DEFAULTS_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_LOCALINDEX_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_LOCALINDEX_HH</span></div>76 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>77 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 78 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>79 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">···28</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6[·...·truncated·by·diffoscope;·len:·306,·SHA:·3ae6261409efc4a9c217644f510a6da5c1082dfba7b3dde8425bd33cb6b26195·...·]</div>80 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
 81 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00068.html">dune/common/simd/base.hh</a>&gt;</span></div>
 82 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04445.html">dune/common/simd/interface.hh</a>&gt;</span></div>
 83 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00032.html">dune/common/typelist.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
86 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>85 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 86 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 87 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">namespace·</span>Simd·{</div>
 88 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">namespace·</span>Overloads·{</div>
87 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
88 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02156.html">···34</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02156.html">LocalIndex</a></div> 
89 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div> 
90 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>90 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
 91 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00420.html#ga172c6bee6a07fdaf412ca0771084d117">···48</a></span>······<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00430.html#ae0b09f360e2832ce7df95ac0ded0dbcf">lane</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·std::size_t·l,·V·v)·=·<span·class="keyword">delete</span>;</div>
91 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">···41</a></span>····<a·class="code·hl_function"·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">LocalIndex</a>()·:</div> 
92 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······localIndex_(0),·state_(<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">VALID</a>){}</div> 
93 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>92 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
 94 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">···52</a></span>······<span·class="keyword">constexpr</span>·V·<a·class="code·hl_function"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">implCast</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<a·class="code·hl_struct"·href="a03028.html">MetaType&lt;V&gt;</a>,·<span·class="keyword">const</span>·V·&amp;u)</div>
94 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div>
 96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·u;</div>
 97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······}</div>
95 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02156.html#a320964a5a6fa1425f4b7ab2dc219d748">···49</a></span>····<a·class="code·hl_function"·href="a02156.html#a320964a5a6fa1425f4b7ab2dc219d748">LocalIndex</a>(std::size_t·index)·:</div> 
96 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······localIndex_(index),·state_(<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">VALID</a>){}</div> 
97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">inline</span>·<span·class="keyword">const</span>·std::size_t&amp;·<a·class="code·hl_function"·href="a00416.html#gae0ef0e636fb6deeca4abc05240f74289">local</a>()·<span·class="keyword">const</span>;</div> 
98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
99 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">inline</span>·<span·class="keyword">operator</span>·std::size_t()·<span·class="keyword">const</span>;</div>99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·U&gt;</div>
 100 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00420.html#gaacc1dbc07ddc0fd6b237ca18e213c3be">···59</a></span>······<span·class="keyword">constexpr</span>·V·<a·class="code·hl_function"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">implCast</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<a·class="code·hl_struct"·href="a03028.html">MetaType&lt;V&gt;</a>,·<span·class="keyword">const</span>·U·&amp;u)</div>
 101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······{</div>
 102 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········V·result(<a·class="code·hl_typedef"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar&lt;V&gt;</a>(0));</div>
 103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·l·:·<a·class="code·hl_variable"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>(<a·class="code·hl_function"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">Simd::lanes</a>(u)))</div>
 104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··········<a·class="code·hl_function"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">Simd::lane</a>(l,·result)·=·<a·class="code·hl_function"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">Simd::lane</a>(l,·u);</div>
 105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·result;</div>
 106 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······}</div>
100 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
101 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02156.html">LocalIndex</a>&amp;·<a·class="code·hl_function"·href="a00416.html#ga7c8ea096790c7ac11677cae3f70659f0">operator=</a>(st[·...·truncated·by·diffoscope;·len:·16,·SHA:·a38d77a1395bf946dcaa5494d5c5e2fde1ddcd0fb7726f93d3c93605e7dfd8fa·...·];</div>108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·S&gt;</div>
 109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00420.html#gac82cb295f767f7aece888fd9216db1b3">···69</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00420.html#gac82cb295f767f7aece888fd9216db1b3">broadcast</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<a·class="code·hl_struct"·href="a03028.html">MetaType&lt;V&gt;</a>,·S·s)</div>
102 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div>
103 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·<a·class="code·hl_function"·href="a00416.html#gaa2f125895[·...·truncated·by·diffoscope;·len:·71,·SHA:·8d35c9533ce6a9be02020828e7026c368d7f6406a9cd82449e63d1e4d46ae338·...·];</div>111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·V(<a·class="code·hl_typedef"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar&lt;V&gt;</a>(s));</div>
 112 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div>
104 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
105 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#gae134fe3358bd66ec666029d570bdb5c1">setState</a>(<a·class="code·hl_enumeration[·...·truncated·by·diffoscope;·len:·168,·SHA:·204e6000abee790c7ed0910a01ab06249fc3f5bc98fb41c4103993165808d49a·...·];</div>114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
 115 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00420.html#gacd3b3b8cae27c30aa73e855afbe904d7">···76</a></span>······V·<a·class="code·hl_function"·href="a00430.html#a77658e4512d07012336867414f63722a">cond</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask&lt;V&gt;</a>·&amp;<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>,</div>
 116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·············<span·class="keyword">const</span>·V·&amp;ifTrue,·<span·class="keyword">const</span>·V·&amp;ifFalse)·=·<span·class="keyword">delete</span>;</div>
106 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
107 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">private</span>:</div>118 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
 119 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00420.html#gafb35651a7a1777d932462357552bb90c">···81</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00420.html#gafb35651a7a1777d932462357552bb90c">max</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·V·&amp;v1,·<span·class="keyword">const</span>·V·&amp;v2)</div>
108 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····std::size_t·localIndex_;</div>120 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······{</div>
 121 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00420.html#ga6be36412c4ee50b1e5023f43e85a53ec">std::max</a>;</div>
 122 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00420.html#gafb35651a7a1777d932462357552bb90c">max</a>(v1,·v2);</div>
 123 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······}</div>
109 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>124 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
110 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">char</span>·state_;</div>125 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
 126 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">···89</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">min</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·V·&amp;v1,·<span·class="keyword">const</span>·V·&amp;v2)</div>
111 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>127 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······{</div>
 128 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00420.html#ga45f575aad94606a1a2afa3698abcee72">std::min</a>;</div>
 129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">min</a>(v1,·v2);</div>
112 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··};</div>130 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div>
113 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>131 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 132 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Mask&gt;</div>
 133 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00420.html#gae87036ad8322cb0064cdd3bfad16ca69">···97</a></span>······<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00430.html#a19296f860eb9fda0a58ab8c43747370d">anyTrue</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)·=·<span·class="keyword">delete</span>;</div>
114 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>134 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
115 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00416.html#gae0ef0e636fb6deeca4abc05240f74289">···97</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">const</span>·std::size_t&amp;·<a·class="code·hl_function"·href="a00416.html#gae0ef0e636fb6deeca4abc05240f74289">LocalIndex::local</a>()<span·class="keyword">·const·</span>{</div> 
117 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·localIndex_;</div> 
118 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div> 
119 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>135 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
120 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga0515e9338e8c8686b4791a50b5e3b036">··101</a></span>··<span·class="keyword">inline</span>·LocalIndex::operator·std::size_t()<span·class="keyword">·const·</span>{</div>136 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Mask&gt;</div>
 137 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">··104</a></span>······<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">allTrue</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</div>
121 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keywordflow">return</span>·localIndex_;</div>138 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······{</div>
 139 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········<span·class="keywordflow">return</span>·!<a·class="code·hl_function"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">Dune::Simd::anyTrue</a>(!<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>);</div>
122 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··}</div>140 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······}</div>
123 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
124 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga7c8ea096790c7ac11677cae3f70659f0">··105</a></span>··<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02156.html">LocalIndex</a>&amp;·<a·class="code·hl_function"·href="a00416.html#ga7c8ea096790c7ac11677cae3f70659f0">LocalIndex::operator=</a>(std::size_t·index){</div> 
125 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····localIndex_·=·index;</div> 
126 <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> 
127 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··}</div>141 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
128 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>142 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
129 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00416.html#gaa2f125895bda6b0c9d9cf8d8aa7e6946">··110</a></span>··<span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·<a·class="code·hl_function"·href="a00416.html#gaa2f125895bda6b0c9d9cf8d8aa7e6946">LocalIndex::state</a>()<span·class="keyword">·const·</span>{</div> 
Max diff block lines reached; 3317/56064 bytes (5.92%) of diff not shown.
9.97 KB
html2text {}
    
Offset 4, 123 lines modifiedOffset 4, 262 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 localindex.hh7 ····*·simd
 8 defaults.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 13 ·3#ifndef·DUNE_COMMON_SIMD_DEFAULTS_HH
 14 ·4#define·DUNE_COMMON_SIMD_DEFAULTS_HH
15 ·515 ·5
 16 ·17#include·<algorithm>
16 ·6#ifndef·DUNE_COMMON_LOCALINDEX_HH 
17 ·7#define·DUNE_COMMON_LOCALINDEX_HH 
18 ·8 
19 ·9#include·<cstddef>17 ·18#include·<cstddef>
20 ·1018 ·19#include·<type_traits>
 19 ·20
 20 ·21#include·<dune/common/rangeutilities.hh>
 21 ·22#include·<dune/common/simd/base.hh>
 22 ·23#include·<dune/common/simd/interface.hh>
 23 ·24#include·<dune/common/typelist.hh>
 24 ·25#include·<dune/common/typetraits.hh>
 25 ·26
21 ·11namespace·Dune26 ·27namespace·Dune·{
 27 ·28·namespace·Simd·{
 28 ·29·namespace·Overloads·{
22 ·12{ 
23 ·13 
24 ·14 
25 28·enum·LocalIndexState·{VALID,·DELETED}; 
26 ·29 
27 ·3029 ·30
28 34·class·LocalIndex30 ·47·template<class·V>
 31 48·decltype(auto)·lane(ADLTag<0>,·std::size_t·l,·V·v)·=·delete;
 32 ·49
 33 ·51·template<class·V>
 34 52·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·V·&u)
29 ·35·{35 ·53·{
 36 ·54·return·u;
 37 ·55·}
30 ·36·public: 
31 41·LocalIndex()·: 
32 ·42·localIndex_(0),·state_(VALID){} 
33 ·43 
34 ·44 
35 49·LocalIndex(std::size_t·index)·: 
36 ·50·localIndex_(index),·state_(VALID){} 
37 ·55·inline·const·std::size_t&·local()·const; 
38 ·5638 ·56
39 ·60·inline·operator·std::size_t()·const; 
40 ·61 
41 ·67·inline·LocalIndex&·operator=(std::size_t·index); 
42 ·68 
43 ·73·inline·LocalIndexState·state()·const; 
44 ·74 
45 ·79·inline·void·setState(LocalIndexState·state); 
46 ·80 
47 ·81·private: 
48 ·83·std::size_t·localIndex_; 
49 ·84 
50 ·91·char·state_; 
51 ·9239 ·58·template<class·V,·class·U>
 40 59·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·U·&u)
 41 ·60·{
 42 ·61·V·result(Simd::Scalar<V>(0));
 43 ·62·for(auto·l·:·range(Simd::lanes(u)))
 44 ·63·Simd::lane(l,·result)·=·Simd::lane(l,·u);
 45 ·64·return·result;
 46 ·65·}
 47 ·66
 48 ·68·template<class·V,·class·S>
 49 69·auto·broadcast(ADLTag<0>,·MetaType<V>,·S·s)
 50 ·70·{
 51 ·71·return·V(Simd::Scalar<V>(s));
 52 ·72·}
 53 ·73
 54 ·75·template<class·V>
 55 76·V·cond(ADLTag<0>,·const·Mask<V>·&mask,
 56 ·77·const·V·&ifTrue,·const·V·&ifFalse)·=·delete;
 57 ·78
 58 ·80·template<class·V>
 59 81·auto·max(ADLTag<0>,·const·V·&v1,·const·V·&v2)
 60 ·82·{
 61 ·83·using·std::max;
 62 ·84·return·max(v1,·v2);
 63 ·85·}
 64 ·86
 65 ·88·template<class·V>
 66 89·auto·min(ADLTag<0>,·const·V·&v1,·const·V·&v2)
 67 ·90·{
 68 ·91·using·std::min;
 69 ·92·return·min(v1,·v2);
52 ·93·};70 ·93·}
53 ·9471 ·94
 72 ·96·template<class·Mask>
 73 97·bool·anyTrue(ADLTag<0>,·const·Mask·&mask)·=·delete;
 74 ·98
54 ·95 
55 ·96 
56 97·inline·const·std::size_t&·LocalIndex::local()·const·{ 
57 ·98·return·localIndex_; 
58 ·99·} 
59 ·10075 ·100
60 101·inline·LocalIndex::operator·std::size_t()·const·{ 
61 ·102·return·localIndex_;76 ·103·template<class·Mask>
 77 104·bool·allTrue(ADLTag<0>,·const·Mask·&mask)
 78 ·105·{
 79 ·106·return·!Dune::Simd::anyTrue(!mask);
62 ·103·}80 ·107·}
63 ·104 
64 105·inline·LocalIndex&·LocalIndex::operator=(std::size_t·index){ 
65 ·106·localIndex_·=·index; 
66 ·107·return·*this; 
67 ·108·}81 ·108
68 ·10982 ·110
69 110·inline·LocalIndexState·LocalIndex::state()·const·{ 
70 ·111·return·static_cast<LocalIndexState>(state_);83 ·113·template<class·Mask>
 84 114·bool·anyFalse(ADLTag<0>,·const·Mask·&mask)
Max diff block lines reached; 1289/10181 bytes (12.66%) of diff not shown.
17.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00065.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpifuture.hh·File·Reference</title>8 <title>dune-common:·standard.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 51 lines modifiedOffset 58, 86 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
71 ··<div·class="headertitle"><div·class="title">mpifuture.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">standard.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00418.html">Application·Developer's·Interface</a>·&raquo;·<a·class="el"·href[·...·truncated·by·diffoscope;·len:·75,·SHA:·dbfcb8478db181fa873e0961a76da8a06abbd1fd2da0f14668b53baf6773d646·...·]</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
 74 <p>SIMD·abstractions·for·the·standard·built-in·types.··
 75 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;optional&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 77 <code>#include·&lt;type_traits&gt;</code><br·/>
 78 <code>#include·&lt;utility&gt;</code><br·/>
75 <code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
76 <code>#include·&lt;<a·class="el"·href="a00020_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00062_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>
77 <code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/> 
78 </div>82 </div>
79 <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00065_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">84 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
82 Classes</h2></td></tr>86 Classes</h2></td></tr>
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02180.html">Dune::impl::Buffer&lt;·T·&gt;</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02620.html">Dune::Simd::Overloads::ScalarType&lt;·V,·class·&gt;</a></td></tr>
 88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">should·have·a·member·type·<code>type</code>··<a·href="a02620.html#details">More...</a><br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02184.html">Dune::impl::Buffer&lt;·T·&amp;·&gt;</a></td></tr> 
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02188.html">Dune::impl::Buffer&lt;·void·&gt;</a></td></tr>90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02624.html">Dune::Simd::Overloads::RebindType&lt;·S,·class,·class·&gt;</a></td></tr>
 91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">should·have·a·member·type·<code>type</code>··<a·href="a02624.html#details">More...</a><br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02192.html">Dune::MPIFuture&lt;·R,·S·&gt;</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02628.html">Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;</a></td></tr>
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·future-like·object·for·MPI·communication.·It·contains·the·object·that·will·be·received·and·might·contain·also·a·sending·object,·which·must·be·hold·(keep·alive)·until·the·communication·has·been·completed.··<a·href="a02192.html#details">More...</a><br·/></td></tr>94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">should·be·derived·from·a·<code><a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467"·title="An·index·constant·with·value·i.">Dune::index_constant</a></code>··<a·href="a02628.html#details">More...</a><br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>98 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 <tr·class="memitem:a00445"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00445.html">Dune::impl</a></td></tr>102 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>
 103 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr>
 106 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 </table><table·class="memberdecls">
 109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 110 Functions</h2></td></tr>
 111 <tr><td·colspan="2"><div·class="groupHeader">Specialized·classes·and·overloaded·functions</div></td></tr>
 112 <tr·class="memitem:ad329da4d6c881c0c53b63c01f576e6df"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 113 <tr·class="memitem:ad329da4d6c881c0c53b63c01f576e6df"><td·class="memTemplItemLeft"·align="right"·valign="top">V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00430.html#ad329da4d6c881c0c53b63c01f576e6df">Dune::Simd::Overloads::lane</a>·(ADLTag&lt;·2·&gt;,·std::size_t,·V·v)</td></tr>
 114 <tr·class="memdesc:ad329da4d6c881c0c53b63c01f576e6df"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaca5433c99a350b973623f94491e43a86"·title="Extract·an·element·of·a·SIMD·type.">Simd::lane()</a>··<a·href="a00430.html#ad329da4d6c881c0c53b63c01f576e6df">More...</a><br·/></td></tr>
 115 <tr·class="separator:ad329da4d6c881c0c53b63c01f576e6df"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
 117 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplItemLeft"·align="right"·valign="top">V·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00430.html#a3d3cefa72e95b1abb7a235b4511d9794">Dune::Simd::Overloads::lane</a>·(ADLTag&lt;·3·&gt;,·std::size_t,·V·&amp;v)</td></tr>
 118 <tr·class="separator:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:a4da440a9db2b315f531d5412174982af"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html#a4da440a9db2b315f531d5412174982af">Dune::Simd::Overloads::anyTrue</a>·(ADLTag&lt;·2·&gt;,·bool·mask)</td></tr>
 120 <tr·class="memdesc:a4da440a9db2b315f531d5412174982af"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4"·title="Whether·any·entry·is·true">Simd::anyTrue()</a>··<a·href="a00430.html#a4da440a9db2b315f531d5412174982af">More...</a><br·/></td></tr>
 121 <tr·class="separator:a4da440a9db2b315f531d5412174982af"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:aef12678a4fbb543b66e9a92eb85d9877"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html#aef12678a4fbb543b66e9a92eb85d9877">Dune::Simd::Overloads::allTrue</a>·(ADLTag&lt;·2·&gt;,·bool·mask)</td></tr>
 123 <tr·class="memdesc:aef12678a4fbb543b66e9a92eb85d9877"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24"·title="Whether·all·entries·are·true">Simd::allTrue()</a>··<a·href="a00430.html#aef12678a4fbb543b66e9a92eb85d9877">More...</a><br·/></td></tr>
 124 <tr·class="separator:aef12678a4fbb543b66e9a92eb85d9877"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:a8d635dd0e81111cb047adf5c28dfb781"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html#a8d635dd0e81111cb047adf5c28dfb781">Dune::Simd::Overloads::anyFalse</a>·(ADLTag&lt;·2·&gt;,·bool·mask)</td></tr>
 126 <tr·class="memdesc:a8d635dd0e81111cb047adf5c28dfb781"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaaee5c9c3caa23996397af767ca52845e"·title="Whether·any·entry·is·false">Simd::anyFalse()</a>··<a·href="a00430.html#a8d635dd0e81111cb047adf5c28dfb781">More...</a><br·/></td></tr>
 127 <tr·class="separator:a8d635dd0e81111cb047adf5c28dfb781"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:ab3e2ff7938d3f9d0a691ee30924caee0"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html#ab3e2ff7938d3f9d0a691ee30924caee0">Dune::Simd::Overloads::allFalse</a>·(ADLTag&lt;·2·&gt;,·bool·mask)</td></tr>
 129 <tr·class="memdesc:ab3e2ff7938d3f9d0a691ee30924caee0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaf404687904c5a04c3ab453b9b19c1562"·title="Whether·all·entries·are·false">Simd::allFalse()</a>··<a·href="a00430.html#ab3e2ff7938d3f9d0a691ee30924caee0">More...</a><br·/></td></tr>
 130 <tr·class="separator:ab3e2ff7938d3f9d0a691ee30924caee0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table>131 </table>
 132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 133 <div·class="textblock"><p·>SIMD·abstractions·for·the·standard·built-in·types.·</p>
 134 <p·>This·file·should·not·normally·be·included·by·users·of·the·SIMD·abstraction·(i.e.·other·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·headers).·Neither·should·it·be·included·by·the·translation·units·passing·built-in·types·to·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·headers·that·in·turn·support·SIMD·types·through·the·SIMD·abstraction.·Dune-functionality·always·supports·built-in·types.·Either·because·that·functionality·does·not·support·SIMD·types·and·so·only·supports·built-in·types,·or·if·it·does·support·SIMD·types·it·must·include·<code>&lt;<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>&gt;</code>,·which·in·turn·includes·this·header.·</p>
101 </div><!--·contents·-->135 </div></div><!--·contents·-->
102 <!--·start·footer·part·-->136 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>137 <hr·class="footer"/><address·class="footer"><small>
104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4138 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
105 </small></address>139 </small></address>
106 </body>140 </body>
107 </html>141 </html>
3.22 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 75 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel7 ····*·simd
8 Classes·|·Namespaces8 Classes·|·Namespaces
9 mpifuture.hh·File·Reference9 standard.hh·File·Reference
 10 Common·»·Vectorization·»·Application_Developer's_Interface·»·SIMD_Abstraction
 11 Implementation_for_standard_types
 12 SIMD·abstractions·for·the·standard·built-in·types.·More...
 13 #include·<cstddef>
 14 #include·<type_traits>
10 #include·<optional>15 #include·<utility>
11 #include·<dune/common/parallel/communication.hh> 
12 #include·<dune/common/parallel/future.hh> 
13 #include·<dune/common/parallel/mpidata.hh>16 #include·<dune/common/indices.hh>
 17 #include·<dune/common/simd/base.hh>
 18 #include·<dune/common/simd/defaults.hh>
14 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
15 ·Classes20 ·Classes
16 struct· Dune::impl::Buffer<_T_>21 struct· Dune::Simd::Overloads::ScalarType<_V,_class_>
 22  ·······should·have·a·member·type·type·More...
17  23  
18 struct· Dune::impl::Buffer<_T_&_>24 struct· Dune::Simd::Overloads::RebindType<_S,_class,_class_>
 25  ·······should·have·a·member·type·type·More...
19  26  
 27 struct· Dune::Simd::Overloads::LaneCount<_class,_class_>
 28  ·······should·be·derived·from·a·Dune::index_constant·More...
20 struct· Dune::impl::Buffer<_void_> 
21   
22 ·class· Dune::MPIFuture<_R,_S_> 
23 ·········Provides·a·future-like·object·for·MPI·communication.·It·contains·the 
24  ·······object·that·will·be·received·and·might·contain·also·a·sending·object, 
25 ·········which·must·be·hold·(keep·alive)·until·the·communication·has·been 
26 ·········completed.·More... 
27  29  
28 ·Namespaces30 ·Namespaces
29 namespace· Dune31 namespace· Dune
30  ··········Dune·namespace.32  ··········Dune·namespace.
31  33  
32 namespace· Dune::impl34 namespace· Dune::Simd
 35  ··········Namespace·for·vectorization·interface·functions·used·by·library
 36 ············developers.
33  37  
 38 namespace· Dune::Simd::Overloads
 39  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 40 ············implementation.
 41  
 42 ·Functions
 43 Specialized·classes·and·overloaded·functions
 44 template<class·V·>
 45 ···V Dune::Simd::Overloads::lane·(ADLTag<·2·>,·std::size_t,·V·v)
 46  ····implements·Simd::lane()·More...
 47  
 48 template<class·V·>
 49 ·V·& Dune::Simd::Overloads::lane·(ADLTag<·3·>,·std::size_t,·V·&v)
 50  
 51 bool Dune::Simd::Overloads::anyTrue·(ADLTag<·2·>,·bool·mask)
 52  ····implements·Simd::anyTrue()·More...
 53  
 54 bool Dune::Simd::Overloads::allTrue·(ADLTag<·2·>,·bool·mask)
 55  ····implements·Simd::allTrue()·More...
 56  
 57 bool Dune::Simd::Overloads::anyFalse·(ADLTag<·2·>,·bool·mask)
 58  ····implements·Simd::anyFalse()·More...
 59  
 60 bool Dune::Simd::Overloads::allFalse·(ADLTag<·2·>,·bool·mask)
 61  ····implements·Simd::allFalse()·More...
 62  
 63 *****·Detailed·Description·*****
 64 SIMD·abstractions·for·the·standard·built-in·types.
 65 This·file·should·not·normally·be·included·by·users·of·the·SIMD·abstraction
 66 (i.e.·other·Dune·headers).·Neither·should·it·be·included·by·the·translation
 67 units·passing·built-in·types·to·Dune·headers·that·in·turn·support·SIMD·types
 68 through·the·SIMD·abstraction.·Dune-functionality·always·supports·built-in
 69 types.·Either·because·that·functionality·does·not·support·SIMD·types·and·so
 70 only·supports·built-in·types,·or·if·it·does·support·SIMD·types·it·must·include
 71 <dune/common/simd/simd.hh>,·which·in·turn·includes·this·header.
  
34 ===============================================================================72 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.473 ·····Generated·by [doxygen]·1.9.4
69.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00065_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mpifuture.hh·Source·File</title>8 <title>dune-common:·standard.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 231 lines modifiedOffset 58, 98 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mpifuture.hh</div></div>68 ··<div·class="headertitle"><div·class="title">standard.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00065.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00065.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIFUTURE_HH</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_STANDARD_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_MPIFUTURE_HH</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_STANDARD_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>76 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00023.html">dune/common/parallel/communication.hh</a>&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00020.html">dune/common/parallel/future.hh</a>&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00050.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>77 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 78 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>79 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·HAVE_MPI</span></div>80 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00275.html">dune/common/indices.hh</a>&gt;</span></div>
 81 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00068.html">dune/common/simd/base.hh</a>&gt;</span></div>
 82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00062.html">dune/common/simd/defaults.hh</a>&gt;</span></div>
 83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>{</div>84 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 85 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>Simd·{</div>
 86 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 87 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">namespace·</span>Overloads·{</div>
 88 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>89 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a00445.html">···17</a></span>··<span·class="keyword">namespace·</span>impl{</div>90 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>&gt;</div>
 91 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02620.html#ab4f6f38e2c9e3272e5146799d512d978">···60</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02620.html">ScalarType</a>·{·<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02620.html#ab4f6f38e2c9e3272e5146799d512d978">type</a>·=·V;·};</div>
 92 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 93 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 94 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>,·<span·class="keyword">class</span>&gt;</div>
 95 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a02624.html#a36ba8db89c385f576f383a984ef8c286">···67</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02624.html">RebindType</a>·{·<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02624.html#a36ba8db89c385f576f383a984ef8c286">type</a>·=·S;·};</div>
 96 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 97 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 98 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>,·<span·class="keyword">class</span>&gt;</div>
 99 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a02628.html">···74</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02628.html">LaneCount</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;1&gt;·{·};</div>
 100 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>102 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a02180.html">···19</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02180.html">Buffer</a>{</div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a02180.html#adb9d4d5110c44653ea4523fddc4a9aa6">···20</a></span>······<a·class="code·hl_function"·href="a02180.html#adb9d4d5110c44653ea4523fddc4a9aa6">Buffer</a>(<span·class="keywordtype">bool[·...·truncated·by·diffoscope;·len:·15,·SHA:·0c31c84ab39021dd2c26667906710abc4fd6341d859e65508f24fe7da432aa2d·...·]</div>103 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00430.html#ad329da4d6c881c0c53b63c01f576e6df">···87</a></span>······V·<a·class="code·hl_function"·href="a00430.html#ae0b09f360e2832ce7df95ac0ded0dbcf">lane</a>(<a·class="code·hl_struct"·href[·...·truncated·by·diffoscope;·len:·53,·SHA:·91c62b664a784072047fade4b00591025bb35979f886e21f8324bc97405c7d56·...·]</div>
 104 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······{</div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>········<span·class="keywordflow">if</span>(valid)</div>105 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keywordflow">return</span>·v;</div>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··········<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>·=·std::make_unique&lt;T&gt;();</div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>······}</div>106 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}</div>
 107 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>108 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
 109 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a00430.html#a3d3cefa72e95b1abb7a235b4511d9794">···93</a></span>······V·&amp;<a·class="code·hl_function"·href="a00430.html#ae0b09f360e2832ce7df95ac0ded0dbcf">lane</a>(<a·class="code·hl_struct"·href="a02608.html">ADLTag&lt;3&gt;</a>,·std::size_t,·V·&amp;v)</div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02180.html#a68e075f2ae5adc2734c8d561198d70f0">···25</a></span>······<a·class="code·hl_function"·href="a02180.html#a68e075f2ae5adc2734c8d561198d70f0">Buffer</a>(V&amp;&amp;·t)</div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>········:·<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>(<a·class="code·hl_namespace"·href="a00424.html">std</a>::make_unique&lt;T&gt;(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;V&gt;(t)))</div> 
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······{}</div> 
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">···28</a></span>······std::unique_ptr&lt;T&gt;·<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>;</div> 
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a02180.html#ad88077d58f45d406b140a231cf082505">···29</a></span>······T·<a·class="code·hl_function"·href="a02180.html#ad88077d58f45d406b140a231cf082505">get</a>(){</div> 
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········T·tmp·=·std::move(*<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>);</div> 
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>.reset();</div> 
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········<span·class="keywordflow">return</span>·tmp;</div> 
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······}</div> 
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02180.html#a3b111cec5e3b0d762b9befb34560c66d">···34</a></span>······<span·class="keyword">operator</span>·bool·()<span·class="keyword">·const·</span>{</div> 
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<span·class="keywordflow">return</span>·(<span·class="keywordtype">bool</span>)<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>;</div> 
106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······}</div> 
107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02180.html#a5fcd8273ba937a50c701e30229d3810b">···37</a></span>······T&amp;·<a·class="code·hl_function"·href="a02180.html#a5fcd8273ba937a50c701e30229d3810b">operator·*</a>()<span·class="keyword">·const</span>{</div> 
108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>········<span·class="keywordflow">return</span>·*<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>;</div> 
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······}</div> 
110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····};</div> 
111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div> 
112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02184.html">···43</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02180.html">Buffer</a>&lt;T&amp;&gt;{</div> 
114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02184.html#a452244eaa73c4de337aa2bdf7bf2a6f1">···44</a></span>······<a·class="code·hl_function"·href="a02184.html#a452244eaa73c4de337aa2bdf7bf2a6f1">Buffer</a>(<span·class="keywordtype">bool</span>·valid·=·<span·class="keyword">false</span>)</div> 
115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······{</div>110 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······{</div>
116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keywordflow">if</span>(valid)</div> 
117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··········value·=·T();</div> 
118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······}</div> 
119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02184.html#afbd96d60f9a2dd1e336b1fb14645c0a5">···50</a></span>······<a·class="code·hl_function"·href="a02184.html#afbd96d60f9a2dd1e336b1fb14645c0a5">Buffer</a>(V&amp;&amp;·t)</div> 
121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········:·value(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;V&gt;(t))</div> 
122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{}</div> 
123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02184.html#a445a5078c366120fc0ba3d0dcc349523">···53</a></span>······std::optional&lt;std::reference_wrapper&lt;T&gt;&gt;·<a·class="code·hl_variable"·href="a02184.html#a445a5078c366120fc0ba3d0dcc349523">value</a>;</div> 
124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a02184.html#ae84455e645bd229d25cef56860c292b7">···54</a></span>······T&amp;·<a·class="code·hl_function"·href="a02184.html#ae84455e645bd229d25cef56860c292b7">get</a>(){</div> 
125 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········T&amp;·tmp·=·*value;</div> 
126 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········value.reset();</div> 
127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·tmp;</div>111 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·v;</div>
128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div> 
129 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a02184.html#ac8f705e143a7de0dc83ed16f1f3dc934">···59</a></span>······<span·class="keyword">operator</span>·bool·()<span·class="keyword">·const</span>{</div> 
130 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keywordflow">return</span>·(<span·class="keywordtype">bool</span>)value;</div> 
131 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······}</div>112 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······}</div>
132 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a02184.html#a089e50f1e07c7dfd716ee447e788675e">···62</a></span>······T&amp;·<a·class="code·hl_function"·href="a00408.html#ga18a74c0d02300748edcf3bc9c58eaf27">operator·*</a>()<span·class="keyword">·const</span>{</div> 
133 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·*value;</div> 
134 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······}</div> 
135 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····};</div> 
136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">template</span>&lt;&gt;</div> 
138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a02188.html">···68</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02180.html">Buffer</a>&lt;void&gt;{</div> 
139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02188.html#a3c0b7dcd6a22e006dd5942872dbb2b69">···69</a></span>······<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a02188.html#a3c0b7dcd6a22e006dd5942872dbb2b69">valid_</a>;</div> 
140 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02188.html#af1e6146bcdfe51e49f250898c42fa32d">···70</a></span>······<a·class="code·hl_function"·href="a02188.html#af1e6146bcdfe51e49f250898c42fa32d">Buffer</a>(<span·class="keywordtype">bool</span>·valid·=·<span·class="keyword">false</span>)</div> 
141 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········:·valid_(valid)</div> 
142 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······{}</div> 
143 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02188.html#a4ba66cd0b4596d5b18d62e1a5b84e71f">···73</a></span>······<span·class="keyword">operator</span>·bool·()<span·class="keyword">·const</span>{</div> 
144 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordflow">return</span>·valid_;</div> 
Max diff block lines reached; 11983/60103 bytes (19.94%) of diff not shown.
10.6 KB
html2text {}
    
Offset 4, 302 lines modifiedOffset 4, 126 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 mpifuture.hh7 ····*·simd
 8 standard.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_COMMON_PARALLEL_MPIFUTURE_HH 
16 ·6#define·DUNE_COMMON_PARALLEL_MPIFUTURE_HH13 ·3#ifndef·DUNE_COMMON_SIMD_STANDARD_HH
 14 ·4#define·DUNE_COMMON_SIMD_STANDARD_HH
 15 ·5
 16 ·20#include·<cstddef>
 17 ·21#include·<type_traits>
 18 ·22#include·<utility>
 19 ·23
 20 ·24#include·<dune/common/indices.hh>
 21 ·25#include·<dune/common/simd/base.hh>
 22 ·26#include·<dune/common/simd/defaults.hh>
17 ·723 ·27
18 ·8#include·<optional> 
19 ·9 
20 ·10#include·<dune/common/parallel/communication.hh> 
21 ·11#include·<dune/common/parallel/future.hh> 
22 ·12#include·<dune/common/parallel/mpidata.hh> 
23 ·13 
24 ·14#if·HAVE_MPI 
25 ·15namespace·Dune{24 ·45namespace·Dune·{
26 ·16 
27 17·namespace·impl{25 ·46·namespace·Simd·{
 26 ·47
 27 ·48·namespace·Overloads·{
 28 ·49
 29 ·56
 30 ·59·template<class·V,·class>
 31 60·struct·ScalarType·{·using·type·=·V;·};
 32 ·61
 33 ·63
 34 ·66·template<class·S,·class,·class>
 35 67·struct·RebindType·{·using·type·=·S;·};
 36 ·68
 37 ·70
 38 ·73·template<class,·class>
 39 74·struct·LaneCount·:·public·index_constant<1>·{·};
 40 ·75
 41 ·77
28 ·18·template<class·T>42 ·86·template<class·V>
29 19·struct·Buffer{ 
30 20·Buffer(bool·valid){ 
31 ·21·if(valid) 
32 ·22·value·=·std::make_unique<T>(); 
33 ·23·}43 87·V·lane(ADLTag<2>,·std::size_t,·V·v)
 44 ·88·{
 45 ·89·return·v;
 46 ·90·}
 47 ·91
34 ·24·template<class·V>48 ·92·template<class·V>
 49 93·V·&lane(ADLTag<3>,·std::size_t,·V·&v)
35 25·Buffer(V&&·t) 
36 ·26·:·value(std::make_unique<T>(std::forward<V>(t))) 
37 ·27·{} 
38 28·std::unique_ptr<T>·value; 
39 29·T·get(){ 
40 ·30·T·tmp·=·std::move(*value); 
41 ·31·value.reset(); 
42 ·32·return·tmp; 
43 ·33·} 
44 34·operator·bool·()·const·{ 
45 ·35·return·(bool)value; 
46 ·36·} 
47 37·T&·operator_*()·const{ 
48 ·38·return·*value; 
49 ·39·} 
50 ·40·}; 
51 ·41 
52 ·42·template<class·T> 
53 43·struct·Buffer<T&>{ 
54 44·Buffer(bool·valid·=·false) 
55 ·45·{50 ·94·{
56 ·46·if(valid) 
57 ·47·value·=·T(); 
58 ·48·} 
59 ·49·template<class·V> 
60 50·Buffer(V&&·t) 
61 ·51·:·value(std::forward<V>(t)) 
62 ·52·{} 
63 53·std::optional<std::reference_wrapper<T>>·value; 
64 54·T&·get(){ 
65 ·55·T&·tmp·=·*value; 
66 ·56·value.reset(); 
67 ·57·return·tmp;51 ·95·return·v;
68 ·58·} 
69 59·operator·bool·()·const{ 
70 ·60·return·(bool)value; 
71 ·61·}52 ·96·}
 53 ·97
 54 ·98·//·No·Simd::cond()·implementation,·the·overload·for·bool·masks·in·the
 55 ·99·//·interface·is·sufficient
72 62·T&·operator_*()·const{ 
73 ·63·return·*value; 
74 ·64·} 
75 ·65·}; 
76 ·66 
77 ·67·template<> 
78 68·struct·Buffer<void>{ 
79 69·bool·valid_; 
80 70·Buffer(bool·valid·=·false) 
81 ·71·:·valid_(valid) 
82 ·72·{} 
83 73·operator·bool·()·const{ 
84 ·74·return·valid_; 
85 ·75·} 
86 76·void·get(){} 
87 ·77·}; 
88 ·78·} 
89 ·79 
90 ·84·template<class·R,·class·S·=·void> 
91 85·class·MPIFuture{ 
92 ·86·mutable·MPI_Request·req_; 
Max diff block lines reached; 3800/10859 bytes (34.99%) of diff not shown.
12.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00068.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·plocalindex.hh·File·Reference</title>8 <title>dune-common:·base.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 67 lines modifiedOffset 58, 53 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">base.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">plocalindex.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div> 
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.··74 <p>Basic·definitions·for·SIMD·Implementations.··
76 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00062_source.html">localindex.hh</a>&quot;</code><br·/> 
78 <code>#include·&quot;<a·class="el"·href="a00035_source.html">indexset.hh</a>&quot;</code><br·/> 
79 <code>#include·&quot;<a·class="el"·href="a00029_source.html">mpitraits.hh</a>&quot;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/> 
81 </div> 
82 <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00068_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">77 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
85 Classes</h2></td></tr>79 Classes</h2></td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02220.html">Dune::ParallelLocalIndex&lt;·T·&gt;</a></td></tr>80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02612.html">Dune::Simd::Overloads::ADLTag&lt;·i·&gt;</a></td></tr>
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·index·present·on·the·local·process·with·an·additional·attribute·flag.··<a·href="a02220.html#details">More...</a><br·/></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02224.html">Dune::LocalIndexComparator&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</a></td></tr> 
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02228.html">Dune::MPITraits&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</a></td></tr>82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02616.html">Dune::Simd::Overloads::ADLTag&lt;·0·&gt;</a></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
95 Namespaces</h2></td></tr>86 Namespaces</h2></td></tr>
96 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>87 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
97 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>88 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>
 91 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
99 </table><table·class="memberdecls"> 
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
101 Functions</h2></td></tr> 
102 <tr·class="memitem:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
103 <tr·class="memitem:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga1cc47465a5be4434d0f4d5a99f56f952">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·ParallelLocalIndex&lt;·T·&gt;·&amp;index)</td></tr> 
104 <tr·class="memdesc:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·the·local·index·to·a·stream.··<a·href="a00416.html#ga1cc47465a5be4434d0f4d5a99f56f952">More...</a><br·/></td></tr> 
105 <tr·class="separator:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
107 <tr·class="memitem:ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga3f656ae09bca24998c26b42304a9d1b2">Dune::operator==</a>·(const·Paralle[·...·truncated·by·diffoscope;·len:·76,·SHA:·38ec3a110f3da1bbfe01743ccc9977180ad01c1ed5d3a84b8bc7baa310769fe3·...·]</td></tr>93 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr>
 94 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr>
108 <tr·class="separator:ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:ga773d38fd187016eb6fef134776f7d761"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
110 <tr·class="memitem:ga773d38fd187016eb6fef134776f7d761"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga773d38fd187016eb6fef134776f7d761">Dune::operator!=</a>·(const·ParallelLocalIndex&lt;·T·&gt;·&amp;p1,·const·ParallelLocalIndex&lt;·T·&gt;·&amp;p2)</td></tr> 
111 <tr·class="separator:ga773d38fd187016eb6fef134776f7d761"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 </table>96 </table>
113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
114 <div·class="textblock"><p·>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·</p> 
115 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>98 <div·class="textblock"><p·>Basic·definitions·for·SIMD·Implementations.·</p>
 99 <p·>This·file·provides·basic·definitions·and·template·declarations·that·are·used·to·write·SIMD·abstraction·layers.</p>
 100 <p·>This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include·&lt;<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>&gt;·instead.·</p>
116 </div></div><!--·contents·-->101 </div></div><!--·contents·-->
117 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>103 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>105 </small></address>
121 </body>106 </body>
122 </html>107 </html>
2.33 KB
html2text {}
    
Offset 4, 53 lines modifiedOffset 4, 39 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel7 ····*·simd
8 Classes·|·Namespaces·|·Functions8 Classes·|·Namespaces
9 plocalindex.hh·File·Reference9 base.hh·File·Reference
 10 Common·»·Vectorization·»·Abstraction_Developer's_Interface
 11 Basic·definitions·for·SIMD·Implementations.·More...
10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets 
11 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed 
12 computing.·More... 
13 #include·"localindex.hh" 
14 #include·"indexset.hh" 
15 #include·"mpitraits.hh" 
16 #include·<iostream> 
17 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
18 ·Classes13 ·Classes
 14 struct· Dune::Simd::Overloads::ADLTag<_i_>
19 ·class· Dune::ParallelLocalIndex<_T_> 
20  ·······An·index·present·on·the·local·process·with·an·additional·attribute 
21 ·········flag.·More... 
22  15  
 16 struct· Dune::Simd::Overloads::ADLTag<_0_>
23 struct· Dune::LocalIndexComparator<_ParallelLocalIndex<_T_>_> 
24   
25 ·class· Dune::MPITraits<_ParallelLocalIndex<_T_>_> 
26  17  
27 ·Namespaces18 ·Namespaces
28 namespace· Dune19 namespace· Dune
29  ··········Dune·namespace.20  ··········Dune·namespace.
30  21  
 22 namespace· Dune::Simd
 23  ··········Namespace·for·vectorization·interface·functions·used·by·library
 24 ············developers.
31 ·Functions 
32 template<class·T·> 
33 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·ParallelLocalIndex<·T 
34 ················>·&index) 
35  ··············Print·the·local·index·to·a·stream.·More... 
36  25  
 26 namespace· Dune::Simd::Overloads
 27  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 28 ············implementation.
37 template<typename·T·> 
38 ··········bool Dune::operator==·(const·ParallelLocalIndex<·T·>·&p1,·const 
39 ················ParallelLocalIndex<·T·>·&p2) 
40   
41 template<typename·T·> 
42 ··········bool Dune::operator!=·(const·ParallelLocalIndex<·T·>·&p1,·const 
43 ················ParallelLocalIndex<·T·>·&p2) 
44  29  
45 *****·Detailed·Description·*****30 *****·Detailed·Description·*****
46 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed 
47 computing. 
48 ··Author 
49 ······Markus·Blatt31 Basic·definitions·for·SIMD·Implementations.
 32 This·file·provides·basic·definitions·and·template·declarations·that·are·used·to
 33 write·SIMD·abstraction·layers.
 34 This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include
 35 <dune/common/simd/simd.hh>·instead.
  
50 ===============================================================================36 ===============================================================================
51 ·····Generated·by [doxygen]·1.9.437 ·····Generated·by [doxygen]·1.9.4
66.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00068_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·plocalindex.hh·Source·File</title>8 <title>dune-common:·base.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 268 lines modifiedOffset 58, 66 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">plocalindex.hh</div></div>68 ··<div·class="headertitle"><div·class="title">base.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00068.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00068.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_BASE_HH</span></div>
 74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_BASE_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_PLOCALINDEX_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_PLOCALINDEX_HH</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00062.html">localindex.hh</a>&quot;</span></div>76 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00035.html">indexset.hh</a>&quot;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00029.html">mpitraits.hh</a>&quot;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>77 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">namespace·</span>Simd·{</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>78 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>79 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;·<span·class="keyword">class·</span>ParallelLocalIndex;</div> 
90 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02220.html#ad95d6f6108cf08fa330b75ed64764b76">···37</a></span>··std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream&amp;·os,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;T&gt;</a>&amp;·index)</div> 
93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div> 
94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····os&lt;&lt;<span·class="stringliteral">&quot;{local=&quot;</span>&lt;&lt;index.localIndex_&lt;&lt;<span·class="stringliteral">&quot;,·attr=&quot;</span>&lt;&lt;T(index.attribute_)&lt;&lt;<span·class="stringliteral">&quot;,·public=&quot;</span></div> 
95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····&lt;&lt;(index.public_·?·true·:·<span·class="keyword">false</span>)&lt;&lt;<span·class="stringliteral">&quot;}&quot;</span>;</div> 
96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">return</span>·os;</div>80 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····<span·class="keyword">namespace·</span>Overloads·{</div>
97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div> 
98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02220.html">···48</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex</a></div> 
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div> 
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//·friend·declaration·needed·for·MPITraits</span></div> 
104 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">friend</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&lt;<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex</a>&lt;T&gt;·&gt;;</div> 
105 <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="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">friend</span>·std::ostream&amp;·operator&lt;&lt;&lt;&gt;(std::ostream&amp;·os,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;T&gt;</a>&amp;·index);</div> 
107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div> 
109 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">···64</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>;</div> 
110 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<a·class="code·hl_function"·href="a00416.html#gae17e1ae024e8ef0dc1532125ae0296e9">ParallelLocalIndex</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>&amp;·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>);</div> 
111 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
112 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<a·class="code·hl_function"·href="a00416.html#gae17e1ae024e8ef0dc1532125ae0296e9">ParallelLocalIndex</a>(<span·class="keywordtype">size_t</span>·localIndex,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>&amp;·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>=<span·class="keyword">true</span>);</div> 
113 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<a·class="code·hl_function"·href="a00416.html#gae17e1ae024e8ef0dc1532125ae0296e9">ParallelLocalIndex</a>();</div> 
114 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
115 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">#if·0</span></div> 
116 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<a·class="code·hl_function"·href="a00416.html#gae17e1ae024e8ef0dc1532125ae0296e9">ParallelLocalIndex</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>&amp;·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>,·<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a00416.html#ga4b260e0b49fdbdeec3c139fcfcc03518">local</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>);</div> 
117 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#endif</span></div> 
118 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>81 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
119 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keyword">inline</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>()·<span·class="keyword">const</span>;</div> 
120 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
121 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#ga33792062116e47a94116e36fb9d54ca4">setAttribute</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>&amp;·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>);</div> 
122 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>82 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
123 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keyword">inline</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a00416.html#ga4b260e0b49fdbdeec3c139fcfcc03518">local</a>()·<span·class="keyword">const</span>;</div> 
124 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>83 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 84 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>······<span·class="keyword">template</span>&lt;<span·class="keywordtype">unsigned</span>·i,·<span·class="keywordtype">bool</span>·=·true&gt;</div>
 85 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno"><a·class="line"·href="a02608.html">··182</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02608.html">ADLTag</a>;</div>
125 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····<span·class="keyword">inline</span>·<span·class="keyword">operator</span>·size_t()·<span·class="keyword">const</span>;</div> 
126 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> 
127 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;Attribute&gt;</a>&amp;·<a·class="code·hl_function"·href="a00416.html#ga8f021b0913f65c10de19b9d9084800ef">operator=</a>(<span·class="keywordtype">size_t</span>·index);</div> 
128 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> 
129 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>····<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>()·<span·class="keyword">const</span>;</div> 
130 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> 
131 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····<span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·<a·class="code·hl_function"·href="a00416.html#ga9ee41fe1d95778d467110d8a7eb87f22">state</a>()·<span·class="keyword">const</span>;</div> 
132 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> 
133 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#ga803d70f66ccc5cc004e30f734bbd3cc8">setState</a>(<span·class="keyword">const</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>&amp;·<a·class="code·hl_function"·href="a00416.html#ga9ee41fe1d95778d467110d8a7eb87f22">state</a>);</div> 
134 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> 
135 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>··<span·class="keyword">private</span>:</div> 
136 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····<span·class="keywordtype">size_t</span>·localIndex_;</div> 
137 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>·</div> 
138 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>····<span·class="keywordtype">char</span>·attribute_;</div> 
139 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>·</div> 
140 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>····<span·class="keywordtype">char</span>·public_;</div> 
141 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div> 
142 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>····<span·class="keywordtype">char</span>·state_;</div> 
143 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div> 
144 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>··};</div> 
145 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div> 
146 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
147 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga3f656ae09bca24998c26b42304a9d1b2">··173</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;T&gt;</a>&amp;·p1,</div> 
148 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>··················<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;T&gt;</a>&amp;·p2)</div> 
149 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>··{</div> 
150 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>····<span·class="keywordflow">if</span>(p1.<a·class="code·hl_function"·href="a00416.html#ga4b260e0b49fdbdeec3c139fcfcc03518">local</a>()!=p2.<a·class="code·hl_function"·href="a00416.html#ga4b260e0b49fdbdeec3c139fcfcc03518">local</a>())</div> 
151 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
152 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>····<span·class="keywordflow">if</span>(p1.<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>()!=p2.<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>())</div> 
153 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
154 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>····<span·class="keywordflow">if</span>(p1.<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>()!=p2.<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>())</div> 
155 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
156 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> 
157 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>··}</div>86 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>
158 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>87 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>······<span·class="keyword">template</span>&lt;<span·class="keywordtype">unsigned</span>·i&gt;</div>
 88 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno"><a·class="line"·href="a02612.html">··185</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02608.html">ADLTag</a>&lt;i&gt;·:·<a·class="code·hl_struct"·href="a02608.html">ADLTag</a>&lt;i-1&gt;·{};</div>
159 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga773d38fd187016eb6fef134776f7d761">··185</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;T&gt;</a>&amp;·p1,</div> 
160 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>··················<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;T&gt;</a>&amp;·p2)</div> 
161 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>··{</div>89 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div>
Max diff block lines reached; 33299/57097 bytes (58.32%) of diff not shown.
10.1 KB
html2text {}
    
Offset 4, 327 lines modifiedOffset 4, 69 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·parallel 
8 plocalindex.hh7 ····*·simd
 8 base.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 13 ·3#ifndef·DUNE_COMMON_SIMD_BASE_HH
 14 ·4#define·DUNE_COMMON_SIMD_BASE_HH
15 ·515 ·5
16 ·6#ifndef·DUNE_PLOCALINDEX_HH 
17 ·7#define·DUNE_PLOCALINDEX_HH 
18 ·8 
19 ·9#include·"localindex.hh" 
20 ·10#include·"indexset.hh" 
21 ·11#include·"mpitraits.hh" 
22 ·12 
23 ·13#include·<iostream> 
24 ·14 
25 ·15namespace·Dune16 ·92namespace·Dune·{
 17 ·93·namespace·Simd·{
 18 ·94
 19 ·97
 20 ·112·namespace·Overloads·{
 21 ·113
26 ·16{22 ·116
27 ·17 
28 ·1823 ·118
 24 ·181·template<unsigned·i,·bool·=·true>
 25 182·struct·ADLTag;
29 ·29·template<class·T>·class·ParallelLocalIndex; 
30 ·30 
31 ·36·template<class·T> 
32 37·std::ostream&·operator<<(std::ostream&·os,·const·ParallelLocalIndex<T>& 
33 index) 
34 ·38·{ 
35 ·39·os<<"{local="<<index.localIndex_<<",·attr="<<T(index.attribute_)<<", 
36 public=" 
37 ·40·<<(index.public_·?·true·:·false)<<"}"; 
38 ·41·return·os; 
39 ·42·} 
40 ·43 
41 ·47·template<typename·T> 
42 48·class·ParallelLocalIndex 
43 ·49·{ 
44 ·50#if·HAVE_MPI 
45 ·51·//·friend·declaration·needed·for·MPITraits 
46 ·52·friend·struct·MPITraits<ParallelLocalIndex<T>·>; 
47 ·53#endif 
48 ·54·friend·std::ostream&·operator<<<>(std::ostream&·os,·const 
49 ParallelLocalIndex<T>&·index); 
50 ·55 
51 ·56·public: 
52 64·typedef·T·Attribute; 
53 ·73·ParallelLocalIndex(const·Attribute&·attribute,·bool·isPublic); 
54 ·74 
55 ·83·ParallelLocalIndex(size_t·localIndex,·const·Attribute&·attribute,·bool 
56 isPublic=true); 
57 ·89·ParallelLocalIndex(); 
58 ·90 
59 ·91#if·0 
60 ·101·ParallelLocalIndex(const·Attribute&·attribute,·size_t·local,·bool 
61 isPublic); 
62 ·102#endif 
63 ·103 
64 ·108·inline·const·Attribute·attribute()·const; 
65 ·109 
66 ·114·inline·void·setAttribute(const·Attribute&·attribute); 
67 ·115 
68 ·120·inline·size_t·local()·const; 
69 ·121 
70 ·125·inline·operator·size_t()·const; 
71 ·126 
72 ·132·inline·ParallelLocalIndex<Attribute>&·operator=(size_t·index); 
73 ·133 
74 ·138·inline·bool·isPublic()·const; 
75 ·139 
76 ·144·inline·LocalIndexState·state()·const; 
77 ·145 
78 ·150·inline·void·setState(const·LocalIndexState&·state); 
79 ·151 
80 ·152·private: 
81 ·154·size_t·localIndex_; 
82 ·155 
83 ·157·char·attribute_; 
84 ·158 
85 ·160·char·public_; 
86 ·161 
87 ·168·char·state_; 
88 ·169 
89 ·170·}; 
90 ·171 
91 ·172·template<typename·T> 
92 173·bool·operator==(const·ParallelLocalIndex<T>&·p1, 
93 ·174·const·ParallelLocalIndex<T>&·p2) 
94 ·175·{ 
95 ·176·if(p1.local()!=p2.local()) 
96 ·177·return·false; 
97 ·178·if(p1.attribute()!=p2.attribute()) 
98 ·179·return·false; 
99 ·180·if(p1.isPublic()!=p2.isPublic()) 
100 ·181·return·false; 
101 ·182·return·true; 
102 ·183·}26 ·183
103 ·184·template<typename·T> 
104 185·bool·operator!=(const·ParallelLocalIndex<T>&·p1, 
105 ·186·const·ParallelLocalIndex<T>&·p2) 
106 ·187·{ 
107 ·188·return·!(p1==p2);27 ·184·template<unsigned·i>
 28 185·struct·ADLTag<i>·:·ADLTag<i-1>·{};
 29 ·186
 30 ·187·template<>
 31 188·struct·ADLTag<0>·{};
108 ·189·}32 ·189
109 ·190 
110 ·19133 ·191
 34 ·195·template<class·V,·class·SFINAETag·=·void>
 35 ·196·struct·ScalarType;
Max diff block lines reached; 1320/10318 bytes (12.79%) of diff not shown.
4.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a00074.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·stdthread.cc·File·Reference</title>8 <title>dune-common:·test.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 41 lines modifiedOffset 58, 25 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary"> 
69 <a·href="#namespaces">Namespaces</a>·&#124; 
70 <a·href="#func-members">Functions</a>··</div> 
71 ··<div·class="headertitle"><div·class="title">stdthread.cc·File·Reference</div></div>68 ··<div·class="headertitle"><div·class="title">test.cc·File·Reference</div></div>
72 </div><!--header-->69 </div><!--header-->
73 <div·class="contents">70 <div·class="contents">
74 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>71 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
75 <code>#include·&lt;iostream&gt;</code><br·/> 
76 <code>#include·&lt;mutex&gt;</code><br·/> 
77 <code>#include·&lt;ostream&gt;</code><br·/>72 <code>#include·&lt;ostream&gt;</code><br·/>
 73 <code>#include·&lt;string&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/stdthread.hh</a>&gt;</code><br·/>74 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/simd/test.hh</a>&gt;</code><br·/>
79 </div><table·class="memberdecls"> 
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
81 Namespaces</h2></td></tr> 
82 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
83 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
85 </table><table·class="memberdecls"> 
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
87 Functions</h2></td></tr> 
88 <tr·class="memitem:aa76832a917330622cdf531c2e6375f4c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">Dune::doAssertCallOnce</a>·(const·char·*file,·int·line,·const·char·*function)</td></tr> 
89 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 </table> 
91 </div><!--·contents·-->75 </div></div><!--·contents·-->
92 <!--·start·footer·part·-->76 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>77 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.478 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>79 </small></address>
96 </body>80 </body>
97 </html>81 </html>
651 B
html2text {}
    
Offset 4, 24 lines modifiedOffset 4, 16 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions7 ····*·simd
8 stdthread.cc·File·Reference8 test.cc·File·Reference
 9 #include·<config.h>
9 #include·<cstdlib> 
10 #include·<iostream> 
11 #include·<mutex> 
12 #include·<ostream>10 #include·<ostream>
 11 #include·<string>
13 #include·<dune/common/stdthread.hh>12 #include·<dune/common/simd/test.hh>
14 ·Namespaces 
15 namespace· Dune 
16  ··········Dune·namespace. 
17   
18 ·Functions 
19 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function) 
20   
  
21 ===============================================================================13 ===============================================================================
22 ·····Generated·by [doxygen]·1.9.414 ·····Generated·by [doxygen]·1.9.4
38.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00077.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·promotiontraits.hh·File·Reference</title>8 <title>dune-common:·test.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 48 lines modifiedOffset 58, 496 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#define-members">Macros</a>·&#124;
 72 <a·href="#typedef-members">Typedefs</a>··</div>
71 ··<div·class="headertitle"><div·class="title">promotiontraits.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">test.hh·File·Reference</div></div>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
  
74 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··76 <p>Common·tests·for·simd·abstraction·implementations.··
75 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 79 <code>#include·&lt;cstddef&gt;</code><br·/>
 80 <code>#include·&lt;iostream&gt;</code><br·/>
 81 <code>#include·&lt;sstream&gt;</code><br·/>
 82 <code>#include·&lt;string&gt;</code><br·/>
 83 <code>#include·&lt;type_traits&gt;</code><br·/>
 84 <code>#include·&lt;typeindex&gt;</code><br·/>
 85 <code>#include·&lt;typeinfo&gt;</code><br·/>
 86 <code>#include·&lt;unordered_set&gt;</code><br·/>
 87 <code>#include·&lt;utility&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00392_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/simd/io.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
 94 <code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 95 <code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
 96 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
77 </div>97 </div>
78 <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p>98 <p><a·href="a00077_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">99 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
81 Classes</h2></td></tr>101 Classes</h2></td></tr>
82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02432.html">Dune::PromotionTraits&lt;·T1,·T2·&gt;</a></td></tr>102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02724.html">Dune::Simd::EndMark</a></td></tr>
83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··<a·href="a02432.html#details">More...</a><br·/></td></tr>103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">final·element·marker·for·<code>RebindList</code>··<a·href="a02724.html#details">More...</a><br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02436.html">Dune::PromotionTraits&lt;·T1,·T1·&gt;</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02728.html">Dune::Simd::UnitTest</a></td></tr>
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table><table·class="memberdecls">107 </table><table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
89 Namespaces</h2></td></tr>109 Namespaces</h2></td></tr>
90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>110 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>111 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>
 114 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
 115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 </table><table·class="memberdecls">
 117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 118 Macros</h2></td></tr>
 119 <tr·class="memitem:a597f9d11a82f392a91b8bc12bd49a595"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a597f9d11a82f392a91b8bc12bd49a595">DUNE_SIMD_CHECK</a>(expr)&#160;&#160;&#160;······((expr)·?·void()·:·complain(__FILE__,·__LINE__,·__func__,·#expr))</td></tr>
 120 <tr·class="separator:a597f9d11a82f392a91b8bc12bd49a595"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a48b2df30d98156457f001562d4bd5270"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a48b2df30d98156457f001562d4bd5270">DUNE_SIMD_CHECK_OP</a>(expr)</td></tr>
 122 <tr·class="separator:a48b2df30d98156457f001562d4bd5270"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:a09facb8a8a5240120cca8ec1d1605959"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a09facb8a8a5240120cca8ec1d1605959">DUNE_SIMD_POSTFIX_OP</a>(NAME,··SYMBOL)</td></tr>
 124 <tr·class="separator:a09facb8a8a5240120cca8ec1d1605959"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:aeb2257e86dd590d0f724653136732d17"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#aeb2257e86dd590d0f724653136732d17">DUNE_SIMD_PREFIX_OP</a>(NAME,··SYMBOL)</td></tr>
 126 <tr·class="separator:aeb2257e86dd590d0f724653136732d17"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V)&gt;())</td></tr>
 128 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:a20f7280cead2264697f74b1deebc17e5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a20f7280cead2264697f74b1deebc17e5">DUNE_SIMD_INFIX_OP</a>(NAME,··SYMBOL)</td></tr>
 130 <tr·class="separator:a20f7280cead2264697f74b1deebc17e5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:ad379032c70061c8e4d7d292356c9381c"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#ad379032c70061c8e4d7d292356c9381c">DUNE_SIMD_ASSIGN_OP</a>(NAME,··SYMBOL)</td></tr>
 132 <tr·class="separator:ad379032c70061c8e4d7d292356c9381c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:acf66af48cb08cc1bc5334b44dfd6e016"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#acf66af48cb08cc1bc5334b44dfd6e016">DUNE_SIMD_REPL_OP</a>(NAME,··REPLFN,··SYMBOL)</td></tr>
 134 <tr·class="separator:acf66af48cb08cc1bc5334b44dfd6e016"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;OpInfixComma(T1,·T2)&gt;())</td></tr>
 136 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·V2)&gt;())</td></tr>
 138 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·T2)&gt;())</td></tr>
 140 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·T2)&gt;())</td></tr>
 142 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V1,·P2)&gt;())</td></tr>
 144 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:afc92f199d5b487cb38c2befd03eed5de"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html#afc92f199d5b487cb38c2befd03eed5de">DUNE_SIMD_DO</a>(M1,··M2,··M3,··V1,··V2,··V3,··NAME)</td></tr>
 146 <tr·class="separator:afc92f199d5b487cb38c2befd03eed5de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 </table><table·class="memberdecls">
 148 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 149 Typedefs</h2></td></tr>
 150 <tr·class="memitem:a320566db6148b3a25631f0620601b881"><td·class="memTemplParams"·colspan="2">template&lt;class...·Types&gt;·</td></tr>
 151 <tr·class="memitem:a320566db6148b3a25631f0620601b881"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00429.html#a320566db6148b3a25631f0620601b881">Dune::Simd::RebindList</a>·=·typename·Impl::RemoveEnd&lt;·EndMark,·TypeList&lt;·Types...·&gt;·&gt;::type</td></tr>
 152 <tr·class="memdesc:a320566db6148b3a25631f0620601b881"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·list·of·types·with·the·final·element·removed.··<a·href="a00429.html#a320566db6148b3a25631f0620601b881">More...</a><br·/></td></tr>
 153 <tr·class="separator:a320566db6148b3a25631f0620601b881"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:ab73dd40e3f2afeb94216681ddf2d5b00"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 155 <tr·class="memitem:ab73dd40e3f2afeb94216681ddf2d5b00"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00429.html#ab73dd40e3f2afeb94216681ddf2d5b00">Dune::Simd::IsLoop</a>·=·typename·Impl::IsLoop&lt;·T·&gt;::type</td></tr>
 156 <tr·class="memdesc:ab73dd40e3f2afeb94216681ddf2d5b00"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·a·type·is·an·instance·of·<a·class="el"·href="a02636.html">LoopSIMD</a>··<a·href="a00429.html#ab73dd40e3f2afeb94216681ddf2d5b00">More...</a><br·/></td></tr>
 157 <tr·class="separator:ab73dd40e3f2afeb94216681ddf2d5b00"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table>158 </table>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>159 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><p·>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.·</p> 
96 <dl·class="section·author"><dt>Author</dt><dd>Matthias·Wohlmuth·</dd></dl>160 <div·class="textblock"><p·>Common·tests·for·simd·abstraction·implementations.·</p>
 161 <p·>This·file·is·an·interface·header·and·may·be·included·without·restrictions.·</p>
 162 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 163 <a·id="ad379032c70061c8e4d7d292356c9381c"·name="ad379032c70061c8e4d7d292356c9381c"></a>
 164 <h2·class="memtitle"><span·class="permalink"><a·href="#ad379032c70061c8e4d7d292356c9381c">&#9670;&nbsp;</a></span>DUNE_SIMD_ASSIGN_OP</h2>
  
Max diff block lines reached; 243/32593 bytes (0.75%) of diff not shown.
6.42 KB
html2text {}
    
Offset 4, 32 lines modifiedOffset 4, 205 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces 
8 promotiontraits.hh·File·Reference 
9 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different 
10 number·types.·More...7 ····*·simd
 8 Classes·|·Namespaces·|·Macros·|·Typedefs
 9 test.hh·File·Reference
 10 Common·tests·for·simd·abstraction·implementations.·More...
 11 #include·<algorithm>
 12 #include·<cstddef>
 13 #include·<iostream>
 14 #include·<sstream>
 15 #include·<string>
 16 #include·<type_traits>
 17 #include·<typeindex>
 18 #include·<typeinfo>
 19 #include·<unordered_set>
11 #include·<utility>20 #include·<utility>
 21 #include·<dune/common/classname.hh>
 22 #include·<dune/common/hybridutilities.hh>
 23 #include·<dune/common/rangeutilities.hh>
 24 #include·<dune/common/simd/io.hh>
 25 #include·<dune/common/simd/loop.hh>
 26 #include·<dune/common/simd/simd.hh>
 27 #include·<dune/common/std/type_traits.hh>
 28 #include·<dune/common/typelist.hh>
 29 #include·<dune/common/typetraits.hh>
12 Go_to_the_source_code_of_this_file.30 Go_to_the_source_code_of_this_file.
13 ·Classes31 ·Classes
 32 struct· Dune::Simd::EndMark
 33  ·······final·element·marker·for·RebindList·More...
14 struct· Dune::PromotionTraits<_T1,_T2_> 
15  ·······Compute·type·of·the·result·of·an·arithmetic·operation·involving·two 
16 ·········different·number·types.·More... 
17  34  
18 struct· Dune::PromotionTraits<_T1,_T1_>35 ·class· Dune::Simd::UnitTest
19  36  
20 ·Namespaces37 ·Namespaces
21 namespace· Dune38 namespace· Dune
22  ··········Dune·namespace.39  ··········Dune·namespace.
23  40  
 41 namespace· Dune::Simd
 42  ··········Namespace·for·vectorization·interface·functions·used·by·library
 43 ············developers.
 44  
 45 ·Macros
 46 #define DUNE_SIMD_CHECK(expr)   ·((expr)·?·void()·:·complain(__FILE__,·__LINE__,
 47 ·········__func__,·#expr))
 48  
 49 #define DUNE_SIMD_CHECK_OP(expr)
 50  
 51 #define DUNE_SIMD_POSTFIX_OP(NAME,·SYMBOL)
 52  
 53 #define DUNE_SIMD_PREFIX_OP(NAME,·SYMBOL)
 54  
 55 #define DUNE_SIMD_OPNAME   (className<Op(V)>())
 56  
 57 #define DUNE_SIMD_INFIX_OP(NAME,·SYMBOL)
 58  
 59 #define DUNE_SIMD_ASSIGN_OP(NAME,·SYMBOL)
 60  
 61 #define DUNE_SIMD_REPL_OP(NAME,·REPLFN,·SYMBOL)
 62  
 63 #define DUNE_SIMD_OPNAME   (className<OpInfixComma(T1,·T2)>())
 64  
 65 #define DUNE_SIMD_OPNAME   (className<Op(V1,·V2)>())
 66  
 67 #define DUNE_SIMD_OPNAME   (className<Op(V1,·T2)>())
 68  
 69 #define DUNE_SIMD_OPNAME   (className<Op(V1,·T2)>())
 70  
 71 #define DUNE_SIMD_OPNAME   (className<Op(V1,·P2)>())
 72  
 73 #define DUNE_SIMD_DO(M1,·M2,·M3,·V1,·V2,·V3,·NAME)
 74  
 75 ·Typedefs
 76 template<class...·Types>
 77 using Dune::Simd::RebindList·=·typename·Impl::RemoveEnd<·EndMark,·TypeList<
 78 ·······Types...·>·>::type
 79  ·····A·list·of·types·with·the·final·element·removed.·More...
 80  
 81 template<class·T·>
 82 using Dune::Simd::IsLoop·=·typename·Impl::IsLoop<·T·>::type
 83  ·····check·whether·a·type·is·an·instance·of·LoopSIMD·More...
 84  
24 *****·Detailed·Description·*****85 *****·Detailed·Description·*****
25 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different 
26 number·types. 
27 ··Author 
28 ······Matthias·Wohlmuth86 Common·tests·for·simd·abstraction·implementations.
 87 This·file·is·an·interface·header·and·may·be·included·without·restrictions.
 88 *****·Macro·Definition·Documentation·*****
 89 *****·◆ DUNE_SIMD_ASSIGN_OP·*****
 90 #define·DUNE_SIMD_ASSIGN_OP·(· NAME,
 91 ······························ SYMBOL 
 92 ····························)
 93 Value:
 94 struct·OpInfix##NAME·\
 95 {·\
 96 template<class·V1,·class·V2>·\
 97 decltype(auto)·operator()(V1&&·v1,·V2&&·v2)·const·\
 98 {·\
 99 return·std::forward<V1>(v1)·SYMBOL·std::forward<V2>(v2);·\
 100 }·\
 101 template<class·S1,·class·S2>·\
 102 auto·scalar(S1&·s1,·S2&&·s2)·const·\
 103 ->·decltype(s1·SYMBOL·std::forward<S2>(s2));·\
 104 }
 105 *****·◆ DUNE_SIMD_CHECK·*****
 106 #define·········(· expr·)·   ·((expr)·?·void()·:·complain(__FILE__,·__LINE__,·__func__,
 107 DUNE_SIMD_CHECK············#expr))
 108 *****·◆ DUNE_SIMD_CHECK_OP·*****
 109 #define·DUNE_SIMD_CHECK_OP·(· expr·)
 110 Value:
 111 ((expr)·?·void()·:·complain(__FILE__,·__LINE__,·__func__,·\
 112 DUNE_SIMD_OPNAME,·#expr))
 113 DUNE_SIMD_OPNAME
 114 #define·DUNE_SIMD_OPNAME
 115 *****·◆ DUNE_SIMD_DO·*****
 116 #define·DUNE_SIMD_DO·(· M1,
 117 ······················· M2,
Max diff block lines reached; 116/6547 bytes (1.77%) of diff not shown.
423 KB
./usr/share/doc/libdune-common-doc/doxygen/a00077_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·promotiontraits.hh·Source·File</title>8 <title>dune-common:·test.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 51 lines modifiedOffset 58, 1985 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">promotiontraits.hh</div></div>68 ··<div·class="headertitle"><div·class="title">test.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
Diff chunk too large, falling back to line-by-line diff (1943 lines added, 26 lines removed)
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00077.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_TEST_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_TEST_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PROMOTIONTRAITS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PROMOTIONTRAITS_HH</span></div>76 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
81 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div>81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a02432.html">···26</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a></div>82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;typeindex&gt;</span></div>
83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div>83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02432.html#a3f2079447de3426b9da835d3f32d73b6">···28</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">decltype</span>(std::declval&lt;T1&gt;()+std::declval&lt;T2&gt;())[·...·truncated·by·diffoscope;·len:·98,·SHA:·7e73bdfbaad30bf5c945fbcc9e6ab761938ab328065afea7bcc08b088f1ad747·...·]</div>84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;unordered_set&gt;</span></div>
85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··};</div>85 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>86 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
87 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="comment">//·Specialization·for·the·case·of·two·equal·types</span></div>87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00014.html">dune/common/classname.hh</a>&gt;</span></div>
88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="comment">//·One·should·think·that·the·generic·template·should·handle·this·case·as·well.</span></div>88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00392.html">dune/common/hybridutilities.hh</a>&gt;</span></div>
89 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="comment">//·However,·the·fvectortest.cc·unit·test·fails·without·it·if·ENABLE_GMP·is·set.</span></div>89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T1&gt;</div>90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00056.html">dune/common/simd/io.hh</a>&gt;</span></div>
91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a02436.html#ab4f6d422c0baac66e9496252327e6682">···35</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;T1,T1&gt;·{·<span·clas[·...·truncated·by·diffoscope;·len:·130,·SHA:·4ee90e962e89d4f2d95de827aff7b037d1e5bd0e2b39d4e182dc6c659098397c·...·]</div>91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00053.html">dune/common/simd/loop.hh</a>&gt;</span></div>
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>92 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>}·<span·class="comment">//·end·namespace</span></div>93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00152.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00032.html">dune/common/typelist.hh</a>&gt;</span></div>
95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>95 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_PROMOTIONTRAITS_HH</span></div>96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">namespace·</span>Simd·{</div>
 99 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">namespace·</span>Impl·{</div>
 101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 102 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·SFINAE·=·<span·class="keywordtype">void</span>&gt;</div>
 103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keyword">struct·</span>LessThenComparable·:·std::false_type·{};</div>
 104 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 105 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">struct·</span>LessThenComparable&lt;T,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::<a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">void_t</a>&lt;decltype(std::declval&lt;T&gt;()</div>
 106 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···················································&lt;·std::declval&lt;T&gt;())&gt;·&gt;·:</div>
 107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········std::true_type</div>
 108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······{};</div>
 109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div>
 111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">struct·</span>CopyConstHelper</div>
 112 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······{</div>
 113 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keyword">using·</span>type·=·Dst;</div>
 114 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······};</div>
 115 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div>
 116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keyword">struct·</span>CopyConstHelper&lt;Dst,·const·Src&gt;</div>
 117 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div>
 118 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keyword">using·</span>type·=·std::add_const_t&lt;Dst&gt;;</div>
 119 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······};</div>
 120 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 121 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div>
 122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keyword">struct·</span>CopyVolatileHelper</div>
 123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{</div>
 124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">using·</span>type·=·Dst;</div>
 125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······};</div>
 126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div>
 127 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">struct·</span>CopyVolatileHelper&lt;Dst,·volatile·Src&gt;</div>
 128 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······{</div>
 129 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keyword">using·</span>type·=·std::add_volatile_t&lt;Dst&gt;;</div>
 130 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······};</div>
 131 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 132 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div>
 133 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keyword">struct·</span>CopyReferenceHelper</div>
 134 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div>
 135 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">using·</span>type·=·Dst;</div>
 136 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······};</div>
 137 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div>
 138 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keyword">struct·</span>CopyReferenceHelper&lt;Dst,·Src&amp;&gt;</div>
 139 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······{</div>
 140 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">using·</span>type·=·std::add_lvalue_reference_t&lt;Dst&gt;;</div>
 141 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······};</div>
 142 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 143 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div>
 144 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keyword">struct·</span>CopyReferenceHelper&lt;Dst,·Src&amp;&amp;&gt;</div>
 145 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······{</div>
 146 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········<span·class="keyword">using·</span>type·=·std::add_rvalue_reference_t&lt;Dst&gt;;</div>
 147 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······};</div>
 148 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 149 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div>
 150 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······<span·class="keyword">using·</span>CopyRefQual·=·<span·class="keyword">typename</span>·CopyReferenceHelper&lt;</div>
 151 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="keyword">typename</span>·CopyVolatileHelper&lt;</div>
 152 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··········<span·class="keyword">typename</span>·CopyConstHelper&lt;</div>
 153 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>············std::decay_t&lt;Dst&gt;,</div>
 154 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>············std::remove_reference_t&lt;Src&gt;</div>
 155 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>············&gt;::type,</div>
 156 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··········std::remove_reference_t&lt;Src&gt;</div>
 157 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··········&gt;::type,</div>
 158 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········Src</div>
 159 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········&gt;::type;</div>
 160 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 161 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>Mark,·<span·class="keyword">class·</span>Types,</div>
 162 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>···············<span·class="keyword">class·</span>Indices·=</div>
 163 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·················std::make_index_sequence&lt;TypeListSize&lt;Types&gt;::value·-·1&gt;·&gt;</div>
 164 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······<span·class="keyword">struct·</span>RemoveEnd;</div>
 165 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>Mark,·<span·class="keyword">class·</span>Types,·std::size_t...·I&gt;</div>
 166 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keyword">struct·</span>RemoveEnd&lt;Mark,·Types,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::index_sequence&lt;I...&gt;&gt;</div>
Max diff block lines reached; 7342/358132 bytes (2.05%) of diff not shown.
73.5 KB
html2text {}
    
Offset 4, 54 lines modifiedOffset 4, 2091 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 promotiontraits.hh7 ····*·simd
 8 test.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
Diff chunk too large, falling back to line-by-line diff (2010 lines added, 25 lines removed)
12 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_PROMOTIONTRAITS_HH13 ·3#ifndef·DUNE_COMMON_SIMD_TEST_HH
15 ·6#define·DUNE_PROMOTIONTRAITS_HH14 ·4#define·DUNE_COMMON_SIMD_TEST_HH
16 ·715 ·5
17 ·8#include·<utility>16 ·12#include·<algorithm>
18 ·917 ·13#include·<cstddef>
19 ·10namespace·Dune·{18 ·14#include·<iostream>
20 ·25·template·<typename·T1,·typename·T2>19 ·15#include·<sstream>
21 26·struct·PromotionTraits20 ·16#include·<string>
22 ·27·{21 ·17#include·<type_traits>
23 28·typedef·decltype(std::declval<T1>()+std::declval<T2>())·PromotedType;22 ·18#include·<typeindex>
24 ·29·};23 ·19#include·<typeinfo>
25 ·3024 ·20#include·<unordered_set>
26 ·31·//·Specialization·for·the·case·of·two·equal·types25 ·21#include·<utility>
27 ·32·//·One·should·think·that·the·generic·template·should·handle·this·case·as26 ·22
28 well.27 ·23#include·<dune/common/classname.hh>
29 ·33·//·However,·the·fvectortest.cc·unit·test·fails·without·it·if·ENABLE_GMP·is28 ·24#include·<dune/common/hybridutilities.hh>
30 set.29 ·25#include·<dune/common/rangeutilities.hh>
31 ·34·template·<typename·T1>30 ·26#include·<dune/common/simd/io.hh>
32 35·struct·PromotionTraits<T1,T1>·{·typedef·T1·PromotedType;·};31 ·27#include·<dune/common/simd/loop.hh>
33 ·3632 ·28#include·<dune/common/simd/simd.hh>
34 ·38}·//·end·namespace33 ·29#include·<dune/common/std/type_traits.hh>
35 ·3934 ·30#include·<dune/common/typelist.hh>
36 ·4035 ·31#include·<dune/common/typetraits.hh>
37 ·41#endif·//·DUNE_PROMOTIONTRAITS_HH36 ·32
 37 ·33namespace·Dune·{
 38 ·34·namespace·Simd·{
 39 ·35
 40 ·36·namespace·Impl·{
 41 ·37
 42 ·38·template<class·T,·class·SFINAE·=·void>
 43 ·39·struct·LessThenComparable·:·std::false_type·{};
 44 ·40·template<class·T>
 45 ·41·struct·LessThenComparable<T,·std::void_t<decltype(std::declval<T>()
 46 ·42·<·std::declval<T>())>·>·:
 47 ·43·std::true_type
 48 ·44·{};
 49 ·45
 50 ·46·template<class·Dst,·class·Src>
 51 ·47·struct·CopyConstHelper
 52 ·48·{
 53 ·49·using·type·=·Dst;
 54 ·50·};
 55 ·51·template<class·Dst,·class·Src>
 56 ·52·struct·CopyConstHelper<Dst,·const·Src>
 57 ·53·{
 58 ·54·using·type·=·std::add_const_t<Dst>;
 59 ·55·};
 60 ·56
 61 ·57·template<class·Dst,·class·Src>
 62 ·58·struct·CopyVolatileHelper
 63 ·59·{
 64 ·60·using·type·=·Dst;
 65 ·61·};
 66 ·62·template<class·Dst,·class·Src>
 67 ·63·struct·CopyVolatileHelper<Dst,·volatile·Src>
 68 ·64·{
 69 ·65·using·type·=·std::add_volatile_t<Dst>;
 70 ·66·};
 71 ·67
 72 ·68·template<class·Dst,·class·Src>
 73 ·69·struct·CopyReferenceHelper
 74 ·70·{
 75 ·71·using·type·=·Dst;
 76 ·72·};
 77 ·73·template<class·Dst,·class·Src>
 78 ·74·struct·CopyReferenceHelper<Dst,·Src&>
 79 ·75·{
 80 ·76·using·type·=·std::add_lvalue_reference_t<Dst>;
 81 ·77·};
 82 ·78
 83 ·79·template<class·Dst,·class·Src>
 84 ·80·struct·CopyReferenceHelper<Dst,·Src&&>
 85 ·81·{
 86 ·82·using·type·=·std::add_rvalue_reference_t<Dst>;
 87 ·83·};
 88 ·84
 89 ·85·template<class·Dst,·class·Src>
 90 ·86·using·CopyRefQual·=·typename·CopyReferenceHelper<
 91 ·87·typename·CopyVolatileHelper<
 92 ·88·typename·CopyConstHelper<
 93 ·89·std::decay_t<Dst>,
 94 ·90·std::remove_reference_t<Src>
 95 ·91·>::type,
 96 ·92·std::remove_reference_t<Src>
 97 ·93·>::type,
 98 ·94·Src
 99 ·95·>::type;
 100 ·96
 101 ·97·template<class·Mark,·class·Types,
 102 ·98·class·Indices·=
 103 ·99·std::make_index_sequence<TypeListSize<Types>::value·-·1>·>
 104 ·100·struct·RemoveEnd;
 105 ·101·template<class·Mark,·class·Types,·std::size_t...·I>
 106 ·102·struct·RemoveEnd<Mark,·Types,·std::index_sequence<I...>>
 107 ·103·{
 108 ·104·using·Back·=·TypeListEntry_t<TypeListSize<Types>::value·-·1,·Types>;
 109 ·105·static_assert(std::is_same<Mark,·Back>::value,
 110 ·106·"TypeList·not·terminated·by·proper·EndMark");
 111 ·107·using·type·=·TypeList<TypeListEntry_t<I,·Types>...>;
 112 ·108·};
 113 ·109
 114 ·110·template<class·T,·class·List,·class·=·void>
 115 ·111·struct·TypeInList;
 116 ·112
 117 ·113·template<class·T>
 118 ·114·struct·TypeInList<T,·TypeList<>·>·:·std::false_type·{};
 119 ·115
 120 ·116·template<class·T,·class...·Rest>
 121 ·117·struct·TypeInList<T,·TypeList<T,·Rest...>·>·:·std::true_type·{};
 122 ·118
 123 ·119·template<class·T,·class·Head,·class...·Rest>
Max diff block lines reached; 2574/75190 bytes (3.42%) of diff not shown.
8.58 KB
./usr/share/doc/libdune-common-doc/doxygen/a00080.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·transpose.hh·File·Reference</title>8 <title>dune-common:·exceptions.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 54 lines modifiedOffset 63, 25 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">transpose.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">exceptions.cc·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
75 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/> 
76 <code>#include·&lt;functional&gt;</code><br·/> 
77 <code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
78 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00161_source.html">dune/common/referencehelper.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/dynmatrix.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
83 </div> 
84 <p><a·href="a00080_source.html">Go·to·the·source·code·of·this·file.</a></p> 
85 <table·class="memberdecls">75 </div><table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>76 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
87 Namespaces</h2></td></tr>77 Namespaces</h2></td></tr>
88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>78 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>79 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table><table·class="memberdecls"> 
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
93 Functions</h2></td></tr> 
94 <tr·class="memitem:ad090bea53c1598805a721f989ffea309"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·,·std::enable_if_t&lt;·Impl::HasMemberFunctionTransposed&lt;·Matrix·&gt;::value,·int·&gt;··=·0&gt;·</td></tr> 
95 <tr·class="memitem:ad090bea53c1598805a721f989ffea309"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ad090bea53c1598805a721f989ffea309">Dune::transpose</a>·(const·Matrix·&amp;matrix)</td></tr> 
96 <tr·class="memdesc:ad090bea53c1598805a721f989ffea309"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·the·transposed·of·the·given·matrix.··<a·href="a00425.html#ad090bea53c1598805a721f989ffea309">More...</a><br·/></td></tr> 
97 <tr·class="separator:ad090bea53c1598805a721f989ffea309"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:a15675202af9ce6f9282065c808f24a82"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·,·std::enable_if_t&lt;·not·Impl::HasMemberFunctionTransposed&lt;·std::decay_t&lt;·Matrix·&gt;·&gt;::value,·int·&gt;··=·0&gt;·</td></tr> 
99 <tr·class="memitem:a15675202af9ce6f9282065c808f24a82"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a15675202af9ce6f9282065c808f24a82">Dune::transpose</a>·(Matrix·&amp;&amp;matrix)</td></tr> 
100 <tr·class="memdesc:a15675202af9ce6f9282065c808f24a82"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·wrapper·modelling·the·transposed·matrix.··<a·href="a00425.html#a15675202af9ce6f9282065c808f24a82">More...</a><br·/></td></tr> 
101 <tr·class="separator:a15675202af9ce6f9282065c808f24a82"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:a7fd3975f961a390371400a55a41b6209"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·&gt;·</td></tr> 
103 <tr·class="memitem:a7fd3975f961a390371400a55a41b6209"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a7fd3975f961a390371400a55a41b6209">Dune::transpose</a>·(const·std::reference_wrapper&lt;·Matrix·&gt;·&amp;matrix)</td></tr> 
104 <tr·class="memdesc:a7fd3975f961a390371400a55a41b6209"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·wrapper·modelling·the·transposed·matrix.··<a·href="a00425.html#a7fd3975f961a390371400a55a41b6209">More...</a><br·/></td></tr> 
105 <tr·class="separator:a7fd3975f961a390371400a55a41b6209"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:ae4a7b79043c218c135e2762d5874ce15"><td·class="memTemplParams"·colspan="2">template&lt;class·Matrix·&gt;·</td></tr> 
107 <tr·class="memitem:ae4a7b79043c218c135e2762d5874ce15"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae4a7b79043c218c135e2762d5874ce15">Dune::transposedView</a>·(const·Matrix·&amp;matrix)</td></tr> 
108 <tr·class="memdesc:ae4a7b79043c218c135e2762d5874ce15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·view·modelling·the·transposed·matrix.··<a·href="a00425.html#ae4a7b79043c218c135e2762d5874ce15">More...</a><br·/></td></tr> 
109 <tr·class="separator:ae4a7b79043c218c135e2762d5874ce15"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 </table>81 </table>
111 </div><!--·contents·-->82 </div><!--·contents·-->
112 <!--·start·footer·part·-->83 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>84 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.485 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>86 </small></address>
116 </body>87 </body>
1.46 KB
html2text {}
    
Offset 4, 44 lines modifiedOffset 4, 17 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces
 8 exceptions.cc·File·Reference
7 Namespaces·|·Functions 
8 transpose.hh·File·Reference 
9 #include·<cstddef> 
10 #include·<functional> 
11 #include·<dune/common/std/type_traits.hh> 
12 #include·<dune/common/fmatrix.hh> 
13 #include·<dune/common/promotiontraits.hh> 
14 #include·<dune/common/referencehelper.hh> 
15 #include·<dune/common/dynmatrix.hh> 
16 #include·<dune/common/matrixconcepts.hh>9 #include·<dune/common/exceptions.hh>
17 Go_to_the_source_code_of_this_file. 
18 ·Namespaces10 ·Namespaces
19 namespace· Dune11 namespace· Dune
20  ··········Dune·namespace.12  ··········Dune·namespace.
21  13  
22 ·Functions 
23 template<class·Matrix·,·std::enable_if_t<·Impl::HasMemberFunctionTransposed< 
24 Matrix·>::value,·int·>·=·0> 
25 auto Dune::transpose·(const·Matrix·&matrix) 
26  ····Return·the·transposed·of·the·given·matrix.·More... 
27   
28 template<class·Matrix·,·std::enable_if_t<·not·Impl:: 
29 HasMemberFunctionTransposed<·std::decay_t<·Matrix·>·>::value,·int·>·=·0> 
30 auto Dune::transpose·(Matrix·&&matrix) 
31  ····Create·a·wrapper·modelling·the·transposed·matrix.·More... 
32   
33 template<class·Matrix·> 
34 auto Dune::transpose·(const·std::reference_wrapper<·Matrix·>·&matrix) 
35  ····Create·a·wrapper·modelling·the·transposed·matrix.·More... 
36   
37 template<class·Matrix·> 
38 auto Dune::transposedView·(const·Matrix·&matrix) 
39  ····Create·a·view·modelling·the·transposed·matrix.·More... 
40   
  
41 ===============================================================================14 ===============================================================================
42 ·····Generated·by [doxygen]·1.9.415 ·····Generated·by [doxygen]·1.9.4
40.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00083.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·hash.hh·File·Reference</title>8 <title>dune-common:·typetraits.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 178 lines modifiedOffset 65, 134 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#define-members">Macros</a>·&#124;72 <a·href="#typedef-members">Typedefs</a>·&#124;
73 <a·href="#func-members">Functions</a>··</div>73 <a·href="#func-members">Functions</a>··</div>
74 ··<div·class="headertitle"><div·class="title">hash.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">typetraits.hh·File·Reference</div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Support·for·calculating·hash·values·of·objects.··77 <p>Traits·for·type·conversions·and·type·information.··
78 <a·href="#details">More...</a></p>78 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>80 <code>#include·&lt;type_traits&gt;</code><br·/>
 81 <code>#include·&lt;utility&gt;</code><br·/>
 82 <code>#include·&lt;vector&gt;</code><br·/>
81 </div>83 </div>
82 <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00083_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">85 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
85 Classes</h2></td></tr>87 Classes</h2></td></tr>
 88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03084.html">Dune::Empty</a></td></tr>
 89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Just·an·empty·class.··<a·href="a03084.html#details">More...</a><br·/></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03088.html">Dune::IsInteroperable&lt;·T1,·T2·&gt;</a></td></tr>
 92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·whether·two·types·are·interoperable.··<a·href="a03088.html#details">More...</a><br·/></td></tr>
 93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03092.html">Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;</a></td></tr>
 95 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Enable·typedef·if·two·types·are·interoperable.··<a·href="a03092.html#details">More...</a><br·/></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03096.html">Dune::AlwaysFalse&lt;·T·&gt;</a></td></tr>
 98 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">template·which·always·yields·a·false·value··<a·href="a03096.html#details">More...</a><br·/></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03100.html">Dune::AlwaysTrue&lt;·T·&gt;</a></td></tr>
 101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">template·which·always·yields·a·true·value··<a·href="a03100.html#details">More...</a><br·/></td></tr>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03108.html">Dune::IsCallable&lt;·F(Args...),·R·&gt;</a></td></tr>
 104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·a·type·is·callable·with·()-operator·and·given·arguments.··<a·href="a03108.html#details">More...</a><br·/></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01300.html">Dune::IsNumber&lt;·T·&gt;</a></td></tr>
 107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.··<a·href="a01300.html#details">More...</a><br·/></td></tr>
 108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03112.html">Dune::HasNaN&lt;·T·&gt;</a></td></tr>
 110 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·this·type·has·a·value·of·NaN.··<a·href="a03112.html#details">More...</a><br·/></td></tr>
 111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03116.html">Dune::IsIndexable&lt;·T,·I·&gt;</a></td></tr>
 113 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),·i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.··<a·href="a03116.html#details">More...</a><br·/></td></tr>
 114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03120.html">Dune::IsIterable&lt;·T,·typename·&gt;</a></td></tr>
 116 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">typetrait·to·check·that·a·class·has·begin()·and·end()·members··<a·href="a03120.html#details">More...</a><br·/></td></tr>
 117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03124.html">Dune::IsTuple&lt;·T·&gt;</a></td></tr>
 119 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·T·is·a·std::tuple&lt;...&gt;··<a·href="a03124.html#details">More...</a><br·/></td></tr>
 120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03128.html">Dune::IsTupleOrDerived&lt;·T·&gt;</a></td></tr>
 122 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·T·derived·from·a·std::tuple&lt;...&gt;··<a·href="a03128.html#details">More...</a><br·/></td></tr>
 123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03132.html">Dune::IsIntegralConstant&lt;·T·&gt;</a></td></tr>
 125 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;··<a·href="a03132.html#details">More...</a><br·/></td></tr>
 126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01856.html">Dune::hash&lt;·T·&gt;</a></td></tr>127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03136.html">Dune::SizeOf&lt;·T·&gt;</a></td></tr>
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Functor·for·hashing·objects·of·type·T.··<a·href="a01856.html#details">More...</a><br·/></td></tr>128 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·size·of·variadic·type·list.··<a·href="a03136.html#details">More...</a><br·/></td></tr>
 129 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03144.html">Dune::AutonomousValueType&lt;·T·&gt;</a></td></tr>
 131 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·free·of·internal·references·that·<code>T</code>·can·be·converted·to.··<a·href="a03144.html#details">More...</a><br·/></td></tr>
 132 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03148.html">Dune::AutonomousValueType&lt;·T·&amp;·&gt;</a></td></tr>
 134 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·lvalue·references.··<a·href="a03148.html#details">More...</a><br·/></td></tr>
 135 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03152.html">Dune::AutonomousValueType&lt;·T·&amp;&amp;·&gt;</a></td></tr>
 137 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·rvalue·references.··<a·href="a03152.html#details">More...</a><br·/></td></tr>
 138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03156.html">Dune::AutonomousValueType&lt;·const·T·&gt;</a></td></tr>
 140 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·const·qualifiers.··<a·href="a03156.html#details">More...</a><br·/></td></tr>
 141 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03160.html">Dune::AutonomousValueType&lt;·volatile·T·&gt;</a></td></tr>
 143 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·volatile·qualifiers.··<a·href="a03160.html#details">More...</a><br·/></td></tr>
 144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03164.html">Dune::AutonomousValueType&lt;·std::vector&lt;·bool·&gt;::reference·&gt;</a></td></tr>
 146 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·for·the·proxies·of·<code>vector&lt;bool&gt;</code>··<a·href="a03164.html#details">More...</a><br·/></td></tr>
 147 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 148 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03168.html">Dune::AutonomousValueType&lt;·volatile·const·T·&gt;</a></td></tr>
 149 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·both·const·and·volatile·qualifiers.··<a·href="a03168.html#details">More...</a><br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>150 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">151 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>152 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>153 Namespaces</h2></td></tr>
92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>154 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>155 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>156 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls">157 </table><table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>158 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 159 Typedefs</h2></td></tr>
 160 <tr·class="memitem:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memTemplParams"·colspan="2">template&lt;class...·Types&gt;·</td></tr>
 161 <tr·class="memitem:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">Dune::void_t</a>·=·typename·Impl::voider&lt;·Types...·&gt;::type</td></tr>
 162 <tr·class="memdesc:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-techniques.··<a·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">More...</a><br·/></td></tr>
97 Macros</h2></td></tr> 
98 <tr·class="memitem:a19447db8894b6d86b6b7ef0218694820"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a19447db8894b6d86b6b7ef0218694820">DUNE_DEFINE_HASH</a>(template_args,··type)</td></tr> 
99 <tr·class="memdesc:a19447db8894b6d86b6b7ef0218694820"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·the·required·struct·specialization·to·make·type·hashable·via·<code><a·class="el"·href="a01856.html"·title="Functor·for·hashing·objects·of·type·T.">Dune::hash</a></code>.··<a·href="a00083.html#a19447db8894b6d86b6b7ef0218694820">More...</a><br·/></td></tr> 
100 <tr·class="separator:a19447db8894b6d86b6b7ef0218694820"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:ad88c05071e8aafc3796b6d6238900697"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#ad88c05071e8aafc3796b6d6238900697">DUNE_HASH_TEMPLATE_ARGS</a>(...)</td></tr> 
102 <tr·class="memdesc:ad88c05071e8aafc3796b6d6238900697"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.··<a·href="a00083.html#ad88c05071e8aafc3796b6d6238900697">More...</a><br·/></td></tr> 
103 <tr·class="separator:ad88c05071e8aafc3796b6d6238900697"><td·class="memSeparator"·colspan="2">&#160;</td></tr>163 <tr·class="separator:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">DUNE_HASH_TYPE</a>(...)</td></tr> 
105 <tr·class="memdesc:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.··<a·href="a00083.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">More...</a><br·/></td></tr>164 <tr·class="memitem:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memTemplParams"·colspan="2">template&lt;class·Type·&gt;·</td></tr>
 165 <tr·class="memitem:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gaadd3a3e69d0220b41bb40ebc442d79ae">Dune::field_t</a>·=·typename·FieldTraits&lt;·Type·&gt;::field_type</td></tr>
 166 <tr·class="memdesc:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·<a·class="el"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b"·title="export·the·type·representing·the·field">FieldTraits&lt;Type&gt;::field_type</a>.··<a·href="a00406.html#gaadd3a3e69d0220b41bb40ebc442d79ae">More...</a><br·/></td></tr>
106 <tr·class="separator:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>167 <tr·class="separator:gaadd3a3e69d0220b41bb40ebc442d79ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 12726/32390 bytes (39.29%) of diff not shown.
8.51 KB
html2text {}
    
Offset 4, 131 lines modifiedOffset 4, 123 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Macros·|·Functions7 Classes·|·Namespaces·|·Typedefs·|·Functions
8 hash.hh·File·Reference8 typetraits.hh·File·Reference
9 Support·for·calculating·hash·values·of·objects.·More...9 Traits·for·type·conversions·and·type·information.·More...
 10 #include·<complex>
 11 #include·<type_traits>
10 #include·<functional>12 #include·<utility>
11 #include·<dune/common/typetraits.hh>13 #include·<vector>
12 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
13 ·Classes15 ·Classes
 16 struct· Dune::Empty
 17  ·······Just·an·empty·class.·More...
 18  
 19 struct· Dune::IsInteroperable<_T1,_T2_>
 20  ·······Checks·whether·two·types·are·interoperable.·More...
 21  
 22 struct· Dune::EnableIfInterOperable<_T1,_T2,_Type_>
 23  ·······Enable·typedef·if·two·types·are·interoperable.·More...
 24  
 25 struct· Dune::AlwaysFalse<_T_>
 26  ·······template·which·always·yields·a·false·value·More...
 27  
 28 struct· Dune::AlwaysTrue<_T_>
 29  ·······template·which·always·yields·a·true·value·More...
 30  
 31 struct· Dune::IsCallable<_F(Args...),_R_>
 32  ·······Check·if·a·type·is·callable·with·()-operator·and·given·arguments.
 33 ·········More...
 34  
 35 struct· Dune::IsNumber<_T_>
 36  ·······Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically
 37 ·········blocked)·containers.·More...
 38  
14 struct· Dune::hash<_T_>39 struct· Dune::HasNaN<_T_>
15  ·······Functor·for·hashing·objects·of·type·T.·More...40  ·······Whether·this·type·has·a·value·of·NaN.·More...
 41  
 42 struct· Dune::IsIndexable<_T,_I_>
 43  ·······Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),
 44 ·········i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.·More...
 45  
 46 struct· Dune::IsIterable<_T,_typename_>
 47  ·······typetrait·to·check·that·a·class·has·begin()·and·end()·members·More...
 48  
 49 struct· Dune::IsTuple<_T_>
 50  ·······Check·if·T·is·a·std::tuple<...>·More...
 51  
 52 struct· Dune::IsTupleOrDerived<_T_>
 53  ·······Check·if·T·derived·from·a·std::tuple<...>·More...
 54  
 55 struct· Dune::IsIntegralConstant<_T_>
 56  ·······Check·if·T·is·an·std::integral_constant<I,·i>·More...
 57  
 58 struct· Dune::SizeOf<_T_>
 59  ·······Compute·size·of·variadic·type·list.·More...
 60  
 61 struct· Dune::AutonomousValueType<_T_>
 62  ·······Type·free·of·internal·references·that·T·can·be·converted·to.·More...
 63  
 64 struct· Dune::AutonomousValueType<_T_&_>
 65  ·······Specialization·to·remove·lvalue·references.·More...
 66  
 67 struct· Dune::AutonomousValueType<_T_&&_>
 68  ·······Specialization·to·remove·rvalue·references.·More...
 69  
 70 struct· Dune::AutonomousValueType<_const_T_>
 71  ·······Specialization·to·remove·const·qualifiers.·More...
 72  
 73 struct· Dune::AutonomousValueType<_volatile_T_>
 74  ·······Specialization·to·remove·volatile·qualifiers.·More...
 75  
 76 struct· Dune::AutonomousValueType<_std::vector<_bool_>::reference_>
 77  ·······Specialization·for·the·proxies·of·vector<bool>·More...
 78  
 79 struct· Dune::AutonomousValueType<_volatile_const_T_>
 80  ·······Specialization·to·remove·both·const·and·volatile·qualifiers.·More...
16  81  
17 ·Namespaces82 ·Namespaces
18 namespace· Dune83 namespace· Dune
19  ··········Dune·namespace.84  ··········Dune·namespace.
20  85  
21 ·Macros 
22 #define DUNE_DEFINE_HASH(template_args,·type) 
23  ·······Defines·the·required·struct·specialization·to·make·type·hashable·via 
24 ·········Dune::hash.·More...86 ·Typedefs
 87 template<class...·Types>
 88 using Dune::void_t·=·typename·Impl::voider<·Types...·>::type
 89  ·····Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-
 90 ·······techniques.·More...
25  91  
26 #define DUNE_HASH_TEMPLATE_ARGS(...) 
27  ·······Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.·More...92 template<class·Type·>
 93 using Dune::field_t·=·typename·FieldTraits<·Type·>::field_type
 94  ·····Convenient·access·to·FieldTraits<Type>::field_type.·More...
28  95  
29 #define DUNE_HASH_TYPE(...) 
30  ·······Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.·More...96 template<class·Type·>
 97 using Dune::real_t·=·typename·FieldTraits<·Type·>::real_type
 98  ·····Convenient·access·to·FieldTraits<Type>::real_type.·More...
 99  
 100 template<class·T·>
 101 using Dune::AutonomousValue·=·typename·AutonomousValueType<·T·>::type
 102  ·····Type·free·of·internal·references·that·T·can·be·converted·to.·More...
31  103  
32 ·Functions104 ·Functions
33 template<typename·T·> 
34 ·······void Dune::hash_combine·(std::size_t·&seed,·const·T·&arg) 
35  ···········Calculates·the·hash·value·of·arg·and·combines·it·in-place·with 
36 ·············seed.·More...105 template<class·T·,·T...·t,·std::size_t·index>
 106 ················constexpr·auto Dune::integerSequenceEntry·(std::
 107 ································integer_sequence<·T,·t...·>,·std::
 108 ································integral_constant<·std::size_t,·index·>·i)
 109  ······························Get·entry·of·std::integer_sequence.·More...
37  110  
 111 template<class·T·>
 112 constexpr·AutonomousValue<·T·> Dune::autoCopy·(T·&&v)
 113  ······························Autonomous·copy·of·an·expression's·value·for
 114 ································use·in·auto·type·deduction.·More...
38 template<typename·It·> 
39 std::size_t Dune::hash_range·(It·first,·It·last) 
40  ···········Hashes·all·elements·in·the·range·[first,last)·and·returns·the 
41 ·············combined·hash.·More... 
Max diff block lines reached; 3413/8691 bytes (39.27%) of diff not shown.
123 KB
./usr/share/doc/libdune-common-doc/doxygen/a00083_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·hash.hh·Source·File</title>8 <title>dune-common:·typetraits.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 279 lines modifiedOffset 62, 383 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">hash.hh</div></div>68 ··<div·class="headertitle"><div·class="title">typetraits.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00083.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_HASH_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_TYPETRAITS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_HASH_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_TYPETRAITS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
82 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·********************************************************************************</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">namespace·</span>Impl</div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··{</div>
 88 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>...&gt;</div>
83 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·Doxygen·documentation</span></div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>voider</div>
84 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·********************************************************************************</span></div>91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div>
 92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>······<span·class="keyword">using·</span>type·=·void;</div>
85 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····};</div>
86 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··}</div>
87 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
88 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
89 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>97 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>...·Types&gt;</div>
 98 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">···40</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">void_t</a>·=·<span·class="keyword">typename</span>·Impl::voider&lt;Types...&gt;::type;</div>
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01856.html">···39</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01856.html">hash</a></div> 
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{</div> 
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>99 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 100 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a03084.html">···55</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03084.html">Empty</a>·{};</div>
95 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01856.html#ae27633febd753959d3b8ab013e8bb4a7">···43</a></span>····std::size_t·<a·class="code·hl_function"·href="a01856.html#ae27633febd753959d3b8ab013e8bb4a7">operator()</a>(<span·class="keyword">const</span>·T&amp;·t)<span·class="keyword">·const</span></div> 
96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">····</span>{</div> 
97 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a01856.html">hash</a>(t);</div> 
98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div> 
99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div> 
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div> 
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>101 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 102 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T1,·<span·class="keyword">class</span>·T2&gt;</div>
 103 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a03088.html">···64</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03088.html">IsInteroperable</a></div>
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>104 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div>
105 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a00083.html#a19447db8894b6d86b6b7ef0218694820">··100</a></span><span·class="preprocessor">#define·DUNE_DEFINE_HASH(template_args,type)</span></div>105 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a03088.html#ad72797bbca9b1a1c6db62e076608b8d6">···70</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="[·...·truncated·by·diffoscope;·len:·166,·SHA:·dde8e37a6bb27f8e798db0af7ddbc9eeed5f4e88664445d00f9c8c2e04b3b9cc·...·]</div>
 106 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div>
 107 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 108 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T1,·<span·class="keyword">class</span>·T2,·<span·class="keyword">class</span>·Type&gt;</div>
 109 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a03092.html">···79</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03092.html">EnableIfInterOperable</a></div>
 110 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····:·<span·class="keyword">public</span>·std::enable_if&lt;IsInteroperable&lt;T1,T2&gt;::value,·Type&gt;</div>
 111 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{};</div>
 112 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
106 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>113 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
107 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
108 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
109 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a00083.html#ad88c05071e8aafc3796b6d6238900697">··109</a></span><span·class="preprocessor">#define·DUNE_HASH_TEMPLATE_ARGS(...)</span></div> 
110 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>114 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 115 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 116 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno"><a·class="line"·href="a03096.html">··124</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03096.html">AlwaysFalse</a>·:·<span·class="keyword">public</span>·std::false_type·{};</div>
111 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>117 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
112 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00083.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">··117</a></span><span·class="preprocessor">#define·DUNE_HASH_TYPE(...)</span></div> 
113 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
114 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span><span·class="preprocessor">#else·</span><span·class="comment">//·DOXYGEN·-·hide·all·the·ugly·implementation</span></div> 
115 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> 
116 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> 
117 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div> 
118 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="comment">//·********************************************************************************</span></div> 
119 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="comment">//·C++11·support</span></div> 
120 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">//·********************************************************************************</span></div> 
121 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div> 
122 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="comment">//·import·std::hash·into·Dune·namespace</span></div> 
123 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
124 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
125 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··<span·class="keyword">using·</span>std::hash;</div>118 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 119 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="a03100.html">··134</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03100.html">AlwaysTrue</a>·:·<span·class="keyword">public</span>·std::true_type·{};</div>
126 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>120 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div>
127 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>}</div>121 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·D,·<span·class="keyword">typename</span>·R·=·<span·class="keywordtype">void</span>&gt;</div>
 122 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno"><a·class="line"·href="a03104.html">··162</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03104.html">IsCallable</a>;</div>
128 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>123 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div>
 124 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·R,·<span·class="keyword">typename</span>·F,·<span·class="keyword">typename</span>...·Args&gt;</div>
 125 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno"><a·class="line"·href="a03108.html">··169</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03104.html">IsCallable</a>&lt;F(Args...),·R&gt;</div>
129 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="comment">//·Macro·for·defining·a·std::hash·specialization·for·type.</span></div> 
130 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="comment">//·This·should·not·be·called·directly.·Call·DUNE_DEFINE_HASH</span></div> 
131 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span><span·class="comment">//·instead.</span></div> 
132 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="preprocessor">#define·DUNE_DEFINE_STD_HASH(template_args,type)·····\</span></div> 
133 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span><span·class="preprocessor">··namespace·std·{····································\</span></div> 
134 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span><span·class="preprocessor">·····················································\</span></div> 
135 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span><span·class="preprocessor">····template&lt;template_args&gt;··························\</span></div> 
136 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span><span·class="preprocessor">····struct·hash&lt;type&gt;································\</span></div> 
137 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span><span·class="preprocessor">····{················································\</span></div> 
138 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span><span·class="preprocessor">·····················································\</span></div> 
139 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span><span·class="preprocessor">······typedef·type·argument_type;····················\</span></div> 
140 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span><span·class="preprocessor">······typedef·std::size_t·result_type;···············\</span></div> 
141 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span><span·class="preprocessor">·····················································\</span></div> 
142 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span><span·class="preprocessor">······std::size_t·operator()(const·type&amp;·arg)·const··\</span></div> 
143 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span><span·class="preprocessor">······{··············································\</span></div> 
144 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span><span·class="preprocessor">········return·hash_value(arg);······················\</span></div> 
145 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span><span·class="preprocessor">······}··············································\</span></div> 
Max diff block lines reached; 74272/103916 bytes (71.47%) of diff not shown.
21.7 KB
html2text {}
    
Offset 4, 332 lines modifiedOffset 4, 464 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 hash.hh7 typetraits.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_HASH_HH 
15 ·6#define·DUNE_COMMON_HASH_HH14 ·5#ifndef·DUNE_TYPETRAITS_HH
 15 ·6#define·DUNE_TYPETRAITS_HH
16 ·716 ·7
17 ·8#include·<functional>17 ·8#include·<complex>
 18 ·9#include·<type_traits>
 19 ·10#include·<utility>
 20 ·11#include·<vector>
 21 ·12
 22 ·13namespace·Dune
 23 ·14{
 24 ·15
 25 ·16·namespace·Impl
 26 ·17·{
18 ·927 ·19
 28 ·23·template·<class...>
 29 ·24·struct·voider
 30 ·25·{
 31 ·26·using·type·=·void;
 32 ·27·};
 33 ·28·}
19 ·10#include·<dune/common/typetraits.hh> 
20 ·11 
21 ·24/ 
22 / 
23 ******************************************************************************** 
24 ·25//·Doxygen·documentation 
25 ·26/ 
26 / 
27 ******************************************************************************** 
28 ·27 
29 ·28#ifdef·DOXYGEN 
30 ·2934 ·29
31 ·30namespace·Dune·{ 
32 ·3135 ·31
 36 ·39·template·<class...·Types>
 37 40·using·void_t·=·typename·Impl::voider<Types...>::type;
33 ·33 
34 ·38·template<typename·T> 
35 39·struct·hash 
36 ·40·{ 
37 ·4138 ·41
38 43·std::size_t·operator()(const·T&·t)·const 
39 ·44·{ 
40 ·45·return·hash(t); 
41 ·46·} 
42 ·4739 55·struct·Empty·{};
 40 ·56
 41 ·63·template<class·T1,·class·T2>
 42 64·struct·IsInteroperable
 43 ·65·{
 44 70·constexpr·static·bool·value·=·std::is_convertible<T1,T2>::value·||·std::
 45 is_convertible<T2,T1>::value;
 46 ·71·};
 47 ·72
 48 ·78·template<class·T1,·class·T2,·class·Type>
 49 79·struct·EnableIfInterOperable
 50 ·80·:·public·std::enable_if<IsInteroperable<T1,T2>::value,·Type>
43 ·48·};51 ·81·{};
 52 ·82
44 ·49 
45 ·50} 
46 ·51 
47 ·53 
48 100#define·DUNE_DEFINE_HASH(template_args,type) 
49 ·10153 ·100
50 ·102 
51 ·104 
52 109#define·DUNE_HASH_TEMPLATE_ARGS(...) 
53 ·11054 ·116
 55 ·123·template<typename·T>
 56 124·struct·AlwaysFalse·:·public·std::false_type·{};
54 ·112 
55 117#define·DUNE_HASH_TYPE(...) 
56 ·118 
57 ·119#else·//·DOXYGEN·-·hide·all·the·ugly·implementation 
58 ·120 
59 ·121 
60 ·122 
61 ·123/ 
62 / 
63 ******************************************************************************** 
64 ·124//·C++11·support 
65 ·125/57 ·125
 58 ·133·template<typename·T>
 59 134·struct·AlwaysTrue·:·public·std::true_type·{};
66 / 
67 ******************************************************************************** 
68 ·126 
69 ·127//·import·std::hash·into·Dune·namespace 
70 ·128namespace·Dune·{ 
71 ·129 
72 ·130·using·std::hash; 
73 ·13160 ·135
74 ·132}61 ·161·template<typename·D,·typename·R·=·void>
 62 162·struct·IsCallable;
75 ·13363 ·163
 64 ·168·template<typename·R,·typename·F,·typename...·Args>
 65 169·struct·IsCallable<F(Args...),·R>
 66 ·170·:·public·std::bool_constant<
 67 ·171·std::is_invocable_r_v<R,·F,·Args...>
 68 ·172·&&·!std::is_member_pointer_v<std::decay_t<F>>
 69 ·173·>·{};
76 ·134//·Macro·for·defining·a·std::hash·specialization·for·type. 
77 ·135//·This·should·not·be·called·directly.·Call·DUNE_DEFINE_HASH 
78 ·136//·instead. 
79 ·137#define·DUNE_DEFINE_STD_HASH(template_args,type)·\ 
80 ·138·namespace·std·{·\ 
81 ·139·\ 
82 ·140·template<template_args>·\ 
83 ·141·struct·hash<type>·\ 
84 ·142·{·\ 
85 ·143·\ 
Max diff block lines reached; 16983/22189 bytes (76.54%) of diff not shown.
9.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a00086.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·ftraits.hh·File·Reference</title>8 <title>dune-common:·bitsetvector.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 46 lines modifiedOffset 65, 58 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>··</div>
72 ··<div·class="headertitle"><div·class="title">ftraits.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">bitsetvector.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)··75 <p>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>
78 <code>#include·&lt;vector&gt;</code><br·/>78 <code>#include·&lt;bitset&gt;</code><br·/>
 79 <code>#include·&lt;iostream&gt;</code><br·/>
 80 <code>#include·&lt;algorithm&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00116_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
79 </div>84 </div>
80 <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00086_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <table·class="memberdecls">86 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
83 Classes</h2></td></tr>88 Classes</h2></td></tr>
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01740.html">Dune::FieldTraits&lt;·T·&gt;</a></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01328.html">Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;</a></td></tr>
 90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a·<a·class="el"·href="a01320.html"·title="A·dynamic·array·of·blocks·of·booleans.">BitSetVector</a>.··<a·href="a01328.html#details">More...</a><br·/></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01744.html">Dune::FieldTraits&lt;·const·T·&gt;</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01324.html">Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·<a·class="el"·href="a01320.html"·title="A·dynamic·array·of·blocks·of·booleans.">BitSetVector</a>.··<a·href="a01324.html#details">More...</a><br·/></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01748.html">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&gt;</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01332.html">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01752.html">Dune::FieldTraits&lt;·T[N]·&gt;</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01336.html">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01756.html">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01340.html">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01344.html">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01320.html">Dune::BitSetVector&lt;·block_size,·Allocator·&gt;</a></td></tr>
 104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·dynamic·array·of·blocks·of·booleans.··<a·href="a01320.html#details">More...</a><br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">106 </table><table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
96 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
97 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>109 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
98 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>110 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table>112 </table>
101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
102 <div·class="textblock"><p·>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·</p>114 <div·class="textblock"><p·>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·</p>
103 </div></div><!--·contents·-->115 </div></div><!--·contents·-->
104 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
105 <hr·class="footer"/><address·class="footer"><small>117 <hr·class="footer"/><address·class="footer"><small>
106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
107 </small></address>119 </small></address>
108 </body>120 </body>
109 </html>121 </html>
1.95 KB
html2text {}
    
Offset 5, 33 lines modifiedOffset 5, 49 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Classes·|·Namespaces8 Classes·|·Namespaces
9 ftraits.hh·File·Reference9 bitsetvector.hh·File·Reference
10 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)10 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.
11 More...11 More...
12 #include·<complex> 
13 #include·<vector>12 #include·<vector>
 13 #include·<bitset>
 14 #include·<iostream>
 15 #include·<algorithm>
 16 #include·<dune/common/boundschecking.hh>
 17 #include·<dune/common/genericiterator.hh>
 18 #include·<dune/common/exceptions.hh>
14 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
15 ·Classes20 ·Classes
16 struct· Dune::FieldTraits<_T_>21 ·class· Dune::BitSetVectorConstReference<_block_size,_Alloc_>
 22  ·······A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a
 23 ·········BitSetVector.·More...
17  24  
18 struct· Dune::FieldTraits<_const_T_>25 ·class· Dune::BitSetVectorReference<_block_size,_Alloc_>
 26  ·······A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a
 27 ·········BitSetVector.·More...
19  28  
20 struct· Dune::FieldTraits<_std::complex<_T_>_>29 struct· Dune::const_reference<_BitSetVectorReference<_block_size,_Alloc_>_>
21  30  
22 struct· Dune::FieldTraits<_T[N]_>31 struct· Dune::const_reference<_BitSetVectorConstReference<_block_size,_Alloc_>
 32 ·········>
23  33  
24 struct· Dune::FieldTraits<_std::vector<_T_>_>34 struct· Dune::mutable_reference<_BitSetVectorReference<_block_size,_Alloc_>_>
 35  
 36 struct· Dune::mutable_reference<_BitSetVectorConstReference<_block_size,_Alloc
 37 ·········>_>
 38  
 39 ·class· Dune::BitSetVector<_block_size,_Allocator_>
 40  ·······A·dynamic·array·of·blocks·of·booleans.·More...
25  41  
26 ·Namespaces42 ·Namespaces
27 namespace· Dune43 namespace· Dune
28  ··········Dune·namespace.44  ··········Dune·namespace.
29  45  
30 *****·Detailed·Description·*****46 *****·Detailed·Description·*****
31 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)47 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.
  
32 ===============================================================================48 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.449 ·····Generated·by [doxygen]·1.9.4
182 KB
./usr/share/doc/libdune-common-doc/doxygen/a00086_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·ftraits.hh·Source·File</title>8 <title>dune-common:·bitsetvector.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 80 lines modifiedOffset 62, 653 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">ftraits.hh</div></div>68 ··<div·class="headertitle"><div·class="title">bitsetvector.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00086.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00086.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FTRAITS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_BLOCK_BITFIELD_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FTRAITS_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_BLOCK_BITFIELD_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00116.html">dune/common/boundschecking.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00257.html">dune/common/genericiterator.hh</a>&gt;</span></div>
 85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
84 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01740.html">···25</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a></div> 
85 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div> 
86 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">···28</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">field_type</a>;</div> 
87 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">···30</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">real_type</a>;</div> 
88 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··};</div> 
89 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
91 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01744.html">···34</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;const·T&gt;</div>88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·block_size,·<span·class="keyword">class</span>·Alloc&gt;·<span·class="keyword">class·</span>BitSetVector;</div>
 90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·block_size,·<span·class="keyword">class</span>·Alloc&gt;·<span·class="keyword">class·</span>BitSetVectorReference;</div>
92 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
93 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01744.html#aa27c02e1da0f2f0c2df4d004d16dc6c4">···36</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">FieldTraits&lt;T&gt;::field_type</a>·<a·class="code·hl_typedef"·href="a01744.html#aa27c02e1da0f2f0c2df4d004d16dc6c4">field_type</a>;</div> 
94 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01744.html#aa363d2f65a2c96d056733f6cd8cc7f15">···37</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1[·...·truncated·by·diffoscope;·len:·159,·SHA:·02d6a0a6bf6c1a4dfdb981e3e7f2583aaee13a8f123cfb4686e8ddf141abb725·...·];</div>92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·block_size,·<span·class="keyword">class</span>·Alloc&gt;</div>
 93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01328.html">···37</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01328.html">BitSetVectorConstReference</a></div>
95 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··};</div>94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>
96 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">protected</span>:</div>
97 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
98 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01748.html">···41</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_namespace"·href="a00424.html">std</a>::complex&lt;T&gt;·&gt;</div> 
99 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div> 
100 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01748.html#ac76b233134c70cfa5427c3565a4e37e7">···43</a></span>····<span·class="keyword">typedef</span>·std::complex&lt;T&gt;·<a·class="code·hl_typedef"·href="a01748.html#ac76b233134c70cfa5427c3565a4e37e7">field_type</a>;</div> 
101 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01748.html#a76567b85e3ecbb6218b1791983b71b38">···44</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01748.html#a76567b85e3ecbb6218b1791983b71b38">real_type</a>;</div> 
102 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··};</div> 
103 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
104 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·N&gt;</div> 
105 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01752.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·T[N]·&gt;</div>97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01328.html#a8bd910d0be75c6070ba48610dacfa23c">···41</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01320.html">Dune::BitSetVector&lt;block_size,·Alloc&gt;<[·...·truncated·by·diffoscope;·len:·100,·SHA:·92abf7ec1fe015c7d459e4a503c53aeaeb87ea8b20a38659b805ddffd68df4fb·...·];</div>
 98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01320.html">Dune::BitSetVector</a>&lt;block_size,·Alloc&gt;;</div>
 99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01328.html#a303324140d1eaae4bcb5839c4110f5f0">···44</a></span>····<a·class="code·hl_function"·href="a01328.html#a303324140d1eaae4bcb5839c4110f5f0">BitSetVectorConstReference</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01320.html">BitSetVector</a>&amp;·blockBitField_,·<span·class="keywordtype">int</span>·block_number_)·:</div>
 101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<a·class="code·hl_variable"·href="a01328.html#a33130c7445546fd132dfa53c68943b47">blockBitField</a>(blockBitField_),</div>
 102 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<a·class="code·hl_variable"·href="a01328.html#adfac75a483d9f700de70de31a17147fe">block_number</a>(block_number_)</div>
 103 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{</div>
 104 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<a·class="code·hl_define"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a>(blockBitField_.<a·class="code·hl_function"·href="a01320.html#aa6b0bd44649e2d510d34874d396a2183">size</a>()·&gt;·<span·class="keyword">static_cast&lt;</span><span·class="keywordtype">size_t</span><span·class="keyword">&gt;</span>(block_number_));</div>
106 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>105 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div>
107 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01752.html#ac0f6d61f79c34c7e88138ff0814603da">···50</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">FieldTraits&lt;T&gt;::field_type</a>·<a·class="code·hl_typedef"·href="a01752.html#ac0f6d61f79c34c7e88138ff0814603da">field_type</a>;</div> 
108 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01752.html#ac42cd4f57abdbe6f4dc2e79848e016f1">···51</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;T&gt;::real_type</a>·<a·class="code·hl_typedef"·href="a01752.html#ac42cd4f57abdbe6f4dc2e79848e016f1">real_type</a>;</div> 
109 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··};</div>106 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01328.html#a289d19feb7c4241f374165f4c5b0dde8">···52</a></span>····<a·class="code·hl_class"·href="a01328.html">BitSetVectorConstReference</a>&amp;·<a·class="code·hl_function"·href="a01328.html#a289d19feb7c4241f374165f4c5b0dde8">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01328.html">BitSetVectorConstReference</a>·&amp;·b);</div>
110 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
111 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">public</span>:</div>
112 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01756.html">···55</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_namespace"·href="a00424.html">std</a>::vector&lt;T&gt;·&gt;</div> 
113 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div>110 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 111 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">···56</a></span>····<span·class="keyword">typedef</span>·std::bitset&lt;block_size&gt;·<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>;</div>
114 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01756.html#a24c2784cd0a4098bcbf1ec9460974e7c">···57</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">FieldTraits&lt;T&gt;::field_type</a>·<a·class="code·hl_typedef"·href="a01756.html#a24c2784cd0a4098bcbf1ec9460974e7c">field_type</a>;</div> 
115 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01756.html#a149ab84bd8a57ccfabdbf483abefc214">···58</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;T&gt;::real_type</a>·<a·class="code·hl_typedef"·href="a01756.html#a149ab84bd8a57ccfabdbf483abefc214">real_type</a>;</div> 
116 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··};</div>112 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
117 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
118 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>}·<span·class="comment">//·end·namespace·Dune</span></div>113 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//·bitset·interface·typedefs</span></div>
 114 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01328.html#ac73f0ebba07178042ef11852f4e3c183">···59</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::vector&lt;bool,·Alloc&gt;::const_reference·<a·class="code·hl_typedef"·href="a01328.html#ac73f0ebba07178042ef11852f4e3c183">reference</a>;</div>
 115 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01328.html#ae26f48254271f72de0ae5b23dfba1697">···60</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::vector&lt;bool,·Alloc&gt;::const_reference·<a·class="code·hl_typedef"·href="a01328.html#ae26f48254271f72de0ae5b23dfba1697">const_reference</a>;</div>
 116 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>;</div>
119 <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·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01328.html#a15965b9a55dc1efdc039134cf7f79b48">···64</a></span>····<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·<a·class="code·hl_function"·href="a01328.html#a15965b9a55dc1efdc039134cf7f79b48">operator&lt;&lt;</a>(<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>·n)<span·class="keyword">·const</span></div>
 119 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">····</span>{</div>
 120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·b·=·*<span·class="keyword">this</span>;</div>
 121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······b·&lt;&lt;=·n;</div>
 122 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">return</span>·b;</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>·</div>
 125 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01328.html#a3f6da6a3d44750b9a02c68c353af007d">···72</a></span>····<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·<a·class="code·hl_function"·href="a01328.html#a3f6da6a3d44750b9a02c68c353af007d">operator&gt;&gt;</a>(<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>·n)<span·class="keyword">·const</span></div>
 126 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">····</span>{</div>
 127 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·b·=·*<span·class="keyword">this</span>;</div>
 128 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······b·&gt;&gt;=·n;</div>
 129 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·b;</div>
 130 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
 131 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 132 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01328.html#abb4801f898a4bdf10cd99d183cb8e67e">···80</a></span>····<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·<a·class="code·hl_function"·href="a01328.html#abb4801f898a4bdf10cd99d183cb8e67e">operator~</a>()<span·class="keyword">·const</span></div>
 133 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">····</span>{</div>
 134 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·b·=·*<span·class="keyword">this</span>;</div>
 135 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······b.flip();</div>
 136 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keywordflow">return</span>·b;</div>
 137 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div>
 138 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01328.html#ac9ce5804f274d852bc70c02c9abc319d">···88</a></span>····<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>·<a·class="code·hl_function"·href="a01328.html#ac9ce5804f274d852bc70c02c9abc319d">size</a>()<span·class="keyword">·const</span></div>
 140 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">····</span>{</div>
 141 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<span·class="keywordflow">return</span>·block_size;</div>
 142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····}</div>
 143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 144 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01328.html#ace0db548954a0423a0440a39af1a1cc1">···94</a></span>····<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>·<a·class="code·hl_function"·href="a01328.html#ace0db548954a0423a0440a39af1a1cc1">count</a>()<span·class="keyword">·const</span></div>
 145 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="keyword">····</span>{</div>
 146 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>·n·=·0;</div>
 147 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······<span·class="keywordflow">for</span>(<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>·i=0;·i&lt;block_size;·++i)</div>
 148 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········n·+=·<a·class="code·hl_function"·href="a01328.html#a3fd293a234db6378cbff180087844c97">getBit</a>(i);</div>
 149 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······<span·class="keywordflow">return</span>·n;</div>
 150 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····}</div>
Max diff block lines reached; 38816/155461 bytes (24.97%) of diff not shown.
30.2 KB
html2text {}
    
Offset 4, 102 lines modifiedOffset 4, 940 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ftraits.hh7 bitsetvector.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_FTRAITS_HH 
15 ·6#define·DUNE_FTRAITS_HH14 ·5#ifndef·DUNE_BLOCK_BITFIELD_HH
 15 ·6#define·DUNE_BLOCK_BITFIELD_HH
16 ·716 ·7
17 ·12#include·<complex> 
18 ·13#include·<vector>17 ·12#include·<vector>
19 ·14 
20 ·15namespace·Dune·{18 ·13#include·<bitset>
 19 ·14#include·<iostream>
 20 ·15#include·<algorithm>
21 ·1621 ·16
22 ·24·template<class·T> 
23 25·struct·FieldTraits 
24 ·26·{ 
25 28·typedef·T·field_type; 
26 30·typedef·T·real_type; 
27 ·31·}; 
28 ·32 
29 ·33·template<class·T> 
30 34·struct·FieldTraits<const·T>22 ·17#include·<dune/common/boundschecking.hh>
 23 ·18#include·<dune/common/genericiterator.hh>
 24 ·19#include·<dune/common/exceptions.hh>
 25 ·20
 26 ·21namespace·Dune·{
 27 ·22
 28 ·23·template·<int·block_size,·class·Alloc>·class·BitSetVector;
 29 ·24·template·<int·block_size,·class·Alloc>·class·BitSetVectorReference;
 30 ·25
 31 ·36·template·<int·block_size,·class·Alloc>
 32 37·class·BitSetVectorConstReference
31 ·35·{33 ·38·{
32 36·typedef·typename·FieldTraits<T>::field_type·field_type; 
33 37·typedef·typename·FieldTraits<T>::real_type·real_type; 
34 ·38·}; 
35 ·39 
36 ·40·template<class·T> 
37 41·struct·FieldTraits<·std::complex<T>·>34 ·39·protected:
 35 ·40
 36 41·typedef·Dune::BitSetVector<block_size,_Alloc>·BitSetVector;
 37 ·42·friend·class·Dune::BitSetVector<block_size,·Alloc>;
 38 ·43
 39 44·BitSetVectorConstReference(const·BitSetVector&·blockBitField_,·int
 40 block_number_)·:
 41 ·45·blockBitField(blockBitField_),
 42 ·46·block_number(block_number_)
38 ·42·{43 ·47·{
 44 ·48·DUNE_ASSERT_BOUNDS(blockBitField_.size()·>·static_cast<size_t>
 45 (block_number_));
39 43·typedef·std::complex<T>·field_type; 
40 44·typedef·T·real_type; 
41 ·45·}; 
42 ·46 
43 ·47·template<class·T,·unsigned·int·N> 
44 48·struct·FieldTraits<·T[N]·> 
45 ·49·{46 ·49·}
 47 ·50
 48 52·BitSetVectorConstReference&·operator=(const·BitSetVectorConstReference·&·b);
46 50·typedef·typename·FieldTraits<T>::field_type·field_type; 
47 51·typedef·typename·FieldTraits<T>::real_type·real_type; 
48 ·52·}; 
49 ·5349 ·53
50 ·54·template<class·T> 
51 55·struct·FieldTraits<·std::vector<T>·> 
52 ·56·{ 
53 57·typedef·typename·FieldTraits<T>::field_type·field_type; 
54 58·typedef·typename·FieldTraits<T>::real_type·real_type; 
55 ·59·}; 
56 ·60 
57 ·61}·//·end·namespace·Dune50 ·54·public:
 51 ·55
 52 56·typedef·std::bitset<block_size>·bitset;
 53 ·57
 54 ·58·//·bitset·interface·typedefs
 55 59·typedef·typename·std::vector<bool,·Alloc>::const_reference·reference;
 56 60·typedef·typename·std::vector<bool,·Alloc>::const_reference·const_reference;
 57 61·typedef·size_t·size_type;
58 ·6258 ·62
59 ·63#endif·//·DUNE_FTRAITS_HH 
60 std 
61 STL·namespace.59 64·bitset·operator<<(size_type·n)·const
 60 ·65·{
 61 ·66·bitset·b·=·*this;
 62 ·67·b·<<=·n;
 63 ·68·return·b;
 64 ·69·}
 65 ·70
 66 72·bitset·operator>>(size_type·n)·const
 67 ·73·{
 68 ·74·bitset·b·=·*this;
 69 ·75·b·>>=·n;
 70 ·76·return·b;
 71 ·77·}
 72 ·78
 73 80·bitset·operator~()·const
 74 ·81·{
 75 ·82·bitset·b·=·*this;
 76 ·83·b.flip();
 77 ·84·return·b;
 78 ·85·}
 79 ·86
 80 88·size_type·size()·const
 81 ·89·{
 82 ·90·return·block_size;
 83 ·91·}
 84 ·92
 85 94·size_type·count()·const
 86 ·95·{
 87 ·96·size_type·n·=·0;
 88 ·97·for(size_type·i=0;·i<block_size;·++i)
 89 ·98·n·+=·getBit(i);
 90 ·99·return·n;
 91 ·100·}
 92 ·101
Max diff block lines reached; 14754/30879 bytes (47.78%) of diff not shown.
6.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00089.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·fmatrixev.cc·File·Reference</title>8 <title>dune-common:·documentation.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 43 lines modifiedOffset 63, 46 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
 71 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#define-members">Macros</a>··</div>72 <a·href="#enum-members">Enumerations</a>··</div>
71 ··<div·class="headertitle"><div·class="title">fmatrixev.cc·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">documentation.hh·File·Reference</div></div>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
74 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/> 
75 <code>#include·&lt;cmath&gt;</code><br·/> 
76 <code>#include·&lt;cassert&gt;</code><br·/> 
77 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
78 </div><table·class="memberdecls"> 
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
80 Macros</h2></td></tr> 
81 <tr·class="memitem:afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html#afa3d4fc0f9c478d5f00cc7586b9dad48">DUNE_FMATRIXEIGENVALUES_CC</a></td></tr> 
82 <tr·class="separator:afa3d4fc0f9c478d5f00cc7586b9dad48"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
83 </table> 
84 <h2·class="groupheader">Macro·Definition·Documentation</h2> 
85 <a·id="afa3d4fc0f9c478d5f00cc7586b9dad48"·name="afa3d4fc0f9c478d5f00cc7586b9dad48"></a> 
86 <h2·class="memtitle"><span·class="permalink"><a·href="#afa3d4fc0f9c478d5f00cc7586b9dad48">&#9670;&nbsp;</a></span>DUNE_FMATRIXEIGENVALUES_CC</h2> 
  
 76 <p>Documentation·related·stuff.··
 77 <a·href="#details">More...</a></p>
87 <div·class="memitem"> 
88 <div·class="memproto"> 
89 ······<table·class="memname"> 
90 ········<tr> 
91 ··········<td·class="memname">#define·DUNE_FMATRIXEIGENVALUES_CC</td> 
92 ········</tr> 
93 ······</table> 
94 </div><div·class="memdoc"> 
  
95 </div> 
96 </div>78 <p><a·href="a00089_source.html">Go·to·the·source·code·of·this·file.</a></p>
 79 <table·class="memberdecls">
 80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 81 Classes</h2></td></tr>
 82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01488.html">Dune::ImplementationDefined</a></td></tr>
 83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Dummy·struct·used·for·documentation·purposes.··<a·href="a01488.html#details">More...</a><br·/></td></tr>
 84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 85 </table><table·class="memberdecls">
 86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 87 Namespaces</h2></td></tr>
 88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 </table><table·class="memberdecls">
 92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>
 93 Enumerations</h2></td></tr>
 94 <tr·class="memitem:a90bbc2f44b2002c6431570e453a822a0"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom">{·<a·class="el"·href="a00397.html#ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b">Dune::implementationDefined</a>
 95 ·}</td></tr>
 96 <tr·class="separator:a90bbc2f44b2002c6431570e453a822a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 </table>
 98 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 99 <div·class="textblock"><p·>Documentation·related·stuff.·</p>
97 </div><!--·contents·-->100 </div></div><!--·contents·-->
98 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
99 <hr·class="footer"/><address·class="footer"><small>102 <hr·class="footer"/><address·class="footer"><small>
100 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
101 </small></address>104 </small></address>
102 </body>105 </body>
103 </html>106 </html>
954 B
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 27 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Enumerations
 8 documentation.hh·File·Reference
 9 Documentation·related·stuff.·More...
 10 Go_to_the_source_code_of_this_file.
 11 ·Classes
 12 struct· Dune::ImplementationDefined
 13  ·······Dummy·struct·used·for·documentation·purposes.·More...
7 Macros 
8 fmatrixev.cc·File·Reference 
9 #include·<iostream> 
10 #include·<cmath> 
11 #include·<cassert> 
12 #include·<dune/common/exceptions.hh> 
13 ·Macros 
14 #define DUNE_FMATRIXEIGENVALUES_CC 
15  14  
16 *****·Macro·Definition·Documentation·***** 
17 *****·◆ DUNE_FMATRIXEIGENVALUES_CC·***** 
18 #define·DUNE_FMATRIXEIGENVALUES_CC15 ·Namespaces
 16 namespace· Dune
 17  ··········Dune·namespace.
 18  
 19 ·Enumerations
 20 enum· {·Dune::implementationDefined·}
 21  
 22 *****·Detailed·Description·*****
 23 Documentation·related·stuff.
  
19 ===============================================================================24 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.425 ·····Generated·by [doxygen]·1.9.4
10.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00092.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·debugalign.cc·File·Reference</title>8 <title>dune-common:·typeutilities.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 46 lines modifiedOffset 63, 54 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>72 <a·href="#typedef-members">Typedefs</a>··</div>
72 ··<div·class="headertitle"><div·class="title">debugalign.cc·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">typeutilities.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
 76 <p>Utilities·for·type·computations,·constraining·overloads,·...··
 77 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 79 <code>#include·&lt;type_traits&gt;</code><br·/>
76 <code>#include·&lt;cstddef&gt;</code><br·/>80 <code>#include·&lt;tuple&gt;</code><br·/>
 81 </div>
 82 <p><a·href="a00092_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <code>#include·&lt;cstdlib&gt;</code><br·/> 
78 <code>#include·&lt;functional&gt;</code><br·/> 
79 <code>#include·&lt;ios&gt;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/> 
81 <code>#include·&lt;utility&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/> 
83 </div><table·class="memberdecls">83 <table·class="memberdecls">
 84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 85 Classes</h2></td></tr>
 86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03180.html">Dune::PriorityTag&lt;·priority·&gt;</a></td></tr>
 87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·class·for·tagging·priorities.··<a·href="a03180.html#details">More...</a><br·/></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03184.html">Dune::PriorityTag&lt;·0·&gt;</a></td></tr>
 90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·class·for·tagging·priorities.··<a·href="a03184.html#details">More...</a><br·/></td></tr>
 91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 </table><table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
85 Namespaces</h2></td></tr>94 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">98 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
91 Functions</h2></td></tr> 
92 <tr·class="memitem:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a9f0c3f5a28263a8dd6cb81d9cfd8c929">Dune::defaultViolatedAlignment</a>·(const·char·*className,·std::size_t·expectedAlignment,·const·void·*address)</td></tr> 
93 <tr·class="memdesc:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">default·alignment·violation·handler··<a·href="a00425.html#a9f0c3f5a28263a8dd6cb81d9cfd8c929">More...</a><br·/></td></tr>100 Typedefs</h2></td></tr>
 101 <tr·class="memitem:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memTemplParams"·colspan="2">template&lt;class·This·,·class...·T&gt;·</td></tr>
 102 <tr·class="memitem:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">Dune::disableCopyMove</a>·=·std::enable_if_t&lt;·not·Impl::disableCopyMoveHelper&lt;·This,·T...·&gt;::value,·int·&gt;</td></tr>
 103 <tr·class="memdesc:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·to·disable·constructor·as·copy·and·move·constructor.··<a·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">More...</a><br·/></td></tr>
94 <tr·class="separator:a9f0c3f5a28263a8dd6cb81d9cfd8c929"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:abeb716c21bff1ff9559bb62074d90e86"><td·class="memItemLeft"·align="right"·valign="top">ViolatedAlignmentHandler·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">Dune::violatedAlignmentHandler</a>·()</td></tr> 
96 <tr·class="memdesc:abeb716c21bff1ff9559bb62074d90e86"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·the·handler·called·by·<code><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe"·title="called·when·an·alignment·violation·is·detected">violatedAlignment()</a></code>··<a·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">More...</a><br·/></td></tr> 
97 <tr·class="separator:abeb716c21bff1ff9559bb62074d90e86"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:a0e6c32c539889f324d46417dca3dfebe"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">Dune::violatedAlignment</a>·(const·char·*className,·std::size_t·expectedAlignment,·const·void·*address)</td></tr> 
99 <tr·class="memdesc:a0e6c32c539889f324d46417dca3dfebe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">called·when·an·alignment·violation·is·detected··<a·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">More...</a><br·/></td></tr> 
100 <tr·class="separator:a0e6c32c539889f324d46417dca3dfebe"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 </table>105 </table>
 106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 107 <div·class="textblock"><p·>Utilities·for·type·computations,·constraining·overloads,·...·</p>
 108 <dl·class="section·author"><dt>Author</dt><dd>Carsten·Gräser·</dd></dl>
102 </div><!--·contents·-->109 </div></div><!--·contents·-->
103 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>111 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>113 </small></address>
107 </body>114 </body>
108 </html>115 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
1.97 KB
html2text {}
    
Offset 4, 39 lines modifiedOffset 4, 38 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions 
8 debugalign.cc·File·Reference 
9 #include·<config.h>7 Classes·|·Namespaces·|·Typedefs
 8 typeutilities.hh·File·Reference
 9 Utilities·for·type·computations,·constraining·overloads,·...·More...
10 #include·<cstddef>10 #include·<cstddef>
 11 #include·<type_traits>
11 #include·<cstdlib>12 #include·<tuple>
12 #include·<functional> 
13 #include·<ios> 
14 #include·<iostream> 
15 #include·<utility> 
16 #include·<dune/common/debugalign.hh>13 Go_to_the_source_code_of_this_file.
 14 ·Classes
 15 struct· Dune::PriorityTag<_priority_>
 16  ·······Helper·class·for·tagging·priorities.·More...
 17  
 18 struct· Dune::PriorityTag<_0_>
 19  ·······Helper·class·for·tagging·priorities.·More...
 20  
17 ·Namespaces21 ·Namespaces
18 namespace· Dune22 namespace· Dune
19  ··········Dune·namespace.23  ··········Dune·namespace.
20  24  
 25 ·Typedefs
 26 template<class·This·,·class...·T>
 27 using Dune::disableCopyMove·=·std::enable_if_t<·not·Impl::
 28 ·······disableCopyMoveHelper<·This,·T...·>::value,·int·>
 29  ·····Helper·to·disable·constructor·as·copy·and·move·constructor.·More...
21 ·Functions 
22 ···············static·void Dune::defaultViolatedAlignment·(const·char 
23 ····························*className,·std::size_t·expectedAlignment,·const 
24 ····························void·*address) 
25  ··························default·alignment·violation·handler·More... 
26   
27 ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·() 
28  ··························access·the·handler·called·by·violatedAlignment() 
29 ····························More... 
30   
31 ······················void Dune::violatedAlignment·(const·char·*className, 
32 ····························std::size_t·expectedAlignment,·const·void·*address) 
33  ··························called·when·an·alignment·violation·is·detected 
34 ····························More... 
35  30  
 31 *****·Detailed·Description·*****
 32 Utilities·for·type·computations,·constraining·overloads,·...
 33 ··Author
 34 ······Carsten·Gräser
  
36 ===============================================================================35 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.436 ·····Generated·by [doxygen]·1.9.4
13.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00095.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·fmatrixev.hh·File·Reference</title>8 <title>dune-common:·parametertreeparser.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 66 lines modifiedOffset 63, 50 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">fmatrixev.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">parametertreeparser.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Eigenvalue·computations·for·the·FieldMatrix·class.··75 <p>Various·parser·methods·to·get·data·into·a·ParameterTree·object.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;istream&gt;</code><br·/>
78 <code>#include·&lt;iostream&gt;</code><br·/>78 <code>#include·&lt;string&gt;</code><br·/>
79 <code>#include·&lt;cmath&gt;</code><br·/>79 <code>#include·&lt;vector&gt;</code><br·/>
80 <code>#include·&lt;cassert&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code><br·/> 
85 </div>82 </div>
86 <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00095_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">84 <table·class="memberdecls">
 85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 86 Classes</h2></td></tr>
 87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02380.html">Dune::ParameterTreeParserError</a></td></tr>
 88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>··<a·href="a02380.html#details">More...</a><br·/></td></tr>
 89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02384.html">Dune::HelpRequest</a></td></tr>
 91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">exception·thrown·if·the·user·wants·to·see·help·string··<a·href="a02384.html#details">More...</a><br·/></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02388.html">Dune::ParameterTreeParser</a></td></tr>
 94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Parsers·to·set·up·a·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·from·various·input·sources.··<a·href="a02388.html#details">More...</a><br·/></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 </table><table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
89 Namespaces</h2></td></tr>98 Namespaces</h2></td></tr>
90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:a00436"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00436.html">Dune::FMatrixHelp</a></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 </table><table·class="memberdecls"> 
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
97 Functions</h2></td></tr> 
98 <tr·class="memitem:a86eafff72a6c52bec8aa92e191f08887"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr> 
99 <tr·class="memitem:a86eafff72a6c52bec8aa92e191f08887"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">Dune::FMatrixHelp::eigenValues</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues)</td></tr> 
100 <tr·class="memdesc:a86eafff72a6c52bec8aa92e191f08887"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<a·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">More...</a><br·/></td></tr> 
101 <tr·class="separator:a86eafff72a6c52bec8aa92e191f08887"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr> 
103 <tr·class="memitem:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#ae35eb55b361af2d69d419f3b6ecf4d2c">Dune::FMatrixHelp::eigenValuesVectors</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues,·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;eigenVectors)</td></tr> 
104 <tr·class="memdesc:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·and·eigenvectors·of·a·symmetric·field·matrix··<a·href="a00436.html#ae35eb55b361af2d69d419f3b6ecf4d2c">More...</a><br·/></td></tr> 
105 <tr·class="separator:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:a96fe2783815b8f97773279ed069cf1d8"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr> 
107 <tr·class="memitem:a96fe2783815b8f97773279ed069cf1d8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a96fe2783815b8f97773279ed069cf1d8">Dune::FMatrixHelp::eigenValuesLapack</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues)</td></tr> 
108 <tr·class="memdesc:a96fe2783815b8f97773279ed069cf1d8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<a·href="a00436.html#a96fe2783815b8f97773279ed069cf1d8">More...</a><br·/></td></tr> 
109 <tr·class="separator:a96fe2783815b8f97773279ed069cf1d8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 <tr·class="memitem:afe77be4b948169fdcebb318248023920"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr> 
111 <tr·class="memitem:afe77be4b948169fdcebb318248023920"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#afe77be4b948169fdcebb318248023920">Dune::FMatrixHelp::eigenValuesVectorsLapack</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues,·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;eigenVectors)</td></tr> 
112 <tr·class="memdesc:afe77be4b948169fdcebb318248023920"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·and·-vectors·of·a·symmetric·field·matrix··<a·href="a00436.html#afe77be4b948169fdcebb318248023920">More...</a><br·/></td></tr> 
113 <tr·class="separator:afe77be4b948169fdcebb318248023920"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:a72135a64a9d7252dbcf26664c5810cce"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·,·class·C·&gt;·</td></tr> 
115 <tr·class="memitem:a72135a64a9d7252dbcf26664c5810cce"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a72135a64a9d7252dbcf26664c5810cce">Dune::FMatrixHelp::eigenValuesNonSym</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·C,·dim·&gt;·&amp;eigenValues)</td></tr> 
116 <tr·class="memdesc:a72135a64a9d7252dbcf26664c5810cce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·non-symmetric·field·matrix··<a·href="a00436.html#a72135a64a9d7252dbcf26664c5810cce">More...</a><br·/></td></tr> 
117 <tr·class="separator:a72135a64a9d7252dbcf26664c5810cce"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 </table>102 </table>
119 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>103 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
120 <div·class="textblock"><p·>Eigenvalue·computations·for·the·FieldMatrix·class.·</p>104 <div·class="textblock"><p·>Various·parser·methods·to·get·data·into·a·ParameterTree·object.·</p>
121 </div></div><!--·contents·-->105 </div></div><!--·contents·-->
122 <!--·start·footer·part·-->106 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>107 <hr·class="footer"/><address·class="footer"><small>
124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
125 </small></address>109 </small></address>
126 </body>110 </body>
127 </html>111 </html>
2.84 KB
html2text {}
    
Offset 4, 60 lines modifiedOffset 4, 35 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces
 8 parametertreeparser.hh·File·Reference
 9 Various·parser·methods·to·get·data·into·a·ParameterTree·object.·More...
7 Namespaces·|·Functions 
8 fmatrixev.hh·File·Reference 
9 Eigenvalue·computations·for·the·FieldMatrix·class.·More... 
10 #include·<algorithm> 
11 #include·<iostream>10 #include·<istream>
 11 #include·<string>
12 #include·<cmath>12 #include·<vector>
13 #include·<cassert>13 #include·<dune/common/parametertree.hh>
14 #include·<dune/common/exceptions.hh>14 #include·<dune/common/exceptions.hh>
15 #include·<dune/common/fvector.hh> 
16 #include·<dune/common/fmatrix.hh> 
17 #include·<dune/common/math.hh> 
18 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
 16 ·Classes
 17 class· Dune::ParameterTreeParserError
 18  ······report·parser·error·while·reading·ParameterTree·More...
19 ·Namespaces 
20 namespace· Dune 
21  ··········Dune·namespace. 
22   
23 namespace· Dune::FMatrixHelp 
24   
25 ·Functions 
26 template<int·dim,·typename·K·> 
27 static·void Dune::FMatrixHelp::eigenValues·(const·FieldMatrix<·K,·dim,·dim·> 
28 ·············&matrix,·FieldVector<·K,·dim·>·&eigenValues) 
29  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix·More... 
30  19  
 20 class· Dune::HelpRequest
 21  ······exception·thrown·if·the·user·wants·to·see·help·string·More...
31 template<int·dim,·typename·K·> 
32 static·void Dune::FMatrixHelp::eigenValuesVectors·(const·FieldMatrix<·K,·dim, 
33 ·············dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues,·FieldMatrix<·K, 
34 ·············dim,·dim·>·&eigenVectors) 
35  ···········calculates·the·eigenvalues·and·eigenvectors·of·a·symmetric·field 
36 ·············matrix·More... 
37  22  
 23 class· Dune::ParameterTreeParser
 24  ······Parsers·to·set·up·a·ParameterTree·from·various·input·sources.·More...
38 template<int·dim,·typename·K·> 
39 static·void Dune::FMatrixHelp::eigenValuesLapack·(const·FieldMatrix<·K,·dim, 
40 ·············dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues) 
41  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix·More... 
42  25  
 26 ·Namespaces
 27 namespace· Dune
 28  ··········Dune·namespace.
43 template<int·dim,·typename·K·> 
44 static·void Dune::FMatrixHelp::eigenValuesVectorsLapack·(const·FieldMatrix<·K, 
45 ·············dim,·dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues, 
46 ·············FieldMatrix<·K,·dim,·dim·>·&eigenVectors) 
47  ···········calculates·the·eigenvalues·and·-vectors·of·a·symmetric·field 
48 ·············matrix·More... 
49   
50 template<int·dim,·typename·K·,·class·C·> 
51 static·void Dune::FMatrixHelp::eigenValuesNonSym·(const·FieldMatrix<·K,·dim, 
52 ·············dim·>·&matrix,·FieldVector<·C,·dim·>·&eigenValues) 
53  ···········calculates·the·eigenvalues·of·a·non-symmetric·field·matrix·More... 
54  29  
55 *****·Detailed·Description·*****30 *****·Detailed·Description·*****
56 Eigenvalue·computations·for·the·FieldMatrix·class.31 Various·parser·methods·to·get·data·into·a·ParameterTree·object.
  
57 ===============================================================================32 ===============================================================================
58 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
146 KB
./usr/share/doc/libdune-common-doc/doxygen/a00095_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·fmatrixev.hh·Source·File</title>8 <title>dune-common:·parametertreeparser.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 631 lines modifiedOffset 62, 91 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">fmatrixev.hh</div></div>68 ··<div·class="headertitle"><div·class="title">parametertreeparser.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00095.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00095.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FMATRIXEIGENVALUES_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PARAMETER_PARSER_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FMATRIXEIGENVALUES_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PARAMETER_PARSER_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
 79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00140.html">dune/common/parametertree.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div>83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/fvector.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00251.html">dune/common/fmatrix.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00119.html">dune/common/math.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 87 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a02380.html">···22</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02380.html">ParameterTreeParserError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01564.html">RangeError</a>·{};</div>
 88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02384.html">···28</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02384.html">HelpRequest</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01548.html">Exception</a>·{};</div>
90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>FMatrixHelp·{</div> 
91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div> 
93 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="comment">//·defined·in·fmatrixev.cc</span></div> 
94 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">extern</span>·<span·class="keywordtype">void</span>·eigenValuesLapackCall(</div> 
95 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobz,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·uplo,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span></div> 
96 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordtype">int</span>*·n,·<span·class="keywordtype">double</span>*·a,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lda,·<span·class="keywordtype">double</span>*·w,</div> 
97 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keywordtype">double</span>*·work,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lwork,·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·info);</div> 
98 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">extern</span>·<span·class="keywordtype">void</span>·eigenValuesNonsymLapackCall(</div> 
100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobvl,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobvr,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span></div> 
101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keywordtype">int</span>*·n,·<span·class="keywordtype">double</span>*·a,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lda,·<span·class="keywordtype">double</span>*·wr,·<span·class="keywordtype">double</span>*·wi,·<span·class="keywordtype">double</span>*·vl,</div> 
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·ldvl,·<span·class="keywordtype">double</span>*·vr,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·ldvr,·<span·class="keywordtype">double</span>*·work,</div> 
103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lwork,·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·info);</div> 
104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
105 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">extern</span>·<span·class="keywordtype">void</span>·eigenValuesLapackCall(</div> 
106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobz,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·uplo,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span></div> 
107 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordtype">int</span>*·n,·<span·class="keywordtype">float</span>*·a,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lda,·<span·class="keywordtype">float</span>*·w,</div> 
108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keywordtype">float</span>*·work,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lwork,·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·info);</div> 
109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
110 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">extern</span>·<span·class="keywordtype">void</span>·eigenValuesNonsymLapackCall(</div> 
111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobvl,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobvr,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span></div> 
112 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordtype">int</span>*·n,·<span·class="keywordtype">float</span>*·a,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lda,·<span·class="keywordtype">float</span>*·wr,·<span·class="keywordtype">float</span>*·wi,·<span·class="keywordtype">float</span>*·vl,</div> 
113 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·ldvl,·<span·class="keywordtype">float</span>*·vr,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·ldvr,·<span·class="keywordtype">float</span>*·work,</div> 
114 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lwork,·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·info);</div> 
115 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
116 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="preprocessor">#endif</span></div> 
117 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
118 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">namespace·</span>Impl·{</div> 
119 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="comment">//internal·tag·to·activate/disable·code·for·eigenvector·calculation·at·compile·time</span></div> 
120 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">enum</span>·Jobs·{·OnlyEigenvalues=0,·EigenvaluesEigenvectors=1·};</div> 
121 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
122 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="comment">//internal·dummy·used·if·only·eigenvalues·are·to·be·calculated</span></div> 
123 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·dim&gt;</div> 
124 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">using·</span>EVDummy·=·FieldMatrix&lt;K,·dim,·dim&gt;;</div> 
125 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
126 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="comment">//compute·the·cross-product·of·two·vectors</span></div> 
127 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·K&gt;</div> 
128 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">inline</span>·FieldVector&lt;K,3&gt;·crossProduct(<span·class="keyword">const</span>·FieldVector&lt;K,3&gt;&amp;·vec0,·<span·class="keyword">const</span>·FieldVector&lt;K,3&gt;&amp;·vec1)·{</div> 
129 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keywordflow">return</span>·{vec0[1]*vec1[2]·-·vec0[2]*vec1[1],·vec0[2]*vec1[0]·-·vec0[0]*vec1[2],·vec0[0]*vec1[1]·-·vec0[1]*vec1[0]};</div> 
130 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······}</div> 
131 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
132 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·K&gt;</div> 
133 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·eigenValues2dImpl(<span·class="keyword">const</span>·FieldMatrix&lt;K,·2,·2&gt;&amp;·matrix,</div> 
134 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····································FieldVector&lt;K,·2&gt;&amp;·eigenvalues)</div> 
135 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······{</div> 
136 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keyword">using·</span>std::sqrt;</div> 
137 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">const</span>·K·p·=·0.5·*·(matrix[0][0]·+·matrix·[1][1]);</div> 
138 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keyword">const</span>·K·p2·=·p·-·matrix[1][1];</div> 
139 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········K·q·=·p2·*·p2·+·matrix[1][0]·*·matrix[0][1];</div> 
140 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········<span·class="keywordflow">if</span>(·q·&lt;·0·&amp;&amp;·q·&gt;·-1e-14·)·q·=·0;</div> 
141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········<span·class="keywordflow">if</span>·(q·&lt;·0)</div> 
142 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········{</div> 
143 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········std::cout·&lt;&lt;·matrix·&lt;&lt;·std::endl;</div> 
144 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··········<span·class="comment">//·Complex·eigenvalues·are·either·caused·by·non-symmetric·matrices·or·by·round-off·errors</span></div> 
145 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··········<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(MathError,·<span·class="stringliteral">&quot;Complex·eigenvalue·detected·(which·this·implementation·cannot·handle).&quot;</span>);</div> 
146 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div> 
147 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
148 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="comment">//·get·square·root</span></div> 
149 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········q·=·sqrt(q);</div> 
150 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02388.html">···34</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02388.html">ParameterTreeParser</a></div>
151 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<span·class="comment">//·store·eigenvalues·in·ascending·order</span></div> 
152 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········eigenvalues[0]·=·p·-·q;</div> 
153 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········eigenvalues[1]·=·p·+·q;</div> 
154 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div>91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>
 92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">static</span>·std::string·ltrim(<span·class="keyword">const</span>·std::string&amp;·s);</div>
 94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">static</span>·std::string·rtrim(<span·class="keyword">const</span>·std::string&amp;·s);</div>
155 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
156 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="comment">/*</span></div>96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">public</span>:</div>
157 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">········This·implementation·was·adapted·from·the·pseudo-code·(Python?)·implementation·found·on</span></div> 
158 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">········http://en.wikipedia.org/wiki/Eigenvalue_algorithm··(retrieved·late·August·2014).</span></div> 
159 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">········Wikipedia·claims·to·have·taken·it·from</span></div> 
160 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">··········Smith,·Oliver·K.·(April·1961),·Eigenvalues·of·a·symmetric·3·×·3·matrix.,</span></div> 
161 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment">··········Communications·of·the·ACM·4·(4):·168,·doi:10.1145/355578.366316</span></div> 
162 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">······*/</span></div>97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
163 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·K&gt;</div> 
Max diff block lines reached; 89253/121750 bytes (73.31%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
27.0 KB
html2text {}
    
Offset 4, 715 lines modifiedOffset 4, 122 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 fmatrixev.hh7 parametertreeparser.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_FMATRIXEIGENVALUES_HH 
15 ·6#define·DUNE_FMATRIXEIGENVALUES_HH14 ·5#ifndef·DUNE_PARAMETER_PARSER_HH
 15 ·6#define·DUNE_PARAMETER_PARSER_HH
16 ·716 ·7
17 ·12#include·<algorithm> 
18 ·13#include·<iostream>17 ·12#include·<istream>
 18 ·13#include·<string>
19 ·14#include·<cmath>19 ·14#include·<vector>
20 ·15#include·<cassert> 
21 ·1620 ·15
 21 ·16#include·<dune/common/parametertree.hh>
22 ·17#include·<dune/common/exceptions.hh>22 ·17#include·<dune/common/exceptions.hh>
 23 ·18
23 ·18#include·<dune/common/fvector.hh> 
24 ·19#include·<dune/common/fmatrix.hh> 
25 ·20#include·<dune/common/math.hh> 
26 ·21 
27 ·22namespace·Dune·{24 ·19namespace·Dune·{
 25 ·20
 26 22·class·ParameterTreeParserError·:·public·RangeError·{};
 27 28·class·HelpRequest·:·public·Exception·{};
 28 ·29
 29 34·class·ParameterTreeParser
 30 ·35·{
 31 ·36
 32 ·37·static·std::string·ltrim(const·std::string&·s);
 33 ·38·static·std::string·rtrim(const·std::string&·s);
 34 ·39
 35 ·40·public:
 36 ·41
 37 ·85
 38 ·96·static·void·readINITree(std::istream&·in,·ParameterTree&·pt,
 39 ·97·bool·overwrite);
 40 ·98
 41 ·105·static·Dune::ParameterTree·readINITree(std::istream&·in);
 42 ·106
 43 ·107
 44 ·120·static·void·readINITree(std::istream&·in,·ParameterTree&·pt,
 45 ·121·const·std::string·srcname·=·"stream",
 46 ·122·bool·overwrite·=·true);
28 ·2347 ·123
29 ·29·namespace·FMatrixHelp·{ 
30 ·30 
31 ·31#if·HAVE_LAPACK 
32 ·32·//·defined·in·fmatrixev.cc 
33 ·33·extern·void·eigenValuesLapackCall( 
34 ·34·const·char*·jobz,·const·char*·uplo,·const·long 
35 ·35·int*·n,·double*·a,·const·long·int*·lda,·double*·w, 
36 ·36·double*·work,·const·long·int*·lwork,·long·int*·info); 
37 ·37 
38 ·38·extern·void·eigenValuesNonsymLapackCall( 
39 ·39·const·char*·jobvl,·const·char*·jobvr,·const·long 
40 ·40·int*·n,·double*·a,·const·long·int*·lda,·double*·wr,·double*·wi,·double*·vl, 
41 ·41·const·long·int*·ldvl,·double*·vr,·const·long·int*·ldvr,·double*·work, 
42 ·42·const·long·int*·lwork,·long·int*·info); 
43 ·43 
44 ·44·extern·void·eigenValuesLapackCall( 
45 ·45·const·char*·jobz,·const·char*·uplo,·const·long 
46 ·46·int*·n,·float*·a,·const·long·int*·lda,·float*·w, 
47 ·47·float*·work,·const·long·int*·lwork,·long·int*·info); 
48 ·48 
49 ·49·extern·void·eigenValuesNonsymLapackCall( 
50 ·50·const·char*·jobvl,·const·char*·jobvr,·const·long 
51 ·51·int*·n,·float*·a,·const·long·int*·lda,·float*·wr,·float*·wi,·float*·vl, 
52 ·52·const·long·int*·ldvl,·float*·vr,·const·long·int*·ldvr,·float*·work, 
53 ·53·const·long·int*·lwork,·long·int*·info); 
54 ·54 
55 ·55#endif 
56 ·56 
57 ·57·namespace·Impl·{ 
58 ·58·//internal·tag·to·activate/disable·code·for·eigenvector·calculation·at 
59 compile·time 
60 ·59·enum·Jobs·{·OnlyEigenvalues=0,·EigenvaluesEigenvectors=1·}; 
61 ·60 
62 ·61·//internal·dummy·used·if·only·eigenvalues·are·to·be·calculated 
63 ·62·template<typename·K,·int·dim> 
64 ·63·using·EVDummy·=·FieldMatrix<K,·dim,·dim>; 
65 ·64 
66 ·65·//compute·the·cross-product·of·two·vectors 
67 ·66·template<typename·K> 
68 ·67·inline·FieldVector<K,3>·crossProduct(const·FieldVector<K,3>&·vec0,·const 
69 FieldVector<K,3>&·vec1)·{ 
70 ·68·return·{vec0[1]*vec1[2]·-·vec0[2]*vec1[1],·vec0[2]*vec1[0]·-·vec0[0]*vec1 
71 [2],·vec0[0]*vec1[1]·-·vec0[1]*vec1[0]}; 
72 ·69·} 
73 ·70 
74 ·71·template·<typename·K> 
75 ·72·static·void·eigenValues2dImpl(const·FieldMatrix<K,·2,·2>&·matrix, 
76 ·73·FieldVector<K,·2>&·eigenvalues) 
77 ·74·{ 
78 ·75·using·std::sqrt; 
79 ·76·const·K·p·=·0.5·*·(matrix[0][0]·+·matrix·[1][1]); 
80 ·77·const·K·p2·=·p·-·matrix[1][1]; 
81 ·78·K·q·=·p2·*·p2·+·matrix[1][0]·*·matrix[0][1]; 
82 ·79·if(·q·<·0·&&·q·>·-1e-14·)·q·=·0; 
83 ·80·if·(q·<·0) 
84 ·81·{ 
85 ·82·std::cout·<<·matrix·<<·std::endl; 
86 ·83·//·Complex·eigenvalues·are·either·caused·by·non-symmetric·matrices·or·by 
87 round-off·errors 
88 ·84·DUNE_THROW(MathError,·"Complex·eigenvalue·detected·(which·this 
89 implementation·cannot·handle)."); 
90 ·85·} 
91 ·86 
92 ·87·//·get·square·root 
93 ·88·q·=·sqrt(q); 
94 ·89 
95 ·90·//·store·eigenvalues·in·ascending·order 
96 ·91·eigenvalues[0]·=·p·-·q; 
97 ·92·eigenvalues[1]·=·p·+·q; 
98 ·93·} 
99 ·94 
100 ·95·/* 
Max diff block lines reached; 21264/27639 bytes (76.93%) of diff not shown.
14.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00098.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·to_unique_ptr.hh·File·Reference</title>8 <title>dune-common:·fvector.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 44 lines modifiedOffset 63, 85 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#typedef-members">Typedefs</a>·&#124; 
72 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">fvector.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
 76 <p>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.··
 77 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
 79 <code>#include·&lt;cmath&gt;</code><br·/>
 80 <code>#include·&lt;cstddef&gt;</code><br·/>
 81 <code>#include·&lt;cstdlib&gt;</code><br·/>
 82 <code>#include·&lt;complex&gt;</code><br·/>
 83 <code>#include·&lt;cstring&gt;</code><br·/>
 84 <code>#include·&lt;utility&gt;</code><br·/>
 85 <code>#include·&lt;initializer_list&gt;</code><br·/>
 86 <code>#include·&lt;algorithm&gt;</code><br·/>
 87 <code>#include·&quot;<a·class="el"·href="a00083_source.html">typetraits.hh</a>&quot;</code><br·/>
 88 <code>#include·&quot;<a·class="el"·href="a00122_source.html">exceptions.hh</a>&quot;</code><br·/>
 89 <code>#include·&quot;<a·class="el"·href="a00101_source.html">ftraits.hh</a>&quot;</code><br·/>
 90 <code>#include·&quot;<a·class="el"·href="a00104_source.html">densevector.hh</a>&quot;</code><br·/>
 91 <code>#include·&quot;<a·class="el"·href="a00116_source.html">boundschecking.hh</a>&quot;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
77 </div>94 </div>
78 <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00098_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">96 <table·class="memberdecls">
 97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 98 Classes</h2></td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01776.html">Dune::DenseMatVecTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&gt;</a></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01780.html">Dune::FieldTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&gt;</a></td></tr>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01784.html">Dune::IsFieldVectorSizeCorrect&lt;·C,·SIZE·&gt;</a></td></tr>
 104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible.··<a·href="a01784.html#details">More...</a><br·/></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01788.html">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE·&gt;,·SIZE·&gt;</a></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01792.html">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE1·&gt;,·SIZE·&gt;</a></td></tr>
 109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01412.html">Dune::FieldVector&lt;·K,·SIZE·&gt;</a></td></tr>
 111 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">vector·space·out·of·a·tensor·product·of·fields.··<a·href="a01412.html#details">More...</a><br·/></td></tr>
 112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 </table><table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>114 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
81 Namespaces</h2></td></tr>115 Namespaces</h2></td></tr>
82 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>116 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
83 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>117 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:a00438"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html">Dune::MathOverloads</a></td></tr>
 120 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr>
85 </table><table·class="memberdecls"> 
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
87 Typedefs</h2></td></tr> 
88 <tr·class="memitem:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
89 <tr·class="memitem:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">Dune::ToUniquePtr</a>·=·std::unique_ptr&lt;·T·&gt;</td></tr> 
90 <tr·class="memdesc:a9bbde85cc655ad122680398fef8fa5cd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Alias·for·<code>std::unique_ptr</code>·introduced·as·transition·wrapper.··<a·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">More...</a><br·/></td></tr> 
91 <tr·class="separator:a9bbde85cc655ad122680398fef8fa5cd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">122 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
94 Functions</h2></td></tr>124 Functions</h2></td></tr>
95 <tr·class="memitem:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class...·Args&gt;·</td></tr> 
96 <tr·class="memitem:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memTemplItemLeft"·align="right"·valign="top">std::unique_ptr&lt;·T·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">Dune::makeToUnique</a>·(Args·&amp;&amp;...·args)</td></tr> 
97 <tr·class="memdesc:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Alias·for·<code>std::make_unique</code>·introduced·as·transition·wrapper.··<a·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">More...</a><br·/></td></tr>125 <tr·class="memitem:ab33f61f8962056b6619b0d5b7edceefd"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE&gt;·</td></tr>
 126 <tr·class="memitem:ab33f61f8962056b6619b0d5b7edceefd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#ab33f61f8962056b6619b0d5b7edceefd">Dune::MathOverloads::isFinite</a>·(const·FieldVector&lt;·K,·SIZE·&gt;·&amp;b,·PriorityTag&lt;·2·&gt;,·ADLTag)</td></tr>
 127 <tr·class="separator:ab33f61f8962056b6619b0d5b7edceefd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:a5312822f8a17821bbd4fdd8671528d88"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE&gt;·</td></tr>
 129 <tr·class="memitem:a5312822f8a17821bbd4fdd8671528d88"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a5312822f8a17821bbd4fdd8671528d88">Dune::MathOverloads::isInf</a>·(const·FieldVector&lt;·K,·SIZE·&gt;·&amp;b,·PriorityTag&lt;·2·&gt;,·ADLTag)</td></tr>
 130 <tr·class="separator:a5312822f8a17821bbd4fdd8671528d88"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:a4daa32207a54271c8d4496a7fe7ef610"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE,·typename··=·std::enable_if_t&lt;HasNaN&lt;K&gt;::value&gt;&gt;·</td></tr>
 132 <tr·class="memitem:a4daa32207a54271c8d4496a7fe7ef610"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a4daa32207a54271c8d4496a7fe7ef610">Dune::MathOverloads::isNaN</a>·(const·FieldVector&lt;·K,·SIZE·&gt;·&amp;b,·PriorityTag&lt;·2·&gt;,·ADLTag)</td></tr>
 133 <tr·class="separator:a4daa32207a54271c8d4496a7fe7ef610"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·typename··=·std::enable_if_t&lt;HasNaN&lt;K&gt;::value&gt;&gt;·</td></tr>
 135 <tr·class="memitem:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#abe1edb9dee17e22e019dcc99fda44e7f">Dune::MathOverloads::isUnordered</a>·(const·FieldVector&lt;·K,·1·&gt;·&amp;b,·const·FieldVector&lt;·K,·1·&gt;·&amp;c,·PriorityTag&lt;·2·&gt;,·ADLTag)</td></tr>
98 <tr·class="separator:a6eaf1fedf356f1f09c981cd6863fbb7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table>137 </table>
 138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 139 <div·class="textblock"><p·>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·</p>
100 </div><!--·contents·-->140 </div></div><!--·contents·-->
101 <!--·start·footer·part·-->141 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>142 <hr·class="footer"/><address·class="footer"><small>
103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4143 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
104 </small></address>144 </small></address>
105 </body>145 </body>
106 </html>146 </html>
2.76 KB
html2text {}
    
Offset 4, 29 lines modifiedOffset 4, 75 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Typedefs·|·Functions7 Classes·|·Namespaces·|·Functions
8 to_unique_ptr.hh·File·Reference8 fvector.hh·File·Reference
 9 Common·»·Dense_Matrix_and_Vector_Template_Library
 10 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a
 11 compile-time·given·size.·More...
9 #include·<memory>12 #include·<array>
 13 #include·<cmath>
 14 #include·<cstddef>
 15 #include·<cstdlib>
 16 #include·<complex>
 17 #include·<cstring>
 18 #include·<utility>
 19 #include·<initializer_list>
 20 #include·<algorithm>
 21 #include·"typetraits.hh"
 22 #include·"exceptions.hh"
 23 #include·"ftraits.hh"
 24 #include·"densevector.hh"
 25 #include·"boundschecking.hh"
 26 #include·<dune/common/math.hh>
 27 #include·<dune/common/promotiontraits.hh>
10 Go_to_the_source_code_of_this_file.28 Go_to_the_source_code_of_this_file.
 29 ·Classes
 30 struct· Dune::DenseMatVecTraits<_FieldVector<_K,_SIZE_>_>
 31  
 32 struct· Dune::FieldTraits<_FieldVector<_K,_SIZE_>_>
 33  
 34 struct· Dune::IsFieldVectorSizeCorrect<_C,_SIZE_>
 35  ·······TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible.
 36 ·········More...
 37  
 38 struct· Dune::IsFieldVectorSizeCorrect<_FieldVector<_T,_SIZE_>,_SIZE_>
 39  
 40 struct· Dune::IsFieldVectorSizeCorrect<_FieldVector<_T,_SIZE1_>,_SIZE_>
 41  
 42 ·class· Dune::FieldVector<_K,_SIZE_>
 43  ·······vector·space·out·of·a·tensor·product·of·fields.·More...
 44  
11 ·Namespaces45 ·Namespaces
12 namespace· Dune46 namespace· Dune
13  ··········Dune·namespace.47  ··········Dune·namespace.
14  48  
 49 namespace· Dune::MathOverloads
 50  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics
15 ·Typedefs 
16 template<class·T·> 
17 using Dune::ToUniquePtr·=·std::unique_ptr<·T·> 
18  ·····Alias·for·std::unique_ptr·introduced·as·transition·wrapper.·More... 
19  51  
20 ·Functions52 ·Functions
21 template<class·T·,·class...·Args> 
22 std::unique_ptr<·T·> Dune::makeToUnique·(Args·&&...·args) 
23  ····················Alias·for·std::make_unique·introduced·as·transition 
24 ······················wrapper.·More...53 template<class·K·,·int·SIZE>
 54 auto Dune::MathOverloads::isFinite·(const·FieldVector<·K,·SIZE·>·&b,
 55 ······PriorityTag<·2·>,·ADLTag)
 56  
 57 template<class·K·,·int·SIZE>
 58 bool Dune::MathOverloads::isInf·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag<
 59 ······2·>,·ADLTag)
 60  
 61 template<class·K·,·int·SIZE,·typename·=·std::enable_if_t<HasNaN<K>::value>>
 62 bool Dune::MathOverloads::isNaN·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag<
 63 ······2·>,·ADLTag)
 64  
 65 template<class·K·,·typename·=·std::enable_if_t<HasNaN<K>::value>>
 66 bool Dune::MathOverloads::isUnordered·(const·FieldVector<·K,·1·>·&b,·const
 67 ······FieldVector<·K,·1·>·&c,·PriorityTag<·2·>,·ADLTag)
25  68  
 69 *****·Detailed·Description·*****
 70 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a
 71 compile-time·given·size.
  
26 ===============================================================================72 ===============================================================================
27 ·····Generated·by [doxygen]·1.9.473 ·····Generated·by [doxygen]·1.9.4
138 KB
./usr/share/doc/libdune-common-doc/doxygen/a00098_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·to_unique_ptr.hh·Source·File</title>8 <title>dune-common:·fvector.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 46 lines modifiedOffset 62, 600 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">to_unique_ptr.hh</div></div>68 ··<div·class="headertitle"><div·class="title">fvector.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00098.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FVECTOR_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FVECTOR_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_TO_UNIQUE_PTR_HH</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_TO_UNIQUE_PTR_HH</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#warning·to_unique_ptr.hh·and·ToUniquePtr·are·deprecated.·Use·std::unique_ptr·or·std::shared_ptr·instead.</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00083.html">typetraits.hh</a>&quot;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00122.html">exceptions.hh</a>&quot;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00101.html">ftraits.hh</a>&quot;</span></div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00104.html">densevector.hh</a>&quot;</span></div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00116.html">boundschecking.hh</a>&quot;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div> 
85 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div> 
86 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno"><a·class="line"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">···18</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">ToUniquePtr</a>·[[deprecated]]·=·std::unique_ptr&lt;T&gt;;</div> 
87 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<span·class="keyword">class</span>...·Args&gt;</div> 
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">···23</a></span>··[[deprecated]]·std::unique_ptr&lt;T&gt;·<a·class="code·hl_function"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">makeToUnique</a>·(Args&amp;&amp;...·args)</div> 
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··{</div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="keywordflow">return</span>·std::make_unique(std::forward&lt;Args&gt;(args)...);</div> 
92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··}</div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00281.html">dune/common/math.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00035.html">dune/common/promotiontraits.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>}·<span·class="comment">//·end·namespace·Dune</span></div>98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;·<span·class="keyword">class·</span>FieldVector;</div>
 101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;</div>
 102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01776.html">···41</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>&lt;·<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;K,SIZE&gt;·&gt;</div>
 103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>
 104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01776.html#aed7a78fa3310284a3b6b4a581d871648">···43</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01412.html">FieldVector&lt;K,SIZE&gt;</a>·<a·class="code·hl_typedef"·href="a01776.html#aed7a78fa3310284a3b6b4a581d871648">derived_type</a>;</div>
 105 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01776.html#aabd9770f9fa1881a7f26c4d38ca3f1a9">···44</a></span>····<span·class="keyword">typedef</span>·std::array&lt;K,SIZE&gt;·<a·class="code·hl_typedef"·href="a01776.html#aabd9770f9fa1881a7f26c4d38ca3f1a9">container_type</a>;</div>
 106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01776.html#a142da5837be443b84b96047b3613d1fe">···45</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a01776.html#a142da5837be443b84b96047b3613d1fe">value_type</a>;</div>
 107 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01776.html#abbf797e44c07558c9b24918b6d3c9279">···46</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·container_type::size_type·<a·class="code·hl_typedef"·href="a01776.html#abbf797e44c07558c9b24918b6d3c9279">size_type</a>;</div>
 108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··};</div>
 109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 110 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;</div>
 111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01780.html">···50</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;K,SIZE&gt;·&gt;</div>
 112 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>
 113 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01780.html#ade3402a89a4d8cdd598ca0a5131d7a83">···52</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">FieldTraits&lt;K&gt;::field_type</a>·<a·class="code·hl_typedef"·href="a01780.html#ade3402a89a4d8cdd598ca0a5131d7a83">field_type</a>;</div>
 114 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01780.html#a45febe4d04b7969068ab107fee6fb667">···53</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·<a·class="code·hl_typedef"·href="a01780.html#a45febe4d04b7969068ab107fee6fb667">real_type</a>;</div>
 115 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>
 116 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 117 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C,·<span·class="keywordtype">int</span>·SIZE&gt;</div>
 118 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01784.html">···65</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01784.html">IsFieldVectorSizeCorrect</a></div>
 119 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div>
 120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">···71</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">value</a>·=·<span·class="keyword">true</span>;</div>
 121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>
 122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keywordtype">int</span>·SIZE&gt;</div>
 124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01788.html">···75</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01784.html">IsFieldVectorSizeCorrect</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;T,SIZE&gt;,SIZE&gt;</div>
 125 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>
 126 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01788.html#a3e031c5ca425e889a5f12753d77954a2">···77</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">value</a>·=·<span·class="keyword">true</span>;</div>
 127 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··};</div>
 128 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keywordtype">int</span>·SIZE,·<span·class="keywordtype">int</span>·SIZE1&gt;</div>
 130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01792.html">···81</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01784.html">IsFieldVectorSizeCorrect</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;T,SIZE1&gt;,SIZE&gt;</div>
 131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>
 132 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01792.html#a44206952cd90ed89888dde55039771f7">···83</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">value</a>·=·<span·class="keyword">false</span>;</div>
 133 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··};</div>
 134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 136 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;</div>
 137 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01412.html">···93</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01412.html">FieldVector</a>·:</div>
 138 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector</a>&lt;·FieldVector&lt;K,SIZE&gt;·&gt;</div>
 139 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div>
 140 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····std::array&lt;K,SIZE&gt;·_data;</div>
 141 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector&lt;·FieldVector&lt;K,SIZE&gt;</a>·&gt;·<a·class="code·hl_class"·href="a01424.html">Base</a>;</div>
 142 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">public</span>:</div>
 143 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01412.html#a5f6110ea7b144b46ea843443a4b14e38">··100</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01412.html#a5f6110ea7b144b46ea843443a4b14e38">dimension</a>·=·SIZE;</div>
 144 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 145 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01412.html#a2c7b51d2f5088bed3f04f825b7981338">··102</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">Base::size_type</a>·<a·class="code·hl_typedef"·href="a01412.html#a2c7b51d2f5088bed3f04f825b7981338">size_type</a>;</div>
 146 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01412.html#aca57e1c44a7bb33047fb98a01b3a6c40">··103</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a007463aa44631abffe62eb8c868ae95d">Base::value_type</a>·<a·class="code·hl_typedef"·href="a01412.html#aca57e1c44a7bb33047fb98a01b3a6c40">value_type</a>;</div>
 147 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 148 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01412.html#ac355ea990d87c53086303afb7542baf7">··106</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01412.html#aca57e1c44a7bb33047fb98a01b3a6c40">value_type</a>&amp;·<a·class="code·hl_typedef"·href="a01412.html#ac355ea990d87c53086303afb7542baf7">reference</a>;</div>
 149 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 150 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01412.html#a1c98c91c59736499b244656d7c233252">··109</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01412.html#aca57e1c44a7bb33047fb98a01b3a6c40">value_type</a>&amp;·<a·class="code·hl_typedef"·href="a01412.html#a1c98c91c59736499b244656d7c233252">const_reference</a>;</div>
 151 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 152 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01412.html#a1867986f24820da1f68ed4a32be8d8d0">··112</a></span>····<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01412.html#a1867986f24820da1f68ed4a32be8d8d0">FieldVector</a>()</div>
 153 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······:·_data{{}}</div>
 154 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····{}</div>
 155 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
 156 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01412.html#a427b89a66ec3a1384a83121f961efcd8">··117</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01412.html#a427b89a66ec3a1384a83121f961efcd8">FieldVector</a>·(<span·class="keyword">const</span>·K&amp;·t)</div>
 157 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····{</div>
 158 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······std::fill(_data.begin(),_data.end(),t);</div>
 159 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····}</div>
 160 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 161 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="preprocessor">#if·__GNUC__·==·5·&amp;&amp;·!defined(__clang__)</span></div>
 162 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<span·class="comment">//·`...·=·default;`·causes·an·internal·compiler·error·on·GCC·5.4·(Ubuntu·16.04)</span></div>
 163 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment"></span>····<a·class="code·hl_class"·href="a01412.html">FieldVector</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&amp;·x)·:·_data(x._data)·{}</div>
Max diff block lines reached; 15674/117306 bytes (13.36%) of diff not shown.
22.8 KB
html2text {}
    
Offset 4, 51 lines modifiedOffset 4, 769 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 to_unique_ptr.hh7 fvector.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5 
15 ·6#ifndef·DUNE_TO_UNIQUE_PTR_HH 
16 ·7#define·DUNE_TO_UNIQUE_PTR_HH 
17 ·8 
18 ·9#warning·to_unique_ptr.hh·and·ToUniquePtr·are·deprecated.·Use·std::unique_ptr 
19 or·std::shared_ptr·instead. 
20 ·10 
21 ·11#include·<memory> 
22 ·12 
23 ·13namespace·Dune 
24 ·14{ 
25 ·17·template·<class·T> 
26 18·using·ToUniquePtr·[[deprecated]]·=·std::unique_ptr<T>; 
27 ·19 
28 ·22·template·<class·T,·class...·Args> 
29 23·[[deprecated]]·std::unique_ptr<T>·makeToUnique·(Args&&...·args)14 ·5#ifndef·DUNE_FVECTOR_HH
 15 ·6#define·DUNE_FVECTOR_HH
 16 ·7
 17 ·8#include·<array>
 18 ·9#include·<cmath>
 19 ·10#include·<cstddef>
 20 ·11#include·<cstdlib>
 21 ·12#include·<complex>
 22 ·13#include·<cstring>
 23 ·14#include·<utility>
 24 ·15#include·<initializer_list>
 25 ·16#include·<algorithm>
 26 ·17
 27 ·18#include·"typetraits.hh"
 28 ·19#include·"exceptions.hh"
 29 ·20
 30 ·21#include·"ftraits.hh"
 31 ·22#include·"densevector.hh"
 32 ·23#include·"boundschecking.hh"
30 ·24·{33 ·24
31 ·25·return·std::make_unique(std::forward<Args>(args)...); 
32 ·26·}34 ·25#include·<dune/common/math.hh>
 35 ·26#include·<dune/common/promotiontraits.hh>
33 ·2736 ·27
34 ·28}·//·end·namespace·Dune37 ·28namespace·Dune·{
35 ·2938 ·29
36 ·30#endif·//·DUNE_TO_UNIQUE_PTR_HH39 ·39·template<·class·K,·int·SIZE·>·class·FieldVector;
 40 ·40·template<·class·K,·int·SIZE·>
 41 41·struct·DenseMatVecTraits<·FieldVector<K,SIZE>·>
 42 ·42·{
 43 43·typedef·FieldVector<K,SIZE>·derived_type;
 44 44·typedef·std::array<K,SIZE>·container_type;
 45 45·typedef·K·value_type;
 46 46·typedef·typename·container_type::size_type·size_type;
 47 ·47·};
 48 ·48
 49 ·49·template<·class·K,·int·SIZE·>
 50 50·struct·FieldTraits<·FieldVector<K,SIZE>·>
 51 ·51·{
 52 52·typedef·typename·FieldTraits<K>::field_type·field_type;
 53 53·typedef·typename·FieldTraits<K>::real_type·real_type;
 54 ·54·};
 55 ·55
 56 ·64·template<typename·C,·int·SIZE>
 57 65·struct·IsFieldVectorSizeCorrect
 58 ·66·{
 59 71·constexpr·static·bool·value·=·true;
 60 ·72·};
 61 ·73
 62 ·74·template<typename·T,·int·SIZE>
 63 75·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE>,SIZE>
 64 ·76·{
 65 77·constexpr·static·bool·value·=·true;
 66 ·78·};
 67 ·79
 68 ·80·template<typename·T,·int·SIZE,·int·SIZE1>
 69 81·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE1>,SIZE>
 70 ·82·{
 71 83·constexpr·static·bool·value·=·false;
 72 ·84·};
 73 ·85
 74 ·86
 75 ·92·template<·class·K,·int·SIZE·>
 76 93·class·FieldVector·:
 77 ·94·public·DenseVector<·FieldVector<K,SIZE>·>
 78 ·95·{
 79 ·96·std::array<K,SIZE>·_data;
 80 ·97·typedef·DenseVector<_FieldVector<K,SIZE>·>·Base;
 81 ·98·public:
 82 100·constexpr·static·int·dimension·=·SIZE;
 83 ·101
 84 102·typedef·typename·Base::size_type·size_type;
 85 103·typedef·typename·Base::value_type·value_type;
 86 ·104
 87 106·typedef·value_type&·reference;
 88 ·107
 89 109·typedef·const·value_type&·const_reference;
 90 ·110
 91 112·constexpr·FieldVector()
 92 ·113·:·_data{{}}
 93 ·114·{}
 94 ·115
 95 117·explicit·FieldVector·(const·K&·t)
 96 ·118·{
 97 ·119·std::fill(_data.begin(),_data.end(),t);
 98 ·120·}
 99 ·121
 100 ·122#if·__GNUC__·==·5·&&·!defined(__clang__)
 101 ·123·//·`...·=·default;`·causes·an·internal·compiler·error·on·GCC·5.4·(Ubuntu
 102 16.04)
 103 ·125·FieldVector(const·FieldVector&·x)·:·_data(x._data)·{}
 104 ·126#else
 105 128·FieldVector·(const·FieldVector&)·=·default;
 106 ·129#endif
 107 ·130
 108 132·FieldVector·(std::initializer_list<K>·const·&l)
 109 ·133·{
 110 ·134·assert(l.size()·==·dimension);//·Actually,·this·is·not·needed·any·more!
Max diff block lines reached; 5689/23365 bytes (24.35%) of diff not shown.
10.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00101.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·debugstream.hh·File·Reference</title>8 <title>dune-common:·ftraits.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 63 lines modifiedOffset 64, 47 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">ftraits.hh·File·Reference</div></div>
72 <a·href="#typedef-members">Typedefs</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">debugstream.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div> 
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Defines·several·output·streams·for·messages·of·different·importance.··75 <p>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/>
79 <code>#include·&lt;stack&gt;</code><br·/>78 <code>#include·&lt;vector&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
81 </div>79 </div>
82 <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00101_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">81 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
85 Classes</h2></td></tr>83 Classes</h2></td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&gt;</a></td></tr>84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01740.html">Dune::FieldTraits&lt;·T·&gt;</a></td></tr>
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Greater·or·equal·template·test.··<a·href="a01376.html#details">More...</a><br·/></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01380.html">Dune::common_bits&lt;·current,·mask·&gt;</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01744.html">Dune::FieldTraits&lt;·const·T·&gt;</a></td></tr>
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">activate·if·current·and·mask·have·common·bits·switched·on.··<a·href="a01380.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01384.html">Dune::DebugStreamError</a></td></tr>88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01748.html">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&gt;</a></td></tr>
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">standard·exception·for·the·debugstream··<a·href="a01384.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01388.html">Dune::StreamWrap</a></td></tr>90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01752.html">Dune::FieldTraits&lt;·T[N]·&gt;</a></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01392.html">Dune::DebugStreamState</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01756.html">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;</a></td></tr>
98 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.··<a·href="a01392.html#details">More...</a><br·/></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01396.html">Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;</a></td></tr> 
101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·class·to·implement·debug·output·streams.··<a·href="a01396.html#details">More...</a><br·/></td></tr> 
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
105 Namespaces</h2></td></tr>96 Namespaces</h2></td></tr>
106 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>97 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
107 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>98 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table><table·class="memberdecls"> 
110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
111 Typedefs</h2></td></tr> 
112 <tr·class="memitem:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="memItemLeft"·align="right"·valign="top">typedef·unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">Dune::DebugLevel</a></td></tr> 
113 <tr·class="memdesc:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·for·debug·levels.··<a·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">More...</a><br·/></td></tr> 
114 <tr·class="separator:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 </table>100 </table>
116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 102 <div·class="textblock"><p·>Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·</p>
117 <div·class="textblock"><p·>Defines·several·output·streams·for·messages·of·different·importance.·</p> 
118 <p·>This·file·implements·the·class·DebugStream·to·support·output·in·a·variety·of·debug·levels.·Additionally,·template·parameters·control·if·the·output·operation·is·really·performed·so·that·unused·debug·levels·can·be·deactivated·</p> 
119 </div></div><!--·contents·-->103 </div></div><!--·contents·-->
120 <!--·start·footer·part·-->104 <!--·start·footer·part·-->
121 <hr·class="footer"/><address·class="footer"><small>105 <hr·class="footer"/><address·class="footer"><small>
122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4106 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
123 </small></address>107 </small></address>
124 </body>108 </body>
125 </html>109 </html>
2.01 KB
html2text {}
    
Offset 4, 49 lines modifiedOffset 4, 34 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Typedefs7 Classes·|·Namespaces
8 debugstream.hh·File·Reference8 ftraits.hh·File·Reference
 9 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)
 10 More...
 11 #include·<complex>
 12 #include·<vector>
9 Common·»·Debug_output 
10 Defines·several·output·streams·for·messages·of·different·importance.·More... 
11 #include·<iostream> 
12 #include·<stack> 
13 #include·<dune/common/exceptions.hh> 
14 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
15 ·Classes14 ·Classes
 15 struct· Dune::FieldTraits<_T_>
16 struct· Dune::greater_or_equal<_current,_threshold_> 
17  ·······Greater·or·equal·template·test.·More... 
18  16  
 17 struct· Dune::FieldTraits<_const_T_>
19 struct· Dune::common_bits<_current,_mask_> 
20  ·······activate·if·current·and·mask·have·common·bits·switched·on.·More... 
21  18  
 19 struct· Dune::FieldTraits<_std::complex<_T_>_>
22 ·class· Dune::DebugStreamError 
23  ·······standard·exception·for·the·debugstream·More... 
24  20  
25 ·class· Dune::StreamWrap21 struct· Dune::FieldTraits<_T[N]_>
26  22  
 23 struct· Dune::FieldTraits<_std::vector<_T_>_>
27 ·class· Dune::DebugStreamState 
28  ·······Intermediate·class·to·implement·tie-operation·of·DebugStream.·More... 
29   
30 ·class· Dune::DebugStream<_thislevel,_dlevel,_alevel,_activator_> 
31  ·······Generic·class·to·implement·debug·output·streams.·More... 
32  24  
33 ·Namespaces25 ·Namespaces
34 namespace· Dune26 namespace· Dune
35  ··········Dune·namespace.27  ··········Dune·namespace.
36  28  
37 ·Typedefs 
38 typedef·unsigned·int Dune::DebugLevel 
39  ····················Type·for·debug·levels.·More... 
40   
41 *****·Detailed·Description·*****29 *****·Detailed·Description·*****
 30 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)
42 Defines·several·output·streams·for·messages·of·different·importance. 
43 This·file·implements·the·class·DebugStream·to·support·output·in·a·variety·of 
44 debug·levels.·Additionally,·template·parameters·control·if·the·output·operation 
45 is·really·performed·so·that·unused·debug·levels·can·be·deactivated 
  
46 ===============================================================================31 ===============================================================================
47 ·····Generated·by [doxygen]·1.9.432 ·····Generated·by [doxygen]·1.9.4
82.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00101_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·debugstream.hh·Source·File</title>8 <title>dune-common:·ftraits.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 296 lines modifiedOffset 62, 80 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">debugstream.hh</div></div>68 ··<div·class="headertitle"><div·class="title">ftraits.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00101.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00101.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FTRAITS_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FTRAITS_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_DEBUGSTREAM_HH</span></div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_DEBUGSTREAM_HH</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;stack&gt;</span></div> 
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
86 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">··118</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>;</div> 
87 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
88 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··<span·class="keyword">template</span>·&lt;DebugLevel·current,·DebugLevel·threshold&gt;</div> 
89 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a01376.html">··130</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01376.html">greater_or_equal</a>·{</div> 
90 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga9e5ef41221d78830240c1d5586c329da">··131</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00410.html#ga9e5ef41221d78830240c1d5586c329da">value</a>·=·(current·&gt;=·threshold);</div> 
91 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··};</div> 
92 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> 
93 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> 
94 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··<span·class="keyword">template</span>·&lt;DebugLevel·current,·DebugLevel·mask&gt;</div> 
95 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a01380.html">··142</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01380.html">common_bits</a>·{</div> 
96 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga3263b8f57111ddf7a379bb19ad0daf5e">··143</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00410.html#ga3263b8f57111ddf7a379bb19ad0daf5e">value</a>·=·((current·&amp;·<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)·!=·0);</div> 
97 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··};</div> 
98 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> 
99 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
100 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a01384.html">··148</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01384.html">DebugStreamError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01556.html">IOError</a>·{};</div> 
101 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> 
102 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="a01388.html">··150</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01388.html">StreamWrap</a>·{</div> 
103 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··<span·class="keyword">public</span>:</div> 
104 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga06e3c89ca78a336ab9c5d2d13fbb7d86">··152</a></span>····<a·class="code·hl_function"·href="a00410.html#ga06e3c89ca78a336ab9c5d2d13fbb7d86">StreamWrap</a>(std::ostream&amp;·_out)·:·<a·class="code·hl_variable"·href="a00410.html#ga3eaed1d890bb1bc7ba0593b1565d5fe7">out</a>(_out)·{·}</div> 
105 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga3eaed1d890bb1bc7ba0593b1565d5fe7">··153</a></span>····std::ostream&amp;·<a·class="code·hl_variable"·href="a00410.html#ga3eaed1d890bb1bc7ba0593b1565d5fe7">out</a>;</div> 
106 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno"><a·class="line"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">··154</a></span>····<a·class="code·hl_class"·href="a01388.html">StreamWrap</a>·*<a·class="code·hl_variable"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">next</a>;</div> 
107 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>··};</div> 
108 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> 
109 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno"><a·class="line"·href="a01392.html">··158</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01392.html">DebugStreamState</a>·{</div> 
110 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>····<span·class="comment">//·!!!·should·be·protected·somehow·but·that·won&#39;t·be·easy</span></div> 
111 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··<span·class="keyword">public</span>:</div> 
112 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">··162</a></span>····<a·class="code·hl_class"·href="a01388.html">StreamWrap</a>*·<a·class="code·hl_variable"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">current</a>;</div> 
113 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> 
114 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga4ca51511bad76b44cdd79716fdc5ad39">··165</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00410.html#ga4ca51511bad76b44cdd79716fdc5ad39">_active</a>;</div> 
115 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div> 
116 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga82ee54f4b88fb895510ed6d4cc92c02d">··168</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00410.html#ga82ee54f4b88fb895510ed6d4cc92c02d">_tied</a>;</div> 
117 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div> 
118 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">··171</a></span>····<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a>;</div> 
119 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>··};</div> 
120 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>·</div> 
121 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>··<span·class="keyword">template</span>·&lt;<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·thislevel·=·1,</div> 
122 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>······<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·dlevel·=·1,</div> 
123 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>······<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·alevel·=·1,</div> 
124 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>······<span·class="keyword">template</span>&lt;DebugLevel,·DebugLevel&gt;·<span·class="keyword">class·</span>activator·=·<a·class="code·hl_struct"·href="a01376.html">greater_or_equal</a>&gt;</div> 
125 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno"><a·class="line"·href="a01396.html">··192</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01396.html">DebugStream</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01392.html">DebugStreamState</a>·{</div> 
126 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno">··193</span>··<span·class="keyword">public</span>:</div> 
127 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga0f2ab6645431b2552d1d7732583f3a72">··199</a></span>····<a·class="code·hl_function"·href="a00410.html#ga0f2ab6645431b2552d1d7732583f3a72">DebugStream</a>(std::ostream&amp;·out·=·std::cerr)·{</div> 
128 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>······<span·class="comment">//·start·a·new·list·of·streams</span></div> 
129 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>······<a·class="code·hl_variable"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">current</a>·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01388.html">StreamWrap</a>(out);</div> 
130 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>······<a·class="code·hl_variable"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">current</a>-&gt;<a·class="code·hl_variable"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">next</a>·=·0;</div> 
131 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>·</div> 
132 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>······<span·class="comment">//·check·if·we·are·above·the·default·activation·level</span></div> 
133 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno">··205</span>······<a·class="code·hl_variable"·href="a00410.html#ga4ca51511bad76b44cdd79716fdc5ad39">_active</a>·=·activator&lt;thislevel,alevel&gt;::value;</div> 
134 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>·</div> 
135 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno">··207</span>······<span·class="comment">//·we&#39;re·not·tied·to·another·DebugStream</span></div> 
136 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>······<a·class="code·hl_variable"·href="a00410.html#ga82ee54f4b88fb895510ed6d4cc92c02d">_tied</a>·=·<span·class="keyword">false</span>;</div> 
137 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>·</div> 
138 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>······<span·class="comment">//·no·child·streams·yet</span></div> 
139 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno">··211</span>······<a·class="code·hl_variable"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a>·=·0;</div> 
140 <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>····}</div> 
141 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>·</div> 
142 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno"><a·class="line"·href="a00410.html#gaa64698be61f444f86487e2a548ba94ac">··219</a></span>····<a·class="code·hl_function"·href="a00410.html#gaa64698be61f444f86487e2a548ba94ac">DebugStream</a>·(<a·class="code·hl_class"·href="a01392.html">DebugStreamState</a>&amp;·master,</div> 
143 <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span>·················std::ostream&amp;·fallback·=·std::cerr)</div> 
144 <div·class="line"><a·id="l00221"·name="l00221"></a><span·class="lineno">··221</span>····{</div> 
145 <div·class="line"><a·id="l00222"·name="l00222"></a><span·class="lineno">··222</span>······<span·class="comment">//·start·a·new·list·of·streams</span></div> 
146 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>······<a·class="code·hl_variable"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">current</a>·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01388.html">StreamWrap</a>(fallback);</div> 
147 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span>······<a·class="code·hl_variable"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">current</a>-&gt;<a·class="code·hl_variable"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">next</a>·=·0;</div> 
148 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span>·</div> 
149 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</span>······<span·class="comment">//·check·if·we·are·above·the·default·activation·level</span></div> 
150 <div·class="line"><a·id="l00227"·name="l00227"></a><span·class="lineno">··227</span>······<a·class="code·hl_variable"·href="a00410.html#ga4ca51511bad76b44cdd79716fdc5ad39">_active</a>·=·activator&lt;thislevel,alevel&gt;::value;</div> 
151 <div·class="line"><a·id="l00228"·name="l00228"></a><span·class="lineno">··228</span>······<a·class="code·hl_variable"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a>·=·0;</div> 
152 <div·class="line"><a·id="l00229"·name="l00229"></a><span·class="lineno">··229</span>·</div> 
153 <div·class="line"><a·id="l00230"·name="l00230"></a><span·class="lineno">··230</span>······<span·class="comment">//·tie·to·the·provided·stream</span></div> 
154 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>······<a·class="code·hl_variable"·href="a00410.html#ga82ee54f4b88fb895510ed6d4cc92c02d">_tied</a>·=·<span·class="keyword">true</span>;</div> 
155 <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>······tiedstate·=·&amp;master;</div> 
156 <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>······tiedstate-&gt;<a·class="code·hl_variable"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a>++;</div> 
157 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>····}</div> 
158 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>·</div> 
159 <div·class="line"><a·id="l00243"·name="l00243"></a><span·class="lineno"><a·class="line"·href="a00410.html#gaa40005d8956e1d61d55f6f169fb70441">··243</a></span>····<a·class="code·hl_function"·href="a00410.html#gaa40005d8956e1d61d55f6f169fb70441">~DebugStream</a>()</div> 
160 <div·class="line"><a·id="l00244"·name="l00244"></a><span·class="lineno">··244</span>····{</div> 
161 <div·class="line"><a·id="l00245"·name="l00245"></a><span·class="lineno">··245</span>······<span·class="comment">//·untie</span></div> 
162 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno">··246</span>······<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="a00410.html#ga82ee54f4b88fb895510ed6d4cc92c02d">_tied</a>)</div> 
163 <div·class="line"><a·id="l00247"·name="l00247"></a><span·class="lineno">··247</span>········tiedstate-&gt;<a·class="code·hl_variable"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a>--;</div> 
164 <div·class="line"><a·id="l00248"·name="l00248"></a><span·class="lineno">··248</span>······<span·class="keywordflow">else</span>·{</div> 
165 <div·class="line"><a·id="l00249"·name="l00249"></a><span·class="lineno">··249</span>········<span·class="comment">//·check·if·somebody·still·ties·to·us...</span></div> 
166 <div·class="line"><a·id="l00250"·name="l00250"></a><span·class="lineno">··250</span>········<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a>·!=·0)</div> 
167 <div·class="line"><a·id="l00251"·name="l00251"></a><span·class="lineno">··251</span>········{</div> 
168 <div·class="line"><a·id="l00252"·name="l00252"></a><span·class="lineno">··252</span>··········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;DebugStream·destructor·is·called·while·other·streams·are·still·tied·to·it.·Terminating!&quot;</span>·&lt;&lt;·std::endl;</div> 
169 <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span>··········std::terminate();</div> 
Max diff block lines reached; 5552/71986 bytes (7.71%) of diff not shown.
12.3 KB
html2text {}
    
Offset 4, 381 lines modifiedOffset 4, 102 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 debugstream.hh7 ftraits.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5#ifndef·DUNE_FTRAITS_HH
 15 ·6#define·DUNE_FTRAITS_HH
14 ·5 
15 ·6#ifndef·DUNE_DEBUGSTREAM_HH 
16 ·7#define·DUNE_DEBUGSTREAM_HH 
17 ·8 
18 ·13#include·<iostream> 
19 ·14#include·<stack> 
20 ·15 
21 ·16#include·<dune/common/exceptions.hh> 
22 ·1716 ·7
 17 ·12#include·<complex>
 18 ·13#include·<vector>
 19 ·14
23 ·18namespace·Dune·{20 ·15namespace·Dune·{
24 ·19 
25 118·typedef·unsigned·int·DebugLevel; 
26 ·119 
27 ·129·template·<DebugLevel·current,·DebugLevel·threshold> 
28 130·struct·greater_or_equal·{ 
29 131·constexpr·static·bool·value·=·(current·>=·threshold); 
30 ·132·}; 
31 ·133 
32 ·134 
33 ·141·template·<DebugLevel·current,·DebugLevel·mask> 
34 142·struct·common_bits·{ 
35 143·constexpr·static·bool·value·=·((current·&·mask)·!=·0); 
36 ·144·}; 
37 ·145 
38 ·14621 ·16
39 148·class·DebugStreamError·:·public·IOError·{}; 
40 ·149 
41 150·class·StreamWrap·{ 
42 ·151·public: 
43 152·StreamWrap(std::ostream&·_out)·:·out(_out)·{·} 
44 153·std::ostream&·out; 
45 154·StreamWrap·*next; 
46 ·155·}; 
47 ·156 
48 158·class·DebugStreamState·{ 
49 ·159·//·!!!·should·be·protected·somehow·but·that·won't·be·easy 
50 ·160·public: 
51 162·StreamWrap*·current; 
52 ·163 
53 165·bool·_active; 
54 ·166 
55 168·bool·_tied; 
56 ·169 
57 171·unsigned·int·_tied_streams; 
58 ·172·}; 
59 ·173 
60 ·188·template·<DebugLevel·thislevel·=·1, 
61 ·189·DebugLevel·dlevel·=·1, 
62 ·190·DebugLevel·alevel·=·1, 
63 ·191·template<DebugLevel,·DebugLevel>·class·activator·=·greater_or_equal> 
64 192·class·DebugStream·:·public·DebugStreamState·{ 
65 ·193·public: 
66 199·DebugStream(std::ostream&·out·=·std::cerr)·{ 
67 ·200·//·start·a·new·list·of·streams 
68 ·201·current·=·new·StreamWrap(out); 
69 ·202·current->next·=·0; 
70 ·203 
71 ·204·//·check·if·we·are·above·the·default·activation·level 
72 ·205·_active·=·activator<thislevel,alevel>::value; 
73 ·206 
74 ·207·//·we're·not·tied·to·another·DebugStream 
75 ·208·_tied·=·false; 
76 ·209 
77 ·210·//·no·child·streams·yet 
78 ·211·_tied_streams·=·0; 
79 ·212·} 
80 ·213 
81 219·DebugStream·(DebugStreamState&·master, 
82 ·220·std::ostream&·fallback·=·std::cerr) 
83 ·221·{ 
84 ·222·//·start·a·new·list·of·streams 
85 ·223·current·=·new·StreamWrap(fallback); 
86 ·224·current->next·=·0; 
87 ·225 
88 ·226·//·check·if·we·are·above·the·default·activation·level 
89 ·227·_active·=·activator<thislevel,alevel>::value; 
90 ·228·_tied_streams·=·0; 
91 ·229 
92 ·230·//·tie·to·the·provided·stream 
93 ·231·_tied·=·true; 
94 ·232·tiedstate·=·&master; 
95 ·233·tiedstate->_tied_streams++; 
96 ·234·} 
97 ·235 
98 243·~DebugStream() 
99 ·244·{ 
100 ·245·//·untie 
101 ·246·if·(_tied) 
102 ·247·tiedstate->_tied_streams--; 
103 ·248·else·{ 
104 ·249·//·check·if·somebody·still·ties·to·us... 
105 ·250·if·(_tied_streams·!=·0) 
106 ·251·{ 
107 ·252·std::cerr·<<·"DebugStream·destructor·is·called·while·other·streams·are 
108 still·tied·to·it.·Terminating!"·<<·std::endl; 
109 ·253·std::terminate(); 
110 ·254·} 
111 ·255·} 
112 ·256 
113 ·257·//·remove·ostream-stack 
114 ·258·while·(current·!=·0)·{ 
115 ·259·StreamWrap·*s·=·current; 
116 ·260·current·=·current->next; 
117 ·261·delete·s; 
118 ·262·} 
119 ·263·} 
120 ·264 
121 ·266·template·<class·T>22 ·24·template<class·T>
Max diff block lines reached; 1972/12573 bytes (15.68%) of diff not shown.
8.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a00104.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·boundschecking.hh·File·Reference</title>8 <title>dune-common:·densevector.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 33 lines modifiedOffset 63, 55 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#define-members">Macros</a>··</div> 
71 ··<div·class="headertitle"><div·class="title">boundschecking.hh·File·Reference</div></div>70 <a·href="#nested-classes">Classes</a>·&#124;
 71 <a·href="#namespaces">Namespaces</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">densevector.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
74 <p>Macro·for·wrapping·boundary·checks.··75 <p>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.··
75 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 78 <code>#include·&lt;limits&gt;</code><br·/>
 79 <code>#include·&lt;type_traits&gt;</code><br·/>
 80 <code>#include·&quot;<a·class="el"·href="a00257_source.html">genericiterator.hh</a>&quot;</code><br·/>
 81 <code>#include·&quot;<a·class="el"·href="a00101_source.html">ftraits.hh</a>&quot;</code><br·/>
 82 <code>#include·&quot;<a·class="el"·href="a00290_source.html">matvectraits.hh</a>&quot;</code><br·/>
76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>83 <code>#include·&quot;<a·class="el"·href="a00035_source.html">promotiontraits.hh</a>&quot;</code><br·/>
 84 <code>#include·&quot;<a·class="el"·href="a00287_source.html">dotproduct.hh</a>&quot;</code><br·/>
 85 <code>#include·&quot;<a·class="el"·href="a00116_source.html">boundschecking.hh</a>&quot;</code><br·/>
77 </div>86 </div>
78 <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00104_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">88 <table·class="memberdecls">
 89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 90 Classes</h2></td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01428.html">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&gt;</a></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01440.html">Dune::DenseIterator&lt;·C,·T,·R·&gt;</a></td></tr>
 94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·iterator·class·for·dense·vector·and·matrix·implementations.··<a·href="a01440.html#details">More...</a><br·/></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01424.html">Dune::DenseVector&lt;·V·&gt;</a></td></tr>
 97 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a02148.html"·title="Communication·interface·between·remote·and·local·indices.">Interface</a>·for·a·class·of·dense·vectors·over·a·given·field.··<a·href="a01424.html#details">More...</a><br·/></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 </table><table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
81 Macros</h2></td></tr>101 Namespaces</h2></td></tr>
82 <tr·class="memitem:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a>(cond)</td></tr> 
83 <tr·class="memdesc:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">If·<code>DUNE_CHECK_BOUNDS</code>·is·defined:·check·if·condition·<em>cond</em>·holds;·otherwise,·do·nothing.··<a·href="a00397.html#ga75d4ba5883cb39e7ec7927891a[·...·truncated·by·diffoscope;·len:·24,·SHA:·cb002d6c373611f86c9e5411d6cd31a748bd9c0f506a8597d5a4a23fe8eafd0f·...·]></td></tr>102 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 103 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
84 <tr·class="separator:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:a00432"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00432.html">Dune::fvmeta</a></td></tr>
 106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>107 </table>
86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
87 <div·class="textblock"><p·>Macro·for·wrapping·boundary·checks.·</p>109 <div·class="textblock"><p·>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·</p>
88 </div></div><!--·contents·-->110 </div></div><!--·contents·-->
89 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
90 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
91 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
92 </small></address>114 </small></address>
93 </body>115 </body>
94 </html>116 </html>
1.46 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 43 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Macros 
8 boundschecking.hh·File·Reference 
9 Macro·for·wrapping·boundary·checks.·More... 
10 #include·<dune/common/exceptions.hh>7 Classes·|·Namespaces
 8 densevector.hh·File·Reference
 9 Common·»·Dense_Matrix_and_Vector_Template_Library
 10 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.
 11 More...
 12 #include·<algorithm>
 13 #include·<limits>
 14 #include·<type_traits>
 15 #include·"genericiterator.hh"
 16 #include·"ftraits.hh"
 17 #include·"matvectraits.hh"
 18 #include·"promotiontraits.hh"
 19 #include·"dotproduct.hh"
 20 #include·"boundschecking.hh"
11 Go_to_the_source_code_of_this_file.21 Go_to_the_source_code_of_this_file.
12 ·Macros 
13 #define DUNE_ASSERT_BOUNDS(cond) 
14  ·······If·DUNE_CHECK_BOUNDS·is·defined:·check·if·condition·cond·holds; 
15 ·········otherwise,·do·nothing.·More...22 ·Classes
 23 struct· Dune::FieldTraits<_DenseVector<_V_>_>
 24  
 25 ·class· Dune::DenseIterator<_C,_T,_R_>
 26  ·······Generic·iterator·class·for·dense·vector·and·matrix·implementations.
 27 ·········More...
 28  
 29 ·class· Dune::DenseVector<_V_>
 30  ·······Interface·for·a·class·of·dense·vectors·over·a·given·field.·More...
 31  
 32 ·Namespaces
 33 namespace· Dune
 34  ··········Dune·namespace.
 35  
 36 namespace· Dune::fvmeta
16  37  
17 *****·Detailed·Description·*****38 *****·Detailed·Description·*****
18 Macro·for·wrapping·boundary·checks.39 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.
  
19 ===============================================================================40 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.441 ·····Generated·by [doxygen]·1.9.4
177 KB
./usr/share/doc/libdune-common-doc/doxygen/a00104_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·boundschecking.hh·Source·File</title>8 <title>dune-common:·densevector.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 42 lines modifiedOffset 62, 707 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">boundschecking.hh</div></div>68 ··<div·class="headertitle"><div·class="title">densevector.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00104.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00104.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_BOUNDSCHECKING_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DENSEVECTOR_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_BOUNDSCHECKING_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DENSEVECTOR_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
78 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifndef·DUNE_ASSERT_BOUNDS</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
79 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·defined(DUNE_CHECK_BOUNDS)·||·defined(DOXYGEN)</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
80 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">···30</a></span><span·class="preprocessor">#define·DUNE_ASSERT_BOUNDS(cond)····························\</span></div> 
82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">··do·{······················································\</span></div> 
83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">····if·(!(cond))············································\</span></div> 
84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">······DUNE_THROW(Dune::RangeError,·&quot;Index·out·of·bounds.&quot;</span>);·\</div> 
85 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··}·while·(false)</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00257.html">genericiterator.hh</a>&quot;</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00101.html">ftraits.hh</a>&quot;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00290.html">matvectraits.hh</a>&quot;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00035.html">promotiontraits.hh</a>&quot;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00287.html">dotproduct.hh</a>&quot;</span></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00116.html">boundschecking.hh</a>&quot;</span></div>
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#else</span></div> 
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#define·DUNE_ASSERT_BOUNDS(cond)</span></div> 
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#endif</span></div> 
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#endif</span></div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">/*·@}·*/</span></div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="comment">//·forward·declaration·of·template</span></div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·V&gt;·<span·class="keyword">class·</span>DenseVector;</div>
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·V&gt;</div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01428.html">···25</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01424.html">DenseVector</a>&lt;V&gt;·&gt;</div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01428.html#a6953a4e286d26fdc7b3854b50fcf2f3e">···27</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01740.html">FieldTraits&lt;·typename·DenseMatVecTraits&lt;V&gt;::value_type</a>·&gt;<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">::field_type</a>·<a·class="code·hl_typedef"·href="a01428.html#a6953a4e286d26fdc7b3854b50fcf2f3e">field_type</a>;</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01428.html#a44da87077b94c3132da34adf380a020c">···28</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01740.html">FieldTraits&lt;·typename·DenseMatVecTraits&lt;V&gt;::value_type</a>·&gt;<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">::real_type</a>·<a·class="code·hl_typedef"·href="a01428.html#a44da87077b94c3132da34adf380a020c">real_type</a>;</div>
 99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··};</div>
 100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00432.html">···40</a></span>··<span·class="keyword">namespace·</span>fvmeta</div>
 102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
 103 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
 104 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·absreal·(<span·class="keyword">const</span>·K&amp;·k)</div>
 105 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{</div>
 106 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">using·</span>std::abs;</div>
 107 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">return</span>·abs(k);</div>
 108 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····}</div>
 109 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
 111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·absreal·(<span·class="keyword">const</span>·std::complex&lt;K&gt;&amp;·c)</div>
 112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>
 113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">using·</span>std::abs;</div>
 114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keywordflow">return</span>·abs(c.real())·+·abs(c.imag());</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>·</div>
 117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
 118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·abs2·(<span·class="keyword">const</span>·K&amp;·k)</div>
 119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····{</div>
 120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keywordflow">return</span>·k*k;</div>
 121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
 122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 123 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
 124 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·abs2·(<span·class="keyword">const</span>·std::complex&lt;K&gt;&amp;·c)</div>
 125 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div>
 126 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······<span·class="keywordflow">return</span>·c.real()*c.real()·+·c.imag()*c.imag();</div>
 127 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div>
 128 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 129 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····template&lt;class·K,·bool·isInteger·=·std::numeric_limits&lt;K&gt;::is_integer&gt;</div>
 130 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">struct·</span>Sqrt</div>
 131 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····{</div>
 132 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·sqrt·(<span·class="keyword">const</span>·K&amp;·k)</div>
 133 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······{</div>
 134 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<span·class="keyword">using·</span>std::sqrt;</div>
 135 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="keywordflow">return</span>·sqrt(k);</div>
 136 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······}</div>
 137 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····};</div>
 138 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 139 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
 140 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="keyword">struct·</span>Sqrt&lt;K,·true&gt;</div>
 141 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{</div>
 142 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a01440.html#abe8734d863840e3b17cc3f5248b36c8d">··105</a></span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·sqrt·(<span·class="keyword">const</span>·K&amp;·k)</div>
 143 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>······{</div>
 144 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········<span·class="keyword">using·</span>std::sqrt;</div>
 145 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>········<span·class="keywordflow">return</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>(sqrt(<span·class="keywordtype">double</span>(k)));</div>
 146 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······}</div>
 147 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····};</div>
 148 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 149 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
 150 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·sqrt·(<span·class="keyword">const</span>·K&amp;·k)</div>
 151 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····{</div>
 152 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······<span·class="keywordflow">return</span>·Sqrt&lt;K&gt;::sqrt(k);</div>
 153 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····}</div>
 154 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 155 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··}</div>
 156 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 157 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·C,·<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·R·=T&amp;&gt;</div>
 158 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a01440.html">··129</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01440.html">DenseIterator</a>·:</div>
 159 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>····<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01884.html">Dune::RandomAccessIteratorFacade</a>&lt;DenseIterator&lt;C,T,R&gt;,T,·R,·std::ptrdiff_t&gt;</div>
 160 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··{</div>
 161 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01440.html">DenseIterator</a>&lt;typename·<a·class="code·hl_namespace"·href="a00424.html">std</a>::remove_const&lt;C&gt;::type,·typename·std::remove_const&lt;T&gt;::type,·typename·<a·class="code·hl_struct"·href="a01812.html">mutable_reference</a>&lt;R&gt;::type·&gt;;</div>
Max diff block lines reached; 271/152154 bytes (0.18%) of diff not shown.
28.7 KB
html2text {}
    
Offset 4, 39 lines modifiedOffset 4, 958 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 boundschecking.hh7 densevector.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
10 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5#ifndef·DUNE_DENSEVECTOR_HH
 15 ·6#define·DUNE_DENSEVECTOR_HH
12 ·3#ifndef·DUNE_BOUNDSCHECKING_HH 
13 ·4#define·DUNE_BOUNDSCHECKING_HH 
14 ·5 
15 ·6#include·<dune/common/exceptions.hh> 
Diff chunk too large, falling back to line-by-line diff (938 lines added, 19 lines removed)
16 ·716 ·7
17 ·19#ifndef·DUNE_ASSERT_BOUNDS17 ·8#include·<algorithm>
18 ·20#if·defined(DUNE_CHECK_BOUNDS)·||·defined(DOXYGEN)18 ·9#include·<limits>
19 ·2119 ·10#include·<type_traits>
20 30#define·DUNE_ASSERT_BOUNDS(cond)·\20 ·11
21 ·31·do·{·\21 ·12#include·"genericiterator.hh"
22 ·32·if·(!(cond))·\22 ·13#include·"ftraits.hh"
23 ·33·DUNE_THROW(Dune::RangeError,·"Index·out·of·bounds.");·\23 ·14#include·"matvectraits.hh"
24 ·34·}·while·(false)24 ·15#include·"promotiontraits.hh"
25 ·3525 ·16#include·"dotproduct.hh"
26 ·36#else26 ·17#include·"boundschecking.hh"
27 ·37#define·DUNE_ASSERT_BOUNDS(cond)27 ·18
28 ·38#endif28 ·19namespace·Dune·{
29 ·39#endif29 ·20
30 ·4030 ·21·//·forward·declaration·of·template
31 ·41/*·@}·*/31 ·22·template<typename·V>·class·DenseVector;
32 ·4232 ·23
33 ·43#endif·//·DUNE_BOUNDSCHECKING_HH33 ·24·template<typename·V>
34 exceptions.hh34 25·struct·FieldTraits<·DenseVector<V>·>
35 A·few·common·exception·classes.35 ·26·{
 36 27·typedef·typename·FieldTraits<_typename_DenseMatVecTraits<V>::value_type·>::
 37 field_type·field_type;
 38 28·typedef·typename·FieldTraits<_typename_DenseMatVecTraits<V>::value_type·>::
 39 real_type·real_type;
 40 ·29·};
 41 ·30
 42 40·namespace·fvmeta
 43 ·41·{
 44 ·46·template<class·K>
 45 ·47·inline·typename·FieldTraits<K>::real_type·absreal·(const·K&·k)
 46 ·48·{
 47 ·49·using·std::abs;
 48 ·50·return·abs(k);
 49 ·51·}
 50 ·52
 51 ·57·template<class·K>
 52 ·58·inline·typename·FieldTraits<K>::real_type·absreal·(const·std::complex<K>&
 53 c)
 54 ·59·{
 55 ·60·using·std::abs;
 56 ·61·return·abs(c.real())·+·abs(c.imag());
 57 ·62·}
 58 ·63
 59 ·68·template<class·K>
 60 ·69·inline·typename·FieldTraits<K>::real_type·abs2·(const·K&·k)
 61 ·70·{
 62 ·71·return·k*k;
 63 ·72·}
 64 ·73
 65 ·78·template<class·K>
 66 ·79·inline·typename·FieldTraits<K>::real_type·abs2·(const·std::complex<K>&·c)
 67 ·80·{
 68 ·81·return·c.real()*c.real()·+·c.imag()*c.imag();
 69 ·82·}
 70 ·83
 71 ·88·template<class·K,·bool·isInteger·=·std::numeric_limits<K>::is_integer>
 72 ·89·struct·Sqrt
 73 ·90·{
 74 ·91·static·inline·typename·FieldTraits<K>::real_type·sqrt·(const·K&·k)
 75 ·92·{
 76 ·93·using·std::sqrt;
 77 ·94·return·sqrt(k);
 78 ·95·}
 79 ·96·};
 80 ·97
 81 ·102·template<class·K>
 82 ·103·struct·Sqrt<K,·true>
 83 ·104·{
 84 105·static·inline·typename·FieldTraits<K>::real_type·sqrt·(const·K&·k)
 85 ·106·{
 86 ·107·using·std::sqrt;
 87 ·108·return·typename·FieldTraits<K>::real_type(sqrt(double(k)));
 88 ·109·}
 89 ·110·};
 90 ·111
 91 ·116·template<class·K>
 92 ·117·inline·typename·FieldTraits<K>::real_type·sqrt·(const·K&·k)
 93 ·118·{
 94 ·119·return·Sqrt<K>::sqrt(k);
 95 ·120·}
 96 ·121
 97 ·122·}
 98 ·123
 99 ·128·template<class·C,·class·T,·class·R·=T&>
 100 129·class·DenseIterator·:
 101 ·130·public·Dune::RandomAccessIteratorFacade<DenseIterator<C,T,R>,T,·R,·std::
 102 ptrdiff_t>
 103 ·131·{
 104 ·132·friend·class·DenseIterator<typename·std::remove_const<C>::type,·typename
 105 std::remove_const<T>::type,·typename·mutable_reference<R>::type·>;
 106 ·133·friend·class·DenseIterator<const·typename·std::remove_const<C>::type,
 107 const·typename·std::remove_const<T>::type,·typename·const_reference<R>::type·>;
 108 ·134
 109 ·135·typedef·DenseIterator<typename·std::remove_const<C>::type,·typename·std::
 110 remove_const<T>::type,·typename·mutable_reference<R>::type·>·MutableIterator;
 111 ·136·typedef·DenseIterator<const·typename·std::remove_const<C>::type,·const
 112 typename·std::remove_const<T>::type,·typename·const_reference<R>::type·>
 113 ConstIterator;
 114 ·137·public:
 115 ·138
 116 142·typedef·std::ptrdiff_t·DifferenceType;
 117 ·143
 118 147·typedef·typename·C::size_type·SizeType;
 119 ·148
 120 ·149·//·Constructors·needed·by·the·base·iterators.
 121 150·DenseIterator()
Max diff block lines reached; 116/29342 bytes (0.40%) of diff not shown.
24.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00107.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·stringutility.hh·File·Reference</title>8 <title>dune-common:·fmatrix.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 57 lines modifiedOffset 63, 106 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">stringutility.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">fmatrix.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>Miscellaneous·helper·stuff.··76 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
78 <code>#include·&lt;cstring&gt;</code><br·/>79 <code>#include·&lt;cstddef&gt;</code><br·/>
 80 <code>#include·&lt;iostream&gt;</code><br·/>
79 <code>#include·&lt;algorithm&gt;</code><br·/>81 <code>#include·&lt;algorithm&gt;</code><br·/>
80 <code>#include·&lt;cassert&gt;</code><br·/>82 <code>#include·&lt;initializer_list&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00116_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;cstdio&gt;</code><br·/> 
82 <code>#include·&lt;memory&gt;</code><br·/> 
83 <code>#include·&lt;string&gt;</code><br·/> 
84 <code>#include·&lt;new&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>84 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/precision.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/>
 91 <code>#include·&quot;<a·class="el"·href="a00296_source.html">fmatrixev.hh</a>&quot;</code><br·/>
86 </div>92 </div>
87 <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00107_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">94 <table·class="memberdecls">
 95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 96 Classes</h2></td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01732.html">Dune::DenseMatVecTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;</a></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01736.html">Dune::FieldTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;</a></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01408.html">Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;</a></td></tr>
 102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·dense·n·x·m·matrix.··<a·href="a01408.html#details">More...</a><br·/></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 </table><table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
90 Namespaces</h2></td></tr>106 Namespaces</h2></td></tr>
91 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>107 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
92 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>108 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:a00436"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00436.html">Dune::FMatrixHelp</a></td></tr>
 111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">112 </table><table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
96 Functions</h2></td></tr>114 Functions</h2></td></tr>
97 <tr·class="memitem:gaf31028edab397ce01e0192a2823488f7"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr>115 <tr·class="memitem:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
98 <tr·class="memitem:gaf31028edab397ce01e0192a2823488f7"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00402.html#gaf31028edab397ce01e0192a2823488f7">Dune::hasPrefix</a>·(const·C·&amp;c,·const·char·*prefix)</td></tr> 
99 <tr·class="memdesc:gaf31028edab397ce01e0192a2823488f7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·whether·a·character·container·has·a·given·prefix.··<a·href="a00402.html#gaf31028edab397ce01e0192a2823488f7">More...</a><br·/></td></tr>116 <tr·class="memitem:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a9f70ac3f14f482a99d4e01ada277d5c1">Dune::FMatrixHelp::invertMat[·...·truncated·by·diffoscope;·len:·99,·SHA:·dbd3a54234397a64825d2eb6b762d09b57176e0ae9faced54bf3738748b20db7·...·]</td></tr>
 117 <tr·class="memdesc:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·scalar·without·changing·the·original·matrix··<a·href="a00436.html#a9f70ac3f14f482a99d4e01ada277d5c1">More...</a><br·/></td></tr>
100 <tr·class="separator:gaf31028edab397ce01e0192a2823488f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:ga560ea1a14403e04148126a2e9396dea2"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr>119 <tr·class="memitem:a67155815b034773129d21bfe3992f0b6"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
102 <tr·class="memitem:ga560ea1a14403e04148126a2e9396dea2"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00402.html#ga560ea1a14403e04148126a2e9396dea2">Dune::hasSuffix</a>·(const·C·&amp;c,·const·char·*suffix)</td></tr> 
103 <tr·class="memdesc:ga560ea1a14403e04148126a2e9396dea2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·whether·a·character·container·has·a·given·suffix.··<a·href="a00402.html#ga560ea1a14403e04148126a2e9396dea2">More...</a><br·/></td></tr>120 <tr·class="memitem:a67155815b034773129d21bfe3992f0b6"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a67155815b034773129d21bfe3992f0b6">Dune::FMatrixHelp::invertMat[·...·truncated·by·diffoscope;·len:·113,·SHA:·deff5c1684fbbe09b7d8648feffc497361e33960fd1bbf4f4dcaaddf4a7c8612·...·]</td></tr>
 121 <tr·class="memdesc:a67155815b034773129d21bfe3992f0b6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·scalar·without·changing·the·original·matrix··<a·href="a00436.html#a67155815b034773129d21bfe3992f0b6">More...</a><br·/></td></tr>
104 <tr·class="separator:ga560ea1a14403e04148126a2e9396dea2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:a67155815b034773129d21bfe3992f0b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:a27757ac69a505e206e82b5b184333f15"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 124 <tr·class="memitem:a27757ac69a505e206e82b5b184333f15"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a27757ac69a505e206e82b5b184333f15">Dune::FMatrixHelp::invertMatrix</a>·(const·FieldMatrix&lt;·K,·2,·2·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·2,·2·&gt;·&amp;inverse)</td></tr>
 125 <tr·class="memdesc:a27757ac69a505e206e82b5b184333f15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·2x2·Matrix·without·changing·the·original·matrix··<a·href="a00436.html#a27757ac69a505e206e82b5b184333f15">More...</a><br·/></td></tr>
 126 <tr·class="separator:a27757ac69a505e206e82b5b184333f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 128 <tr·class="memitem:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a4944da58b2dcefc979ea0fccf87971c4">Dune::FMatrixHelp::invertMatrix_retTransposed</a>·(const·FieldMatrix&lt;·K,·2,·2·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·2,·2·&gt;·&amp;inverse)</td></tr>
 129 <tr·class="separator:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:gab825672ce0273462cb092bba70f39d0b"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>130 <tr·class="memitem:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
106 <tr·class="memitem:gab825672ce0273462cb092bba70f39d0b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00402.html#gab825672ce0273462cb092bba70f39d0b">Dune::formatString</a>·(const·std::string·&amp;s,·const·T·&amp;...·args)</td></tr> 
107 <tr·class="memdesc:gab825672ce0273462cb092bba70f39d0b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Format·values·according·to·printf·format·string.··<a·href="a00402.html#gab825672ce0273462cb092bba70f39d0b">More...</a><br·/></td></tr>131 <tr·class="memitem:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a8569be33ba4985b1ceda0e3bc05aadd8">Dune::FMatrixHelp::invertMat[·...·truncated·by·diffoscope;·len:·99,·SHA:·37f90beba17257092c6e11bcd3a1a6aca63f92e5690b6239c9b58c0b1498a569·...·]</td></tr>
 132 <tr·class="memdesc:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·3x3·Matrix·without·changing·the·original·matrix··<a·href="a00436.html#a8569be33ba4985b1ceda0e3bc05aadd8">More...</a><br·/></td></tr>
108 <tr·class="separator:gab825672ce0273462cb092bba70f39d0b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>133 <tr·class="separator:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>
 135 <tr·class="memitem:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a6ae34a44709f5ad6bae281284d08bc8a">Dune::FMatrixHelp::invertMatrix_retTransposed</a>·(const·FieldMatrix&lt;·K,·3,·3·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·3,·3·&gt;·&amp;inverse)</td></tr>
 136 <tr·class="memdesc:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·3x3·Matrix·without·changing·the·original·matrix··<a·href="a00436.html#a6ae34a44709f5ad6bae281284d08bc8a">More...</a><br·/></td></tr>
 137 <tr·class="separator:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·m,·int·n,·int·p&gt;·</td></tr>
 139 <tr·class="memitem:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a95f823a566af9fca2f8f4add5bea7bc0">Dune::FMatrixHelp::multMatrix</a>·(const·FieldMatrix&lt;·K,·m,·n·&gt;·&amp;A,·const·FieldMatrix&lt;·K,·n,·p·&gt;·&amp;B,·FieldMatrix&lt;·K,·m,·p·&gt;·&amp;ret)</td></tr>
 140 <tr·class="memdesc:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·A·*·B··<a·href="a00436.html#a95f823a566af9fca2f8f4add5bea7bc0">More...</a><br·/></td></tr>
 141 <tr·class="separator:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 143 <tr·class="memitem:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#aed0b39ddfc6a99aed9241609b0bbfbc0">Dune::FMatrixHelp::multTransposedMatrix</a>·(const·FieldMatrix&lt;·K,·rows,·cols·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·cols,·cols·&gt;·&amp;ret)</td></tr>
 144 <tr·class="memdesc:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret=·A_t*A··<a·href="a00436.html#aed0b39ddfc6a99aed9241609b0bbfbc0">More...</a><br·/></td></tr>
 145 <tr·class="separator:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 146 <tr·class="memitem:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 147 <tr·class="memitem:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#aef7fb29fd8ec4371bbca42d7aaa15ddc">Dune::FMatrixHelp::multAssignTransposed</a>·(const·FieldMatrix&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·FieldVector&lt;·K,·rows·&gt;·&amp;x,·FieldVector&lt;·K,·cols·&gt;·&amp;ret)</td></tr>
 148 <tr·class="memdesc:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix^T·*·x··<a·href="a00436.html#aef7fb29fd8ec4371bbca42d7aaa15ddc">More...</a><br·/></td></tr>
 149 <tr·class="separator:aef7fb29fd8ec4371bbca42d7aaa15ddc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:aec4fb9018af90beee9fac48f355a445b"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 151 <tr·class="memitem:aec4fb9018af90beee9fac48f355a445b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·FieldVector&lt;·K,·rows·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#aec4fb9018af90beee9fac48f355a445b">Dune::FMatrixHelp::mult</a>·(const·FieldMatrix&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·FieldVector&lt;·K,·cols·&gt;·&amp;x)</td></tr>
 152 <tr·class="memdesc:aec4fb9018af90beee9fac48f355a445b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix·*·x··<a·href="a00436.html#aec4fb9018af90beee9fac48f355a445b">More...</a><br·/></td></tr>
 153 <tr·class="separator:aec4fb9018af90beee9fac48f355a445b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr>
 155 <tr·class="memitem:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memTemplItemLeft"·align="right"·valign="top">static·FieldVector&lt;·K,·cols·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a659763bbed47d93b0a03d9dc2d49c6f0">Dune::FMatrixHelp::multTransposed</a>·(const·FieldMatrix&lt;·K,·rows,·cols·&gt;·&amp;matrix,·const·FieldVector&lt;·K,·rows·&gt;·&amp;x)</td></tr>
 156 <tr·class="memdesc:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix^T·*·x··<a·href="a00436.html#a659763bbed47d93b0a03d9dc2d49c6f0">More...</a><br·/></td></tr>
 157 <tr·class="separator:a659763bbed47d93b0a03d9dc2d49c6f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table>158 </table>
110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>159 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
111 <div·class="textblock"><p·>Miscellaneous·helper·stuff.·</p>160 <div·class="textblock"><p·>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.·</p>
112 </div></div><!--·contents·-->161 </div></div><!--·contents·-->
113 <!--·start·footer·part·-->162 <!--·start·footer·part·-->
114 <hr·class="footer"/><address·class="footer"><small>163 <hr·class="footer"/><address·class="footer"><small>
115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4164 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
116 </small></address>165 </small></address>
Max diff block lines reached; 9/18742 bytes (0.05%) of diff not shown.
5.82 KB
html2text {}
    
Offset 4, 45 lines modifiedOffset 4, 119 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions7 Classes·|·Namespaces·|·Functions
8 stringutility.hh·File·Reference8 fmatrix.hh·File·Reference
9 Miscellaneous·helper·stuff.·More...9 Common·»·Dense_Matrix_and_Vector_Template_Library
 10 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and
 11 compile-time·given·number·of·rows·and·columns.·More...
 12 #include·<cmath>
10 #include·<cstddef>13 #include·<cstddef>
11 #include·<cstring>14 #include·<iostream>
12 #include·<algorithm>15 #include·<algorithm>
 16 #include·<initializer_list>
 17 #include·<dune/common/boundschecking.hh>
13 #include·<cassert> 
14 #include·<cstdio> 
15 #include·<memory> 
16 #include·<string> 
17 #include·<new> 
18 #include·<dune/common/exceptions.hh>18 #include·<dune/common/exceptions.hh>
 19 #include·<dune/common/fvector.hh>
 20 #include·<dune/common/densematrix.hh>
 21 #include·<dune/common/precision.hh>
 22 #include·<dune/common/promotiontraits.hh>
 23 #include·<dune/common/typetraits.hh>
 24 #include·<dune/common/matrixconcepts.hh>
 25 #include·"fmatrixev.hh"
19 Go_to_the_source_code_of_this_file.26 Go_to_the_source_code_of_this_file.
 27 ·Classes
 28 struct· Dune::DenseMatVecTraits<_FieldMatrix<_K,_ROWS,_COLS_>_>
 29  
 30 struct· Dune::FieldTraits<_FieldMatrix<_K,_ROWS,_COLS_>_>
 31  
 32 ·class· Dune::FieldMatrix<_K,_ROWS,_COLS_>
 33  ·······A·dense·n·x·m·matrix.·More...
 34  
20 ·Namespaces35 ·Namespaces
21 namespace· Dune36 namespace· Dune
22  ··········Dune·namespace.37  ··········Dune·namespace.
23  38  
 39 namespace· Dune::FMatrixHelp
 40  
24 ·Functions41 ·Functions
25 template<typename·C·>42 template<typename·K·>
26 ··············bool Dune::hasPrefix·(const·C·&c,·const·char·*prefix) 
27  ··················Check·whether·a·character·container·has·a·given·prefix.43 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const
 44 ·······························FieldMatrix<·K,·1,·1·>·&matrix,·FieldMatrix<·K,
 45 ·······························1,·1·>·&inverse)
 46  ·····························invert·scalar·without·changing·the·original
28 ····················More...47 ·······························matrix·More...
29  48  
30 template<typename·C·>49 template<typename·K·>
31 ··············bool Dune::hasSuffix·(const·C·&c,·const·char·*suffix) 
32  ··················Check·whether·a·character·container·has·a·given·suffix.50 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed
 51 ·······························(const·FieldMatrix<·K,·1,·1·>·&matrix,
 52 ·······························FieldMatrix<·K,·1,·1·>·&inverse)
 53  ·····························invert·scalar·without·changing·the·original
33 ····················More...54 ·······························matrix·More...
34  55  
35 template<class...·T> 
36 static·std::string Dune::formatString·(const·std::string·&s,·const·T·&... 
37 ····················args) 
38  ··················Format·values·according·to·printf·format·string.·More...56 template<typename·K·>
 57 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const
 58 ·······························FieldMatrix<·K,·2,·2·>·&matrix,·FieldMatrix<·K,
 59 ·······························2,·2·>·&inverse)
 60  ·····························invert·2x2·Matrix·without·changing·the·original
 61 ·······························matrix·More...
 62  
 63 template<typename·K·>
 64 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed
 65 ·······························(const·FieldMatrix<·K,·2,·2·>·&matrix,
 66 ·······························FieldMatrix<·K,·2,·2·>·&inverse)
 67  
 68 template<typename·K·>
 69 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const
 70 ·······························FieldMatrix<·K,·3,·3·>·&matrix,·FieldMatrix<·K,
 71 ·······························3,·3·>·&inverse)
 72  ·····························invert·3x3·Matrix·without·changing·the·original
 73 ·······························matrix·More...
 74  
 75 template<typename·K·>
 76 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed
 77 ·······························(const·FieldMatrix<·K,·3,·3·>·&matrix,
 78 ·······························FieldMatrix<·K,·3,·3·>·&inverse)
 79  ·····························invert·3x3·Matrix·without·changing·the·original
 80 ·······························matrix·More...
 81  
 82 template<class·K·,·int·m,·int·n,·int·p>
 83 ··················static·void Dune::FMatrixHelp::multMatrix·(const
 84 ·······························FieldMatrix<·K,·m,·n·>·&A,·const·FieldMatrix<·K,
 85 ·······························n,·p·>·&B,·FieldMatrix<·K,·m,·p·>·&ret)
 86  ·····························calculates·ret·=·A·*·B·More...
 87  
 88 template<typename·K·,·int·rows,·int·cols>
 89 ··················static·void Dune::FMatrixHelp::multTransposedMatrix·(const
 90 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix,
 91 ·······························FieldMatrix<·K,·cols,·cols·>·&ret)
 92  ·····························calculates·ret=·A_t*A·More...
 93  
 94 template<typename·K·,·int·rows,·int·cols>
 95 ··················static·void Dune::FMatrixHelp::multAssignTransposed·(const
 96 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix,·const
 97 ·······························FieldVector<·K,·rows·>·&x,·FieldVector<·K,·cols
 98 ·······························>·&ret)
 99  ·····························calculates·ret·=·matrix^T·*·x·More...
 100  
 101 template<typename·K·,·int·rows,·int·cols>
 102 static·FieldVector<·K,·rows·> Dune::FMatrixHelp::mult·(const·FieldMatrix<·K,
 103 ·······························rows,·cols·>·&matrix,·const·FieldVector<·K,·cols
 104 ·······························>·&x)
 105  ·····························calculates·ret·=·matrix·*·x·More...
 106  
 107 template<typename·K·,·int·rows,·int·cols>
 108 static·FieldVector<·K,·cols·> Dune::FMatrixHelp::multTransposed·(const
 109 ·······························FieldMatrix<·K,·rows,·cols·>·&matrix,·const
 110 ·······························FieldVector<·K,·rows·>·&x)
 111  ·····························calculates·ret·=·matrix^T·*·x·More...
39  112  
40 *****·Detailed·Description·*****113 *****·Detailed·Description·*****
41 Miscellaneous·helper·stuff.114 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and
 115 compile-time·given·number·of·rows·and·columns.
  
Max diff block lines reached; 35/5931 bytes (0.59%) of diff not shown.
810 KB
./usr/share/doc/libdune-common-doc/doxygen/a00107_source.html
    
Offset 21, 1108 lines modifiedOffset 21, 10366 lines modified
00000140:·6f6e·7465·6e74·3d22·446f·7879·6765·6e20··ontent="Doxygen·00000140:·6f6e·7465·6e74·3d22·446f·7879·6765·6e20··ontent="Doxygen·
00000150:·312e·392e·3422·2f3e·0a3c·6d65·7461·206e··1.9.4"/>.<meta·n00000150:·312e·392e·3422·2f3e·0a3c·6d65·7461·206e··1.9.4"/>.<meta·n
00000160:·616d·653d·2276·6965·7770·6f72·7422·2063··ame="viewport"·c00000160:·616d·653d·2276·6965·7770·6f72·7422·2063··ame="viewport"·c
00000170:·6f6e·7465·6e74·3d22·7769·6474·683d·6465··ontent="width=de00000170:·6f6e·7465·6e74·3d22·7769·6474·683d·6465··ontent="width=de
00000180:·7669·6365·2d77·6964·7468·2c20·696e·6974··vice-width,·init00000180:·7669·6365·2d77·6964·7468·2c20·696e·6974··vice-width,·init
00000190:·6961·6c2d·7363·616c·653d·3122·2f3e·0a3c··ial-scale=1"/>.<00000190:·6961·6c2d·7363·616c·653d·3122·2f3e·0a3c··ial-scale=1"/>.<
Diff chunk too large, falling back to line-by-line diff (10359 lines added, 1101 lines removed)
000001a0:·7469·746c·653e·6475·6e65·2d63·6f6d·6d6f··title>dune-commo000001a0:·7469·746c·653e·6475·6e65·2d63·6f6d·6d6f··title>dune-commo
000001b0:·6e3a·2073·7472·696e·6775·7469·6c69·7479··n:·stringutility000001b0:·6e3a·2066·6d61·7472·6978·2e68·6820·536f··n:·fmatrix.hh·So
000001c0:·2e68·6820·536f·7572·6365·2046·696c·653c··.hh·Source·File<000001c0:·7572·6365·2046·696c·653c·2f74·6974·6c65··urce·File</title
000001d0:·2f74·6974·6c65·3e0a·3c6c·696e·6b20·6872··/title>.<link·hr000001d0:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7461··>.<link·href="ta
000001e0:·6566·3d22·7461·6273·2e63·7373·2220·7265··ef="tabs.css"·re000001e0:·6273·2e63·7373·2220·7265·6c3d·2273·7479··bs.css"·rel="sty
000001f0:·6c3d·2273·7479·6c65·7368·6565·7422·2074··l="stylesheet"·t000001f0:·6c65·7368·6565·7422·2074·7970·653d·2274··lesheet"·type="t
00000200:·7970·653d·2274·6578·742f·6373·7322·2f3e··ype="text/css"/>00000200:·6578·742f·6373·7322·2f3e·0a3c·7363·7269··ext/css"/>.<scri
00000210:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000210:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja
00000220:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·00000220:·7661·7363·7269·7074·2220·7372·633d·226a··vascript"·src="j
00000230:·7372·633d·226a·7175·6572·792e·6a73·223e··src="jquery.js">00000230:·7175·6572·792e·6a73·223e·3c2f·7363·7269··query.js"></scri
00000240:·3c2f·7363·7269·7074·3e0a·3c73·6372·6970··</script>.<scrip00000240:·7074·3e0a·3c73·6372·6970·7420·7479·7065··pt>.<script·type
00000250:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav00000250:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip
00000260:·6173·6372·6970·7422·2073·7263·3d22·6479··ascript"·src="dy00000260:·7422·2073·7263·3d22·6479·6e73·6563·7469··t"·src="dynsecti
00000270:·6e73·6563·7469·6f6e·732e·6a73·223e·3c2f··nsections.js"></00000270:·6f6e·732e·6a73·223e·3c2f·7363·7269·7074··ons.js"></script
00000280:·7363·7269·7074·3e0a·3c6c·696e·6b20·6872··script>.<link·hr00000280:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7365··>.<link·href="se
00000290:·6566·3d22·7365·6172·6368·2f73·6561·7263··ef="search/searc00000290:·6172·6368·2f73·6561·7263·682e·6373·7322··arch/search.css"
000002a0:·682e·6373·7322·2072·656c·3d22·7374·796c··h.css"·rel="styl000002a0:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet
000002b0:·6573·6865·6574·2220·7479·7065·3d22·7465··esheet"·type="te000002b0:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css
000002c0:·7874·2f63·7373·222f·3e0a·3c73·6372·6970··xt/css"/>.<scrip000002c0:·222f·3e0a·3c73·6372·6970·7420·7479·7065··"/>.<script·type
000002d0:·7420·7479·7065·3d22·7465·7874·2f6a·6176··t·type="text/jav000002d0:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip
000002e0:·6173·6372·6970·7422·2073·7263·3d22·7365··ascript"·src="se000002e0:·7422·2073·7263·3d22·7365·6172·6368·2f73··t"·src="search/s
000002f0:·6172·6368·2f73·6561·7263·6864·6174·612e··arch/searchdata.000002f0:·6561·7263·6864·6174·612e·6a73·223e·3c2f··earchdata.js"></
00000300:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c73··js"></script>.<s00000300:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·
00000310:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text00000310:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000320:·2f6a·6176·6173·6372·6970·7422·2073·7263··/javascript"·src00000320:·6372·6970·7422·2073·7263·3d22·7365·6172··cript"·src="sear
00000330:·3d22·7365·6172·6368·2f73·6561·7263·682e··="search/search.00000330:·6368·2f73·6561·7263·682e·6a73·223e·3c2f··ch/search.js"></
00000340:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c6c··js"></script>.<l00000340:·7363·7269·7074·3e0a·3c6c·696e·6b20·6872··script>.<link·hr
00000350:·696e·6b20·6872·6566·3d22·646f·7879·6765··ink·href="doxyge00000350:·6566·3d22·646f·7879·6765·6e2e·6373·7322··ef="doxygen.css"
00000360:·6e2e·6373·7322·2072·656c·3d22·7374·796c··n.css"·rel="styl00000360:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet
00000370:·6573·6865·6574·2220·7479·7065·3d22·7465··esheet"·type="te00000370:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css
00000380:·7874·2f63·7373·2220·2f3e·0a3c·2f68·6561··xt/css"·/>.</hea00000380:·2220·2f3e·0a3c·2f68·6561·643e·0a3c·626f··"·/>.</head>.<bo
00000390:·643e·0a3c·626f·6479·3e0a·3c64·6976·2069··d>.<body>.<div·i00000390:·6479·3e0a·3c64·6976·2069·643d·2274·6f70··dy>.<div·id="top
000003a0:·643d·2274·6f70·223e·3c21·2d2d·2064·6f20··d="top"><!--·do·000003a0:·223e·3c21·2d2d·2064·6f20·6e6f·7420·7265··"><!--·do·not·re
000003b0:·6e6f·7420·7265·6d6f·7665·2074·6869·7320··not·remove·this·000003b0:·6d6f·7665·2074·6869·7320·6469·762c·2069··move·this·div,·i
000003c0:·6469·762c·2069·7420·6973·2063·6c6f·7365··div,·it·is·close000003c0:·7420·6973·2063·6c6f·7365·6420·6279·2064··t·is·closed·by·d
000003d0:·6420·6279·2064·6f78·7967·656e·2120·2d2d··d·by·doxygen!·--000003d0:·6f78·7967·656e·2120·2d2d·3e0a·3c64·6976··oxygen!·-->.<div
000003e0:·3e0a·3c64·6976·2069·643d·2274·6974·6c65··>.<div·id="title000003e0:·2069·643d·2274·6974·6c65·6172·6561·223e···id="titlearea">
000003f0:·6172·6561·223e·0a3c·7461·626c·6520·6365··area">.<table·ce000003f0:·0a3c·7461·626c·6520·6365·6c6c·7370·6163··.<table·cellspac
00000400:·6c6c·7370·6163·696e·673d·2230·2220·6365··llspacing="0"·ce00000400:·696e·673d·2230·2220·6365·6c6c·7061·6464··ing="0"·cellpadd
00000410:·6c6c·7061·6464·696e·673d·2230·223e·0a20··llpadding="0">.·00000410:·696e·673d·2230·223e·0a20·3c74·626f·6479··ing="0">.·<tbody
00000420:·3c74·626f·6479·3e0a·203c·7472·2069·643d··<tbody>.·<tr·id=00000420:·3e0a·203c·7472·2069·643d·2270·726f·6a65··>.·<tr·id="proje
00000430:·2270·726f·6a65·6374·726f·7722·3e0a·2020··"projectrow">.··00000430:·6374·726f·7722·3e0a·2020·3c74·6420·6964··ctrow">.··<td·id
00000440:·3c74·6420·6964·3d22·7072·6f6a·6563·7461··<td·id="projecta00000440:·3d22·7072·6f6a·6563·7461·6c69·676e·223e··="projectalign">
00000450:·6c69·676e·223e·0a20·2020·3c64·6976·2069··lign">.···<div·i00000450:·0a20·2020·3c64·6976·2069·643d·2270·726f··.···<div·id="pro
00000460:·643d·2270·726f·6a65·6374·6e61·6d65·223e··d="projectname">00000460:·6a65·6374·6e61·6d65·223e·6475·6e65·2d63··jectname">dune-c
00000470:·6475·6e65·2d63·6f6d·6d6f·6e3c·7370·616e··dune-common<span00000470:·6f6d·6d6f·6e3c·7370·616e·2069·643d·2270··ommon<span·id="p
00000480:·2069·643d·2270·726f·6a65·6374·6e75·6d62···id="projectnumb00000480:·726f·6a65·6374·6e75·6d62·6572·223e·2623··rojectnumber">&#
00000490:·6572·223e·2623·3136·303b·322e·392e·303c··er">&#160;2.9.0<00000490:·3136·303b·322e·392e·303c·2f73·7061·6e3e··160;2.9.0</span>
000004a0:·2f73·7061·6e3e·0a20·2020·3c2f·6469·763e··/span>.···</div>000004a0:·0a20·2020·3c2f·6469·763e·0a20·203c·2f74··.···</div>.··</t
000004b0:·0a20·203c·2f74·643e·0a20·3c2f·7472·3e0a··.··</td>.·</tr>.000004b0:·643e·0a20·3c2f·7472·3e0a·203c·2f74·626f··d>.·</tr>.·</tbo
000004c0:·203c·2f74·626f·6479·3e0a·3c2f·7461·626c···</tbody>.</tabl000004c0:·6479·3e0a·3c2f·7461·626c·653e·0a3c·2f64··dy>.</table>.</d
000004d0:·653e·0a3c·2f64·6976·3e0a·3c21·2d2d·2065··e>.</div>.<!--·e000004d0:·6976·3e0a·3c21·2d2d·2065·6e64·2068·6561··iv>.<!--·end·hea
000004e0:·6e64·2068·6561·6465·7220·7061·7274·202d··nd·header·part·-000004e0:·6465·7220·7061·7274·202d·2d3e·0a3c·212d··der·part·-->.<!-
000004f0:·2d3e·0a3c·212d·2d20·4765·6e65·7261·7465··->.<!--·Generate000004f0:·2d20·4765·6e65·7261·7465·6420·6279·2044··-·Generated·by·D
00000500:·6420·6279·2044·6f78·7967·656e·2031·2e39··d·by·Doxygen·1.900000500:·6f78·7967·656e·2031·2e39·2e34·202d·2d3e··oxygen·1.9.4·-->
00000510:·2e34·202d·2d3e·0a3c·7363·7269·7074·2074··.4·-->.<script·t00000510:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
00000520:·7970·653d·2274·6578·742f·6a61·7661·7363··ype="text/javasc00000520:·6578·742f·6a61·7661·7363·7269·7074·223e··ext/javascript">
00000530:·7269·7074·223e·0a2f·2a20·406c·6963·656e··ript">./*·@licen00000530:·0a2f·2a20·406c·6963·656e·7365·206d·6167··./*·@license·mag
00000540:·7365·206d·6167·6e65·743a·3f78·743d·7572··se·magnet:?xt=ur00000540:·6e65·743a·3f78·743d·7572·6e3a·6274·6968··net:?xt=urn:btih
00000550:·6e3a·6274·6968·3a64·3364·3961·3961·3635··n:btih:d3d9a9a6500000550:·3a64·3364·3961·3961·3635·3935·3532·3166··:d3d9a9a6595521f
00000560:·3935·3532·3166·3936·3636·6135·6539·3463··95521f9666a5e94c00000560:·3936·3636·6135·6539·3463·6338·3330·6461··9666a5e94cc830da
00000570:·6338·3330·6461·6238·3362·3635·3639·3926··c830dab83b65699&00000570:·6238·3362·3635·3639·3926·616d·703b·646e··b83b65699&amp;dn
00000580:·616d·703b·646e·3d65·7870·6174·2e74·7874··amp;dn=expat.txt00000580:·3d65·7870·6174·2e74·7874·204d·4954·202a··=expat.txt·MIT·*
00000590:·204d·4954·202a·2f0a·7661·7220·7365·6172···MIT·*/.var·sear00000590:·2f0a·7661·7220·7365·6172·6368·426f·7820··/.var·searchBox·
000005a0:·6368·426f·7820·3d20·6e65·7720·5365·6172··chBox·=·new·Sear000005a0:·3d20·6e65·7720·5365·6172·6368·426f·7828··=·new·SearchBox(
000005b0:·6368·426f·7828·2273·6561·7263·6842·6f78··chBox("searchBox000005b0:·2273·6561·7263·6842·6f78·222c·2022·7365··"searchBox",·"se
000005c0:·222c·2022·7365·6172·6368·222c·2753·6561··",·"search",'Sea000005c0:·6172·6368·222c·2753·6561·7263·6827·2c27··arch",'Search','
000005d0:·7263·6827·2c27·2e68·746d·6c27·293b·0a2f··rch','.html');./000005d0:·2e68·746d·6c27·293b·0a2f·2a20·406c·6963··.html');./*·@lic
000005e0:·2a20·406c·6963·656e·7365·2d65·6e64·202a··*·@license-end·*000005e0:·656e·7365·2d65·6e64·202a·2f0a·3c2f·7363··ense-end·*/.</sc
000005f0:·2f0a·3c2f·7363·7269·7074·3e0a·3c73·6372··/.</script>.<scr000005f0:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty
00000600:·6970·7420·7479·7065·3d22·7465·7874·2f6a··ipt·type="text/j00000600:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr
00000610:·6176·6173·6372·6970·7422·2073·7263·3d22··avascript"·src="00000610:·6970·7422·2073·7263·3d22·6d65·6e75·6461··ipt"·src="menuda
00000620:·6d65·6e75·6461·7461·2e6a·7322·3e3c·2f73··menudata.js"></s00000620:·7461·2e6a·7322·3e3c·2f73·6372·6970·743e··ta.js"></script>
00000630:·6372·6970·743e·0a3c·7363·7269·7074·2074··cript>.<script·t00000630:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t
00000640:·7970·653d·2274·6578·742f·6a61·7661·7363··ype="text/javasc00000640:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·
00000650:·7269·7074·2220·7372·633d·226d·656e·752e··ript"·src="menu.00000650:·7372·633d·226d·656e·752e·6a73·223e·3c2f··src="menu.js"></
00000660:·6a73·223e·3c2f·7363·7269·7074·3e0a·3c73··js"></script>.<s00000660:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·
00000670:·6372·6970·7420·7479·7065·3d22·7465·7874··cript·type="text00000670:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000680:·2f6a·6176·6173·6372·6970·7422·3e0a·2f2a··/javascript">./*00000680:·6372·6970·7422·3e0a·2f2a·2040·6c69·6365··cript">./*·@lice
00000690:·2040·6c69·6365·6e73·6520·6d61·676e·6574···@license·magnet00000690:·6e73·6520·6d61·676e·6574·3a3f·7874·3d75··nse·magnet:?xt=u
000006a0:·3a3f·7874·3d75·726e·3a62·7469·683a·6433··:?xt=urn:btih:d3000006a0:·726e·3a62·7469·683a·6433·6439·6139·6136··rn:btih:d3d9a9a6
000006b0:·6439·6139·6136·3539·3535·3231·6639·3636··d9a9a6595521f966000006b0:·3539·3535·3231·6639·3636·3661·3565·3934··595521f9666a5e94
000006c0:·3661·3565·3934·6363·3833·3064·6162·3833··6a5e94cc830dab83000006c0:·6363·3833·3064·6162·3833·6236·3536·3939··cc830dab83b65699
000006d0:·6236·3536·3939·2661·6d70·3b64·6e3d·6578··b65699&amp;dn=ex000006d0:·2661·6d70·3b64·6e3d·6578·7061·742e·7478··&amp;dn=expat.tx
000006e0:·7061·742e·7478·7420·4d49·5420·2a2f·0a24··pat.txt·MIT·*/.$000006e0:·7420·4d49·5420·2a2f·0a24·2866·756e·6374··t·MIT·*/.$(funct
000006f0:·2866·756e·6374·696f·6e28·2920·7b0a·2020··(function()·{.··000006f0:·696f·6e28·2920·7b0a·2020·696e·6974·4d65··ion()·{.··initMe
00000700:·696e·6974·4d65·6e75·2827·272c·7472·7565··initMenu('',true00000700:·6e75·2827·272c·7472·7565·2c66·616c·7365··nu('',true,false
00000710:·2c66·616c·7365·2c27·7365·6172·6368·2e70··,false,'search.p00000710:·2c27·7365·6172·6368·2e70·6870·272c·2753··,'search.php','S
00000720:·6870·272c·2753·6561·7263·6827·293b·0a20··hp','Search');.·00000720:·6561·7263·6827·293b·0a20·2024·2864·6f63··earch');.··$(doc
00000730:·2024·2864·6f63·756d·656e·7429·2e72·6561···$(document).rea00000730:·756d·656e·7429·2e72·6561·6479·2866·756e··ument).ready(fun
00000740:·6479·2866·756e·6374·696f·6e28·2920·7b20··dy(function()·{·00000740:·6374·696f·6e28·2920·7b20·696e·6974·5f73··ction()·{·init_s
00000750:·696e·6974·5f73·6561·7263·6828·293b·207d··init_search();·}00000750:·6561·7263·6828·293b·207d·293b·0a7d·293b··earch();·});.});
00000760:·293b·0a7d·293b·0a2f·2a20·406c·6963·656e··);.});./*·@licen00000760:·0a2f·2a20·406c·6963·656e·7365·2d65·6e64··./*·@license-end
00000770:·7365·2d65·6e64·202a·2f0a·3c2f·7363·7269··se-end·*/.</scri00000770:·202a·2f0a·3c2f·7363·7269·7074·3e0a·3c64···*/.</script>.<d
00000780:·7074·3e0a·3c64·6976·2069·643d·226d·6169··pt>.<div·id="mai00000780:·6976·2069·643d·226d·6169·6e2d·6e61·7622··iv·id="main-nav"
00000790:·6e2d·6e61·7622·3e3c·2f64·6976·3e0a·3c21··n-nav"></div>.<!00000790:·3e3c·2f64·6976·3e0a·3c21·2d2d·2077·696e··></div>.<!--·win
000007a0:·2d2d·2077·696e·646f·7720·7368·6f77·696e··--·window·showin000007a0:·646f·7720·7368·6f77·696e·6720·7468·6520··dow·showing·the·
000007b0:·6720·7468·6520·6669·6c74·6572·206f·7074··g·the·filter·opt000007b0:·6669·6c74·6572·206f·7074·696f·6e73·202d··filter·options·-
000007c0:·696f·6e73·202d·2d3e·0a3c·6469·7620·6964··ions·-->.<div·id000007c0:·2d3e·0a3c·6469·7620·6964·3d22·4d53·6561··->.<div·id="MSea
000007d0:·3d22·4d53·6561·7263·6853·656c·6563·7457··="MSearchSelectW000007d0:·7263·6853·656c·6563·7457·696e·646f·7722··rchSelectWindow"
000007e0:·696e·646f·7722·0a20·2020·2020·6f6e·6d6f··indow".·····onmo000007e0:·0a20·2020·2020·6f6e·6d6f·7573·656f·7665··.·····onmouseove
000007f0:·7573·656f·7665·723d·2272·6574·7572·6e20··useover="return·000007f0:·723d·2272·6574·7572·6e20·7365·6172·6368··r="return·search
00000800:·7365·6172·6368·426f·782e·4f6e·5365·6172··searchBox.OnSear00000800:·426f·782e·4f6e·5365·6172·6368·5365·6c65··Box.OnSearchSele
00000810:·6368·5365·6c65·6374·5368·6f77·2829·220a··chSelectShow()".00000810:·6374·5368·6f77·2829·220a·2020·2020·206f··ctShow()".·····o
00000820:·2020·2020·206f·6e6d·6f75·7365·6f75·743d·······onmouseout=00000820:·6e6d·6f75·7365·6f75·743d·2272·6574·7572··nmouseout="retur
00000830:·2272·6574·7572·6e20·7365·6172·6368·426f··"return·searchBo00000830:·6e20·7365·6172·6368·426f·782e·4f6e·5365··n·searchBox.OnSe
00000840:·782e·4f6e·5365·6172·6368·5365·6c65·6374··x.OnSearchSelect00000840:·6172·6368·5365·6c65·6374·4869·6465·2829··archSelectHide()
00000850:·4869·6465·2829·220a·2020·2020·206f·6e6b··Hide()".·····onk00000850:·220a·2020·2020·206f·6e6b·6579·646f·776e··".·····onkeydown
00000860:·6579·646f·776e·3d22·7265·7475·726e·2073··eydown="return·s00000860:·3d22·7265·7475·726e·2073·6561·7263·6842··="return·searchB
00000870:·6561·7263·6842·6f78·2e4f·6e53·6561·7263··earchBox.OnSearc00000870:·6f78·2e4f·6e53·6561·7263·6853·656c·6563··ox.OnSearchSelec
00000880:·6853·656c·6563·744b·6579·2865·7665·6e74··hSelectKey(event00000880:·744b·6579·2865·7665·6e74·2922·3e0a·3c2f··tKey(event)">.</
00000890:·2922·3e0a·3c2f·6469·763e·0a0a·3c21·2d2d··)">.</div>..<!--00000890:·6469·763e·0a0a·3c21·2d2d·2069·6672·616d··div>..<!--·ifram
000008a0:·2069·6672·616d·6520·7368·6f77·696e·6720···iframe·showing·000008a0:·6520·7368·6f77·696e·6720·7468·6520·7365··e·showing·the·se
000008b0:·7468·6520·7365·6172·6368·2072·6573·756c··the·search·resul000008b0:·6172·6368·2072·6573·756c·7473·2028·636c··arch·results·(cl
000008c0:·7473·2028·636c·6f73·6564·2062·7920·6465··ts·(closed·by·de000008c0:·6f73·6564·2062·7920·6465·6661·756c·7429··osed·by·default)
000008d0:·6661·756c·7429·202d·2d3e·0a3c·6469·7620··fault)·-->.<div·000008d0:·202d·2d3e·0a3c·6469·7620·6964·3d22·4d53···-->.<div·id="MS
000008e0:·6964·3d22·4d53·6561·7263·6852·6573·756c··id="MSearchResul000008e0:·6561·7263·6852·6573·756c·7473·5769·6e64··earchResultsWind
000008f0:·7473·5769·6e64·6f77·223e·0a3c·6966·7261··tsWindow">.<ifra000008f0:·6f77·223e·0a3c·6966·7261·6d65·2073·7263··ow">.<iframe·src
00000900:·6d65·2073·7263·3d22·6a61·7661·7363·7269··me·src="javascri00000900:·3d22·6a61·7661·7363·7269·7074·3a76·6f69··="javascript:voi
00000910:·7074·3a76·6f69·6428·3029·2220·6672·616d··pt:void(0)"·fram00000910:·6428·3029·2220·6672·616d·6562·6f72·6465··d(0)"·frameborde
Max diff block lines reached; -1/791230 bytes (-0.00%) of diff not shown.
36.7 KB
html2text {}
    
Offset 4, 119 lines modifiedOffset 4, 1065 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 stringutility.hh7 fmatrix.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_STRINGUTILITY_HH 
15 ·6#define·DUNE_COMMON_STRINGUTILITY_HH14 ·5#ifndef·DUNE_FMATRIX_HH
 15 ·6#define·DUNE_FMATRIX_HH
16 ·716 ·7
 17 ·8#include·<cmath>
17 ·12#include·<cstddef>18 ·9#include·<cstddef>
18 ·13#include·<cstring>19 ·10#include·<iostream>
19 ·14#include·<algorithm>20 ·11#include·<algorithm>
 21 ·12#include·<initializer_list>
 22 ·13
 23 ·14#include·<dune/common/boundschecking.hh>
20 ·15#include·<cassert> 
21 ·16#include·<cstdio> 
22 ·17#include·<memory> 
23 ·18#include·<string> 
24 ·19#include·<new> 
25 ·20 
26 ·21#include·<dune/common/exceptions.hh>24 ·15#include·<dune/common/exceptions.hh>
 25 ·16#include·<dune/common/fvector.hh>
 26 ·17#include·<dune/common/densematrix.hh>
 27 ·18#include·<dune/common/precision.hh>
 28 ·19#include·<dune/common/promotiontraits.hh>
 29 ·20#include·<dune/common/typetraits.hh>
 30 ·21#include·<dune/common/matrixconcepts.hh>
27 ·2231 ·22
28 ·23 
29 ·24namespace·Dune·{32 ·23namespace·Dune
 33 ·24{
30 ·2534 ·25
31 ·36·template<typename·C> 
32 37·bool·hasPrefix(const·C&·c,·const·char*·prefix)·{ 
33 ·38·std::size_t·len·=·std::strlen(prefix); 
34 ·39·return·c.size()·>=·len·&& 
35 ·40·std::equal(prefix,·prefix+len,·c.begin());35 ·26·namespace·Impl
 36 ·27·{
 37 ·28
 38 ·29·template<class·M>
 39 ·30·class·ColumnVectorView
 40 ·31·{
 41 ·32·public:
 42 ·33
 43 ·34·using·value_type·=·typename·M::value_type;
 44 ·35·using·size_type·=·typename·M::size_type;
 45 ·36
 46 ·37·constexpr·ColumnVectorView(M&·matrix,·size_type·col)·:
 47 ·38·matrix_(matrix),
 48 ·39·col_(col)
 49 ·40·{}
 50 ·41
 51 ·42·constexpr·size_type·N·()·const·{
 52 ·43·return·matrix_.N();
36 ·41·}53 ·44·}
37 ·42 
38 ·52·template<typename·C> 
39 53·bool·hasSuffix(const·C&·c,·const·char*·suffix)·{ 
40 ·54·std::size_t·len·=·std::strlen(suffix); 
41 ·55·if(c.size()·<·len)·return·false; 
42 ·56·typename·C::const_iterator·it·=·c.begin(); 
43 ·57·std::advance(it,·c.size()·-·len); 
44 ·58·return·std::equal(suffix,·suffix+len,·it);54 ·45
 55 ·46·template<class·M_·=·M,
 56 ·47·std::enable_if_t<std::is_same_v<M_,M>·and·not·std::is_const_v<M_>,·int>·=
 57 0>
 58 ·48·constexpr·value_type&·operator[]·(size_type·row)·{
 59 ·49·return·matrix_[row][col_];
 60 ·50·}
 61 ·51
 62 ·52·constexpr·const·value_type&·operator[]·(size_type·row)·const·{
 63 ·53·return·matrix_[row][col_];
 64 ·54·}
 65 ·55
 66 ·56·protected:
 67 ·57·M&·matrix_;
 68 ·58·const·size_type·col_;
45 ·59·}69 ·59·};
46 ·6070 ·60
 71 ·61·}
 72 ·62
 73 ·63·template<typename·M>
 74 ·64·struct·FieldTraits<·Impl::ColumnVectorView<M>·>
 75 ·65·{
 76 ·66·using·field_type·=·typename·FieldTraits<M>::field_type;
 77 ·67·using·real_type·=·typename·FieldTraits<M>::real_type;
 78 ·68·};
 79 ·69
 80 ·81·template<·class·K,·int·ROWS,·int·COLS·=·ROWS·>·class·FieldMatrix;
 81 ·82
 82 ·83
 83 ·84·template<·class·K,·int·ROWS,·int·COLS·>
 84 85·struct·DenseMatVecTraits<·FieldMatrix<K,ROWS,COLS>·>
 85 ·86·{
 86 87·typedef·FieldMatrix<K,ROWS,COLS>·derived_type;
47 ·72·template<class...·T> 
48 73·static·std::string·formatString(const·std::string&·s,·const·T&...·args) 
49 ·74·{ 
50 ·75·static·const·int·bufferSize=1000; 
51 ·76·char·buffer[bufferSize]; 
52 ·77 
53 ·78·//·try·to·format·with·static·buffer 
54 ·79·int·r·=·std::snprintf(buffer,·bufferSize,·s.c_str(),·args...); 
55 ·80 
56 ·81·//·negative·return·values·correspond·to·errors 
57 ·82·if·(r<0) 
58 ·83·DUNE_THROW(Dune::Exception,"Could·not·convert·format·string·using·given 
59 arguments."); 
60 ·84 
61 ·85·//·if·buffer·was·large·enough·return·result·as·string 
62 ·86·if·(r<bufferSize) 
63 ·87·return·std::string(buffer); 
64 ·8887 ·88
65 ·89·//·if·buffer·was·to·small·allocate·a·larger·buffer·using 
66 ·90·//·the·predicted·size·hint·(+1·for·the·terminating·0-byte). 
67 ·91·int·dynamicBufferSize·=·r+1;88 ·89·//·each·row·is·implemented·by·a·field·vector
Max diff block lines reached; 10743/37594 bytes (28.58%) of diff not shown.
19.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00110.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·parametertree.hh·File·Reference</title>8 <title>dune-common:·concept.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 69 lines modifiedOffset 64, 89 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>·&#124;
 72 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">parametertree.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">concept.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>A·hierarchical·structure·of·string·parameters.··76 <p>Infrastructure·for·concepts.··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
78 <code>#include·&lt;cstddef&gt;</code><br·/> 
79 <code>#include·&lt;iostream&gt;</code><br·/> 
80 <code>#include·&lt;istream&gt;</code><br·/>79 <code>#include·&lt;utility&gt;</code><br·/>
81 <code>#include·&lt;iterator&gt;</code><br·/> 
82 <code>#include·&lt;locale&gt;</code><br·/> 
83 <code>#include·&lt;map&gt;</code><br·/>80 <code>#include·&lt;tuple&gt;</code><br·/>
84 <code>#include·&lt;ostream&gt;</code><br·/> 
85 <code>#include·&lt;sstream&gt;</code><br·/> 
86 <code>#include·&lt;string&gt;</code><br·/> 
87 <code>#include·&lt;typeinfo&gt;</code><br·/> 
88 <code>#include·&lt;vector&gt;</code><br·/> 
89 <code>#include·&lt;algorithm&gt;</code><br·/> 
90 <code>#include·&lt;bitset&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
92 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
93 <code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/classname.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
94 </div>85 </div>
95 <p><a·href="a00110_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00110_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">87 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>89 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02344.html">Dune::ParameterTree</a></td></tr> 
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Hierarchical·structure·of·string·parameters.··<a·href="a02344.html#details">More...</a><br·/></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02352.html">Dune::ParameterTree::Parser&lt;·std::basic_string&lt;·char,·traits,·Allocator·&gt;·&gt;</a></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02356.html">Dune::ParameterTree::Parser&lt;·bool·&gt;</a></td></tr>90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01348.html">Dune::Concept::Refines&lt;·BaseConcepts·&gt;</a></td></tr>
 91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·refined·concepts.··<a·href="a01348.html#details">More...</a><br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02360.html">Dune::ParameterTree::Parser&lt;·bool·&gt;::ToLower</a></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02364.html">Dune::ParameterTree::Parser&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr> 
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02368.html">Dune::ParameterTree::Parser&lt;·std::array&lt;·T,·n·&gt;·&gt;</a></td></tr> 
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02372.html">Dune::ParameterTree::Parser&lt;·std::bitset&lt;·n·&gt;·&gt;</a></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02376.html">Dune::ParameterTree::Parser&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr> 
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
118 Namespaces</h2></td></tr>95 Namespaces</h2></td></tr>
119 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>96 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
120 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>97 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:a00427"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00427.html">Dune::Concept</a></td></tr>
 100 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 </table><table·class="memberdecls">
 103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 104 Functions</h2></td></tr>
 105 <tr·class="memitem:ga91a4108f1ea3f3644e343659a4e25904"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T&gt;·</td></tr>
 106 <tr·class="memitem:ga91a4108f1ea3f3644e343659a4e25904"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">Dune::models</a>·()</td></tr>
 107 <tr·class="memdesc:ga91a4108f1ea3f3644e343659a4e25904"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·concept·is·modeled·by·given·types.··<a·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">More...</a><br·/></td></tr>
 108 <tr·class="separator:ga91a4108f1ea3f3644e343659a4e25904"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:a505975b777b113e7a170bf0b92f18cc4"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class·Tuple·&gt;·</td></tr>
 110 <tr·class="memitem:a505975b777b113e7a170bf0b92f18cc4"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a505975b777b113e7a170bf0b92f18cc4">Dune::Concept::tupleEntriesModel</a>·()·-&gt;·typename·Impl::TupleEntriesModelHelper&lt;·C,·Tuple·&gt;::Result</td></tr>
 111 <tr·class="separator:a505975b777b113e7a170bf0b92f18cc4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memTemplParams"·colspan="2">template&lt;bool·b,·typename·std::enable_if&lt;·b,·int·&gt;::type··=·0&gt;·</td></tr>
 113 <tr·class="memitem:a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a0c5244fc0c1f77eb234e0bab79bb5240">Dune::Concept::requireTrue</a>·()</td></tr>
 114 <tr·class="separator:a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T,·typename·std::enable_if&lt;·models&lt;·C,·T...·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr>
 116 <tr·class="memitem:a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a06e79a0db6608ca4c073c4c8f0dd824d">Dune::Concept::requireConcept</a>·()</td></tr>
 117 <tr·class="separator:a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T,·typename·std::enable_if&lt;·models&lt;·C,·T...·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr>
 119 <tr·class="memitem:a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a2dbe5630e5ddb8c2f2a23f48cce6013b">Dune::Concept::requireConcept</a>·(T·&amp;&amp;...)</td></tr>
 120 <tr·class="separator:a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a59645477bd6b09962ab62f4e2afe6c81"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class·Tuple·,·typename·std::enable_if&lt;·tupleEntriesModel&lt;·C,·Tuple·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr>
 122 <tr·class="memitem:a59645477bd6b09962ab62f4e2afe6c81"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a59645477bd6b09962ab62f4e2afe6c81">Dune::Concept::requireConceptForTupleEntries</a>·()</td></tr>
 123 <tr·class="separator:a59645477bd6b09962ab62f4e2afe6c81"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 <tr·class="memitem:a8b5ee9cb9837e082ac1da60fe2a1ca81"><td·class="memTemplParams"·colspan="2">template&lt;class·From·,·class·To·,·typename·std::enable_if&lt;·std::is_convertible&lt;·From,·To·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 125 <tr·class="memitem:a8b5ee9cb9837e082ac1da60fe2a1ca81"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a8b5ee9cb9837e082ac1da60fe2a1ca81">Dune::Concept::requireConvertible</a>·()</td></tr>
 126 <tr·class="separator:a8b5ee9cb9837e082ac1da60fe2a1ca81"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:a9a36856034f3033ad8c3fb905b6b2018"><td·class="memTemplParams"·colspan="2">template&lt;class·To·,·class·From·,·typename·std::enable_if&lt;·std::is_convertible&lt;·From,·To·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 128 <tr·class="memitem:a9a36856034f3033ad8c3fb905b6b2018"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a9a36856034f3033ad8c3fb905b6b2018">Dune::Concept::requireConvertible</a>·(const·From·&amp;)</td></tr>
 129 <tr·class="separator:a9a36856034f3033ad8c3fb905b6b2018"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 130 <tr·class="memitem:ad96e1a5fe36cebbed3c85d0e24b49bef"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 131 <tr·class="memitem:ad96e1a5fe36cebbed3c85d0e24b49bef"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#ad96e1a5fe36cebbed3c85d0e24b49bef">Dune::Concept::requireType</a>·()</td></tr>
 132 <tr·class="separator:ad96e1a5fe36cebbed3c85d0e24b49bef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:a7d39e8ecc39ad89d9b47c1ccf9873a54"><td·class="memTemplParams"·colspan="2">template&lt;class·Base·,·class·Derived·,·typename·std::enable_if&lt;·std::is_base_of&lt;·Base,·Derived·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 134 <tr·class="memitem:a7d39e8ecc39ad89d9b47c1ccf9873a54"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a7d39e8ecc39ad89d9b47c1ccf9873a54">Dune::Concept::requireBaseOf</a>·()</td></tr>
 135 <tr·class="separator:a7d39e8ecc39ad89d9b47c1ccf9873a54"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:a25819f337507625582babfb5ee0b1798"><td·class="memTemplParams"·colspan="2">template&lt;class·Base·,·class·Derived·,·typename·std::enable_if&lt;·std::is_base_of&lt;·Base,·Derived·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 137 <tr·class="memitem:a25819f337507625582babfb5ee0b1798"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a25819f337507625582babfb5ee0b1798">Dune::Concept::requireBaseOf</a>·(const·Derived·&amp;)</td></tr>
 138 <tr·class="separator:a25819f337507625582babfb5ee0b1798"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:a0cdb8b8ed4fc7d006516dc22697edcc3"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·,·typename·std::enable_if&lt;·std::is_same&lt;·A,·B·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 140 <tr·class="memitem:a0cdb8b8ed4fc7d006516dc22697edcc3"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a0cdb8b8ed4fc7d006516dc22697edcc3">Dune::Concept::requireSameType</a>·()</td></tr>
 141 <tr·class="separator:a0cdb8b8ed4fc7d006516dc22697edcc3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 </table>142 </table>
123 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>143 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
124 <div·class="textblock"><p·>A·hierarchical·structure·of·string·parameters.·</p>144 <div·class="textblock"><p·>Infrastructure·for·concepts.·</p>
125 </div></div><!--·contents·-->145 </div></div><!--·contents·-->
126 <!--·start·footer·part·-->146 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>147 <hr·class="footer"/><address·class="footer"><small>
Max diff block lines reached; 38/16168 bytes (0.24%) of diff not shown.
3.73 KB
html2text {}
    
Offset 4, 56 lines modifiedOffset 4, 81 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces7 Classes·|·Namespaces·|·Functions
 8 concept.hh·File·Reference
 9 Infrastructure·for·concepts.·More...
 10 #include·<type_traits>
 11 #include·<utility>
8 parametertree.hh·File·Reference 
9 A·hierarchical·structure·of·string·parameters.·More... 
10 #include·<array> 
11 #include·<cstddef> 
12 #include·<iostream> 
13 #include·<istream> 
14 #include·<iterator> 
15 #include·<locale> 
16 #include·<map>12 #include·<tuple>
17 #include·<ostream> 
18 #include·<sstream> 
19 #include·<string> 
20 #include·<typeinfo> 
21 #include·<vector> 
22 #include·<algorithm> 
23 #include·<bitset> 
24 #include·<dune/common/exceptions.hh>13 #include·<dune/common/typeutilities.hh>
25 #include·<dune/common/fvector.hh>14 #include·<dune/common/typelist.hh>
26 #include·<dune/common/classname.hh>15 #include·<dune/common/tupleutility.hh>
 16 #include·<dune/common/std/type_traits.hh>
27 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
28 ·Classes18 ·Classes
 19 struct· Dune::Concept::Refines<_BaseConcepts_>
 20  ·······Base·class·for·refined·concepts.·More...
29 ·class· Dune::ParameterTree 
30  ·······Hierarchical·structure·of·string·parameters.·More... 
31   
32 struct· Dune::ParameterTree::Parser<_std::basic_string<_char,_traits, 
33 ·········Allocator_>_> 
34   
35 struct· Dune::ParameterTree::Parser<_bool_> 
36   
37 struct· Dune::ParameterTree::Parser<_bool_>::ToLower 
38   
39 struct· Dune::ParameterTree::Parser<_FieldVector<_T,_n_>_> 
40   
41 struct· Dune::ParameterTree::Parser<_std::array<_T,_n_>_> 
42   
43 struct· Dune::ParameterTree::Parser<_std::bitset<_n_>_> 
44   
45 struct· Dune::ParameterTree::Parser<_std::vector<_T,_A_>_> 
46  21  
47 ·Namespaces22 ·Namespaces
48 namespace· Dune23 namespace· Dune
49  ··········Dune·namespace.24  ··········Dune·namespace.
50  25  
 26 namespace· Dune::Concept
 27  ··········Namespace·for·concepts.
 28  
 29 ·Functions
 30 template<class·C·,·class...·T>
 31 constexpr·auto Dune::models·()
 32  ··············Check·if·concept·is·modeled·by·given·types.·More...
 33  
 34 template<class·C·,·class·Tuple·>
 35 constexpr·auto Dune::Concept::tupleEntriesModel·()·->·typename·Impl::
 36 ················TupleEntriesModelHelper<·C,·Tuple·>::Result
 37  
 38 template<bool·b,·typename·std::enable_if<·b,·int·>::type·=·0>
 39 constexpr·bool Dune::Concept::requireTrue·()
 40  
 41 template<class·C·,·class...·T,·typename·std::enable_if<·models<·C,·T...·>(),
 42 int·>::type·=·0>
 43 constexpr·bool Dune::Concept::requireConcept·()
 44  
 45 template<class·C·,·class...·T,·typename·std::enable_if<·models<·C,·T...·>(),
 46 int·>::type·=·0>
 47 constexpr·bool Dune::Concept::requireConcept·(T·&&...)
 48  
 49 template<class·C·,·class·Tuple·,·typename·std::enable_if<·tupleEntriesModel<
 50 C,·Tuple·>(),·int·>::type·=·0>
 51 constexpr·bool Dune::Concept::requireConceptForTupleEntries·()
 52  
 53 template<class·From·,·class·To·,·typename·std::enable_if<·std::is_convertible<
 54 From,·To·>::value,·int·>::type·=·0>
 55 constexpr·bool Dune::Concept::requireConvertible·()
 56  
 57 template<class·To·,·class·From·,·typename·std::enable_if<·std::is_convertible<
 58 From,·To·>::value,·int·>::type·=·0>
 59 constexpr·bool Dune::Concept::requireConvertible·(const·From·&)
 60  
 61 template<typename·T·>
 62 constexpr·bool Dune::Concept::requireType·()
 63  
 64 template<class·Base·,·class·Derived·,·typename·std::enable_if<·std::
 65 is_base_of<·Base,·Derived·>::value,·int·>::type·=·0>
 66 constexpr·bool Dune::Concept::requireBaseOf·()
 67  
 68 template<class·Base·,·class·Derived·,·typename·std::enable_if<·std::
 69 is_base_of<·Base,·Derived·>::value,·int·>::type·=·0>
 70 constexpr·bool Dune::Concept::requireBaseOf·(const·Derived·&)
 71  
 72 template<class·A·,·class·B·,·typename·std::enable_if<·std::is_same<·A,·B·>::
 73 value,·int·>::type·=·0>
 74 constexpr·bool Dune::Concept::requireSameType·()
 75  
51 *****·Detailed·Description·*****76 *****·Detailed·Description·*****
52 A·hierarchical·structure·of·string·parameters.77 Infrastructure·for·concepts.
  
53 ===============================================================================78 ===============================================================================
54 ·····Generated·by [doxygen]·1.9.479 ·····Generated·by [doxygen]·1.9.4
130 KB
./usr/share/doc/libdune-common-doc/doxygen/a00110_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·parametertree.hh·Source·File</title>8 <title>dune-common:·concept.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 309 lines modifiedOffset 62, 310 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">parametertree.hh</div></div>68 ··<div·class="headertitle"><div·class="title">concept.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00110.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00110.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PARAMETERTREE_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONCEPT_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PARAMETERTREE_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_CONCEPT_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div> 
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;locale&gt;</span></div> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00092.html">dune/common/typeutilities.hh</a>&gt;</span></div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00032.html">dune/common/typelist.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00284.html">dune/common/tupleutility.hh</a>&gt;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00152.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div> 
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div> 
92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/fvector.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00383.html">dune/common/classname.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
97 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a02344.html">···36</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02344.html">ParameterTree</a></div>89 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00427.html">···34</a></span><span·class="keyword">namespace·</span>Concept·{</div>
 90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="comment">//·class·providing·a·single·static·parse()·function,·used·by·the</span></div> 
102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·generic·get()·method</span></div> 
103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>93 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·BaseConcepts&gt;</div>
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">struct·</span>Parser;</div>94 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01348.html">···53</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01348.html">Refines</a></div>
105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>95 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div>
106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div>96 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01348.html#ae7207e9050eb5211a4dcbea2007a382e">···55</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList[·...·truncated·by·diffoscope;·len:·128,·SHA:·45371f567f0a9228dfc61901ae40e819943a5c0b44e87140c40e99b92298e022·...·]</div>
107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>97 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>};</div>
108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a02344.html#a431a09c44d71a67f54c3fcd0ae19d437">···47</a></span>····<span·class="keyword">typedef</span>·std::vector&lt;std::string&gt;·<a·class="code·hl_typedef"·href="a02344.html#a431a09c44d71a67f54c3fcd0ae19d437">KeyVector</a>;</div> 
109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<a·class="code·hl_function"·href="a02344.html#a568eecdaf5552be971fd69ef4ed663ee">ParameterTree</a>();</div> 
111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02344.html#a7fe0cdda98abc77aec93909e4b06d615">hasKey</a>(<span·class="keyword">const</span>·std::string&amp;·key)·<span·clas[·...·truncated·by·diffoscope;·len:·25,·SHA:·aaed121c3eac369f89093105c841513cdbf3a394557da2b58c9a4b39e344ca2b·...·]</div>100 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 102 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">namespace·</span>Impl·{</div>
114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·#############################################################################</span></div>
 105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="comment">//·#·All·functions·following·here·are·implementation·details</span></div>
 106 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·#·for·the·models()·function·below.</span></div>
 107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="comment">//·#############################################################################</span></div>
115 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>108 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
116 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02344.html#a832cfee8731b35d154629ea500f37a3b">hasSub</a>(<span·class="keyword">const</span>·std::string&amp;·<a·class="code·[·...·truncated·by·diffoscope;·len:·110,·SHA:·b27bc94883723cb9ea425ee569176405e301669c93b95b63a07722f3c6b93ba5·...·]</div>109 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·Forward·declaration</span></div>
 110 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>C,·<span·class="keyword">class</span>...·T&gt;</div>
 111 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">models</a>();</div>
 112 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
117 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>113 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
118 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>114 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
119 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5a0919e72eb26ee78e22ed40ca1b7282">operator[]·</a>(<span·class="keyword">const</span>·std::string&amp;·key);</div>115 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="comment">//·Here·is·the·implementation·of·the·concept·checking.</span></div>
 116 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="comment">//·The·first·two·overloads·do·the·magic·for·checking</span></div>
 117 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·if·the·requirements·of·a·concept·are·satisfied.</span></div>
 118 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="comment">//·The·rest·is·just·for·checking·base·concepts·in·case</span></div>
120 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>119 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="comment">//·of·refinement.</span></div>
121 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
122 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">const</span>·std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5a0919e72eb26ee78e22ed40ca1b7282">operator[]·</a>(<span·class="keyword">const</span>·std::string&amp;·key)·<span·class="keyword">const</span>;</div> 
123 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>120 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="comment">//·This·overload·is·present·if·type·substitution·for</span></div>
 122 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="comment">//·C::require(T...)·is·successful,·i.e.,·if·the·T...</span></div>
 123 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="comment">//·matches·the·requirement·of·C.·In·this·case·this</span></div>
 124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="comment">//·overload·is·selected·because·PriorityTag&lt;1&gt;</span></div>
 125 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="comment">//·is·a·better·match·for·PrioriryTag&lt;42&gt;·than</span></div>
 126 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="comment">//·PriorityTag&lt;0&gt;·in·the·default·overload.</span></div>
 127 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>C,·<span·class="keyword">class</span>...·T,</div>
 128 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">decltype</span>(std::declval&lt;C&gt;().require(std::declval&lt;T&gt;()...),·0)·=0&gt;</div>
 129 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">constexpr</span>·std::true_type·matchesRequirement(<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;1&gt;</a>)</div>
 130 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{·<span·class="keywordflow">return</span>·{};·}</div>
124 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>131 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
125 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02344.html#a3cc048befa55a9a39ed93505c9200e18">report</a>(std::ostream&amp;·stream·=·std::cout,</div> 
126 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>················<span·class="keyword">const</span>·std::string&amp;·prefix·=·<span·class="stringliteral">&quot;&quot;</span>)·<span·class="keyword">const</span>;</div>132 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="comment">//·If·the·above·overload·is·ruled·out·by·SFINAE·because</span></div>
 133 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="comment">//·the·T...·does·not·match·the·requirements·of·C,·then</span></div>
 134 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="comment">//·this·default·overload·drops·in.</span></div>
 135 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>C,·<span·class="keyword">class</span>...·T&gt;</div>
 136 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">constexpr</span>·std::false_type·matchesRequirement(<a·class="code·hl_struct"·href="a03184.html">PriorityTag&lt;0&gt;</a>)</div>
 137 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{·<span·class="keywordflow">return</span>·{};·}</div>
 138 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 139 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 140 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 141 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="comment">//·An·empty·list·C·of·concepts·is·always·matched·by·T...</span></div>
 142 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...T&gt;</div>
 143 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·modelsConceptList(TypeList&lt;&gt;)</div>
 144 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{·<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;·}</div>
127 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>145 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
128 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> 
129 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>(<span·class="keyword">const</span>·std::s[·...·truncated·by·diffoscope;·len:·101,·SHA:·8feab4260089ddc02ad00f12c2170e955dc6c20e86c46a06f859c86dc37fe7fc·...·]</div>146 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="comment">//·A·nonempty·list·C0,..,CN·of·concepts·is·modeled</span></div>
 147 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="comment">//·by·T...··if·it·models·the·concept·C0</span></div>
 148 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="comment">//·and·all·concepts·in·the·list·C1,..,CN.</span></div>
Max diff block lines reached; 78360/109418 bytes (71.62%) of diff not shown.
22.9 KB
html2text {}
    
Offset 4, 406 lines modifiedOffset 4, 369 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 parametertree.hh7 concept.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_PARAMETERTREE_HH 
15 ·6#define·DUNE_PARAMETERTREE_HH14 ·5#ifndef·DUNE_COMMON_CONCEPT_HH
 15 ·6#define·DUNE_COMMON_CONCEPT_HH
16 ·716 ·7
 17 ·8#include·<type_traits>
 18 ·9#include·<utility>
17 ·12#include·<array> 
18 ·13#include·<cstddef> 
19 ·14#include·<iostream> 
20 ·15#include·<istream> 
21 ·16#include·<iterator> 
22 ·17#include·<locale> 
23 ·18#include·<map>19 ·10#include·<tuple>
 20 ·11
24 ·19#include·<ostream> 
25 ·20#include·<sstream> 
26 ·21#include·<string> 
27 ·22#include·<typeinfo> 
28 ·23#include·<vector> 
29 ·24#include·<algorithm> 
30 ·25#include·<bitset> 
31 ·26 
32 ·27#include·<dune/common/exceptions.hh>21 ·12#include·<dune/common/typeutilities.hh>
33 ·28#include·<dune/common/fvector.hh>22 ·13#include·<dune/common/typelist.hh>
34 ·29#include·<dune/common/classname.hh> 
35 ·3023 ·14#include·<dune/common/tupleutility.hh>
 24 ·15#include·<dune/common/std/type_traits.hh>
 25 ·16
36 ·31namespace·Dune·{26 ·23namespace·Dune·{
37 ·32 
38 36·class·ParameterTree27 ·24
 28 34namespace·Concept·{
 29 ·35
 30 ·36
39 ·37·{31 ·37
 32 ·52template<class...·BaseConcepts>
 33 53struct·Refines
 34 ·54{
 35 55·typedef·TypeList<BaseConcepts...>·BaseConceptList;
 36 ·56};
 37 ·57
 38 ·58
 39 ·59#ifndef·DOXYGEN
 40 ·60
 41 ·61namespace·Impl·{
40 ·38·//·class·providing·a·single·static·parse()·function,·used·by·the 
41 ·39·//·generic·get()·method 
42 ·40·template<typename·T> 
43 ·41·struct·Parser; 
44 ·42 
45 ·43·public: 
46 ·44 
47 47·typedef·std::vector<std::string>·KeyVector; 
48 ·48 
49 ·51·ParameterTree(); 
50 ·52 
51 ·53 
52 ·61·bool·hasKey(const·std::string&·key)·const; 
53 ·6242 ·62
54 ·6343 ·63·/
55 ·71·bool·hasSub(const·std::string&·sub)·const;44 /·#############################################################################
 45 ·64·//·#·All·functions·following·here·are·implementation·details
 46 ·65·//·#·for·the·models()·function·below.
 47 ·66·/
 48 /·#############################################################################
 49 ·67
 50 ·68·//·Forward·declaration
 51 ·69·template<class·C,·class...·T>
 52 ·70·constexpr·bool·models();
 53 ·71
56 ·7254 ·72
57 ·7355 ·73
58 ·82·std::string&·operator[](const·std::string&·key); 
59 ·83 
60 ·84 
61 ·94·const·std::string&·operator[](const·std::string&·key)·const; 
62 ·95 
63 ·96 
64 ·104·void·report(std::ostream&·stream·=·std::cout, 
65 ·105·const·std::string&·prefix·=·"")·const;56 ·74·//·Here·is·the·implementation·of·the·concept·checking.
 57 ·75·//·The·first·two·overloads·do·the·magic·for·checking
 58 ·76·//·if·the·requirements·of·a·concept·are·satisfied.
 59 ·77·//·The·rest·is·just·for·checking·base·concepts·in·case
 60 ·78·//·of·refinement.
 61 ·79
 62 ·80·//·This·overload·is·present·if·type·substitution·for
 63 ·81·//·C::require(T...)·is·successful,·i.e.,·if·the·T...
 64 ·82·//·matches·the·requirement·of·C.·In·this·case·this
 65 ·83·//·overload·is·selected·because·PriorityTag<1>
 66 ·84·//·is·a·better·match·for·PrioriryTag<42>·than
 67 ·85·//·PriorityTag<0>·in·the·default·overload.
 68 ·86·template<class·C,·class...·T,
 69 ·87·decltype(std::declval<C>().require(std::declval<T>()...),·0)·=0>
 70 ·88·constexpr·std::true_type·matchesRequirement(PriorityTag<1>)
 71 ·89·{·return·{};·}
 72 ·90
 73 ·91·//·If·the·above·overload·is·ruled·out·by·SFINAE·because
 74 ·92·//·the·T...·does·not·match·the·requirements·of·C,·then
 75 ·93·//·this·default·overload·drops·in.
 76 ·94·template<class·C,·class...·T>
 77 ·95·constexpr·std::false_type·matchesRequirement(PriorityTag<0>)
 78 ·96·{·return·{};·}
 79 ·97
 80 ·98
 81 ·99
 82 ·100·//·An·empty·list·C·of·concepts·is·always·matched·by·T...
 83 ·101·template<class...T>
 84 ·102·constexpr·bool·modelsConceptList(TypeList<>)
 85 ·103·{·return·true;·}
66 ·10686 ·104
67 ·107 
68 ·113·ParameterTree&·sub(const·std::string&·sub);87 ·105·//·A·nonempty·list·C0,..,CN·of·concepts·is·modeled
 88 ·106·//·by·T...·if·it·models·the·concept·C0
Max diff block lines reached; 17507/23455 bytes (74.64%) of diff not shown.
4.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a00113.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·debugallocator.hh·File·Reference</title>8 <title>dune-common:·deprecated.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 19 lines modifiedOffset 62, 36 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
 68 ··<div·class="summary">
 69 <a·href="#define-members">Macros</a>··</div>
68 ··<div·class="headertitle"><div·class="title">debugallocator.hh·File·Reference</div></div>70 ··<div·class="headertitle"><div·class="title">deprecated.hh·File·Reference</div></div>
69 </div><!--header-->71 </div><!--header-->
70 <div·class="contents">72 <div·class="contents">
  
 73 <p>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.··
 74 <a·href="#details">More...</a></p>
  
71 <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00113_source.html">Go·to·the·source·code·of·this·file.</a></p>
 76 <table·class="memberdecls">
 77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 78 Macros</h2></td></tr>
 79 <tr·class="memitem:ga74d440d098178dc5a4adea8f7c160e99"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">DUNE_NO_DEPRECATED_BEGIN</a>&#160;&#160;&#160;...</td></tr>
 80 <tr·class="memdesc:ga74d440d098178dc5a4adea8f7c160e99"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Ignore·deprecation·warnings·(start)··<a·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">More...</a><br·/></td></tr>
 81 <tr·class="separator:ga74d440d098178dc5a4adea8f7c160e99"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 82 <tr·class="memitem:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">DUNE_NO_DEPRECATED_END</a>&#160;&#160;&#160;...</td></tr>
 83 <tr·class="memdesc:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Ignore·deprecation·warnings·(end)··<a·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">More...</a><br·/></td></tr>
 84 <tr·class="separator:ga664ae9266c2a074c71746e68aaa8eb6a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 85 </table>
 86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 87 <div·class="textblock"><p·>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·</p>
72 </div><!--·contents·-->88 </div></div><!--·contents·-->
73 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
74 <hr·class="footer"/><address·class="footer"><small>90 <hr·class="footer"/><address·class="footer"><small>
75 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.491 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
76 </small></address>92 </small></address>
77 </body>93 </body>
78 </html>94 </html>
657 B
html2text {}
    
Offset 4, 12 lines modifiedOffset 4, 23 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Macros
7 debugallocator.hh·File·Reference8 deprecated.hh·File·Reference
 9 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.·More...
8 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
 11 ·Macros
 12 #define DUNE_NO_DEPRECATED_BEGIN   ...
 13  ·······Ignore·deprecation·warnings·(start)·More...
 14  
 15 #define DUNE_NO_DEPRECATED_END   ...
 16  ·······Ignore·deprecation·warnings·(end)·More...
 17  
 18 *****·Detailed·Description·*****
 19 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.
  
9 ===============================================================================20 ===============================================================================
10 ·····Generated·by [doxygen]·1.9.421 ·····Generated·by [doxygen]·1.9.4
64.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00113_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·debugallocator.hh·Source·File</title>8 <title>dune-common:·deprecated.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 345 lines modifiedOffset 62, 52 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">debugallocator.hh</div></div>68 ··<div·class="headertitle"><div·class="title">deprecated.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00113.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00113.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEBUG_ALLOCATOR_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEPRECATED_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEBUG_ALLOCATOR_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEPRECATED_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·__has_include(&lt;sys/mman.h&gt;)</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;sys/mman.h&gt;</span></div>78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
 79 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">···32</a></span><span·class="preprocessor">#define·DUNE_NO_DEPRECATED_BEGIN·...</span></div>
 80 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">···38</a></span><span·class="preprocessor">#define·DUNE_NO_DEPRECATED_END···...</span></div>
 81 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#else</span></div>
 82 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#··if·defined·__clang__</span></div>
 83 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_BEGIN·\</span></div>
 84 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">·········_Pragma(&quot;clang·diagnostic·push&quot;</span>)·\</div>
 85 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·········_Pragma(&quot;clang·diagnostic·ignored·\&quot;-Wdeprecated-declarations\&quot;&quot;)</div>
 86 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_END·_Pragma(&quot;clang·diagnostic·pop&quot;</span>)</div>
 87 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#··elif·defined·__INTEL_COMPILER</span></div>
 88 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_BEGIN·\</span></div>
 89 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">·········_Pragma(&quot;warning·push&quot;</span>)·\</div>
 90 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·········_Pragma(&quot;warning(disable:1478)&quot;)·\</div>
 91 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·········_Pragma(&quot;warning(disable:1786)&quot;)</div>
 92 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_END·_Pragma(&quot;warning·pop&quot;</span>)</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·HAVE_SYS_MMAN_H·1</span></div>93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#··elif·defined·__GNUC__</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·HAVE_MPROTECT·1</span></div>94 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_BEGIN·\</span></div>
 95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">·········_Pragma(&quot;GCC·diagnostic·push&quot;</span>)·\</div>
 96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·········_Pragma(&quot;GCC·diagnostic·ignored·\&quot;-Wdeprecated-declarations\&quot;&quot;)</div>
 97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_END·_Pragma(&quot;GCC·diagnostic·pop&quot;</span>)</div>
 98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#··else</span></div>
 99 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_BEGIN·</span><span·class="comment">/*·Noop.·*/</span><span·class="preprocessor"></span></div>
 100 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_END···</span><span·class="comment">/*·Noop.·*/</span><span·class="preprocessor"></span></div>
 101 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#··endif</span></div>
 102 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#endif</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>103 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;new&gt;</span></div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00287.html">mallocallocator.hh</a>&quot;</span></div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div> 
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#ifndef·DOXYGEN·</span><span·class="comment">//·hide·implementation·details·from·doxygen</span></div> 
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>DebugMemory</div> 
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div> 
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">extern</span>·<span·class="keyword">const</span>·std::ptrdiff_t·page_size;</div> 
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">struct·</span>AllocationManager</div> 
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div> 
106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keyword">typedef</span>·std::size_t·size_type;</div> 
107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······<span·class="keyword">typedef</span>·std::ptrdiff_t·difference_type;</div> 
108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keyword">typedef</span>·<span·class="keywordtype">void</span>*·pointer;</div> 
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">protected</span>:</div> 
111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·allocation_error(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·msg);</div> 
112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">struct·</span>AllocationInfo;</div> 
114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······<span·class="keyword">friend</span>·<span·class="keyword">struct·</span>AllocationInfo;</div> 
115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#define·ALLOCATION_ASSERT(A)·{·if·(!(A))····························\</span></div> 
117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">·······························{·allocation_error(&quot;Assertion·&quot;</span>·#·A·&quot;·failed&quot;);\</div> 
118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·······························}\</div> 
119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>};</div> 
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">struct·</span>AllocationInfo</div> 
122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{</div> 
123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········AllocationInfo(<span·class="keyword">const</span>·std::type_info·&amp;·t)·:·type(&amp;t)·{}</div> 
124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keyword">const</span>·std::type_info·*·type;</div> 
125 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
126 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········pointer·page_ptr;</div> 
127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········pointer·ptr;</div> 
128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········size_type·pages;</div> 
129 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········size_type·capacity;</div> 
130 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········size_type·size;</div> 
131 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordtype">bool</span>·not_free;</div> 
132 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······};</div> 
133 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
134 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">typedef</span>·MallocAllocator&lt;AllocationInfo&gt;·Alloc;</div> 
135 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keyword">typedef</span>·std::vector&lt;AllocationInfo,·Alloc&gt;·AllocationList;</div> 
136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······AllocationList·allocation_list;</div> 
137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">private</span>:</div> 
139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordtype">void</span>·memprotect([[maybe_unused]]·<span·class="keywordtype">void</span>*·from,</div> 
140 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······················[[maybe_unused]]·difference_type·len,</div> 
141 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······················[[maybe_unused]]·<span·class="keywordtype">int</span>·prot)</div> 
142 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······{</div> 
143 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="preprocessor">#if·HAVE_SYS_MMAN_H·&amp;&amp;·HAVE_MPROTECT</span></div> 
144 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordtype">int</span>·result·=·mprotect(from,·len,·prot);</div> 
145 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">if</span>·(result·==·-1)</div> 
146 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········{</div> 
147 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
148 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;ERROR:·(&quot;</span>·&lt;&lt;·result·&lt;&lt;·<span·class="stringliteral">&quot;:·&quot;</span>·&lt;&lt;·strerror(result)·&lt;&lt;·<span·class="stringliteral">&quot;)&quot;</span>·&lt;&lt;·std::endl;</div> 
149 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;·Failed·to·&quot;</span>;</div> 
Max diff block lines reached; 271/55394 bytes (0.49%) of diff not shown.
10.2 KB
html2text {}
    
Offset 4, 356 lines modifiedOffset 4, 48 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 debugallocator.hh7 deprecated.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DEBUG_ALLOCATOR_HH14 ·5#ifndef·DUNE_DEPRECATED_HH
15 ·6#define·DUNE_DEBUG_ALLOCATOR_HH15 ·6#define·DUNE_DEPRECATED_HH
16 ·716 ·7
 17 ·14#ifdef·DOXYGEN
 18 32#define·DUNE_NO_DEPRECATED_BEGIN·...
 19 38#define·DUNE_NO_DEPRECATED_END·...
 20 ·39#else
 21 ·40#·if·defined·__clang__
 22 ·41#·define·DUNE_NO_DEPRECATED_BEGIN·\
 23 ·42·_Pragma("clang·diagnostic·push")·\
 24 ·43·_Pragma("clang·diagnostic·ignored·\"-Wdeprecated-declarations\"")
 25 ·44#·define·DUNE_NO_DEPRECATED_END·_Pragma("clang·diagnostic·pop")
 26 ·45#·elif·defined·__INTEL_COMPILER
 27 ·46#·define·DUNE_NO_DEPRECATED_BEGIN·\
 28 ·47·_Pragma("warning·push")·\
 29 ·48·_Pragma("warning(disable:1478)")·\
 30 ·49·_Pragma("warning(disable:1786)")
 31 ·50#·define·DUNE_NO_DEPRECATED_END·_Pragma("warning·pop")
 32 ·51#·elif·defined·__GNUC__
 33 ·52#·define·DUNE_NO_DEPRECATED_BEGIN·\
 34 ·53·_Pragma("GCC·diagnostic·push")·\
 35 ·54·_Pragma("GCC·diagnostic·ignored·\"-Wdeprecated-declarations\"")
 36 ·55#·define·DUNE_NO_DEPRECATED_END·_Pragma("GCC·diagnostic·pop")
 37 ·56#·else
 38 ·57#·define·DUNE_NO_DEPRECATED_BEGIN·/*·Noop.·*/
 39 ·58#·define·DUNE_NO_DEPRECATED_END·/*·Noop.·*/
 40 ·59#·endif
 41 ·60#endif
 42 ·61
17 ·8#if·__has_include(<sys/mman.h>) 
18 ·9 
19 ·10#include·<sys/mman.h> 
20 ·11#define·HAVE_SYS_MMAN_H·1 
21 ·12#define·HAVE_MPROTECT·1 
22 ·13 
23 ·14#include·<exception> 
24 ·15#include·<typeinfo> 
25 ·16#include·<vector> 
26 ·17#include·<iostream> 
27 ·18#include·<cstring> 
28 ·19#include·<cstdint> 
29 ·20#include·<cstdlib> 
30 ·21#include·<new> 
31 ·22 
32 ·23#include·"mallocallocator.hh" 
33 ·24 
34 ·25namespace·Dune 
35 ·26{ 
36 ·27 
37 ·28#ifndef·DOXYGEN·//·hide·implementation·details·from·doxygen 
38 ·29·namespace·DebugMemory 
39 ·30·{ 
40 ·31 
41 ·32·extern·const·std::ptrdiff_t·page_size; 
42 ·33 
43 ·34·struct·AllocationManager 
44 ·35·{ 
45 ·36·typedef·std::size_t·size_type; 
46 ·37·typedef·std::ptrdiff_t·difference_type; 
47 ·38·typedef·void*·pointer; 
48 ·39 
49 ·40·protected: 
50 ·41·static·void·allocation_error(const·char*·msg); 
51 ·42 
52 ·43·struct·AllocationInfo; 
53 ·44·friend·struct·AllocationInfo; 
54 ·45 
55 ·46#define·ALLOCATION_ASSERT(A)·{·if·(!(A))·\ 
56 ·47·{·allocation_error("Assertion·"·#·A·"·failed");\ 
57 ·48·}\ 
58 ·49}; 
59 ·50 
60 ·51·struct·AllocationInfo 
61 ·52·{ 
62 ·53·AllocationInfo(const·std::type_info·&·t)·:·type(&t)·{} 
63 ·54·const·std::type_info·*·type; 
64 ·55 
65 ·56·pointer·page_ptr; 
66 ·57·pointer·ptr; 
67 ·58·size_type·pages; 
68 ·59·size_type·capacity; 
69 ·60·size_type·size; 
70 ·61·bool·not_free; 
71 ·62·}; 
72 ·6343 ·63
73 ·64·typedef·MallocAllocator<AllocationInfo>·Alloc; 
74 ·65·typedef·std::vector<AllocationInfo,·Alloc>·AllocationList; 
75 ·66·AllocationList·allocation_list; 
76 ·67 
77 ·68·private: 
78 ·69·void·memprotect([[maybe_unused]]·void*·from, 
79 ·70·[[maybe_unused]]·difference_type·len, 
80 ·71·[[maybe_unused]]·int·prot) 
81 ·72·{ 
82 ·73#if·HAVE_SYS_MMAN_H·&&·HAVE_MPROTECT 
83 ·74·int·result·=·mprotect(from,·len,·prot); 
84 ·75·if·(result·==·-1) 
85 ·76·{ 
86 ·77 
87 ·78·std::cerr·<<·"ERROR:·("·<<·result·<<·":·"·<<·strerror(result)·<<·")"·<< 
88 std::endl; 
89 ·79·std::cerr·<<·"·Failed·to·"; 
90 ·80·if·(prot·==·PROT_NONE) 
91 ·81·std::cerr·<<·"protect·"; 
92 ·82·else 
93 ·83·std::cerr·<<·"unprotect·"; 
94 ·84·std::cerr·<<·"memory·range:·" 
95 ·85·<<·from·<<·",·" 
96 ·86·<<·static_cast<void*>( 
97 ·87·static_cast<char*>(from)·+·len) 
98 ·88·<<·std::endl; 
99 ·89·abort(); 
100 ·90·} 
Max diff block lines reached; 116/10464 bytes (1.11%) of diff not shown.
9.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a00116.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·stdstreams.cc·File·Reference</title>8 <title>dune-common:·boundschecking.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 48 lines modifiedOffset 63, 33 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>·&#124; 
71 <a·href="#var-members">Variables</a>··</div>70 <a·href="#define-members">Macros</a>··</div>
72 ··<div·class="headertitle"><div·class="title">stdstreams.cc·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">boundschecking.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
 74 <p>Macro·for·wrapping·boundary·checks.··
 75 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00374_source.html">stdstreams.hh</a>&quot;</code><br·/>76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 77 </div>
 78 <p><a·href="a00116_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 </div><table·class="memberdecls">79 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
78 Namespaces</h2></td></tr> 
79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
82 </table><table·class="memberdecls"> 
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
84 Variables</h2></td></tr>81 Macros</h2></td></tr>
85 <tr·class="memitem:ga20bcb085658a3b88393e47a1d36d667c"><td·class="memItemLeft"·align="right"·valign="top">DVVerbType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">Dune::dvverb</a>·(std::cout)</td></tr> 
86 <tr·class="memdesc:ga20bcb085658a3b88393e47a1d36d667c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">stream·for·very·verbose·output.··<a·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">More...</a><br·/></td></tr>82 <tr·class="memitem:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a>(cond)</td></tr>
 83 <tr·class="memdesc:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">If·<code>DUNE_CHECK_BOUNDS</code>·is·defined:·check·if·condition·<em>cond</em>·holds;·otherwise,·do·nothing.··<a·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">More...</a><br·/></td></tr>
87 <tr·class="separator:ga20bcb085658a3b88393e47a1d36d667c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:ga75d4ba5883cb39e7ec7927891a12615e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:gab8900dadc584357856d4f6cc06324cea"><td·class="memItemLeft"·align="right"·valign="top">DVerbType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">Dune::dverb</a>·(std::cout)</td></tr> 
89 <tr·class="memdesc:gab8900dadc584357856d4f6cc06324cea"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a02840.html"·title="An·adapter·to·turn·a·class·into·a·singleton.">Singleton</a>·of·verbose·debug·stream.··<a·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">More...</a><br·/></td></tr> 
90 <tr·class="separator:gab8900dadc584357856d4f6cc06324cea"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 <tr·class="memitem:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="memItemLeft"·align="right"·valign="top">DInfoType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">Dune::dinfo</a>·(std::cout)</td></tr> 
92 <tr·class="memdesc:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·informative·output.··<a·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">More...</a><br·/></td></tr> 
93 <tr·class="separator:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 <tr·class="memitem:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memItemLeft"·align="right"·valign="top">DWarnType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">Dune::dwarn</a>·(std::cerr)</td></tr> 
95 <tr·class="memdesc:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·warnings·indicating·problems.··<a·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">More...</a><br·/></td></tr> 
96 <tr·class="separator:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 <tr·class="memitem:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memItemLeft"·align="right"·valign="top">DGraveType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">Dune::dgrave</a>·(std::cerr)</td></tr> 
98 <tr·class="memdesc:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·warnings·indicating·fatal·errors.··<a·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">More...</a><br·/></td></tr> 
99 <tr·class="separator:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:gacaa61db1e034d693335d33d3919ba9ca"><td·class="memItemLeft"·align="right"·valign="top">DErrType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">Dune::derr</a>·(std::cerr)</td></tr> 
101 <tr·class="memdesc:gacaa61db1e034d693335d33d3919ba9ca"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·error·messages.··<a·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">More...</a><br·/></td></tr> 
102 <tr·class="separator:gacaa61db1e034d693335d33d3919ba9ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 </table>85 </table>
 86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 87 <div·class="textblock"><p·>Macro·for·wrapping·boundary·checks.·</p>
104 </div><!--·contents·-->88 </div></div><!--·contents·-->
105 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>90 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.491 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>92 </small></address>
109 </body>93 </body>
110 </html>94 </html>
1.29 KB
html2text {}
    
Offset 4, 36 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Macros
 8 boundschecking.hh·File·Reference
 9 Macro·for·wrapping·boundary·checks.·More...
 10 #include·<dune/common/exceptions.hh>
 11 Go_to_the_source_code_of_this_file.
 12 ·Macros
 13 #define DUNE_ASSERT_BOUNDS(cond)
 14  ·······If·DUNE_CHECK_BOUNDS·is·defined:·check·if·condition·cond·holds;
 15 ·········otherwise,·do·nothing.·More...
7 Namespaces·|·Variables 
8 stdstreams.cc·File·Reference 
9 #include·"stdstreams.hh" 
10 ·Namespaces 
11 namespace· Dune 
12  ··········Dune·namespace. 
13   
14 ·Variables 
15 DVVerbType Dune::dvverb·(std::cout) 
16  ··········stream·for·very·verbose·output.·More... 
17   
18 ·DVerbType Dune::dverb·(std::cout) 
19  ··········Singleton·of·verbose·debug·stream.·More... 
20   
21 ·DInfoType Dune::dinfo·(std::cout) 
22  ··········Stream·for·informative·output.·More... 
23   
24 ·DWarnType Dune::dwarn·(std::cerr) 
25  ··········Stream·for·warnings·indicating·problems.·More... 
26   
27 DGraveType Dune::dgrave·(std::cerr) 
28  ··········Stream·for·warnings·indicating·fatal·errors.·More... 
29   
30 ··DErrType Dune::derr·(std::cerr) 
31  ··········Stream·for·error·messages.·More... 
32  16  
 17 *****·Detailed·Description·*****
 18 Macro·for·wrapping·boundary·checks.
  
33 ===============================================================================19 ===============================================================================
34 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
34.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00119.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·math.hh·File·Reference</title>8 <title>dune-common:·bartonnackmanifcheck.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 195 lines modifiedOffset 63, 73 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>·&#124; 
72 <a·href="#define-members">Macros</a>·&#124;70 <a·href="#define-members">Macros</a>··</div>
73 <a·href="#func-members">Functions</a>··</div> 
74 ··<div·class="headertitle"><div·class="title">math.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh·File·Reference</div></div>
75 </div><!--header-->72 </div><!--header-->
76 <div·class="contents">73 <div·class="contents">
  
77 <p>Some·useful·basic·math·stuff.··74 <p>Provides·check·for·implementation·of·interface·methods·when·using·static·polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging·purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up·possible·infinite·loops)·NDEB[·...·truncated·by·diffoscope;·len:·62,·SHA:·e75b600edd7f4edbeec35482cce2012a9823c78caeb48f45daa56ee00b08ade4·...·].··
78 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/> 
80 <code>#include·&lt;complex&gt;</code><br·/> 
81 <code>#include·&lt;limits&gt;</code><br·/> 
82 <code>#include·&lt;type_traits&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
84 </div>77 </div>
85 <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00119_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">79 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
88 Classes</h2></td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01908.html">Dune::StandardMathematicalConstants&lt;·T·&gt;</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Standard·implementation·of·<a·class="el"·href="a01912.html"·title="Provides·commonly·used·mathematical·constants.">MathematicalConstants</a>.··<a·href="a01908.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01912.html">Dune::MathematicalConstants&lt;·Field·&gt;</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·commonly·used·mathematical·constants.··<a·href="a01912.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01916.html">Dune::Factorial&lt;·m·&gt;</a></td></tr> 
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01920.html">Dune::Factorial&lt;·0·&gt;</a></td></tr> 
98 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">end·of·recursion·of·factorial·via·specialization··<a·href="a01920.html#details">More...</a><br·/></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01928.html">Dune::MathOverloads::ADLTag</a></td></tr> 
101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.··<a·href="a01928.html#details">More...</a><br·/></td></tr> 
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01932.html">Dune::MathImpl::isUnorderedImpl</a></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 </table><table·class="memberdecls"> 
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
107 Namespaces</h2></td></tr> 
108 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
109 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:a00438"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html">Dune::MathOverloads</a></td></tr> 
112 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:a00443"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00443.html">Dune::MathImpl</a></td></tr> 
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 </table><table·class="memberdecls"> 
117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
118 Macros</h2></td></tr>81 Macros</h2></td></tr>
 82 <tr·class="memitem:acd7d9df83980a2517813af61e0eb22e1"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html#acd7d9df83980a2517813af61e0eb22e1">CHECK_INTERFACE_IMPLEMENTATION</a>(dummy)</td></tr>
119 <tr·class="memitem:ad9142ad3167567a3fdc4e29c7996ec95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html#ad9142ad3167567a3fdc4e29c7996ec95">DUNE_COMMON_MATH_ISFUNCTION</a>(function,··stdfunction)</td></tr> 
120 <tr·class="separator:ad9142ad3167567a3fdc4e29c7996ec95"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html#a8a492f8cc06481d5f3b0d514e344dcfa">DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>(function)</td></tr> 
122 <tr·class="separator:a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:acd7d9df83980a2517813af61e0eb22e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 84 <tr·class="memitem:a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html#a3ae5cb4f2a5339eb07e94108e67bcca7">CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</a>(__interface_method_to_call__)&#160;&#160;&#160;··(__interface_method_to_call__)</td></tr>
123 </table><table·class="memberdecls"> 
124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
125 Functions</h2></td></tr> 
126 <tr·class="memitem:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memTemplParams"·colspan="2">template&lt;class·Base·,·class·Exponent·&gt;·</td></tr> 
127 <tr·class="memitem:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·Base&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">Dune::power</a>·(Base·m,·Exponent·p)</td></tr> 
128 <tr·class="memdesc:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a02424.html"·title="Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.">Power</a>·method·for·integer·exponents.··<a·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">More...</a><br·/></td></tr> 
129 <tr·class="separator:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 <tr·class="memitem:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
131 <tr·class="memitem:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·T&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">Dune::factorial</a>·(const·T·&amp;n)·noexcept</td></tr> 
132 <tr·class="memdesc:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·factorial·of·n·as·a·constexpr··<a·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">More...</a><br·/></td></tr> 
133 <tr·class="separator:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:a76c0d28bee57c3a25005f55d790dad03"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n&gt;·</td></tr> 
135 <tr·class="memitem:a76c0d28bee57c3a25005f55d790dad03"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a76c0d28bee57c3a25005f55d790dad03">Dune::factorial</a>·(std::integral_constant&lt;·T,·n·&gt;)·noexcept</td></tr> 
136 <tr·class="memdesc:a76c0d28bee57c3a25005f55d790dad03"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·factorial·of·n·as·a·constexpr··<a·href="a00425.html#a76c0d28bee57c3a25005f55d790dad03">More...</a><br·/></td></tr> 
137 <tr·class="separator:a76c0d28bee57c3a25005f55d790dad03"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:a2dd634f0f1043459fc810cb763999214"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
139 <tr·class="memitem:a2dd634f0f1043459fc810cb763999214"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·T&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a2dd634f0f1043459fc810cb763999214">Dune::binomial</a>·(const·T·&amp;n,·const·T·&amp;k)·noexcept</td></tr> 
140 <tr·class="memdesc:a2dd634f0f1043459fc810cb763999214"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·binomial·coefficient·n·over·k·as·a·constexpr··<a·href="a00425.html#a2dd634f0f1043459fc810cb763999214">More...</a><br·/></td></tr> 
141 <tr·class="separator:a2dd634f0f1043459fc810cb763999214"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
142 <tr·class="memitem:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n,·T·k&gt;·</td></tr> 
143 <tr·class="memitem:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0f831857d19b4b3fdbfb49eed8872e22">Dune::binomial</a>·(std::integral_constant&lt;·T,·n·&gt;,·std::integral_constant&lt;·T,·k·&gt;)·noexcept</td></tr> 
144 <tr·class="memdesc:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·binomial·coefficient·n·over·k·as·a·constexpr··<a·href="a00425.html#a0f831857d19b4b3fdbfb49eed8872e22">More...</a><br·/></td></tr> 
145 <tr·class="separator:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
146 <tr·class="memitem:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n&gt;·</td></tr> 
147 <tr·class="memitem:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ad23b1e7dff795bbdcd86389aeab065ba">Dune::binomial</a>·(std::integral_constant&lt;·T,·n·&gt;,·std::integral_constant&lt;·T,·n·&gt;)·noexcept</td></tr> 
148 <tr·class="separator:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
149 <tr·class="memitem:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memTemplParams"·colspan="2">template&lt;class·K·&gt;·</td></tr> 
150 <tr·class="memitem:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memTemplItemLeft"·align="right"·valign="top">K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae6ef69fa70938d4aa93d8e30d3813c13">Dune::conjugateComplex</a>·(const·K·&amp;x)</td></tr> 
151 <tr·class="memdesc:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·conjugate·complex·of·x··<a·href="a00425.html#ae6ef69fa70938d4aa93d8e30d3813c13">More...</a><br·/></td></tr> 
152 <tr·class="separator:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
153 <tr·class="memitem:ac1712a3bb38c829a2c339355cdb28133"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
154 <tr·class="memitem:ac1712a3bb38c829a2c339355cdb28133"><td·class="memTemplItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ac1712a3bb38c829a2c339355cdb28133">Dune::sign</a>·(const·T·&amp;val)</td></tr> 
155 <tr·class="memdesc:ac1712a3bb38c829a2c339355cdb28133"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·the·sign·of·the·value.··<a·href="a00425.html#ac1712a3bb38c829a2c339355cdb28133">More...</a><br·/></td></tr> 
156 <tr·class="separator:ac1712a3bb38c829a2c339355cdb28133"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
157 <tr·class="memitem:a52c04e77b813dd109ca59f9ded3a3515"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a52c04e77b813dd109ca59f9ded3a3515">Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION</a>·(isNaN,·isnan)</td></tr> 
158 <tr·class="separator:a52c04e77b813dd109ca59f9ded3a3515"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
159 <tr·class="memitem:a132229e4e1f87c4ea645b92e5ce316e2"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a132229e4e1f87c4ea645b92e5ce316e2">Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION</a>·(isInf,·isinf)</td></tr> 
160 <tr·class="separator:a132229e4e1f87c4ea645b92e5ce316e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
161 <tr·class="memitem:a826fe50216822399903f37a0b901a9d4"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a826fe50216822399903f37a0b901a9d4">Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION</a>·(isFinite,·isfinite)</td></tr> 
162 <tr·class="separator:a826fe50216822399903f37a0b901a9d4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
163 <tr·class="memitem:aab4ad4b002d6757a35d82f9d7954e604"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
164 <tr·class="memitem:aab4ad4b002d6757a35d82f9d7954e604"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#aab4ad4b002d6757a35d82f9d7954e604">Dune::MathOverloads::isUnordered</a>·(const·T·&amp;t1,·const·T·&amp;t2,·PriorityTag&lt;·1·&gt;,·ADLTag)·-&gt;·decltype(isUnordered(t1,·t2))</td></tr> 
165 <tr·class="separator:aab4ad4b002d6757a35d82f9d7954e604"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
166 <tr·class="memitem:a5fe96f40a2f7d525f8828086e306bc6a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
167 <tr·class="memitem:a5fe96f40a2f7d525f8828086e306bc6a"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a5fe96f40a2f7d525f8828086e306bc6a">Dune::MathOverloads::isUnordered</a>·(const·T·&amp;t1,·const·T·&amp;t2,·PriorityTag&lt;·0·&gt;,·ADLTag)</td></tr> 
168 <tr·class="separator:a5fe96f40a2f7d525f8828086e306bc6a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
169 <tr·class="memitem:a3ae62f6f2833a56f9c4d5c9fe10e1116"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00443.html#a3ae62f6f2833a56f9c4d5c9fe10e1116">Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>·(isNaN)</td></tr> 
170 <tr·class="separator:a3ae62f6f2833a56f9c4d5c9fe10e1116"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 6360/27204 bytes (23.38%) of diff not shown.
7.31 KB
html2text {}
    
Offset 4, 156 lines modifiedOffset 4, 49 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Macros·|·Functions 
8 math.hh·File·Reference 
9 Some·useful·basic·math·stuff.·More... 
10 #include·<cmath> 
11 #include·<complex> 
12 #include·<limits> 
13 #include·<type_traits>7 Macros
 8 bartonnackmanifcheck.hh·File·Reference
 9 Provides·check·for·implementation·of·interface·methods·when·using·static
 10 polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging
 11 purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up
 12 possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has
 13 to·be·defined.·More...
14 #include·<dune/common/typeutilities.hh>14 #include·<dune/common/exceptions.hh>
15 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
16 ·Classes 
17 struct· Dune::StandardMathematicalConstants<_T_> 
18  ·······Standard·implementation·of·MathematicalConstants.·More... 
19   
20 struct· Dune::MathematicalConstants<_Field_> 
21  ·······Provides·commonly·used·mathematical·constants.·More... 
22   
23 struct· Dune::Factorial<_m_> 
24   
25 struct· Dune::Factorial<_0_> 
26  ·······end·of·recursion·of·factorial·via·specialization·More... 
27   
28 struct· Dune::MathOverloads::ADLTag 
29  ·······Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL. 
30 ·········More... 
31   
32 struct· Dune::MathImpl::isUnorderedImpl 
33   
34 ·Namespaces 
35 namespace· Dune 
36  ··········Dune·namespace. 
37   
38 namespace· Dune::MathOverloads 
39  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics 
40   
41 namespace· Dune::MathImpl 
42   
43 ·Macros16 ·Macros
 17 #define CHECK_INTERFACE_IMPLEMENTATION(dummy)
44 #define DUNE_COMMON_MATH_ISFUNCTION(function,·stdfunction) 
45   
46 #define DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR(function) 
47   
48 ·Functions 
49 template<class·Base·,·class·Exponent·> 
50 ·······constexpr·Base Dune::power·(Base·m,·Exponent·p) 
51  ·····················Power·method·for·integer·exponents.·More... 
52   
53 template<class·T·> 
54 ···static·constexpr·T Dune::factorial·(const·T·&n)·noexcept 
55  ·····················calculate·the·factorial·of·n·as·a·constexpr·More... 
56   
57 template<class·T·,·T·n> 
58 static·constexpr·auto Dune::factorial·(std::integral_constant<·T,·n·>) 
59 ·······················noexcept 
60  ·····················calculate·the·factorial·of·n·as·a·constexpr·More... 
61   
62 template<class·T·> 
63 ···static·constexpr·T Dune::binomial·(const·T·&n,·const·T·&k)·noexcept 
64  ·····················calculate·the·binomial·coefficient·n·over·k·as·a 
65 ·······················constexpr·More... 
66   
67 template<class·T·,·T·n,·T·k> 
68 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std:: 
69 ·······················integral_constant<·T,·k·>)·noexcept 
70  ·····················calculate·the·binomial·coefficient·n·over·k·as·a 
71 ·······················constexpr·More... 
72   
73 template<class·T·,·T·n> 
74 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std:: 
75 ·······················integral_constant<·T,·n·>)·noexcept 
76   
77 template<class·K·> 
78 ····················K Dune::conjugateComplex·(const·K·&x) 
79  ·····················compute·conjugate·complex·of·x·More... 
80   
81 template<class·T·> 
82 ··················int Dune::sign·(const·T·&val) 
83  ·····················Return·the·sign·of·the·value.·More... 
84   
85 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION·(isNaN, 
86 ·······················isnan) 
87   
88 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION·(isInf, 
89 ·······················isinf) 
90   
91 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION 
92 ·······················(isFinite,·isfinite) 
93   
94 template<class·T·> 
95 ·················auto Dune::MathOverloads::isUnordered·(const·T·&t1,·const·T 
96 ·······················&t2,·PriorityTag<·1·>,·ADLTag)·->·decltype(isUnordered 
97 ·······················(t1,·t2)) 
98   
99 template<class·T·> 
100 ·················auto Dune::MathOverloads::isUnordered·(const·T·&t1,·const·T 
101 ·······················&t2,·PriorityTag<·0·>,·ADLTag) 
102   
103 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR 
104 ·······················(isNaN) 
105   
106 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR 
107 ·······················(isInf) 
108   
109 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR 
110 ·······················(isFinite) 
111   
112 template<class·T·,·class·=·std::enable_if_t<Impl::isComplexLike<T>::value>> 
113 ·················auto Dune::MathOverloads::isNaN·(const·T·&t,·PriorityTag<·2 
114 ·······················>,·ADLTag) 
115   
116 template<class·T·,·class·=·std::enable_if_t<Impl::isComplexLike<T>::value>> 
117 ·················auto Dune::MathOverloads::isInf·(const·T·&t,·PriorityTag<·2 
118 ·······················>,·ADLTag) 
119  18  
Max diff block lines reached; 2537/7466 bytes (33.98%) of diff not shown.
78.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00119_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·math.hh·Source·File</title>8 <title>dune-common:·bartonnackmanifcheck.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 330 lines modifiedOffset 62, 60 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">math.hh</div></div>68 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00119.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00119.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATH_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATH_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div> 
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>75 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment"></span><span·class="comment">//-·Dune·includes</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>76 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>77 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 78 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#ifdef·CHECK_INTERFACE_IMPLEMENTATION</span></div>
 79 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#undef·CHECK_INTERFACE_IMPLEMENTATION</span></div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/typeutilities.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div> 
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>
 81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#ifdef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</span></div>
 82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#undef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</span></div>
88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·T·&gt;</div>83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div>
89 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01908.html">···33</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01908.html">StandardMathematicalConstants</a></div> 
90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01908.html#aae17c7e397f4e52c0994a070a589b568">···38</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·T·<a·class="code·hl_function"·href="a01908.html#aae17c[·...·truncated·by·diffoscope;·len:·37,·SHA:·2bf60c7e90433226771ffcdec82a3adf6ee6614c751fd66133964ebaebab6c73·...·]</div>85 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK</span></div>
 86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00119.html#acd7d9df83980a2517813af61e0eb22e1">···35</a></span><span·class="preprocessor">#define·CHECK_INTERFACE_IMPLEMENTATION(dummy)</span></div>
 87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#else</span></div>
 88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#define·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\</span></div>
 89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">··{\</span></div>
 90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">····static·bool·call·=·false;·\</span></div>
 91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">····if(·call·==·true·)·\</span></div>
 92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">······DUNE_THROW(NotImplemented,&quot;Interface·method·not·implemented!&quot;</span>);\</div>
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{</div>93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····call·=·true;·\</div>
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keyword">using·</span>std::exp;</div> 
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·T·<a·class="code·hl_function"·href="a01908.html#aae17c7e397f4e52c0994a070a589b568">e</a>·=·exp(·T(·1·)·);</div> 
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01908.html#aae17c7e397f4e52c0994a070a589b568">e</a>;</div> 
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····}</div>94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····try·{·\</div>
 95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······(__interface_method_to_call__);·\</div>
 96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······call·=·false;·\</div>
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}·\</div>
98 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01908.html#ab18fe71b10625774844be9b726c8c313">···48</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·T·<a·class="code·hl_function"·href="a01908.html#ab18fe[·...·truncated·by·diffoscope;·len:·38,·SHA:·0b3a3db73d0196123e1299a01fb67d9510058b22ce5861939a182afdc22af775·...·]</div>98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····catch·(·...·)·\</div>
99 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div>99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{·\</div>
 100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······call·=·false;·\</div>
100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">using·</span>std::acos;</div>101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······throw;·\</div>
101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·T·<a·class="code·hl_function"·href="a01908.html#ab18fe71b10625774844be9b726c8c313">pi</a>·=·acos(·T(·-1·)·);</div> 
102 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01908.html#ab18fe71b10625774844be9b726c8c313">pi</a>;</div> 
103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div>102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····}·\</div>
 103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··}</div>
 104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div>
104 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK</span></div>
 107 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00119.html#a3ae5cb4f2a5339eb07e94108e67bcca7">···61</a></span><span·class="preprocessor">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\</span></div>
105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
106 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
107 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·Field·&gt;</div> 
108 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01912.html">···65</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01912.html">MathematicalConstants</a></div> 
109 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01908.html">StandardMathematicalConstants</a>&lt;Field&gt;</div> 
110 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{};</div> 
111 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
112 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
113 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·Base,·<span·class="keyword">class</span>·Exponent&gt;</div> 
114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">···75</a></span>··<span·class="keyword">constexpr</span>·Base·<a·class="code·hl_function"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">power</a>(Base·m,·Exponent·p)</div> 
115 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> 
116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">static_assert</span>(std::numeric_limits&lt;Exponent&gt;::is_integer,·<span·class="stringliteral">&quot;Exponent·must·be·an·integer·type!&quot;</span>);</div> 
117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
118 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">auto</span>·result·=·Base(1);</div> 
119 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keyword">auto</span>·absp·=·(p&lt;0)·?·-p·:·p;···<span·class="comment">//·This·is·simply·abs,·but·std::abs·is·not·constexpr</span></div> 
120 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keywordflow">for</span>·(Exponent·i·=·Exponent(0);·i&lt;absp;·i++)</div> 
121 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······result·*=·m;</div> 
122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
123 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">if</span>·(p&lt;0)</div> 
124 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······result·=·Base(1)/result;</div> 
125 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
126 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordflow">return</span>·result;</div> 
127 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> 
128 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> 
129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·m&gt;</div> 
130 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01916.html">···93</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01916.html">Factorial</a></div> 
131 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div> 
132 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">···96</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">factorial</a>·=·m·*·<a·class="code·hl_struct"·href="a01916.html">Factorial</a>&lt;m-1&gt;<a·class="code·hl_variable"·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">::factorial</a>;</div> 
133 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··};</div> 
134 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
135 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span>·&lt;&gt;</div> 
136 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01920.html">··101</a></span>··<span·class="keyword">struct·</span>[[deprecated(&quot;Use·function·<a·class="code·hl_function"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">factorial</a>·instead!·Will·be·removed·after·<a·class="code·hl_namespace"·href="a00425.html">Dune</a>·2.9&quot;)]]·<a·class="code·hl_struct"·href="a01916.html">Factorial</a>&lt;0&gt;</div> 
137 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··{</div> 
138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="comment">//·0!·=·1</span></div> 
139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01920.html#a99ca49c05e13fcd5502c745b69b55e6d">··104</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">factorial</a>·=·1;</div> 
140 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··};</div> 
141 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
142 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> 
143 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="comment">//·T·has·to·be·an·integral·type</span></div> 
144 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
145 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">··111</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">static</span>·T·<a·class="code·hl_function"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">factorial</a>(<span·class="keyword">const</span>·T&amp;·n)·<span·class="keyword">noexcept</span></div> 
146 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··{</div> 
147 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="keyword">static_assert</span>(std::numeric_limits&lt;T&gt;::is_integer,·<span·class="stringliteral">&quot;`factorial(n)`·has·to·be·called·with·an·integer·type.&quot;</span>);</div> 
148 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····T·fac·=·1;</div> 
149 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordflow">for</span>(T·k·=·0;·k·&lt;·n;·++k)</div> 
150 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······fac·*=·k+1;</div> 
151 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keywordflow">return</span>·fac;</div> 
152 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··}</div> 
153 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> 
Max diff block lines reached; 271/66775 bytes (0.41%) of diff not shown.
12.7 KB
html2text {}
    
Offset 4, 400 lines modifiedOffset 4, 59 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 math.hh7 bartonnackmanifcheck.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·24//-·Dune·includes
14 ·5#ifndef·DUNE_MATH_HH 
15 ·6#define·DUNE_MATH_HH 
16 ·7 
17 ·12#include·<cmath> 
18 ·13#include·<complex> 
19 ·14#include·<limits> 
20 ·15#include·<type_traits> 
21 ·16 
22 ·17#include·<dune/common/typeutilities.hh>15 ·25#include·<dune/common/exceptions.hh>
23 ·18 
24 ·19namespace·Dune 
25 ·20{ 
26 ·21 
27 ·32·template<·class·T·> 
28 33·struct·StandardMathematicalConstants 
29 ·34·{ 
30 38·static·const·T·e·() 
31 ·39·{ 
32 ·40·using·std::exp; 
33 ·41·static·const·T·e·=·exp(·T(·1·)·); 
34 ·42·return·e; 
35 ·43·} 
36 ·44 
37 48·static·const·T·pi·() 
38 ·49·{ 
39 ·50·using·std::acos; 
40 ·51·static·const·T·pi·=·acos(·T(·-1·)·); 
41 ·52·return·pi; 
42 ·53·} 
43 ·54·}; 
44 ·55 
45 ·56 
46 ·64·template<·class·Field·> 
47 65·struct·MathematicalConstants 
48 ·66·:·public·StandardMathematicalConstants<Field> 
49 ·67·{}; 
50 ·68 
51 ·69 
52 ·74·template·<class·Base,·class·Exponent> 
53 75·constexpr·Base·power(Base·m,·Exponent·p) 
54 ·76·{ 
55 ·77·static_assert(std::numeric_limits<Exponent>::is_integer,·"Exponent·must·be 
56 an·integer·type!"); 
57 ·78 
58 ·79·auto·result·=·Base(1); 
59 ·80·auto·absp·=·(p<0)·?·-p·:·p;·//·This·is·simply·abs,·but·std::abs·is·not 
60 constexpr 
61 ·81·for·(Exponent·i·=·Exponent(0);·i<absp;·i++) 
62 ·82·result·*=·m; 
63 ·83 
64 ·84·if·(p<0) 
65 ·85·result·=·Base(1)/result; 
66 ·86 
67 ·87·return·result; 
68 ·88·} 
69 ·89 
70 ·92·template·<int·m> 
71 93·struct·Factorial 
72 ·94·{ 
73 96·static·constexpr·int·factorial·=·m·*·Factorial<m-1>::factorial; 
74 ·97·}; 
75 ·98 
76 ·100·template·<> 
77 101·struct·[[deprecated("Use·function·factorial·instead!·Will·be·removed·after 
78 Dune·2.9")]]·Factorial<0> 
79 ·102·{ 
80 ·103·//·0!·=·1 
81 104·static·constexpr·int·factorial·=·1; 
82 ·105·}; 
83 ·106 
84 ·107 
85 ·109·//·T·has·to·be·an·integral·type 
86 ·110·template<class·T> 
87 111·constexpr·inline·static·T·factorial(const·T&·n)·noexcept 
88 ·112·{ 
89 ·113·static_assert(std::numeric_limits<T>::is_integer,·"`factorial(n)`·has·to 
90 be·called·with·an·integer·type."); 
91 ·114·T·fac·=·1; 
92 ·115·for(T·k·=·0;·k·<·n;·++k) 
93 ·116·fac·*=·k+1; 
94 ·117·return·fac; 
95 ·118·} 
96 ·119 
97 ·121·template<class·T,·T·n> 
98 122·constexpr·inline·static·auto·factorial·(std::integral_constant<T,·n>) 
99 noexcept 
100 ·123·{ 
101 ·124·return·std::integral_constant<T,·factorial(n)>{}; 
102 ·125·} 
103 ·12616 ·26
104 ·127 
105 ·129·//·T·has·to·be·an·integral·type 
106 ·130·template<class·T> 
107 131·constexpr·inline·static·T·binomial·(const·T&·n,·const·T&·k)·noexcept 
108 ·132·{ 
109 ·133·static_assert(std::numeric_limits<T>::is_integer,·"`binomial(n,·k)`·has·to 
110 be·called·with·an·integer·type."); 
111 ·134 
112 ·135·if(·k·<·0·||·k·>·n·) 
113 ·136·return·0; 
114 ·137 
115 ·138·if·(2*k·>·n) 
116 ·139·return·binomial(n,·n-k); 
117 ·140 
118 ·141·T·bin·=·1; 
119 ·142·for(auto·i·=·n-k;·i·<·n;·++i) 
120 ·143·bin·*=·i+1; 
121 ·144·return·bin·/·factorial(k); 
122 ·145·} 
123 ·146 
124 ·148·template<class·T,·T·n,·T·k> 
125 149·constexpr·inline·static·auto·binomial·(std::integral_constant<T,·n>,·std:: 
Max diff block lines reached; 116/12971 bytes (0.89%) of diff not shown.
19.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00122.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·fvector.hh·File·Reference</title>8 <title>dune-common:·exceptions.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 83 lines modifiedOffset 65, 80 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
 72 <a·href="#define-members">Macros</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>73 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">fvector.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">exceptions.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->75 </div><!--header-->
75 <div·class="contents">76 <div·class="contents">
  
76 <p>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.··77 <p>A·few·common·exception·classes.··
77 <a·href="#details">More...</a></p>78 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>
79 <code>#include·&lt;cmath&gt;</code><br·/> 
80 <code>#include·&lt;cstddef&gt;</code><br·/> 
81 <code>#include·&lt;cstdlib&gt;</code><br·/> 
82 <code>#include·&lt;complex&gt;</code><br·/> 
83 <code>#include·&lt;cstring&gt;</code><br·/>80 <code>#include·&lt;string&gt;</code><br·/>
84 <code>#include·&lt;utility&gt;</code><br·/> 
85 <code>#include·&lt;initializer_list&gt;</code><br·/> 
86 <code>#include·&lt;algorithm&gt;</code><br·/>81 <code>#include·&lt;sstream&gt;</code><br·/>
87 <code>#include·&quot;<a·class="el"·href="a00224_source.html">typetraits.hh</a>&quot;</code><br·/> 
88 <code>#include·&quot;<a·class="el"·href="a00185_source.html">exceptions.hh</a>&quot;</code><br·/> 
89 <code>#include·&quot;<a·class="el"·href="a00086_source.html">ftraits.hh</a>&quot;</code><br·/> 
90 <code>#include·&quot;<a·class="el"·href="a00128_source.html">densevector.hh</a>&quot;</code><br·/> 
91 <code>#include·&quot;<a·class="el"·href="a00104_source.html">boundschecking.hh</a>&quot;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
94 </div>82 </div>
95 <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00122_source.html">Go·to·the·source·code·of·this·file.</a></p>
96 <table·class="memberdecls">84 <table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>86 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01776.html">Dune::DenseMatVecTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&gt;</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01548.html">Dune::Exception</a></td></tr>
 88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·Dune-Exceptions.··<a·href="a01548.html#details">More...</a><br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01780.html">Dune::FieldTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&gt;</a></td></tr>90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01552.html">Dune::ExceptionHook</a></td></tr>
 91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·to·add·a·hook·to·the·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>.··<a·href="a01552.html#details">More...</a><br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01784.html">Dune::IsFieldVectorSizeCorrect&lt;·C,·SIZE·&gt;</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01556.html">Dune::IOError</a></td></tr>
104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible.··<a·href="a01784.html#details">More...</a><br·/></td></tr>94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·class·for·I/O·errors.··<a·href="a01556.html#details">More...</a><br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01788.html">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE·&gt;,·SIZE·&gt;</a></td></tr>96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01560.html">Dune::MathError</a></td></tr>
 97 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·class·for·mathematical·errors.··<a·href="a01560.html#details">More...</a><br·/></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01792.html">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE1·&gt;,·SIZE·&gt;</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01564.html">Dune::RangeError</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·class·for·range·errors.··<a·href="a01564.html#details">More...</a><br·/></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01568.html">Dune::NotImplemented</a></td></tr>
 103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·for·dummy·implementations.··<a·href="a01568.html#details">More...</a><br·/></td></tr>
 104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01572.html">Dune::SystemError</a></td></tr>
 106 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·class·for·OS·errors.··<a·href="a01572.html#details">More...</a><br·/></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01576.html">Dune::OutOfMemoryError</a></td></tr>
 109 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·if·memory·allocation·fails.··<a·href="a01576.html#details">More...</a><br·/></td></tr>
 110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01580.html">Dune::InvalidStateException</a></td></tr>
 112 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.··<a·href="a01580.html#details">More...</a><br·/></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01412.html">Dune::FieldVector&lt;·K,·SIZE·&gt;</a></td></tr>114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01584.html">Dune::ParallelError</a></td></tr>
111 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">vector·space·out·of·a·tensor·product·of·fields.··<a·href="a01412.html#details">More...</a><br·/></td></tr>115 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.··<a·href="a01584.html#details">More...</a><br·/></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table><table·class="memberdecls">117 </table><table·class="memberdecls">
114 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>118 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
115 Namespaces</h2></td></tr>119 Namespaces</h2></td></tr>
116 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>120 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
117 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>121 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:a00438"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html">Dune::MathOverloads</a></td></tr> 
120 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr>123 </table><table·class="memberdecls">
 124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 125 Macros</h2></td></tr>
 126 <tr·class="memitem:gad7fce127d6eaabe773adbc409514f21e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(E,··m)</td></tr>
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>127 <tr·class="separator:gad7fce127d6eaabe773adbc409514f21e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 </table><table·class="memberdecls">128 </table><table·class="memberdecls">
123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>129 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
124 Functions</h2></td></tr>130 Functions</h2></td></tr>
 131 <tr·class="memitem:gad42c9f04f7871a06e6149e1a11185404"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gad42c9f04f7871a06e6149e1a11185404">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;stream,·const·Exception·&amp;e)</td></tr>
125 <tr·class="memitem:ab33f61f8962056b6619b0d5b7edceefd"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE&gt;·</td></tr> 
126 <tr·class="memitem:ab33f61f8962056b6619b0d5b7edceefd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#ab33f61f8962056b6619b0d5b7edceefd">Dune::MathOverloads::isFinite</a>·(const·FieldVector&lt;·K,·SIZE·&gt;·&amp;b,·PriorityTag&lt;·2·&gt;,·ADLTag)</td></tr> 
127 <tr·class="separator:ab33f61f8962056b6619b0d5b7edceefd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:a5312822f8a17821bbd4fdd8671528d88"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE&gt;·</td></tr> 
129 <tr·class="memitem:a5312822f8a17821bbd4fdd8671528d88"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a5312822f8a17821bbd4fdd8671528d88">Dune::MathOverloads::isInf</a>·(const·FieldVector&lt;·K,·SIZE·&gt;·&amp;b,·PriorityTag&lt;·2·&gt;,·ADLTag)</td></tr> 
130 <tr·class="separator:a5312822f8a17821bbd4fdd8671528d88"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:a4daa32207a54271c8d4496a7fe7ef610"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·SIZE,·typename··=·std::enable_if_t&lt;HasNaN&lt;K&gt;::value&gt;&gt;·</td></tr> 
132 <tr·class="memitem:a4daa32207a54271c8d4496a7fe7ef610"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a4daa32207a54271c8d4496a7fe7ef610">Dune::MathOverloads::isNaN</a>·(const·FieldVector&lt;·K,·SIZE·&gt;·&amp;b,·PriorityTag&lt;·2·&gt;,·ADLTag)</td></tr> 
133 <tr·class="separator:a4daa32207a54271c8d4496a7fe7ef610"><td·class="memSeparator"·colspan="2">&#160;</td></tr>132 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
134 <tr·class="memitem:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·typename··=·std::enable_if_t&lt;HasNaN&lt;K&gt;::value&gt;&gt;·</td></tr> 
135 <tr·class="memitem:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00438.html#abe1edb9dee17e22e019dcc99fda44e7f">Dune::MathOverloads::isUnordered</a>·(const·FieldVector&lt;·K,·1·&gt;·&amp;b,·const·FieldVector&lt;·K,·1·&gt;·&amp;c,·PriorityTag&lt;·2·&gt;,·ADLTag)</td></tr> 
136 <tr·class="separator:abe1edb9dee17e22e019dcc99fda44e7f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 </table>133 </table>
138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>134 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
139 <div·class="textblock"><p·>Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·</p>135 <div·class="textblock"><p·>A·few·common·exception·classes.·</p>
 136 <p·>This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to·throw·them·in·a·simple·manner·</p>
140 </div></div><!--·contents·-->137 </div></div><!--·contents·-->
141 <!--·start·footer·part·-->138 <!--·start·footer·part·-->
142 <hr·class="footer"/><address·class="footer"><small>139 <hr·class="footer"/><address·class="footer"><small>
143 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4140 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
144 </small></address>141 </small></address>
145 </body>142 </body>
146 </html>143 </html>
3.76 KB
html2text {}
    
Offset 4, 75 lines modifiedOffset 4, 65 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Classes·|·Namespaces·|·Macros·|·Functions
8 fvector.hh·File·Reference8 exceptions.hh·File·Reference
 9 Common·»·Exception_handling
 10 A·few·common·exception·classes.·More...
 11 #include·<exception>
9 Common·»·Dense_Matrix_and_Vector_Template_Library 
10 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a 
11 compile-time·given·size.·More... 
12 #include·<array> 
13 #include·<cmath> 
14 #include·<cstddef> 
15 #include·<cstdlib> 
16 #include·<complex> 
17 #include·<cstring>12 #include·<string>
 13 #include·<sstream>
18 #include·<utility> 
19 #include·<initializer_list> 
20 #include·<algorithm> 
21 #include·"typetraits.hh" 
22 #include·"exceptions.hh" 
23 #include·"ftraits.hh" 
24 #include·"densevector.hh" 
25 #include·"boundschecking.hh" 
26 #include·<dune/common/math.hh> 
27 #include·<dune/common/promotiontraits.hh> 
28 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
29 ·Classes15 ·Classes
30 struct· Dune::DenseMatVecTraits<_FieldVector<_K,_SIZE_>_>16 ·class· Dune::Exception
 17  ·······Base·class·for·Dune-Exceptions.·More...
31  18  
32 struct· Dune::FieldTraits<_FieldVector<_K,_SIZE_>_>19 struct· Dune::ExceptionHook
 20  ·······Base·class·to·add·a·hook·to·the·Dune::Exception.·More...
33  21  
 22 ·class· Dune::IOError
 23  ·······Default·exception·class·for·I/O·errors.·More...
34 struct· Dune::IsFieldVectorSizeCorrect<_C,_SIZE_> 
35  ·······TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible. 
36 ·········More... 
37  24  
38 struct· Dune::IsFieldVectorSizeCorrect<_FieldVector<_T,_SIZE_>,_SIZE_>25 ·class· Dune::MathError
 26  ·······Default·exception·class·for·mathematical·errors.·More...
39  27  
40 struct· Dune::IsFieldVectorSizeCorrect<_FieldVector<_T,_SIZE1_>,_SIZE_>28 ·class· Dune::RangeError
 29  ·······Default·exception·class·for·range·errors.·More...
41  30  
42 ·class· Dune::FieldVector<_K,_SIZE_> 
43  ·······vector·space·out·of·a·tensor·product·of·fields.·More...31 ·class· Dune::NotImplemented
 32  ·······Default·exception·for·dummy·implementations.·More...
 33  
 34 ·class· Dune::SystemError
 35  ·······Default·exception·class·for·OS·errors.·More...
 36  
 37 ·class· Dune::OutOfMemoryError
 38  ·······Default·exception·if·memory·allocation·fails.·More...
 39  
 40 ·class· Dune::InvalidStateException
 41  ·······Default·exception·if·a·function·was·called·while·the·object·is·not·in
 42 ·········a·valid·state·for·that·function.·More...
 43  
 44 ·class· Dune::ParallelError
 45  ·······Default·exception·if·an·error·in·the·parallel·communication·of·the
 46 ·········program·occurred.·More...
44  47  
45 ·Namespaces48 ·Namespaces
46 namespace· Dune49 namespace· Dune
47  ··········Dune·namespace.50  ··········Dune·namespace.
48  51  
49 namespace· Dune::MathOverloads 
50  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics52 ·Macros
 53 #define DUNE_THROW(E,·m)
51  54  
52 ·Functions55 ·Functions
 56 std::ostream·& Dune::operator<<·(std::ostream·&stream,·const·Exception·&e)
53 template<class·K·,·int·SIZE> 
54 auto Dune::MathOverloads::isFinite·(const·FieldVector<·K,·SIZE·>·&b, 
55 ······PriorityTag<·2·>,·ADLTag) 
56   
57 template<class·K·,·int·SIZE> 
58 bool Dune::MathOverloads::isInf·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag< 
59 ······2·>,·ADLTag) 
60   
61 template<class·K·,·int·SIZE,·typename·=·std::enable_if_t<HasNaN<K>::value>> 
62 bool Dune::MathOverloads::isNaN·(const·FieldVector<·K,·SIZE·>·&b,·PriorityTag< 
63 ······2·>,·ADLTag) 
64   
65 template<class·K·,·typename·=·std::enable_if_t<HasNaN<K>::value>> 
66 bool Dune::MathOverloads::isUnordered·(const·FieldVector<·K,·1·>·&b,·const 
67 ······FieldVector<·K,·1·>·&c,·PriorityTag<·2·>,·ADLTag) 
68  57  
69 *****·Detailed·Description·*****58 *****·Detailed·Description·*****
70 Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a 
71 compile-time·given·size.59 A·few·common·exception·classes.
 60 This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to
 61 throw·them·in·a·simple·manner
  
72 ===============================================================================62 ===============================================================================
73 ·····Generated·by [doxygen]·1.9.463 ·····Generated·by [doxygen]·1.9.4
154 KB
./usr/share/doc/libdune-common-doc/doxygen/a00122_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·fvector.hh·Source·File</title>8 <title>dune-common:·exceptions.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 600 lines modifiedOffset 62, 111 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">fvector.hh</div></div>68 ··<div·class="headertitle"><div·class="title">exceptions.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00122.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00122.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FVECTOR_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FVECTOR_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_EXCEPTIONS_HH</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_EXCEPTIONS_HH</span></div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00224.html">typetraits.hh</a>&quot;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00185.html">exceptions.hh</a>&quot;</span></div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00086.html">ftraits.hh</a>&quot;</span></div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00128.html">densevector.hh</a>&quot;</span></div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00104.html">boundschecking.hh</a>&quot;</span></div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00119.html">dune/common/math.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00077.html">dune/common/promotiontraits.hh</a>&gt;</span></div> 
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;·<span·class="keyword">class·</span>FieldVector;</div> 
101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;</div> 
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01776.html">···41</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>&lt;·<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;K,SIZE&gt;·&gt;</div> 
103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div> 
104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01776.html#aed7a78fa3310284a3b6b4a581d871648">···43</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01412.html">FieldVector&lt;K,SIZE&gt;</a>·<a·class="code·hl_typedef"·href="a01776.html#aed7a78fa3310284a3b6b4a581d871648">derived_type</a>;</div> 
105 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01776.html#aabd9770f9fa1881a7f26c4d38ca3f1a9">···44</a></span>····<span·class="keyword">typedef</span>·std::array&lt;K,SIZE&gt;·<a·class="code·hl_typedef"·href="a01776.html#aabd9770f9fa1881a7f26c4d38ca3f1a9">container_type</a>;</div> 
106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01776.html#a142da5837be443b84b96047b3613d1fe">···45</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a01776.html#a142da5837be443b84b96047b3613d1fe">value_type</a>;</div> 
107 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01776.html#abbf797e44c07558c9b24918b6d3c9279">···46</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·container_type::size_type·<a·class="code·hl_typedef"·href="a01776.html#abbf797e44c07558c9b24918b6d3c9279">size_type</a>;</div> 
108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··};</div> 
109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="comment">/*·forward·declarations·*/</span></div>
110 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;</div> 
111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a01780.html">···50</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;K,SIZE&gt;·&gt;</div> 
112 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> 
113 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01780.html#ade3402a89a4d8cdd598ca0a5131d7a83">···52</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">FieldTraits&lt;K&gt;::field_type</a>·<a·class="code·hl_typedef"·href="a01780.html#ade3402a89a4d8cdd598ca0a5131d7a83">field_type</a>;</div> 
114 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01780.html#a45febe4d04b7969068ab107fee6fb667">···53</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·<a·class="code·hl_typedef"·href="a01780.html#a45febe4d04b7969068ab107fee6fb667">real_type</a>;</div> 
115 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>86 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">class·</span>Exception;</div>
116 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
117 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C,·<span·class="keywordtype">int</span>·SIZE&gt;</div> 
118 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01784.html">···65</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01784.html">IsFieldVectorSizeCorrect</a></div> 
119 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> 
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">···71</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">value</a>·=·<span·class="keyword">true</span>;</div> 
121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>87 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">struct·</span>ExceptionHook;</div>
122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keywordtype">int</span>·SIZE&gt;</div> 
124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01788.html">···75</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01784.html">IsFieldVectorSizeCorrect</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;T,SIZE&gt;,SIZE&gt;</div> 
125 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>88 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
126 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01788.html#a3e031c5ca425e889a5f12753d77954a2">···77</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">value</a>·=·<span·class="keyword">true</span>;</div> 
127 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··};</div> 
128 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keywordtype">int</span>·SIZE,·<span·class="keywordtype">int</span>·SIZE1&gt;</div> 
130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01792.html">···81</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01784.html">IsFieldVectorSizeCorrect</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;T,SIZE1&gt;,SIZE&gt;</div> 
131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div> 
132 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01792.html#a44206952cd90ed89888dde55039771f7">···83</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">value</a>·=·<span·class="keyword">false</span>;</div> 
133 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··};</div> 
134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
136 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·SIZE·&gt;</div> 
137 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01412.html">···93</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01412.html">FieldVector</a>·:</div>89 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01548.html">···94</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01548.html">Exception</a></div>
138 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector</a>&lt;·FieldVector&lt;K,SIZE&gt;·&gt;</div>90 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··:·<span·class="keyword">public</span>·std::exception</div>
139 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div>91 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{</div>
140 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····std::array&lt;K,SIZE&gt;·_data;</div> 
141 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector&lt;·FieldVector&lt;K,SIZE&gt;</a>·&gt;·<a·class="code·hl_class"·href="a01424.html">Base</a>;</div> 
142 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">public</span>:</div>92 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">public</span>:</div>
143 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01412.html#a5f6110ea7b144b46ea843443a4b14e38">··100</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="c[·...·truncated·by·diffoscope;·len:·90,·SHA:·5f16938294bf32c5f77911476816da8e373ced04e844b6035d6d6dcccfc7afaf·...·];</div>93 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<a·class="code·hl_function"·href="a00412.html#ga01c6ef86d8728e10ff8b61fdca89b34f">Exception</a>·();</div>
 94 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00412.html#ga63defda88a6437cc9a3dbda91346177f">message</a>(<span·class="keyword">const</span>·std::string·&amp;msg);·</div>
 95 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·<a·class="code·hl_function"·href="a00412.html#gad513d0dc7eb0ba16e634b4048409c417">what</a>()·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;·</div>
 96 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00412.html#ga297201b53f24b1d4758c1e8fd94970bd">registerHook</a>·(<a·class="code·hl_struct"·href="a01552.html">ExceptionHook</a>·*·hook);·</div>
 97 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·();··················</div>
 98 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">private</span>:</div>
 99 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····std::string·_message;</div>
 100 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">static</span>·<a·class="code·hl_struct"·href="a01552.html">ExceptionHook</a>·*·_hook;</div>
144 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>101 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··};</div>
145 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01412.html#a2c7b51d2f5088bed3f04f825b7981338">··102</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">Base::size_type</a>·<a·class="code·hl_typedef"·href="a01412.html#a2c7b51d2f5088bed3f04f825b7981338">size_type</a>;</div> 
146 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01412.html#aca57e1c44a7bb33047fb98a01b3a6c40">··103</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a007463aa44631abffe62eb8c868ae95d">Base::value_type</a>·<a·class="code·hl_typedef"·href="a01412.html#aca57e1c44a7bb33047fb98a01b3a6c40">value_type</a>;</div> 
147 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
148 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01412.html#ac355ea990d87c53086303afb7542baf7">··106</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a01412.html#aca57e1c44a7bb33047fb98a01b3a6c40">value_type</a>&amp;·<a·class="code·hl_typedef"·href="a01412.html#ac355ea990d87c53086303afb7542baf7">reference</a>;</div> 
149 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>102 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 103 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno"><a·class="line"·href="a01552.html">··173</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01552.html">ExceptionHook</a></div>
150 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01412.html#a1c98c91c59736499b244656d7c233252">··109</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01412.html#aca57e1c44a7bb33047fb98a01b3a6c40">value_type</a>&amp;·<a·class="code·hl_typedef"·href="a01412.html#a1c98c91c59736499b244656d7c233252">const_reference</a>;</div> 
151 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> 
152 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a01412.html#a1867986f24820da1f68ed4a32be8d8d0">··112</a></span>····<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a01412.html#a1867986f24820da1f68ed4a32be8d8d0">FieldVector</a>()</div> 
153 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······:·_data{{}}</div> 
154 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····{}</div> 
155 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
156 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01412.html#a427b89a66ec3a1384a83121f961efcd8">··117</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01412.html#a427b89a66ec3a1384a83121f961efcd8">FieldVector</a>·(<span·class="keyword">const</span>·K&amp;·t)</div> 
157 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····{</div> 
158 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······std::fill(_data.begin(),_data.end(),t);</div> 
159 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····}</div> 
160 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> 
Max diff block lines reached; 86863/131042 bytes (66.29%) of diff not shown.
25.9 KB
html2text {}
    
Offset 4, 769 lines modifiedOffset 4, 153 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 fvector.hh7 exceptions.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5
14 ·5#ifndef·DUNE_FVECTOR_HH15 ·6#ifndef·DUNE_EXCEPTIONS_HH
15 ·6#define·DUNE_FVECTOR_HH16 ·7#define·DUNE_EXCEPTIONS_HH
 17 ·8
16 ·7 
17 ·8#include·<array> 
18 ·9#include·<cmath>18 ·9#include·<exception>
19 ·10#include·<cstddef> 
20 ·11#include·<cstdlib> 
21 ·12#include·<complex> 
22 ·13#include·<cstring>19 ·10#include·<string>
 20 ·11#include·<sstream>
 21 ·12
23 ·14#include·<utility> 
24 ·15#include·<initializer_list> 
25 ·16#include·<algorithm> 
26 ·17 
27 ·18#include·"typetraits.hh" 
28 ·19#include·"exceptions.hh" 
29 ·20 
30 ·21#include·"ftraits.hh" 
31 ·22#include·"densevector.hh" 
32 ·23#include·"boundschecking.hh" 
33 ·24 
34 ·25#include·<dune/common/math.hh> 
35 ·26#include·<dune/common/promotiontraits.hh> 
36 ·27 
37 ·28namespace·Dune·{22 ·13namespace·Dune·{
 23 ·14
 24 ·73·/*·forward·declarations·*/
 25 ·74·class·Exception;
 26 ·75·struct·ExceptionHook;
 27 ·76
 28 94·class·Exception
 29 ·95·:·public·std::exception
38 ·29 
39 ·39·template<·class·K,·int·SIZE·>·class·FieldVector; 
40 ·40·template<·class·K,·int·SIZE·> 
41 41·struct·DenseMatVecTraits<·FieldVector<K,SIZE>·> 
42 ·42·{ 
43 43·typedef·FieldVector<K,SIZE>·derived_type; 
44 44·typedef·std::array<K,SIZE>·container_type; 
45 45·typedef·K·value_type; 
46 46·typedef·typename·container_type::size_type·size_type; 
47 ·47·}; 
48 ·48 
49 ·49·template<·class·K,·int·SIZE·> 
50 50·struct·FieldTraits<·FieldVector<K,SIZE>·> 
51 ·51·{ 
52 52·typedef·typename·FieldTraits<K>::field_type·field_type; 
53 53·typedef·typename·FieldTraits<K>::real_type·real_type; 
54 ·54·}; 
55 ·55 
56 ·64·template<typename·C,·int·SIZE> 
57 65·struct·IsFieldVectorSizeCorrect 
58 ·66·{30 ·96·{
59 71·constexpr·static·bool·value·=·true; 
60 ·72·}; 
61 ·73 
62 ·74·template<typename·T,·int·SIZE> 
63 75·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE>,SIZE> 
64 ·76·{ 
65 77·constexpr·static·bool·value·=·true; 
66 ·78·}; 
67 ·79 
68 ·80·template<typename·T,·int·SIZE,·int·SIZE1> 
69 81·struct·IsFieldVectorSizeCorrect<FieldVector<T,SIZE1>,SIZE> 
70 ·82·{ 
71 83·constexpr·static·bool·value·=·false; 
72 ·84·}; 
73 ·85 
74 ·86 
75 ·92·template<·class·K,·int·SIZE·> 
76 93·class·FieldVector·: 
77 ·94·public·DenseVector<·FieldVector<K,SIZE>·> 
78 ·95·{ 
79 ·96·std::array<K,SIZE>·_data; 
80 ·97·typedef·DenseVector<_FieldVector<K,SIZE>·>·Base; 
81 ·98·public:31 ·97·public:
82 100·constexpr·static·int·dimension·=·SIZE; 
83 ·101 
84 102·typedef·typename·Base::size_type·size_type; 
85 103·typedef·typename·Base::value_type·value_type; 
86 ·104 
87 106·typedef·value_type&·reference;32 ·98·Exception·();
 33 ·99·void·message(const·std::string·&msg);
 34 ·100·const·char*·what()·const·noexcept·override;
 35 ·101·static·void·registerHook·(ExceptionHook·*·hook);
 36 ·102·static·void·clearHook·();
 37 ·103·private:
 38 ·104·std::string·_message;
 39 ·105·static·ExceptionHook·*·_hook;
 40 ·106·};
88 ·10741 ·107
 42 173·struct·ExceptionHook
89 109·typedef·const·value_type&·const_reference; 
90 ·110 
91 112·constexpr·FieldVector() 
92 ·113·:·_data{{}} 
93 ·114·{} 
94 ·115 
95 117·explicit·FieldVector·(const·K&·t) 
96 ·118·{ 
97 ·119·std::fill(_data.begin(),_data.end(),t); 
98 ·120·} 
99 ·121 
100 ·122#if·__GNUC__·==·5·&&·!defined(__clang__) 
101 ·123·//·`...·=·default;`·causes·an·internal·compiler·error·on·GCC·5.4·(Ubuntu 
102 16.04) 
103 ·125·FieldVector(const·FieldVector&·x)·:·_data(x._data)·{} 
104 ·126#else 
105 128·FieldVector·(const·FieldVector&)·=·default; 
106 ·129#endif 
Max diff block lines reached; 19796/26468 bytes (74.79%) of diff not shown.
13.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00125.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·path.cc·File·Reference</title>8 <title>dune-common:·stdthread.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 58 lines modifiedOffset 64, 63 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#define-members">Macros</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">path.cc·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00400.html">Filesystem·Paths</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">stdthread.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
 76 <p><a·href="a00125_source.html">Go·to·the·source·code·of·this·file.</a></p>
75 <p>Utilities·for·handling·filesystem·paths.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/> 
78 <code>#include·&lt;iterator&gt;</code><br·/> 
79 <code>#include·&lt;string&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/stringutility.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00194_source.html">dune/common/path.hh</a>&gt;</code><br·/> 
83 </div><table·class="memberdecls">77 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
85 Namespaces</h2></td></tr>79 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>80 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>81 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">83 </table><table·class="memberdecls">
 84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 85 Macros</h2></td></tr>
 86 <tr·class="memitem:acbf1020c1747ea8c3dd1031d2d608557"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html#acbf1020c1747ea8c3dd1031d2d608557">DUNE_ASSERT_CALL_ONCE</a>()&#160;&#160;&#160;··::Dune::assertCallOnce(__FILE__,·__LINE__,·__func__)</td></tr>
 87 <tr·class="memdesc:acbf1020c1747ea8c3dd1031d2d608557"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.··<a·href="a00125.html#acbf1020c1747ea8c3dd1031d2d608557">More...</a><br·/></td></tr>
 88 <tr·class="separator:acbf1020c1747ea8c3dd1031d2d608557"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
91 Functions</h2></td></tr>91 Functions</h2></td></tr>
92 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">Dune::concatPaths</a>·(const·std::string·&amp;base,·const·std::string·&amp;p)</td></tr> 
93 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<a·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">More...</a><br·/></td></tr>92 <tr·class="memitem:aa76832a917330622cdf531c2e6375f4c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">Dune::doAssertCallOnce</a>·(const·char·*fi[·...·truncated·by·diffoscope;·len:·35,·SHA:·ea5c55cd3c18dbff3c00619787d6d11794f62e9dcbc786ca6749cf862e2127b8·...·]</td></tr>
 93 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:a3b55a8ff91fc039845da40a86486a007"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">Dune::assertCallOnce</a>·(const·char·*file=nullptr,·int·line=-1,·const·char·*function=nullptr)</td></tr>
 95 <tr·class="memdesc:a3b55a8ff91fc039845da40a86486a007"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.··<a·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">More...</a><br·/></td></tr>
94 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:a3b55a8ff91fc039845da40a86486a007"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">Dune::processPath</a>·(const·std::string·&amp;p)</td></tr> 
96 <tr·class="memdesc:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">sanitize·a·path·for·further·processing··<a·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">More...</a><br·/></td></tr> 
97 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">Dune::pathIndicatesDirectory</a>·(const·std::string·&amp;p)</td></tr> 
99 <tr·class="memdesc:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·the·given·path·indicates·that·it·is·a·directory··<a·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">More...</a><br·/></td></tr> 
100 <tr·class="separator:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">Dune::prettyPath</a>·(const·std::string·&amp;p,·bool·isDirectory)</td></tr> 
102 <tr·class="memdesc:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<a·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">More...</a><br·/></td></tr> 
103 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8">Dune::prettyPath</a>·(const·std::string·&amp;p)</td></tr> 
105 <tr·class="memdesc:gae07624c824232706454d5d6d1d1cb5c8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<a·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8">More...</a><br·/></td></tr> 
106 <tr·class="separator:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">Dune::relativePath</a>·(const·std::string·&amp;newbase,·const·std::string·&amp;p)</td></tr> 
108 <tr·class="memdesc:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·a·relative·path·between·two·paths··<a·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">More...</a><br·/></td></tr> 
109 <tr·class="separator:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 </table>97 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
112 <div·class="textblock"><p·>Utilities·for·handling·filesystem·paths.·</p> 
113 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·<a·href="#"·onclick="location.href='mai'+'lto:'+'jor'+'ri'+'t@j'+'or'+'rit'+'.d'+'e';·return·false;">jorri<span·class="obfuscator">.nosp@m.</span>t@jo<span·class="obfuscator">.nosp@m.</span>rrit.<span·[·...·truncated·by·diffoscope;·len:·50,·SHA:·89981c7e8c8ffcd07890f5bd0ae58580d1ec7362af82a2c65db96352ee4a9720·...·]>98 <h2·class="groupheader">Macro·Definition·Documentation</h2>
 99 <a·id="acbf1020c1747ea8c3dd1031d2d608557"·name="acbf1020c1747ea8c3dd1031d2d608557"></a>
 100 <h2·class="memtitle"><span·class="permalink"><a·href="#acbf1020c1747ea8c3dd1031d2d608557">&#9670;&nbsp;</a></span>DUNE_ASSERT_CALL_ONCE</h2>
  
 101 <div·class="memitem">
 102 <div·class="memproto">
 103 ······<table·class="memname">
 104 ········<tr>
 105 ··········<td·class="memname">#define·DUNE_ASSERT_CALL_ONCE</td>
 106 ··········<td>(</td>
 107 ··········<td·class="paramname"></td><td>)</td>
 108 ··········<td>&#160;&#160;&#160;··::Dune::assertCallOnce(__FILE__,·__LINE__,·__func__)</td>
 109 ········</tr>
 110 ······</table>
 111 </div><div·class="memdoc">
  
 112 <p>Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.·</p>
 113 <p·>This·calls·<a·class="el"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007"·title="Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.">assertCallOnce()</a>·and·automatically·provides·information·about·the·caller·in·the·error·message.·</p>
  
 114 </div>
 115 </div>
114 </div></div><!--·contents·-->116 </div><!--·contents·-->
115 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>120 </small></address>
119 </body>121 </body>
120 </html>122 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
2.44 KB
html2text {}
    
Offset 4, 49 lines modifiedOffset 4, 38 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions7 Namespaces·|·Macros·|·Functions
 8 stdthread.hh·File·Reference
 9 Go_to_the_source_code_of_this_file.
8 path.cc·File·Reference 
9 Common·»·Utilities·»·Filesystem_Paths 
10 Utilities·for·handling·filesystem·paths.·More... 
11 #include·<algorithm> 
12 #include·<iterator> 
13 #include·<string> 
14 #include·<dune/common/exceptions.hh> 
15 #include·<dune/common/stringutility.hh> 
16 #include·<dune/common/path.hh> 
17 ·Namespaces10 ·Namespaces
18 namespace· Dune11 namespace· Dune
19  ··········Dune·namespace.12  ··········Dune·namespace.
20  13  
 14 ·Macros
 15 #define DUNE_ASSERT_CALL_ONCE()   ·::Dune::assertCallOnce(__FILE__,·__LINE__,
 16 ·········__func__)
 17  ·······Make·sure·call_once()·works·and·provide·a·helpful·error·message
 18 ·········otherwise.·More...
21 ·Functions 
22 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p) 
23  ···········concatenate·two·paths·More... 
24   
25 std::string Dune::processPath·(const·std::string·&p) 
26  ···········sanitize·a·path·for·further·processing·More... 
27   
28 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p) 
29  ···········check·whether·the·given·path·indicates·that·it·is·a·directory 
30 ·············More... 
31  19  
 20 ·Functions
 21 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function)
32 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory) 
33  ···········pretty·print·path·More... 
34   
35 std::string Dune::prettyPath·(const·std::string·&p) 
36  ···········pretty·print·path·More... 
37   
38 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string 
39 ·············&p) 
40  ···········compute·a·relative·path·between·two·paths·More... 
41  22  
42 *****·Detailed·Description·***** 
43 Utilities·for·handling·filesystem·paths. 
44 ··Author 
45 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de23 void Dune::assertCallOnce·(const·char·*file=nullptr,·int·line=-1,·const·char
 24 ······*function=nullptr)
 25  ····Make·sure·call_once()·works·and·provide·a·helpful·error·message
 26 ······otherwise.·More...
 27  
 28 *****·Macro·Definition·Documentation·*****
 29 *****·◆ DUNE_ASSERT_CALL_ONCE·*****
 30 #define···············(··)·   ·::Dune::assertCallOnce(__FILE__,·__LINE__,
 31 DUNE_ASSERT_CALL_ONCE······__func__)
 32 Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.
 33 This·calls·assertCallOnce()·and·automatically·provides·information·about·the
 34 caller·in·the·error·message.
  
46 ===============================================================================35 ===============================================================================
47 ·····Generated·by [doxygen]·1.9.436 ·····Generated·by [doxygen]·1.9.4
7.18 KB
./usr/share/doc/libdune-common-doc/doxygen/a00128.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·densevector.hh·File·Reference</title>8 <title>dune-common:·matrixconcepts.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 55 lines modifiedOffset 63, 30 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
72 ··<div·class="headertitle"><div·class="title">densevector.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>71 ··<div·class="headertitle"><div·class="title">matrixconcepts.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
78 <code>#include·&lt;limits&gt;</code><br·/> 
79 <code>#include·&lt;type_traits&gt;</code><br·/>75 <code>#include·&lt;type_traits&gt;</code><br·/>
80 <code>#include·&quot;<a·class="el"·href="a00365_source.html">genericiterator.hh</a>&quot;</code><br·/> 
81 <code>#include·&quot;<a·class="el"·href="a00086_source.html">ftraits.hh</a>&quot;</code><br·/> 
82 <code>#include·&quot;<a·class="el"·href="a00254_source.html">matvectraits.hh</a>&quot;</code><br·/>76 <code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
83 <code>#include·&quot;<a·class="el"·href="a00077_source.html">promotiontraits.hh</a>&quot;</code><br·/> 
84 <code>#include·&quot;<a·class="el"·href="a00290_source.html">dotproduct.hh</a>&quot;</code><br·/> 
85 <code>#include·&quot;<a·class="el"·href="a00104_source.html">boundschecking.hh</a>&quot;</code><br·/> 
86 </div>77 </div>
87 <p><a·href="a00128_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00128_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">79 <table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
90 Classes</h2></td></tr> 
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01428.html">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&gt;</a></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01440.html">Dune::DenseIterator&lt;·C,·T,·R·&gt;</a></td></tr> 
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·iterator·class·for·dense·vector·and·matrix·implementations.··<a·href="a01440.html#details">More...</a><br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01424.html">Dune::DenseVector&lt;·V·&gt;</a></td></tr> 
97 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a02148.html"·title="Communication·interface·between·remote·and·local·indices.">Interface</a>·for·a·class·of·dense·vectors·over·a·given·field.··<a·href="a01424.html#details">More...</a><br·/></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 </table><table·class="memberdecls"> 
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
101 Namespaces</h2></td></tr>81 Namespaces</h2></td></tr>
102 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>82 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
103 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>83 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:a00432"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00432.html">Dune::fvmeta</a></td></tr> 
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 </table>85 </table>
108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
109 <div·class="textblock"><p·>Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·</p> 
110 </div></div><!--·contents·-->86 </div><!--·contents·-->
111 <!--·start·footer·part·-->87 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>88 <hr·class="footer"/><address·class="footer"><small>
113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.489 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
114 </small></address>90 </small></address>
115 </body>91 </body>
116 </html>92 </html>
1.26 KB
html2text {}
    
Offset 4, 43 lines modifiedOffset 4, 20 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces
 8 matrixconcepts.hh·File·Reference
7 Classes·|·Namespaces 
8 densevector.hh·File·Reference 
9 Common·»·Dense_Matrix_and_Vector_Template_Library 
10 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class. 
11 More... 
12 #include·<algorithm> 
13 #include·<limits>9 #include·<utility>
14 #include·<type_traits>10 #include·<type_traits>
 11 #include·<dune/common/std/type_traits.hh>
15 #include·"genericiterator.hh" 
16 #include·"ftraits.hh" 
17 #include·"matvectraits.hh" 
18 #include·"promotiontraits.hh" 
19 #include·"dotproduct.hh" 
20 #include·"boundschecking.hh" 
21 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
22 ·Classes 
23 struct· Dune::FieldTraits<_DenseVector<_V_>_> 
24   
25 ·class· Dune::DenseIterator<_C,_T,_R_> 
26  ·······Generic·iterator·class·for·dense·vector·and·matrix·implementations. 
27 ·········More... 
28   
29 ·class· Dune::DenseVector<_V_> 
30  ·······Interface·for·a·class·of·dense·vectors·over·a·given·field.·More... 
31   
32 ·Namespaces13 ·Namespaces
33 namespace· Dune14 namespace· Dune
34  ··········Dune·namespace.15  ··········Dune·namespace.
35  16  
36 namespace· Dune::fvmeta 
37   
38 *****·Detailed·Description·***** 
39 Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class. 
  
40 ===============================================================================17 ===============================================================================
41 ·····Generated·by [doxygen]·1.9.418 ·····Generated·by [doxygen]·1.9.4
189 KB
./usr/share/doc/libdune-common-doc/doxygen/a00128_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·densevector.hh·Source·File</title>8 <title>dune-common:·matrixconcepts.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 707 lines modifiedOffset 62, 110 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">densevector.hh</div></div>68 ··<div·class="headertitle"><div·class="title">matrixconcepts.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00128.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00128.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DENSEVECTOR_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_MATRIXCONCEPTS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DENSEVECTOR_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_MATRIXCONCEPTS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00152.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00365.html">genericiterator.hh</a>&quot;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00086.html">ftraits.hh</a>&quot;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00254.html">matvectraits.hh</a>&quot;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00077.html">promotiontraits.hh</a>&quot;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00290.html">dotproduct.hh</a>&quot;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00104.html">boundschecking.hh</a>&quot;</span></div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>,·<span·class="keywordtype">int</span>,·<span·class="keywordtype">int</span>&gt;</div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">class·</span>FieldMatrix;</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="comment">//·forward·declaration·of·template</span></div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·V&gt;·<span·class="keyword">class·</span>DenseVector;</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>&gt;</div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">class·</span>DynamicMatrix;</div>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}</div>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·V&gt;</div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01428.html">···25</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01424.html">DenseVector</a>&lt;V&gt;·&gt;</div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01428.html#a6953a4e286d26fdc7b3854b50fcf2f3e">···27</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01740.html">FieldTraits&lt;·typename·DenseMatVecTraits&lt;V&gt;::value_type</a>·&gt;<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">::field_type</a>·<a·class="code·hl_typedef"·href="a01428.html#a6953a4e286d26fdc7b3854b50fcf2f3e">field_type</a>;</div> 
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01428.html#a44da87077b94c3132da34adf380a020c">···28</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01740.html">Field[·...·truncated·by·diffoscope;·len:·257,·SHA:·ddf50957bd2b07a888c3aad323919867310857edf75b78b0457678fbb38deef9·...·]</div>97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span>Dune::Impl·{</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··};</div>99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="comment">//·Some·traits·for·checking·matrix·concepts.·Currently·these·are</span></div>
 101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="comment">//·all·technical·internal·helpers·that·just·serve·different·headers</span></div>
 102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="comment">//·to·do·internal·checks·and·are·thus·collected·here.</span></div>
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a00432.html">···40</a></span>··<span·class="keyword">namespace·</span>fvmeta</div>104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">using·</span>IsMatrixHelper·=·std::void_t&lt;decltype(std::declval&lt;T&gt;().N(),·std::declval&lt;T&gt;().M())&gt;;</div>
 106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">struct·</span>IsMatrix·:·<span·class="keyword">public</span>·<a·class="code·hl_typedef"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">Dune::Std::is_detected</a>&lt;IsMatrixHelper,·T&gt;·{};</div>
 109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="comment">//·Check·if·T·is·a·matrix·by·checking·for·member·functions·N()·and·M().</span></div>
 111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·IsMatrix_v·=·Impl::IsMatrix&lt;T&gt;::value;</div>
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
103 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
104 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·absreal·(<span·class="keyword">const</span>·K&amp;·k)</div>117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span>IsStaticSizeMatrixHelper·=·<a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">std::void_t</a>&lt;<span·class="keyword">decltype</span>(T::rows,·T::cols)&gt;;</div>
105 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{</div>118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
106 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">using·</span>std::abs;</div>119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
107 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">return</span>·abs(k);</div>120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">struct·</span>IsStaticSizeMatrix·:·<span·class="keyword">public</span>·<a·class="code·hl_typedef"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">Dune::Std::is_detected</a>&lt;IsStaticSizeMatrixHelper,·T&gt;·{};</div>
108 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····}</div>121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
109 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·Check·if·T·is·a·statically·sized·matrix·by·checking·for·static·members·rows·and·cols.</span></div>
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·absreal·[·...·truncated·by·diffoscope;·len:·65,·SHA:·2d31febe949190a12761589a10bcd9a689f375d7c9e9a301720dc1fc3cba9c40·...·]</div>124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·IsStaticSizeMatrix_v·=·Impl::IsStaticSizeMatrix&lt;T&gt;::value;</div>
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>125 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">using·</span>std::abs;</div> 
114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keywordflow">return</span>·abs(c.real())·+·abs(c.imag());</div> 
115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>126 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 129 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">class·</span>IsFieldMatrix·:·<span·class="keyword">public</span>·std::false_type·{};</div>
 130 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 131 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·ROWS,·<span·class="keywordtype">int</span>·COLS&gt;</div>
 132 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">class·</span>IsFieldMatrix&lt;<a·class="code·hl_namespace"·href="a00425.html">Dune</a>::FieldMatrix&lt;K,·ROWS,·COLS&gt;&gt;·:·<span·class="keyword">public</span>·std::true_type·{};</div>
116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>133 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 134 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="comment">//·Check·if·T·is·an·instance·of·FieldMatrix</span></div>
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>135 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·abs2·(<s[·...·truncated·by·diffoscope;·len:·42,·SHA:·6256ff51e9b404f17241050bca8ab3e8628808db38f3195f88aed911c530b4c8·...·]</div>136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·IsFieldMatrix_v·=·Impl::IsFieldMatrix&lt;T&gt;::value;</div>
119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····{</div>137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keywordflow">return</span>·k*k;</div>140 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 141 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">class·</span>IsDenseMatrix·:·<span·class="keyword">public</span>·std::false_type·{};</div>
121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>142 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 143 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·ROWS,·<span·class="keywordtype">int</span>·COLS&gt;</div>
 144 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">class·</span>IsDenseMatrix&lt;<a·class="code·hl_namespace"·href="a00425.html">Dune</a>::FieldMatrix&lt;K,·ROWS,·COLS&gt;&gt;·:·<span·class="keyword">public</span>·std::true_type·{};</div>
122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>145 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
123 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>146 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
124 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·abs2·(<s[·...·truncated·by·diffoscope;·len:·62,·SHA:·466d52d8a25947d39d4bb1b9b511fc51935e7735d4196b2253a3a539d3c01c49·...·]</div>147 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">class·</span>IsDenseMatrix&lt;<a·class="code·hl_namespace"·href="a00425.html">Dune</a>::DynamicMatrix&lt;K&gt;&gt;·:·<span·class="keyword">public</span>·std::true_type·{};</div>
125 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{</div>148 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
126 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······<span·class="keywordflow">return</span>·c.real()*c.real()·+·c.imag()*c.imag();</div>149 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="comment">//·Check·if·T·is·a·dense·matrix.·This·is·implemented·by·specialization.</span></div>
 150 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 151 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·IsDenseMatrix_v·=·Impl::IsDenseMatrix&lt;T&gt;::value;</div>
127 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····}</div>152 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
128 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>153 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
129 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····template&lt;class·K,·bool·isInteger·=·std::numeric_limits&lt;K&gt;::is_integer&gt;</div> 
130 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">struct·</span>Sqrt</div> 
131 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····{</div> 
132 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="keyword">static</span>·<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·sqrt·(<span·class="keyword">const</span>·K&amp;·k)</div> 
133 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······{</div> 
134 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>········<span·class="keyword">using·</span>std::sqrt;</div> 
135 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········<span·class="keywordflow">return</span>·sqrt(k);</div> 
Max diff block lines reached; 28707/161926 bytes (17.73%) of diff not shown.
30.7 KB
html2text {}
    
Offset 4, 958 lines modifiedOffset 4, 119 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 densevector.hh7 matrixconcepts.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DENSEVECTOR_HH 
15 ·6#define·DUNE_DENSEVECTOR_HH14 ·5#ifndef·DUNE_COMMON_MATRIXCONCEPTS_HH
 15 ·6#define·DUNE_COMMON_MATRIXCONCEPTS_HH
16 ·716 ·7
17 ·8#include·<algorithm>17 ·8
 18 ·9
18 ·9#include·<limits>19 ·10#include·<utility>
19 ·10#include·<type_traits>20 ·11#include·<type_traits>
 21 ·12
 22 ·13#include·<dune/common/std/type_traits.hh>
 23 ·14
 24 ·15
 25 ·16
 26 ·17namespace·Dune·{
20 ·11 
21 ·12#include·"genericiterator.hh" 
22 ·13#include·"ftraits.hh" 
23 ·14#include·"matvectraits.hh" 
24 ·15#include·"promotiontraits.hh" 
25 ·16#include·"dotproduct.hh" 
26 ·17#include·"boundschecking.hh" 
27 ·1827 ·18
 28 ·19·template<class,·int,·int>
 29 ·20·class·FieldMatrix;
 30 ·21
 31 ·22·template<class>
 32 ·23·class·DynamicMatrix;
 33 ·24
 34 ·25}
 35 ·26
28 ·19namespace·Dune·{36 ·27namespace·Dune::Impl·{
29 ·20 
30 ·21·//·forward·declaration·of·template 
31 ·22·template<typename·V>·class·DenseVector; 
32 ·23 
33 ·24·template<typename·V> 
34 25·struct·FieldTraits<·DenseVector<V>·> 
35 ·26·{ 
36 27·typedef·typename·FieldTraits<_typename_DenseMatVecTraits<V>::value_type·>:: 
37 field_type·field_type; 
38 28·typedef·typename·FieldTraits<_typename_DenseMatVecTraits<V>::value_type·>:: 
39 real_type·real_type; 
40 ·29·}; 
41 ·30 
42 40·namespace·fvmeta 
43 ·41·{37 ·28
 38 ·29
 39 ·30·//·Some·traits·for·checking·matrix·concepts.·Currently·these·are
 40 ·31·//·all·technical·internal·helpers·that·just·serve·different·headers
 41 ·32·//·to·do·internal·checks·and·are·thus·collected·here.
 42 ·33
 43 ·34·template<class·T>
 44 ·35·using·IsMatrixHelper·=·std::void_t<decltype(std::declval<T>().N(),·std::
 45 declval<T>().M())>;
 46 ·36
 47 ·37·template<class·T>
 48 ·38·struct·IsMatrix·:·public·Dune::Std::is_detected<IsMatrixHelper,·T>·{};
 49 ·39
 50 ·40·//·Check·if·T·is·a·matrix·by·checking·for·member·functions·N()·and·M().
 51 ·41·template<class·T>
 52 ·42·constexpr·bool·IsMatrix_v·=·Impl::IsMatrix<T>::value;
 53 ·43
 54 ·44
 55 ·45
44 ·46·template<class·K>56 ·46·template<class·T>
45 ·47·inline·typename·FieldTraits<K>::real_type·absreal·(const·K&·k)57 ·47·using·IsStaticSizeMatrixHelper·=·std::void_t<decltype(T::rows,·T::cols)>;
46 ·48·{58 ·48
47 ·49·using·std::abs; 
48 ·50·return·abs(k);59 ·49·template<class·T>
 60 ·50·struct·IsStaticSizeMatrix·:·public·Dune::Std::
 61 is_detected<IsStaticSizeMatrixHelper,·T>·{};
49 ·51·}62 ·51
50 ·5263 ·52·//·Check·if·T·is·a·statically·sized·matrix·by·checking·for·static·members
 64 rows·and·cols.
51 ·57·template<class·K>65 ·53·template<class·T>
52 ·58·inline·typename·FieldTraits<K>::real_type·absreal·(const·std::complex<K>& 
53 c) 
54 ·59·{ 
55 ·60·using·std::abs; 
56 ·61·return·abs(c.real())·+·abs(c.imag()); 
57 ·62·}66 ·54·constexpr·bool·IsStaticSizeMatrix_v·=·Impl::IsStaticSizeMatrix<T>::value;
 67 ·55
 68 ·56
 69 ·57
 70 ·58·template<class·T>
 71 ·59·class·IsFieldMatrix·:·public·std::false_type·{};
 72 ·60
 73 ·61·template<·class·K,·int·ROWS,·int·COLS>
 74 ·62·class·IsFieldMatrix<Dune::FieldMatrix<K,·ROWS,·COLS>>·:·public·std::
 75 true_type·{};
58 ·6376 ·63
 77 ·64·//·Check·if·T·is·an·instance·of·FieldMatrix
 78 ·65·template<class·T>
 79 ·66·constexpr·bool·IsFieldMatrix_v·=·Impl::IsFieldMatrix<T>::value;
 80 ·67
 81 ·68
 82 ·69
 83 ·70·template<class·T>
 84 ·71·class·IsDenseMatrix·:·public·std::false_type·{};
 85 ·72
 86 ·73·template<class·K,·int·ROWS,·int·COLS>
 87 ·74·class·IsDenseMatrix<Dune::FieldMatrix<K,·ROWS,·COLS>>·:·public·std::
 88 true_type·{};
 89 ·75
59 ·68·template<class·K>90 ·76·template<class·K>
 91 ·77·class·IsDenseMatrix<Dune::DynamicMatrix<K>>·:·public·std::true_type·{};
 92 ·78
 93 ·79·//·Check·if·T·is·a·dense·matrix.·This·is·implemented·by·specialization.
60 ·69·inline·typename·FieldTraits<K>::real_type·abs2·(const·K&·k) 
61 ·70·{ 
62 ·71·return·k*k; 
63 ·72·} 
64 ·73 
Max diff block lines reached; 27255/31408 bytes (86.78%) of diff not shown.
6.71 KB
./usr/share/doc/libdune-common-doc/doxygen/a00131.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·overloadset.hh·File·Reference</title>8 <title>dune-common:·scalarvectorview.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 42 lines modifiedOffset 63, 39 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">scalarvectorview.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">overloadset.hh·File·Reference</div></div> 
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
 74 <p>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.··
 75 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
76 <code>#include·&lt;type_traits&gt;</code><br·/>77 <code>#include·&lt;type_traits&gt;</code><br·/>
 78 <code>#include·&lt;istream&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/densevector.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
77 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/>
78 </div>83 </div>
79 <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00131_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">85 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
82 Namespaces</h2></td></tr>87 Namespaces</h2></td></tr>
83 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
84 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls"> 
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
88 Functions</h2></td></tr> 
89 <tr·class="memitem:gae007ebc02578de3fe994b28e4378fd80"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr> 
90 <tr·class="memitem:gae007ebc02578de3fe994b28e4378fd80"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gae007ebc02578de3fe994b28e4378fd80">Dune::overload</a>·(F·&amp;&amp;...·f)</td></tr> 
91 <tr·class="memdesc:gae007ebc02578de3fe994b28e4378fd80"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·overload·set.··<a·href="a00406.html#gae007ebc02578de3fe994b28e4378fd80">More...</a><br·/></td></tr> 
92 <tr·class="separator:gae007ebc02578de3fe994b28e4378fd80"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr> 
94 <tr·class="memitem:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga85390a9ae268b1ed2be79b8637e8becd">Dune::orderedOverload</a>·(F·&amp;&amp;...·f)</td></tr> 
95 <tr·class="memdesc:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·ordered·overload·set.··<a·href="a00406.html#ga85390a9ae268b1ed2be79b8637e8becd">More...</a><br·/></td></tr> 
96 <tr·class="separator:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 </table>91 </table>
 92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 93 <div·class="textblock"><p·>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·</p>
98 </div><!--·contents·-->94 </div></div><!--·contents·-->
99 <!--·start·footer·part·-->95 <!--·start·footer·part·-->
100 <hr·class="footer"/><address·class="footer"><small>96 <hr·class="footer"/><address·class="footer"><small>
101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.497 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
102 </small></address>98 </small></address>
103 </body>99 </body>
104 </html>100 </html>
1.07 KB
html2text {}
    
Offset 4, 29 lines modifiedOffset 4, 28 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions 
8 overloadset.hh·File·Reference 
9 #include·<utility>7 Namespaces
 8 scalarvectorview.hh·File·Reference
 9 Common·»·Dense_Matrix_and_Vector_Template_Library
 10 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·More...
 11 #include·<cstddef>
10 #include·<type_traits>12 #include·<type_traits>
 13 #include·<istream>
 14 #include·<dune/common/densevector.hh>
 15 #include·<dune/common/fvector.hh>
11 #include·<dune/common/typetraits.hh>16 #include·<dune/common/typetraits.hh>
 17 #include·<dune/common/matvectraits.hh>
12 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
13 ·Namespaces19 ·Namespaces
14 namespace· Dune20 namespace· Dune
15  ··········Dune·namespace.21  ··········Dune·namespace.
16  22  
 23 *****·Detailed·Description·*****
 24 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.
17 ·Functions 
18 template<class...·F> 
19 auto Dune::overload·(F·&&...·f) 
20  ····Create·an·overload·set.·More... 
21   
22 template<class...·F> 
23 auto Dune::orderedOverload·(F·&&...·f) 
24  ····Create·an·ordered·overload·set.·More... 
25   
  
26 ===============================================================================25 ===============================================================================
27 ·····Generated·by [doxygen]·1.9.426 ·····Generated·by [doxygen]·1.9.4
50.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00131_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·overloadset.hh·Source·File</title>8 <title>dune-common:·scalarvectorview.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 135 lines modifiedOffset 62, 194 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">overloadset.hh</div></div>68 ··<div·class="headertitle"><div·class="title">scalarvectorview.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00131.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00131.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_OVERLOADSET_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_OVERLOADSET_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_SCALARVECTORVIEW_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00104.html">dune/common/densevector.hh</a>&gt;</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00290.html">dune/common/matvectraits.hh</a>&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Impl·{</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Impl·{</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·F&gt;</div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">class·</span>OverloadSet</div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····:·<span·class="keyword">public</span>·F...</div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··{</div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
 92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">class·</span>ScalarVectorView·:</div>
 93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">public</span>·DenseVector&lt;ScalarVectorView&lt;K&gt;&gt;</div>
 94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>
 95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····K*·dataP_;</div>
 96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>Base·=·DenseVector&lt;ScalarVectorView&lt;K&gt;&gt;;</div>
 97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>&gt;</div>
 99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span>ScalarVectorView;</div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">public</span>:</div>100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>:</div>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·FF&gt;</div>102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·dimension·=·1;</div>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····OverloadSet(FF&amp;&amp;...·ff)</div>103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>······:·F(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;FF&gt;(ff))...</div>104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">size_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·h[·...·truncated·by·diffoscope;·len:·72,·SHA:·aec873820246ccd23edd310705cb53960ad69c0a7e33b3a802c06ef1cf83fa9f·...·]</div>
 105 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>reference·=·std::decay_t&lt;K&gt;&amp;;</div>
 107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>const_reference·=·<span·class="keyword">const</span>·K&amp;;</div>
 109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//=====·construction</span></div>
 111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">constexpr</span>·ScalarVectorView·()</div>
 113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······:·dataP_(nullptr)</div>
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····{}</div>114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{}</div>
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">using·</span>F::operator()...;</div> 
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··};</div> 
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·end·namespace·Impl</span></div> 
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·F&gt;</div> 
107 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00406.html#gae007ebc02578de3fe994b28e4378fd80">···61</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00406.html#gae007ebc02578de3fe994b28e4378fd80">overload</a>(F&amp;&amp;...·f)</div> 
108 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>{</div> 
109 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">return</span>·Impl::OverloadSet&lt;std::decay_t&lt;F&gt;...&gt;(std::forward&lt;F&gt;(f)...);</div> 
110 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div>115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 116 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····ScalarVectorView·(K*·p)·:</div>
 117 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······dataP_(p)</div>
111 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>118 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····{}</div>
112 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
113 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
114 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">namespace·</span>Impl·{</div> 
115 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>119 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
116 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>F0,·<span·class="keyword">class</span>...·F&gt;</div> 
117 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">class·</span>OrderedOverloadSet:·<span·class="keyword">public</span>·OrderedOverloadSet&lt;F...&gt;,·F0</div>120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····ScalarVectorView·(<span·class="keyword">const</span>·ScalarVectorView·&amp;other)·:</div>
 121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······Base(),</div>
 122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······dataP_(other.dataP_)</div>
118 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{</div>123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····{}</div>
119 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">using·</span>Base·=·OrderedOverloadSet&lt;F...&gt;;</div> 
120 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">public</span>:</div> 
121 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
122 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>FF0,·<span·class="keyword">class</span>...·FF&gt;</div> 
123 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····OrderedOverloadSet(FF0&amp;&amp;·f0,·FF&amp;&amp;...·ff)·:</div>125 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····ScalarVectorView·(ScalarVectorView·&amp;&amp;other)·:</div>
124 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······Base(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;FF&gt;(ff)...),</div> 
125 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······F0(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;FF0&gt;(f0))</div>126 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······Base(),</div>
 127 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······dataP_(·other.dataP_·)</div>
126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div>128 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div>
127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>129 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//·Forward·to·operator()·of·F0·if·it·can·be·called·with·the·given·arguments.</span></div> 
129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...··Args,</div>130 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····ScalarVectorView&amp;·operator=·(<span·class="keyword">const</span>·ScalarVectorView&amp;·other)</div>
130 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········std::enable_if_t&lt;IsCallable&lt;F0(Args&amp;&amp;...)&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div> 
131 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>()(Args&amp;&amp;...·args)</div> 
132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{</div>131 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{</div>
133 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·F0::operator()(std::forward&lt;Args&gt;(args)...);</div> 
134 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div>132 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······assert(dataP_);</div>
 133 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······assert(other.dataP_);</div>
 134 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······*dataP_·=·*(other.dataP_);</div>
 135 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div>
135 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>136 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····}</div>
136 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//·Forward·to·operator()·of·base·class·if·F0·cannot·be·called·with·the·given</span></div> 
137 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//·arguments.·In·this·case·the·base·class·will·successively·try·operator()</span></div> 
138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//·of·all·F...·.</span></div>137 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...··Args,</div>138 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·KK&gt;</div>
 139 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····ScalarVectorView&amp;·operator=·(<span·class="keyword">const</span>·ScalarVectorView&lt;KK&gt;&amp;·other)</div>
Max diff block lines reached; 22458/43627 bytes (51.48%) of diff not shown.
8.1 KB
html2text {}
    
Offset 4, 144 lines modifiedOffset 4, 215 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 overloadset.hh7 scalarvectorview.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_OVERLOADSET_HH14 ·5#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH
15 ·6#define·DUNE_COMMON_OVERLOADSET_HH15 ·6#define·DUNE_COMMON_SCALARVECTORVIEW_HH
16 ·716 ·7
17 ·8#include·<utility>17 ·8#include·<cstddef>
18 ·9#include·<type_traits>18 ·9#include·<type_traits>
19 ·10#include·<dune/common/typetraits.hh>19 ·10#include·<istream>
20 ·1120 ·11
 21 ·12#include·<dune/common/densevector.hh>
 22 ·13#include·<dune/common/fvector.hh>
 23 ·14#include·<dune/common/typetraits.hh>
 24 ·15#include·<dune/common/matvectraits.hh>
 25 ·16
21 ·12namespace·Dune·{26 ·17namespace·Dune·{
22 ·1327 ·18
23 ·14namespace·Impl·{28 ·19namespace·Impl·{
24 ·15 
25 ·16·template<typename...·F> 
26 ·17·class·OverloadSet 
27 ·18·:·public·F... 
28 ·19·{ 
29 ·2029 ·20
 30 ·35·template<class·K>
 31 ·36·class·ScalarVectorView·:
 32 ·37·public·DenseVector<ScalarVectorView<K>>
 33 ·38·{
 34 ·39·K*·dataP_;
 35 ·40·using·Base·=·DenseVector<ScalarVectorView<K>>;
 36 ·41
 37 ·42·template·<class>
 38 ·43·friend·class·ScalarVectorView;
30 ·21·public:39 ·44·public:
31 ·22 
32 ·23·template<typename...·FF> 
33 ·24·OverloadSet(FF&&...·ff) 
34 ·25·:·F(std::forward<FF>(ff))...40 ·45
 41 ·47·constexpr·static·int·dimension·=·1;
 42 ·48
 43 ·50·using·size_type·=·typename·Base::size_type;
 44 ·51
 45 ·53·using·reference·=·std::decay_t<K>&;
 46 ·54
 47 ·56·using·const_reference·=·const·K&;
 48 ·57
 49 ·58·//=====·construction
 50 ·59
 51 ·61·constexpr·ScalarVectorView·()
 52 ·62·:·dataP_(nullptr)
35 ·26·{}53 ·63·{}
36 ·27 
37 ·28·using·F::operator()...; 
38 ·29 
39 ·30·}; 
40 ·31 
41 ·32}·//·end·namespace·Impl 
42 ·33 
43 ·34 
44 ·35 
45 ·60template<class...·F> 
46 61auto·overload(F&&...·f) 
47 ·62{ 
48 ·63·return·Impl::OverloadSet<std::decay_t<F>...>(std::forward<F>(f)...); 
49 ·64}54 ·64
 55 ·66·ScalarVectorView·(K*·p)·:
 56 ·67·dataP_(p)
 57 ·68·{}
50 ·65 
51 ·66 
52 ·67 
53 ·68namespace·Impl·{ 
54 ·6958 ·69
 59 ·71·ScalarVectorView·(const·ScalarVectorView·&other)·:
 60 ·72·Base(),
 61 ·73·dataP_(other.dataP_)
 62 ·74·{}
55 ·70·template<class·F0,·class...·F> 
56 ·71·class·OrderedOverloadSet:·public·OrderedOverloadSet<F...>,·F0 
57 ·72·{ 
58 ·73·using·Base·=·OrderedOverloadSet<F...>; 
59 ·74·public: 
60 ·7563 ·75
 64 ·77·ScalarVectorView·(ScalarVectorView·&&other)·:
 65 ·78·Base(),
 66 ·79·dataP_(·other.dataP_·)
61 ·76·template<class·FF0,·class...·FF> 
62 ·77·OrderedOverloadSet(FF0&&·f0,·FF&&...·ff)·: 
63 ·78·Base(std::forward<FF>(ff)...), 
64 ·79·F0(std::forward<FF0>(f0)) 
65 ·80·{}67 ·80·{}
66 ·8168 ·81
 69 ·83·ScalarVectorView&·operator=·(const·ScalarVectorView&·other)
67 ·82·//·Forward·to·operator()·of·F0·if·it·can·be·called·with·the·given 
68 arguments. 
69 ·83·template<class...·Args, 
70 ·84·std::enable_if_t<IsCallable<F0(Args&&...)>::value,·int>·=·0> 
71 ·85·decltype(auto)·operator()(Args&&...·args) 
72 ·86·{70 ·84·{
73 ·87·return·F0::operator()(std::forward<Args>(args)...);71 ·85·assert(dataP_);
 72 ·86·assert(other.dataP_);
 73 ·87·*dataP_·=·*(other.dataP_);
 74 ·88·return·*this;
74 ·88·}75 ·89·}
 76 ·90
 77 ·91·template<class·KK>
 78 ·92·ScalarVectorView&·operator=·(const·ScalarVectorView<KK>&·other)
75 ·89 
76 ·90·//·Forward·to·operator()·of·base·class·if·F0·cannot·be·called·with·the 
77 given 
78 ·91·//·arguments.·In·this·case·the·base·class·will·successively·try·operator() 
79 ·92·//·of·all·F...·. 
80 ·93·template<class...·Args, 
81 ·94·std::enable_if_t<not·IsCallable<F0(Args&&...)>::value,·int>·=·0> 
82 ·95·decltype(auto)·operator()(Args&&...·args) 
83 ·96·{79 ·93·{
Max diff block lines reached; 4563/8266 bytes (55.20%) of diff not shown.
8.51 KB
./usr/share/doc/libdune-common-doc/doxygen/a00134.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·scalarvectorview.hh·File·Reference</title>8 <title>dune-common:·stringutility.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 39 lines modifiedOffset 63, 57 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">scalarvectorview.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>71 <a·href="#func-members">Functions</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">stringutility.hh·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
74 <p>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.··75 <p>Miscellaneous·helper·stuff.··
75 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
77 <code>#include·&lt;type_traits&gt;</code><br·/>78 <code>#include·&lt;cstring&gt;</code><br·/>
 79 <code>#include·&lt;algorithm&gt;</code><br·/>
 80 <code>#include·&lt;cassert&gt;</code><br·/>
 81 <code>#include·&lt;cstdio&gt;</code><br·/>
 82 <code>#include·&lt;memory&gt;</code><br·/>
78 <code>#include·&lt;istream&gt;</code><br·/>83 <code>#include·&lt;string&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/densevector.hh</a>&gt;</code><br·/>84 <code>#include·&lt;new&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/> 
83 </div>86 </div>
84 <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00134_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">88 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
87 Namespaces</h2></td></tr>90 Namespaces</h2></td></tr>
88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>91 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>92 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 </table><table·class="memberdecls">
 95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 96 Functions</h2></td></tr>
 97 <tr·class="memitem:gaf31028edab397ce01e0192a2823488f7"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr>
 98 <tr·class="memitem:gaf31028edab397ce01e0192a2823488f7"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00402.html#gaf31028edab397ce01e0192a2823488f7">Dune::hasPrefix</a>·(const·C·&amp;c,·const·char·*prefix)</td></tr>
 99 <tr·class="memdesc:gaf31028edab397ce01e0192a2823488f7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·whether·a·character·container·has·a·given·prefix.··<a·href="a00402.html#gaf31028edab397ce01e0192a2823488f7">More...</a><br·/></td></tr>
 100 <tr·class="separator:gaf31028edab397ce01e0192a2823488f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:ga560ea1a14403e04148126a2e9396dea2"><td·class="memTemplParams"·colspan="2">template&lt;typename·C·&gt;·</td></tr>
 102 <tr·class="memitem:ga560ea1a14403e04148126a2e9396dea2"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00402.html#ga560ea1a14403e04148126a2e9396dea2">Dune::hasSuffix</a>·(const·C·&amp;c,·const·char·*suffix)</td></tr>
 103 <tr·class="memdesc:ga560ea1a14403e04148126a2e9396dea2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·whether·a·character·container·has·a·given·suffix.··<a·href="a00402.html#ga560ea1a14403e04148126a2e9396dea2">More...</a><br·/></td></tr>
 104 <tr·class="separator:ga560ea1a14403e04148126a2e9396dea2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:gab825672ce0273462cb092bba70f39d0b"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 106 <tr·class="memitem:gab825672ce0273462cb092bba70f39d0b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·std::string&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00402.html#gab825672ce0273462cb092bba70f39d0b">Dune::formatString</a>·(const·std::string·&amp;s,·const·T·&amp;...·args)</td></tr>
 107 <tr·class="memdesc:gab825672ce0273462cb092bba70f39d0b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Format·values·according·to·printf·format·string.··<a·href="a00402.html#gab825672ce0273462cb092bba70f39d0b">More...</a><br·/></td></tr>
 108 <tr·class="separator:gab825672ce0273462cb092bba70f39d0b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>109 </table>
92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
93 <div·class="textblock"><p·>Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·</p>111 <div·class="textblock"><p·>Miscellaneous·helper·stuff.·</p>
94 </div></div><!--·contents·-->112 </div></div><!--·contents·-->
95 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>114 <hr·class="footer"/><address·class="footer"><small>
97 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
98 </small></address>116 </small></address>
99 </body>117 </body>
100 </html>118 </html>
1.68 KB
html2text {}
    
Offset 4, 28 lines modifiedOffset 4, 45 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Functions
 8 stringutility.hh·File·Reference
 9 Miscellaneous·helper·stuff.·More...
7 Namespaces 
8 scalarvectorview.hh·File·Reference 
9 Common·»·Dense_Matrix_and_Vector_Template_Library 
10 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·More... 
11 #include·<cstddef>10 #include·<cstddef>
12 #include·<type_traits>11 #include·<cstring>
 12 #include·<algorithm>
 13 #include·<cassert>
 14 #include·<cstdio>
 15 #include·<memory>
13 #include·<istream>16 #include·<string>
14 #include·<dune/common/densevector.hh>17 #include·<new>
15 #include·<dune/common/fvector.hh>18 #include·<dune/common/exceptions.hh>
16 #include·<dune/common/typetraits.hh> 
17 #include·<dune/common/matvectraits.hh> 
18 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
19 ·Namespaces20 ·Namespaces
20 namespace· Dune21 namespace· Dune
21  ··········Dune·namespace.22  ··········Dune·namespace.
22  23  
 24 ·Functions
 25 template<typename·C·>
 26 ··············bool Dune::hasPrefix·(const·C·&c,·const·char·*prefix)
 27  ··················Check·whether·a·character·container·has·a·given·prefix.
 28 ····················More...
 29  
 30 template<typename·C·>
 31 ··············bool Dune::hasSuffix·(const·C·&c,·const·char·*suffix)
 32  ··················Check·whether·a·character·container·has·a·given·suffix.
 33 ····················More...
 34  
 35 template<class...·T>
 36 static·std::string Dune::formatString·(const·std::string·&s,·const·T·&...
 37 ····················args)
 38  ··················Format·values·according·to·printf·format·string.·More...
 39  
23 *****·Detailed·Description·*****40 *****·Detailed·Description·*****
24 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.41 Miscellaneous·helper·stuff.
  
25 ===============================================================================42 ===============================================================================
26 ·····Generated·by [doxygen]·1.9.443 ·····Generated·by [doxygen]·1.9.4
49.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00134_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·scalarvectorview.hh·Source·File</title>8 <title>dune-common:·stringutility.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 194 lines modifiedOffset 62, 103 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">scalarvectorview.hh</div></div>68 ··<div·class="headertitle"><div·class="title">stringutility.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00134.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00134.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STRINGUTILITY_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_SCALARVECTORVIEW_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STRINGUTILITY_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstdio&gt;</span></div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00128.html">dune/common/densevector.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/fvector.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00254.html">dune/common/matvectraits.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span>Impl·{</div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div> 
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">class·</span>ScalarVectorView·:</div> 
93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">public</span>·DenseVector&lt;ScalarVectorView&lt;K&gt;&gt;</div> 
94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····K*·dataP_;</div>91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C&gt;</div>
 93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00402.html#gaf31028edab397ce01e0192a2823488f7">···37</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00402.html#gaf31028edab397ce01e0192a2823488f7">hasPrefix</a>(<span·class="keyword">const</span>·C&amp;·c,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·prefix)·{</div>
 94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····std::size_t·len·=·std::strlen(prefix);</div>
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">using·</span>Base·=·DenseVector&lt;ScalarVectorView&lt;K&gt;&gt;;</div>95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·c.size()·&gt;=·len·&amp;&amp;</div>
 96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>···········std::equal(prefix,·prefix+len,·c.begin());</div>
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··}</div>
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>&gt;</div> 
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span>ScalarVectorView;</div> 
100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>:</div> 
101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·dimension·=·1;</div> 
103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">size_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">Base::size_type</a>;</div> 
105 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">using·</span>reference·=·std::decay_t&lt;K&gt;&amp;;</div> 
107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">using·</span>const_reference·=·<span·class="keyword">const</span>·K&amp;;</div>99 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·C&gt;</div>
 100 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a00402.html#ga560ea1a14403e04148126a2e9396dea2">···53</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00402.html#ga560ea1a14403e04148126a2e9396dea2">hasSuffix</a>(<span·class="keyword">const</span>·C&amp;·c,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·suffix)·{</div>
 101 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::size_t·len·=·std::strlen(suffix);</div>
 102 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">if</span>(c.size()·&lt;·len)·<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
 103 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">typename</span>·C::const_iterator·it·=·c.begin();</div>
109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>104 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····std::advance(it,·c.size()·-·len);</div>
110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//=====·construction</span></div>105 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keywordflow">return</span>·std::equal(suffix,·suffix+len,·it);</div>
111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>106 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··}</div>
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">constexpr</span>·ScalarVectorView·()</div> 
113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······:·dataP_(nullptr)</div> 
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{}</div> 
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>107 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 108 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div>
 109 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00402.html#gab825672ce0273462cb092bba70f39d0b">···73</a></span>··<span·class="keyword">static</span>·std::string·<a·class="code·hl_function"·href="a00402.html#gab825672ce0273462cb092bba70f39d0b">formatString</a>(<span·class="keyword">const</span>·std::string&amp;·s,·<span·class="keyword">const</span>·T&amp;...·args)</div>
116 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····ScalarVectorView·(K*·p)·:</div> 
117 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······dataP_(p)</div> 
118 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····{}</div> 
119 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····ScalarVectorView·(<span·class="keyword">const</span>·ScalarVectorView·&amp;other)·:</div> 
121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······Base(),</div> 
122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······dataP_(other.dataP_)</div> 
123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····{}</div>110 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div>
 111 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">int</span>·bufferSize=1000;</div>
 112 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keywordtype">char</span>·buffer[bufferSize];</div>
124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>113 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
125 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····ScalarVectorView·(ScalarVectorView·&amp;&amp;other)·:</div> 
126 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······Base(),</div>114 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="comment">//·try·to·format·with·static·buffer</span></div>
127 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······dataP_(·other.dataP_·)</div>115 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keywordtype">int</span>·r·=·std::snprintf(buffer,·bufferSize,·s.c_str(),·args...);</div>
128 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div>116 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 117 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="comment">//·negative·return·values·correspond·to·errors</span></div>
129 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">if</span>·(r&lt;0)</div>
130 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····ScalarVectorView&amp;·operator=·(<span·class="keyword">const</span>·ScalarVectorView&amp;·other)</div>119 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>,<span·class="stringliteral">&quot;Could·not·convert·format·string·using·given·arguments.&quot;<[·...·truncated·by·diffoscope;·len:·8,·SHA:·61ecf36530b22e78221cc0fd1126da8c347960a5529031522ac8239eb43db912·...·]</div>
131 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{</div>120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 121 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//·if·buffer·was·large·enough·return·result·as·string</span></div>
 122 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keywordflow">if</span>·(r&lt;bufferSize)</div>
 123 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·std::string(buffer);</div>
132 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······assert(dataP_);</div>124 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="comment">//·if·buffer·was·to·small·allocate·a·larger·buffer·using</span></div>
 126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//·the·predicted·size·hint·(+1·for·the·terminating·0-byte).</span></div>
 127 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">int</span>·dynamicBufferSize·=·r+1;</div>
133 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······assert(other.dataP_);</div>128 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
134 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······*dataP_·=·*(other.dataP_);</div>129 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····std::unique_ptr&lt;char[]&gt;·dynamicBuffer;</div>
135 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div>130 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keywordflow">try</span>·{</div>
 131 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······dynamicBuffer·=·std::make_unique&lt;char[]&gt;(dynamicBufferSize);</div>
136 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····}</div>132 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····}</div>
137 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
138 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·KK&gt;</div> 
139 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····ScalarVectorView&amp;·operator=·(<span·class="keyword">const</span>·ScalarVectorView&lt;KK&gt;&amp;·other)</div> 
140 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div> 
141 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······assert(dataP_);</div> 
142 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······assert(other.dataP_);</div> 
143 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······*dataP_·=·*(other.dataP_);</div> 
144 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div>133 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keywordflow">catch</span>·(<span·class="keyword">const</span>·std::bad_alloc&amp;)·{</div>
Max diff block lines reached; 17372/41782 bytes (41.58%) of diff not shown.
8.27 KB
html2text {}
    
Offset 4, 215 lines modifiedOffset 4, 119 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 scalarvectorview.hh7 stringutility.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_SCALARVECTORVIEW_HH 
15 ·6#define·DUNE_COMMON_SCALARVECTORVIEW_HH14 ·5#ifndef·DUNE_COMMON_STRINGUTILITY_HH
 15 ·6#define·DUNE_COMMON_STRINGUTILITY_HH
16 ·716 ·7
17 ·8#include·<cstddef>17 ·12#include·<cstddef>
18 ·9#include·<type_traits>18 ·13#include·<cstring>
 19 ·14#include·<algorithm>
 20 ·15#include·<cassert>
 21 ·16#include·<cstdio>
 22 ·17#include·<memory>
19 ·10#include·<istream>23 ·18#include·<string>
 24 ·19#include·<new>
20 ·11 
21 ·12#include·<dune/common/densevector.hh> 
22 ·13#include·<dune/common/fvector.hh> 
23 ·14#include·<dune/common/typetraits.hh> 
24 ·15#include·<dune/common/matvectraits.hh> 
25 ·16 
26 ·17namespace·Dune·{ 
27 ·18 
28 ·19namespace·Impl·{ 
29 ·2025 ·20
30 ·35·template<class·K> 
31 ·36·class·ScalarVectorView·: 
32 ·37·public·DenseVector<ScalarVectorView<K>> 
33 ·38·{ 
34 ·39·K*·dataP_; 
35 ·40·using·Base·=·DenseVector<ScalarVectorView<K>>;26 ·21#include·<dune/common/exceptions.hh>
 27 ·22
 28 ·23
 29 ·24namespace·Dune·{
 30 ·25
 31 ·36·template<typename·C>
 32 37·bool·hasPrefix(const·C&·c,·const·char*·prefix)·{
 33 ·38·std::size_t·len·=·std::strlen(prefix);
 34 ·39·return·c.size()·>=·len·&&
 35 ·40·std::equal(prefix,·prefix+len,·c.begin());
36 ·4136 ·41·}
 37 ·42
 38 ·52·template<typename·C>
 39 53·bool·hasSuffix(const·C&·c,·const·char*·suffix)·{
 40 ·54·std::size_t·len·=·std::strlen(suffix);
 41 ·55·if(c.size()·<·len)·return·false;
 42 ·56·typename·C::const_iterator·it·=·c.begin();
 43 ·57·std::advance(it,·c.size()·-·len);
 44 ·58·return·std::equal(suffix,·suffix+len,·it);
 45 ·59·}
 46 ·60
37 ·42·template·<class>47 ·72·template<class...·T>
 48 73·static·std::string·formatString(const·std::string&·s,·const·T&...·args)
38 ·43·friend·class·ScalarVectorView; 
39 ·44·public: 
40 ·45 
41 ·47·constexpr·static·int·dimension·=·1; 
42 ·48 
43 ·50·using·size_type·=·typename·Base::size_type; 
44 ·51 
45 ·53·using·reference·=·std::decay_t<K>&; 
46 ·54 
47 ·56·using·const_reference·=·const·K&; 
48 ·57 
49 ·58·//=====·construction 
50 ·59 
51 ·61·constexpr·ScalarVectorView·() 
52 ·62·:·dataP_(nullptr) 
53 ·63·{} 
54 ·64 
55 ·66·ScalarVectorView·(K*·p)·: 
56 ·67·dataP_(p) 
57 ·68·{} 
58 ·69 
59 ·71·ScalarVectorView·(const·ScalarVectorView·&other)·: 
60 ·72·Base(), 
61 ·73·dataP_(other.dataP_) 
62 ·74·{}49 ·74·{
63 ·75 
64 ·77·ScalarVectorView·(ScalarVectorView·&&other)·: 
65 ·78·Base(), 
66 ·79·dataP_(·other.dataP_·) 
67 ·80·{} 
68 ·81 
69 ·83·ScalarVectorView&·operator=·(const·ScalarVectorView&·other)50 ·75·static·const·int·bufferSize=1000;
 51 ·76·char·buffer[bufferSize];
 52 ·77
 53 ·78·//·try·to·format·with·static·buffer
 54 ·79·int·r·=·std::snprintf(buffer,·bufferSize,·s.c_str(),·args...);
 55 ·80
 56 ·81·//·negative·return·values·correspond·to·errors
 57 ·82·if·(r<0)
 58 ·83·DUNE_THROW(Dune::Exception,"Could·not·convert·format·string·using·given
 59 arguments.");
70 ·84·{60 ·84
71 ·85·assert(dataP_); 
72 ·86·assert(other.dataP_); 
73 ·87·*dataP_·=·*(other.dataP_); 
74 ·88·return·*this;61 ·85·//·if·buffer·was·large·enough·return·result·as·string
 62 ·86·if·(r<bufferSize)
 63 ·87·return·std::string(buffer);
 64 ·88
 65 ·89·//·if·buffer·was·to·small·allocate·a·larger·buffer·using
 66 ·90·//·the·predicted·size·hint·(+1·for·the·terminating·0-byte).
 67 ·91·int·dynamicBufferSize·=·r+1;
 68 ·92
 69 ·93·std::unique_ptr<char[]>·dynamicBuffer;
 70 ·94·try·{
 71 ·95·dynamicBuffer·=·std::make_unique<char[]>(dynamicBufferSize);
75 ·89·}72 ·96·}
 73 ·97·catch·(const·std::bad_alloc&)·{
 74 ·98·DUNE_THROW(Dune::Exception,"Could·allocate·large·enough·dynamic·buffer·in
 75 formatString.");
76 ·90 
77 ·91·template<class·KK> 
78 ·92·ScalarVectorView&·operator=·(const·ScalarVectorView<KK>&·other) 
Max diff block lines reached; 3985/8441 bytes (47.21%) of diff not shown.
38.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00137.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·float_cmp.hh·File·Reference</title>8 <title>dune-common:·iteratorfacades.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 99 lines modifiedOffset 65, 99 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#enum-members">Enumerations</a>·&#124; 
73 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
74 ··<div·class="headertitle"><div·class="title">float_cmp.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh·File·Reference</div></div>
75 </div><!--header-->74 </div><!--header-->
76 <div·class="contents">75 <div·class="contents">
  
77 <p>Various·ways·to·compare·floating-point·numbers.··76 <p>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.··
78 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00146.html">float_cmp.cc</a>&quot;</code><br·/>78 <div·class="textblock"><code>#include·&lt;iterator&gt;</code><br·/>
 79 <code>#include·&lt;type_traits&gt;</code><br·/>
 80 <code>#include·&quot;<a·class="el"·href="a00083_source.html">typetraits.hh</a>&quot;</code><br·/>
80 </div>81 </div>
81 <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00137_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">83 <table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
84 Classes</h2></td></tr>85 Classes</h2></td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01716.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·style·&gt;</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01876.html">Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>
86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon··<a·href="a01716.html#details">More...</a><br·/></td></tr>87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·stl·conformant·forward·iterators.··<a·href="a01876.html#details">More...</a><br·/></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01720.html">Dune::FloatCmpOps&lt;·T,·cstyle_,·rstyle_·&gt;</a></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01880.html">Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>
89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Class·encapsulating·a·default·epsilon.··<a·href="a01720.html#details">More...</a><br·/></td></tr>90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Facade·class·for·stl·conformant·bidirectional·iterators.··<a·href="a01880.html#details">More...</a><br·/></td></tr>
 91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01884.html">Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·stl·conformant·forward·iterators.··<a·href="a01884.html#details">More...</a><br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
93 Namespaces</h2></td></tr>97 Namespaces</h2></td></tr>
94 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>98 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
95 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>99 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:a00434"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00434.html">Dune::FloatCmp</a></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 </table><table·class="memberdecls"> 
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a> 
101 Enumerations</h2></td></tr> 
102 <tr·class="memitem:ga4aeb759ed9de8b477a155492aeb2789b"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">Dune::FloatCmp::CmpStyle</a>·{·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">Dune::FloatCmp::relativeWeak</a> 
103 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">Dune::FloatCmp::relativeStrong</a> 
104 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">Dune::FloatCmp::absolute</a> 
105 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">Dune::FloatCmp::defaultCmpStyle</a>·=·relativeWeak 
106 ·}</td></tr> 
107 <tr·class="separator:ga4aeb759ed9de8b477a155492aeb2789b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:ga8507e971c45243aed2c4de1b3736ca04"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">Dune::FloatCmp::RoundingStyle</a>·{·<br·/> 
109 &#160;&#160;<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">Dune::FloatCmp::towardZero</a> 
110 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0ba1a9b8cce0034f6b0a6bef4b1eb670">Dune::FloatCmp::towardInf</a> 
111 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a6074c993d9019e8a31f30649602e21b9">Dune::FloatCmp::downward</a> 
112 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0e10271b704ebf42395156318e3442bc">Dune::FloatCmp::upward</a> 
113 ,·<br·/> 
114 &#160;&#160;<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">Dune::FloatCmp::defaultRoundingStyle</a>·=·towardZero 
115 <br·/> 
116 ·}</td></tr> 
117 <tr·class="separator:ga8507e971c45243aed2c4de1b3736ca04"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
119 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
120 Functions</h2></td></tr>103 Functions</h2></td></tr>
121 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
122 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">Dune::FloatCmp::eq</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
123 <tr·class="memdesc:ga50c93e693f102298c61ecb14758f8d5b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·equality·using·epsilon··<a·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">More...</a><br·/></td></tr>104 <tr·class="memitem:gaa43d9510bcda16267820bafa84be5369"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 105 <tr·class="memitem:gaa43d9510bcda16267820bafa84be5369"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">Dune::operator==</a>·(const·ForwardIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·ForwardIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 106 <tr·class="memdesc:gaa43d9510bcda16267820bafa84be5369"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<a·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">More...</a><br·/></td></tr>
 107 <tr·class="separator:gaa43d9510bcda16267820bafa84be5369"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 109 <tr·class="memitem:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">Dune::operator!=</a>·(const·ForwardIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·ForwardIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 110 <tr·class="memdesc:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<a·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">More...</a><br·/></td></tr>
 111 <tr·class="separator:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 113 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"><td·class="memTemplItemLeft"·align="right"·valign="top">std::enable_if&lt;·std::is_convertible&lt;·T2,·T1·&gt;::value,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga20da041c39864baffcdb12c036fd1c37">Dune::operator==</a>·(const·BidirectionalIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·BidirectionalIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 114 <tr·class="memdesc:ga20da041c39864baffcdb12c036fd1c37"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<a·href="a00414.html#ga20da041c39864baffcdb12c036fd1c37">More...</a><br·/></td></tr>
 115 <tr·class="separator:ga20da041c39864baffcdb12c036fd1c37"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 117 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"><td·class="memTemplItemLeft"·align="right"·valign="top">std::enable_if&lt;·std::is_convertible&lt;·T1,·T2·&gt;::value·&amp;&amp;!std::is_convertible&lt;·T2,·T1·&gt;::value,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ga20da041c39864baffcdb12c036fd1c37">Dune::operator==</a>·(const·BidirectionalIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·BidirectionalIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 118 <tr·class="memdesc:ga20da041c39864baffcdb12c036fd1c37"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<a·href="a00425.html#ga20da041c39864baffcdb12c036fd1c37">More...</a><br·/></td></tr>
 119 <tr·class="separator:ga20da041c39864baffcdb12c036fd1c37"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:ga920ece963b8c9993e176bcfde00c9224"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 121 <tr·class="memitem:ga920ece963b8c9993e176bcfde00c9224"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga920ece963b8c9993e176bcfde00c9224">Dune::operator!=</a>·(const·BidirectionalIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·BidirectionalIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 122 <tr·class="memdesc:ga920ece963b8c9993e176bcfde00c9224"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<a·href="a00414.html#ga920ece963b8c9993e176bcfde00c9224">More...</a><br·/></td></tr>
 123 <tr·class="separator:ga920ece963b8c9993e176bcfde00c9224"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 <tr·class="memitem:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 125 <tr·class="memitem:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga49f87500d6251c950ff02c42c91c2ec0">Dune::operator==</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 126 <tr·class="memdesc:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<a·href="a00414.html#ga49f87500d6251c950ff02c42c91c2ec0">More...</a><br·/></td></tr>
124 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>127 <tr·class="separator:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 129 <tr·class="memitem:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga9052c16ab85627534c5c3eb9ebed7d87">Dune::operator!=</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 130 <tr·class="memdesc:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<a·href="a00414.html#ga9052c16ab85627534c5c3eb9ebed7d87">More...</a><br·/></td></tr>
125 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
126 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">Dune::FloatCmp::ne</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
127 <tr·class="memdesc:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·inequality·using·epsilon··<a·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">More...</a><br·/></td></tr> 
128 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
130 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">Dune::FloatCmp::gt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
131 <tr·class="memdesc:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·than·second··<a·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">More...</a><br·/></td></tr> 
132 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
134 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">Dune::FloatCmp::lt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
135 <tr·class="memdesc:gacca725b16b35b04c4eea0c4ee21757de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·than·second··<a·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">More...</a><br·/></td></tr> 
136 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>131 <tr·class="separator:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
137 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
138 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae8eb5c5d458b2556d5d685bb65161aef">Dune::FloatCmp::ge</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
139 <tr·class="memdesc:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·or·equal·second··<a·href="a00409.html#gae8eb5c5d458b2556d5d685bb65161aef">More...</a><br·/></td></tr>132 <tr·class="memitem:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 133 <tr·class="memitem:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">Dune::operator&lt;</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
 134 <tr·class="memdesc:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">More...</a><br·/></td></tr>
 135 <tr·class="separator:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:ga798235d5677109c73826c07eda54642a"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr>
 137 <tr·class="memitem:ga798235d5677109c73826c07eda54642a"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga798235d5677109c73826c07eda54642a">Dune::operator&lt;=</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr>
Max diff block lines reached; 888/28064 bytes (3.16%) of diff not shown.
11.2 KB
html2text {}
    
Offset 4, 83 lines modifiedOffset 4, 141 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Enumerations·|·Functions7 Classes·|·Namespaces·|·Functions
8 float_cmp.hh·File·Reference 
9 Various·ways·to·compare·floating-point·numbers.·More... 
10 #include·"float_cmp.cc"8 iteratorfacades.hh·File·Reference
 9 This·file·implements·iterator·facade·classes·for·writing·stl·conformant
 10 iterators.·More...
 11 #include·<iterator>
 12 #include·<type_traits>
 13 #include·"typetraits.hh"
11 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
12 ·Classes15 ·Classes
 16 class· Dune::ForwardIteratorFacade<_T,_V,_R,_D_>
 17  ······Base·class·for·stl·conformant·forward·iterators.·More...
13 struct· Dune::FloatCmp::DefaultEpsilon<_T,_style_> 
14  ·······mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon 
15 ·········More... 
16  18  
17 ·class· Dune::FloatCmpOps<_T,_cstyle_,_rstyle__> 
18  ·······Class·encapsulating·a·default·epsilon.·More...19 class· Dune::BidirectionalIteratorFacade<_T,_V,_R,_D_>
 20  ······Facade·class·for·stl·conformant·bidirectional·iterators.·More...
 21  
 22 class· Dune::RandomAccessIteratorFacade<_T,_V,_R,_D_>
 23  ······Base·class·for·stl·conformant·forward·iterators.·More...
19  24  
20 ·Namespaces25 ·Namespaces
21 namespace· Dune26 namespace· Dune
22  ··········Dune·namespace.27  ··········Dune·namespace.
23  28  
24 namespace· Dune::FloatCmp 
25   
26 ·Enumerations 
27 enum·Dune::FloatCmp::CmpStyle·{·Dune::FloatCmp::relativeWeak·,·Dune::FloatCmp:: 
28 ··· relativeStrong·,·Dune::FloatCmp::absolute·,·Dune::FloatCmp::defaultCmpStyle·= 
29 ·····relativeWeak·} 
30   
31 enum·Dune::FloatCmp::RoundingStyle·{ 
32 ···   Dune::FloatCmp::towardZero·,·Dune::FloatCmp::towardInf·,·Dune::FloatCmp:: 
33 ·····downward·,·Dune::FloatCmp::upward·, 
34 ·····  Dune::FloatCmp::defaultRoundingStyle·=·towardZero 
35 ·····} 
36   
37 ·Functions29 ·Functions
38 template<class·T·,·CmpStyle·style> 
39 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename 
40 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
41  ····test·for·equality·using·epsilon·More...30 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 31 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator==·(const
 32 ························································ForwardIteratorFacade<·T1,
 33 ························································V1,·R1,·D·>·&lhs,·const
 34 ························································ForwardIteratorFacade<·T2,
 35 ························································V2,·R2,·D·>·&rhs)
 36  ······················································Checks·for·equality.·More...
42  37  
43 template<class·T·,·CmpStyle·style> 
44 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename 
45 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
46  ····test·for·inequality·using·epsilon·More...38 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 39 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const
 40 ························································ForwardIteratorFacade<·T1,
 41 ························································V1,·R1,·D·>·&lhs,·const
 42 ························································ForwardIteratorFacade<·T2,
 43 ························································V2,·R2,·D·>·&rhs)
 44  ······················································Checks·for·inequality.
 45 ························································More...
47  46  
48 template<class·T·,·CmpStyle·style> 
49 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename 
50 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
51  ····test·if·first·greater·than·second·More...47 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 48 ··std::enable_if<·std::is_convertible<·T2,·T1·>::value,·Dune::operator==·(const
 49 ··········································bool·>::type BidirectionalIteratorFacade<
 50 ························································T1,·V1,·R1,·D·>·&lhs,·const
 51 ························································BidirectionalIteratorFacade<
 52 ························································T2,·V2,·R2,·D·>·&rhs)
 53  ······················································Checks·for·equality.·More...
52  54  
53 template<class·T·,·CmpStyle·style> 
54 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename 
55 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
56  ····test·if·first·lesser·than·second·More...55 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 56 ···std::enable_if<·std::is_convertible<·T1,·T2·>::value·Dune::operator==·(const
 57 ·&&!std::is_convertible<·T2,·T1·>::value,·bool·>::type BidirectionalIteratorFacade<
 58 ························································T1,·V1,·R1,·D·>·&lhs,·const
 59 ························································BidirectionalIteratorFacade<
 60 ························································T2,·V2,·R2,·D·>·&rhs)
 61  ······················································Checks·for·equality.·More...
57  62  
58 template<class·T·,·CmpStyle·style> 
59 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename 
60 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
61  ····test·if·first·greater·or·equal·second·More...63 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 64 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const
 65 ························································BidirectionalIteratorFacade<
 66 ························································T1,·V1,·R1,·D·>·&lhs,·const
 67 ························································BidirectionalIteratorFacade<
 68 ························································T2,·V2,·R2,·D·>·&rhs)
 69  ······················································Checks·for·inequality.
 70 ························································More...
62  71  
63 template<class·T·,·CmpStyle·style> 
64 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename 
65 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
66  ····test·if·first·lesser·or·equal·second·More...72 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 73 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator==·(const
 74 ························································RandomAccessIteratorFacade<
 75 ························································T1,·V1,·R1,·D·>·&lhs,·const
 76 ························································RandomAccessIteratorFacade<
 77 ························································T2,·V2,·R2,·D·>·&rhs)
 78  ······················································Checks·for·equality.·More...
67  79  
68 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle> 
69 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type 
70 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
71  ····round·using·epsilon·More...80 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·>
 81 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const
 82 ························································RandomAccessIteratorFacade<
 83 ························································T1,·V1,·R1,·D·>·&lhs,·const
 84 ························································RandomAccessIteratorFacade<
 85 ························································T2,·V2,·R2,·D·>·&rhs)
 86  ······················································Checks·for·inequality.
Max diff block lines reached; 584/11466 bytes (5.09%) of diff not shown.
170 KB
./usr/share/doc/libdune-common-doc/doxygen/a00137_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·float_cmp.hh·Source·File</title>8 <title>dune-common:·iteratorfacades.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 190 lines modifiedOffset 62, 435 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">float_cmp.hh</div></div>68 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00137.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00137.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_FLOAT_CMP_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ITERATORFACADES_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_FLOAT_CMP_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ITERATORFACADES_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
79 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">namespace·</span>FloatCmp·{</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
80 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·basic·constants</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
81 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">··104</a></span><span·class="comment"></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·{</div> 
82 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">··106</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">relativeWeak</a>,</div> 
83 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">··108</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">relativeStrong</a>,</div> 
84 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">··110</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">absolute</a>,</div> 
85 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·=·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">relativeWeak</a></div> 
86 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">··113</a></span>····};</div> 
87 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">··116</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·{</div> 
88 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">··118</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">towardZero</a>,</div> 
89 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0ba1a9b8cce0034f6b0a6bef4b1eb670">··120</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0ba1a9b8cce0034f6b0a6bef4b1eb670">towardInf</a>,</div> 
90 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a6074c993d9019e8a31f30649602e21b9">··122</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a6074c993d9019e8a31f30649602e21b9">downward</a>,</div> 
91 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0e10271b704ebf42395156318e3442bc">··124</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0e10271b704ebf42395156318e3442bc">upward</a>,</div> 
92 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">defaultRoundingStyle</a>·=·<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">towardZero</a></div> 
93 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">··127</a></span>····};</div> 
94 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> 
95 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;·<span·class="keyword">struct·</span>EpsilonType;</div> 
96 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00083.html">typetraits.hh</a>&quot;</span></div>
97 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
98 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·CmpStyle·style·=·defaultCmpStyle&gt;</div> 
99 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno"><a·class="line"·href="a01716.html">··138</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon</a>·{</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
100 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">··140</a></span>······<span·class="keyword">static</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae[·...·truncated·by·diffoscope;·len:·157,·SHA:·b874283f10d829fd03eef06843a80d3f4e4690b13862bda3e4888d3d636839e1·...·]</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
 85 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·R·=·V&amp;,·<span·class="keyword">class</span>·D·=·std::ptrdiff_t&gt;</div>
 86 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a01876.html">··140</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01876.html">ForwardIteratorFacade</a></div>
101 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····};</div>87 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··{</div>
102 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div>88 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div>
103 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="comment">//·operations·in·functional·style</span></div> 
104 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> 
105 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> 
106 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> 
107 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style·<span·class="comment">/*=·defaultCmpStyle*/</span>&gt;</div> 
108 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">eq</a>(<span·class="keyword">const</span>·T·&amp;first,</div> 
109 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>············<span·class="keyword">const</span>·T·&amp;second,</div>89 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>··<span·class="keyword">public</span>:</div>
 90 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····<span·class="comment">/*·type·aliases·required·by·C++·for·iterators·*/</span></div>
 91 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a01876.html#a0f4a9ffc7f0617c74b92d9f5eb9bead5">··145</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#a0f4a9ffc7f0617c74b92d9f5eb9bead5">iterator_category</a>·=·std::forward_iterator_tag;</div>
 92 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno"><a·class="line"·href="a01876.html#ab489781ace31952ffca9a4e43a2e2363">··146</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#ab489781ace31952ffca9a4e43a2e2363">value_type</a>·=·<span·class="keyword">typename</span>·std::remove_const&lt;V&gt;::type;</div>
 93 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a01876.html#ad31ac07a5e26ff49e1d9616d4072a0fb">··147</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#ad31ac07a5e26ff49e1d9616d4072a0fb">difference_type</a>·=·D;</div>
 94 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a01876.html#a15d11ccef925779642b1637aac23bfe5">··148</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#a15d11ccef925779642b1637aac23bfe5">pointer</a>·=·V*;</div>
 95 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno"><a·class="line"·href="a01876.html#af42be6f3deadd418c6d79818603a5bdd">··149</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#af42be6f3deadd418c6d79818603a5bdd">reference</a>·=·R;</div>
110 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>············<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>·epsilon·=·<a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon&lt;T,·style&gt;::value</a>());</div> 
111 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div> 
112 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style·<span·class="comment">/*=·defaultCmpStyle*/</span>&gt;</div> 
113 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">ne</a>(<span·class="keyword">const</span>·T·&amp;first,</div> 
114 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>············<span·class="keyword">const</span>·T·&amp;second,</div> 
115 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>············<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>·epsilon·=·<a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon&lt;T,·style&gt;::value</a>());</div> 
116 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div> 
117 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style·<span·class="comment">/*=·defaultCmpStyle*/</span>&gt;</div> 
118 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">gt</a>(<span·class="keyword">const</span>·T·&amp;first,</div> 
119 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>············<span·class="keyword">const</span>·T·&amp;second,</div> 
120 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>············<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>·epsilon·=·<a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon&lt;T,·style&gt;::value</a>());</div> 
121 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>96 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div>
122 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style·<span·class="comment">/*=·defaultCmpStyle*/</span>&gt;</div> 
123 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">lt</a>(<span·class="keyword">const</span>·T·&amp;first,</div>97 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno"><a·class="line"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">··175</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">Deri[·...·truncated·by·diffoscope;·len:·12,·SHA:·ba573a6ac6b39b3d89e334b32e3dbb38cc6c9688a232bad403b996d7a5aadc5b·...·]</div>
 98 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div>
 99 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno"><a·class="line"·href="a01876.html#a91b8956e40e1fa5395f9bc095bc69557">··180</a></span>····<span·class="keyword">typedef</span>·V·<a·class="code·hl_typedef"·href="a01876.html#a91b8956e40e1fa5395f9bc095bc69557">Value</a>;</div>
 100 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div>
 101 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno"><a·class="line"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">··185</a></span>····<span·class="keyword">typedef</span>·V*·<a·class="code·hl_typedef"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">Pointer</a>;</div>
 102 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div>
 103 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno"><a·class="line"·href="a01876.html#a4b5e403398426bad661a47efd77f3329">··190</a></span>····<span·class="keyword">typedef</span>·D·<a·class="code·hl_typedef"·href="a01876.html#a4b5e403398426bad661a47efd77f3329">DifferenceType</a>;</div>
 104 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>·</div>
 105 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno"><a·class="line"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">··195</a></span>····<span·class="keyword">typedef</span>·R·<a·class="code·hl_typedef"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">Reference</a>;</div>
 106 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div>
 107 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno"><a·class="line"·href="a01876.html#addb69ce5c37bc55e5b7aa5d133e3f647">··198</a></span>····<a·class="code·hl_typedef"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">Reference</a>·<a·class="code·hl_function"·href="a01876.html#addb69ce5c37bc55e5b7aa5d133e3f647">operator*</a>()<span·class="keyword">·const</span></div>
 108 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span><span·class="keyword">····</span>{</div>
 109 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>······<span·class="keywordflow">return</span>·<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·const*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)-&gt;dereference();</div>
 110 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>····}</div>
 111 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>·</div>
 112 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno"><a·class="line"·href="a01876.html#a7652915172bfadc464e813ee73bd6013">··203</a></span>····<a·class="code·hl_typedef"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">Pointer</a>·<a·class="code·hl_function"·href="a01876.html#a7652915172bfadc464e813ee73bd6013">operator-&gt;</a>()<span·class="keyword">·const</span></div>
124 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>············<span·class="keyword">const</span>·T·&amp;second,</div>113 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span><span·class="keyword">····</span>{</div>
125 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>············<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>·epsilon·=·<a·class="code·hl_struct"·href=[·...·truncated·by·diffoscope;·len:·55,·SHA:·828b8d0144f20846688e26d1d5494b5eb9ddfd16bcc78969f491318fb38a7c2a·...·]());</div>114 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno">··205</span>······<span·class="keywordflow">return</span>·&amp;(<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f366193[·...·truncated·by·diffoscope;·len:·110,·SHA:·c884b2fca3f4a94a56934780ddd8d238a715578e71103f05af36f7f793a80a61·...·]());</div>
126 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>·</div>115 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>····}</div>
127 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style·<span·class="comment">/*=·defaultCmpStyle*/</span>&gt;</div> 
128 <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno">··218</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00409.html#gae8eb5c5d458b2556d5d685bb65161aef">ge</a>(<span·class="keyword">const</span>·T·&amp;first,</div>116 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno">··207</span>·</div>
 117 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno"><a·class="line"·href="a01876.html#a17bbcb0ae6d791cea6c35019a60fccdb">··209</a></span>····<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>&amp;·<a·class="code·hl_function"·href="a01876.html#a17bbcb0ae6d791cea6c35019a60fccdb">operator++</a>()</div>
 118 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>····{</div>
 119 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno">··211</span>······<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)-&gt;increment();</div>
 120 <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>);</div>
 121 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>····}</div>
 122 <div·class="line"><a·id="l00214"·name="l00214"></a><span·class="lineno">··214</span>·</div>
 123 <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno"><a·class="line"·href="a01876.html#abeab195ddd461db8d2d9e6f560ddee6d">··216</a></span>····<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·<a·class="code·hl_function"·href="a01876.html#abeab195ddd461db8d2d9e6f560ddee6d">operator++</a>(<span·class="keywordtype">int</span>)</div>
 124 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>····{</div>
 125 <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno">··218</span>······<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·tmp(<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·const&amp;<span·class="keyword">&gt;</span>(*<span·class="keyword">this</span>));</div>
 126 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>······this-&gt;<a·class="code·hl_function"·href="a01876.html#a17bbcb0ae6d791cea6c35019a60fccdb">operator++</a>();</div>
129 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>············<span·class="keyword">const</span>·T·&amp;second,</div>127 <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span>······<span·class="keywordflow">return</span>·tmp;</div>
130 <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span>············<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>·epsilon·=·<a·class="code·hl_struct"·href=[·...·truncated·by·diffoscope;·len:·59,·SHA:·1648daf0209e525be4180662b8df6fac3aaf036997b2e1a0c952cc51ef61c209·...·]</div>128 <div·class="line"><a·id="l00221"·name="l00221"></a><span·class="lineno">··221</span>····}</div>
131 <div·class="line"><a·id="l00222"·name="l00222"></a><span·class="lineno">··222</span>·</div>129 <div·class="line"><a·id="l00222"·name="l00222"></a><span·class="lineno">··222</span>··};</div>
132 <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style·<span·class="comment">/*=·defaultCmpStyle*/</span>&gt;</div> 
133 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00409.html#gae9bad71c0f79d8f287fa419dd8bd565b">le</a>(<span·class="keyword">const</span>·T·&amp;first,</div> 
134 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>············<span·class="keyword">const</span>·T·&amp;second,</div> 
135 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>············<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>·epsilon·=·<a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon&lt;T,·style&gt;::value</a>());</div> 
136 <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>·</div>130 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>·</div>
137 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>····<span·class="comment">//·rounding·operations</span></div>131 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T1,·<span·class="keyword">class·</span>V1,·<span·class="keyword">class·</span>R1,·<span·class="keyword">class·</span>D,</div>
Max diff block lines reached; 100694/145066 bytes (69.41%) of diff not shown.
28.3 KB
html2text {}
    
Offset 4, 310 lines modifiedOffset 4, 617 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 float_cmp.hh7 iteratorfacades.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_FLOAT_CMP_HH 
15 ·6#define·DUNE_COMMON_FLOAT_CMP_HH14 ·5#ifndef·DUNE_ITERATORFACADES_HH
 15 ·6#define·DUNE_ITERATORFACADES_HH
16 ·716 ·7
 17 ·8#include·<iterator>
 18 ·9#include·<type_traits>
17 ·97namespace·Dune·{ 
18 ·100·namespace·FloatCmp·{ 
19 ·101·//·basic·constants 
20 104·enum·CmpStyle·{ 
21 106·relativeWeak, 
22 108·relativeStrong, 
23 110·absolute, 
24 ·112·defaultCmpStyle·=·relativeWeak 
25 113·}; 
26 116·enum·RoundingStyle·{ 
27 118·towardZero, 
28 120·towardInf, 
29 122·downward, 
30 124·upward, 
31 ·126·defaultRoundingStyle·=·towardZero 
32 127·}; 
33 ·128 
34 ·129·template<class·T>·struct·EpsilonType; 
35 ·13019 ·10
 20 ·11#include·"typetraits.hh"
36 ·13221 ·12
37 ·137·template<class·T,·CmpStyle·style·=·defaultCmpStyle> 
38 138·struct·DefaultEpsilon·{ 
39 140·static·typename·EpsilonType<T>::Type·value();22 ·13namespace·Dune
 23 ·14{
 24 ·139·template<class·T,·class·V,·class·R·=·V&,·class·D·=·std::ptrdiff_t>
 25 140·class·ForwardIteratorFacade
40 ·141·};26 ·141·{
41 ·14227 ·142
 28 ·143·public:
 29 ·144·/*·type·aliases·required·by·C++·for·iterators·*/
 30 145·using·iterator_category·=·std::forward_iterator_tag;
 31 146·using·value_type·=·typename·std::remove_const<V>::type;
 32 147·using·difference_type·=·D;
 33 148·using·pointer·=·V*;
 34 149·using·reference·=·R;
42 ·143·//·operations·in·functional·style 
43 ·144 
44 ·147 
45 ·149 
46 ·156·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/> 
47 ·157·bool·eq(const·T·&first, 
48 ·158·const·T·&second, 
49 ·159·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value 
50 ()); 
51 ·161 
52 ·169·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/> 
53 ·170·bool·ne(const·T·&first, 
54 ·171·const·T·&second, 
55 ·172·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value 
56 ()); 
57 ·174 
58 ·185·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/> 
59 ·186·bool·gt(const·T·&first, 
60 ·187·const·T·&second, 
61 ·188·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value 
62 ()); 
63 ·19035 ·150
64 ·201·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/> 
65 ·202·bool·lt(const·T·&first, 
66 ·203·const·T·&second, 
67 ·204·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value 
68 ());36 175·typedef·T·DerivedType;
 37 ·176
 38 180·typedef·V·Value;
 39 ·181
 40 185·typedef·V*·Pointer;
 41 ·186
 42 190·typedef·D·DifferenceType;
 43 ·191
 44 195·typedef·R·Reference;
 45 ·196
 46 198·Reference·operator*()·const
 47 ·199·{
 48 ·200·return·static_cast<DerivedType·const*>(this)->dereference();
 49 ·201·}
 50 ·202
 51 203·Pointer·operator->()·const
 52 ·204·{
 53 ·205·return·&(static_cast<const·DerivedType·*>(this)->dereference());
69 ·20654 ·206·}
70 ·217·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/> 
71 ·218·bool·ge(const·T·&first, 
72 ·219·const·T·&second, 
73 ·220·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value 
74 ()); 
75 ·222 
76 ·233·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/> 
77 ·234·bool·le(const·T·&first, 
78 ·235·const·T·&second, 
79 ·236·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value 
80 ()); 
81 ·23755 ·207
82 ·238·//·rounding·operations56 209·DerivedType&·operator++()
 57 ·210·{
 58 ·211·static_cast<DerivedType·*>(this)->increment();
 59 ·212·return·*static_cast<DerivedType·*>(this);
 60 ·213·}
83 ·24061 ·214
 62 216·DerivedType·operator++(int)
 63 ·217·{
 64 ·218·DerivedType·tmp(static_cast<DerivedType·const&>(*this));
 65 ·219·this->operator++();
 66 ·220·return·tmp;
 67 ·221·}
 68 ·222·};
84 ·253·template<class·I,·class·T,·CmpStyle·cstyle·/*=·defaultCmpStyle*/, 
Max diff block lines reached; 22619/28984 bytes (78.04%) of diff not shown.
9.13 KB
./usr/share/doc/libdune-common-doc/doxygen/a00140.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·singleton.hh·File·Reference</title>8 <title>dune-common:·parametertree.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 39 lines modifiedOffset 65, 68 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>··</div>
72 ··<div·class="headertitle"><div·class="title">singleton.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">parametertree.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Useful·wrapper·for·creating·singletons.··75 <p>A·hierarchical·structure·of·string·parameters.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
 78 <code>#include·&lt;cstddef&gt;</code><br·/>
 79 <code>#include·&lt;iostream&gt;</code><br·/>
 80 <code>#include·&lt;istream&gt;</code><br·/>
 81 <code>#include·&lt;iterator&gt;</code><br·/>
 82 <code>#include·&lt;locale&gt;</code><br·/>
 83 <code>#include·&lt;map&gt;</code><br·/>
 84 <code>#include·&lt;ostream&gt;</code><br·/>
 85 <code>#include·&lt;sstream&gt;</code><br·/>
 86 <code>#include·&lt;string&gt;</code><br·/>
 87 <code>#include·&lt;typeinfo&gt;</code><br·/>
 88 <code>#include·&lt;vector&gt;</code><br·/>
 89 <code>#include·&lt;algorithm&gt;</code><br·/>
 90 <code>#include·&lt;bitset&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
77 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00308_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>92 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
78 </div>94 </div>
79 <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p>95 <p><a·href="a00140_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">96 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
82 Classes</h2></td></tr>98 Classes</h2></td></tr>
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html">Dune::Singleton&lt;·T·&gt;</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02344.html">Dune::ParameterTree</a></td></tr>
84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·adapter·to·turn·a·class·into·a·singleton.··<a·href="a02840.html#details">More...</a><br·/></td></tr>100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Hierarchical·structure·of·string·parameters.··<a·href="a02344.html#details">More...</a><br·/></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02352.html">Dune::ParameterTree::Parser&lt;·std::basic_string&lt;·char,·traits,·Allocator·&gt;·&gt;</a></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02356.html">Dune::ParameterTree::Parser&lt;·bool·&gt;</a></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02360.html">Dune::ParameterTree::Parser&lt;·bool·&gt;::ToLower</a></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02364.html">Dune::ParameterTree::Parser&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr>
 109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02368.html">Dune::ParameterTree::Parser&lt;·std::array&lt;·T,·n·&gt;·&gt;</a></td></tr>
 111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02372.html">Dune::ParameterTree::Parser&lt;·std::bitset&lt;·n·&gt;·&gt;</a></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02376.html">Dune::ParameterTree::Parser&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls">116 </table><table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
88 Namespaces</h2></td></tr>118 Namespaces</h2></td></tr>
89 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>119 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
90 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>120 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>122 </table>
93 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>123 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 124 <div·class="textblock"><p·>A·hierarchical·structure·of·string·parameters.·</p>
94 <div·class="textblock"><p·>Useful·wrapper·for·creating·singletons.·</p> 
95 <p·>Inspired·by·the·article·<a·href="http://www.codeguru.com/cpp/cpp/cpp_mfc/singletons/article.php/c755/">CodeGuru:·A·Leak-Free·Singleton·class</a>·</p> 
96 </div></div><!--·contents·-->125 </div></div><!--·contents·-->
97 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
99 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
100 </small></address>129 </small></address>
101 </body>130 </body>
102 </html>131 </html>
1.71 KB
html2text {}
    
Offset 5, 25 lines modifiedOffset 5, 55 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Classes·|·Namespaces8 Classes·|·Namespaces
9 singleton.hh·File·Reference 
10 Useful·wrapper·for·creating·singletons.·More...9 parametertree.hh·File·Reference
 10 A·hierarchical·structure·of·string·parameters.·More...
 11 #include·<array>
 12 #include·<cstddef>
 13 #include·<iostream>
 14 #include·<istream>
 15 #include·<iterator>
 16 #include·<locale>
 17 #include·<map>
 18 #include·<ostream>
 19 #include·<sstream>
 20 #include·<string>
 21 #include·<typeinfo>
 22 #include·<vector>
 23 #include·<algorithm>
 24 #include·<bitset>
 25 #include·<dune/common/exceptions.hh>
11 #include·<dune/common/visibility.hh>26 #include·<dune/common/fvector.hh>
 27 #include·<dune/common/classname.hh>
12 Go_to_the_source_code_of_this_file.28 Go_to_the_source_code_of_this_file.
13 ·Classes29 ·Classes
14 class· Dune::Singleton<_T_> 
15  ······An·adapter·to·turn·a·class·into·a·singleton.·More...30 ·class· Dune::ParameterTree
 31  ·······Hierarchical·structure·of·string·parameters.·More...
 32  
 33 struct· Dune::ParameterTree::Parser<_std::basic_string<_char,_traits,
 34 ·········Allocator_>_>
 35  
 36 struct· Dune::ParameterTree::Parser<_bool_>
 37  
 38 struct· Dune::ParameterTree::Parser<_bool_>::ToLower
 39  
 40 struct· Dune::ParameterTree::Parser<_FieldVector<_T,_n_>_>
 41  
 42 struct· Dune::ParameterTree::Parser<_std::array<_T,_n_>_>
 43  
 44 struct· Dune::ParameterTree::Parser<_std::bitset<_n_>_>
 45  
 46 struct· Dune::ParameterTree::Parser<_std::vector<_T,_A_>_>
16  47  
17 ·Namespaces48 ·Namespaces
18 namespace· Dune49 namespace· Dune
19  ··········Dune·namespace.50  ··········Dune·namespace.
20  51  
21 *****·Detailed·Description·*****52 *****·Detailed·Description·*****
 53 A·hierarchical·structure·of·string·parameters.
22 Useful·wrapper·for·creating·singletons. 
23 Inspired·by·the·article·CodeGuru:_A_Leak-Free_Singleton_class 
  
24 ===============================================================================54 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.455 ·····Generated·by [doxygen]·1.9.4
78.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00140_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·singleton.hh·Source·File</title>8 <title>dune-common:·parametertree.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 58 lines modifiedOffset 62, 309 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">singleton.hh</div></div>68 ··<div·class="headertitle"><div·class="title">parametertree.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00140.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00140.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SINGLETON_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PARAMETERTREE_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SINGLETON_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PARAMETERTREE_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
 79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
 82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;locale&gt;</span></div>
 84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
 85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00308.html">dune/common/visibility.hh</a>&gt;</span></div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>
 87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>
 92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00014.html">dune/common/classname.hh</a>&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
80 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>97 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a02344.html">···36</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02344.html">ParameterTree</a></div>
 100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>
 101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="comment">//·class·providing·a·single·static·parse()·function,·used·by·the</span></div>
 102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·generic·get()·method</span></div>
 103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">struct·</span>Parser;</div>
 105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div>
 107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a02344.html#a431a09c44d71a67f54c3fcd0ae19d437">···47</a></span>····<span·class="keyword">typedef</span>·std::vector&lt;std::string&gt;·<a·class="code·hl_typedef"·href="a02344.html#a431a09c44d71a67f54c3fcd0ae19d437">KeyVector</a>;</div>
81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<a·class="code·hl_function"·href="a02344.html#a568eecdaf5552be971fd69ef4ed663ee">ParameterTree</a>();</div>
82 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
83 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02840.html">···55</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02840.html">Singleton</a></div> 
84 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div>111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
85 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">protected</span>:</div> 
86 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">/*·@brief·Protected·constructor.·*/</span></div> 
87 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a02840.html#a4c8e8068dc0d09d23e86e320e9355cc8">···59</a></span>····<a·class="code·hl_function"·href="a02840.html#a4c8e8068dc0d09d23e86e320e9355cc8">Singleton</a>()·=·<span·class="keywordflow">default</span>;</div> 
88 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
89 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">public</span>:</div>113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02344.html#a7fe0cdda98abc77aec93909e4b06d615">hasKey</a>(<span·class="keyword">const</span>·std::string&amp;·key)·<span·class="keyword">const</span>;</div>
90 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
91 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02840.html#a57f3c57f7f9f0fcfc08550d94e15aaf1">···63</a></span>····<a·class="code·hl_function"·href="a02840.html#a57f3c57f7f9f0fcfc08550d94e15aaf1">Singleton</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02840.html">Singleton</a>&amp;)·=·<span·class="keyword">delete</span>;</div> 
92 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02840.html#aaa5a12878e6f4ca89127990e5197898f">···64</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02840.html#aaa5a12878e6f4ca89127990e5197898f">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02840.html">Singleton</a>&amp;)·=·<span·class="keyword">delete</span>;</div> 
93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>115 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 116 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02344.html#a832cfee8731b35d154629ea500f37a3b">hasSub</a>(<span·class="keyword">const</span>·std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>)·<span·class="keyword">const</span>;</div>
94 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">···70</a></span>····<a·class="code·hl_define"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·T&amp;·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>()</div> 
95 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div> 
96 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">static</span>·T·instance_;</div> 
97 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·instance_;</div> 
98 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div> 
99 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div> 
100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>117 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·Dune</span></div> 
102 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>118 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 119 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5a0919e72eb26ee78e22ed40ca1b7282">operator[]·</a>(<span·class="keyword">const</span>·std::string&amp;·key);</div>
 120 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 121 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 122 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">const</span>·std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5a0919e72eb26ee78e22ed40ca1b7282">operator[]·</a>(<span·class="keyword">const</span>·std::string&amp;·key)·<span·class="keyword">const</span>;</div>
 123 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 124 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 125 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02344.html#a3cc048befa55a9a39ed93505c9200e18">report</a>(std::ostream&amp;·stream·=·std::cout,</div>
 126 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>················<span·class="keyword">const</span>·std::string&amp;·prefix·=·<span·class="stringliteral">&quot;&quot;</span>)·<span·class="keyword">const</span>;</div>
 127 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 128 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 129 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>(<span·class="keyword">const</span>·std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>);</div>
 130 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>
 131 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
 132 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>(<span·class="keyword">const</span>·std::string&amp;·<a·class="code·hl_function"·href="a02344.html#a5f73049178d155458f155be5d15b59c0">sub</a>,·<span·class="keywordtype">bool</span>·fail_if_missing·=·<span·class="keyword">false</span>)·<span·class="keyword">const</span>;</div>
 133 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 134 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div>
 135 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····std::string·<a·class="code·hl_function"·href="a02344.html#a206f94a0e28875b1d25f89d69f9c6ebc">get</a>(<span·class="keyword">const</span>·std::string&amp;·key,·<span·class="keyword">const</span>·std::string&amp;·defaultValue)·<span·class="keyword">const</span>;</div>
 136 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
 137 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>····std::string·<a·class="code·hl_function"·href="a02344.html#a206f94a0e28875b1d25f89d69f9c6ebc">get</a>(<span·class="keyword">const</span>·std::string&amp;·key,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·defaultValue)·<span·class="keyword">const</span>;</div>
 138 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 139 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div>
 140 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 141 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno"><a·class="line"·href="a02344.html#aa82b23ebdc6fac07b24d77ee04076b4c">··158</a></span>····T·<a·class="code·hl_function"·href="a02344.html#aa82b23ebdc6fac07b24d77ee04076b4c">get</a>(<span·class="keyword">const</span>·std::string&amp;·key,·<span·class="keyword">const</span>·T&amp;·defaultValue)<span·class="keyword">·const·</span>{</div>
 142 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>······<span·class="keywordflow">if</span>(<a·class="code·hl_function"·href="a02344.html#a7fe0cdda98abc77aec93909e4b06d615">hasKey</a>(key))</div>
 143 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>········<span·class="keywordflow">return</span>·get&lt;T&gt;(key);</div>
 144 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>······<span·class="keywordflow">else</span></div>
 145 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>········<span·class="keywordflow">return</span>·defaultValue;</div>
 146 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>····}</div>
 147 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div>
 148 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>
 149 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno"><a·class="line"·href="a02344.html#a82a2f1f446462d4a77ce2f32ebbfbbce">··174</a></span>····T·<a·class="code·hl_function"·href="a02344.html#a82a2f1f446462d4a77ce2f32ebbfbbce">get</a>(<span·class="keyword">const</span>·std::string&amp;·key)<span·class="keyword">·const·</span>{</div>
 150 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>······<span·class="keywordflow">if</span>(not·<a·class="code·hl_function"·href="a02344.html#a7fe0cdda98abc77aec93909e4b06d615">hasKey</a>(key))</div>
 151 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>········<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01564.html">Dune::RangeError</a>,·<span·class="stringliteral">&quot;Key·&#39;&quot;</span>·&lt;&lt;·key</div>
 152 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>··········&lt;&lt;·<span·class="stringliteral">&quot;&#39;·not·found·in·ParameterTree·(prefix·&quot;</span>·+·<a·class="code·hl_variable"·href="a02344.html#aaab5bdf8b1c17a07b72ace6ba47b2b60">prefix_</a>·+·<span·class="stringliteral">&quot;)&quot;</span>);</div>
 153 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>······<span·class="keywordflow">try</span>·{</div>
 154 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>········<span·class="keywordflow">return</span>·Parser&lt;T&gt;::parse((*<span·class="keyword">this</span>)[key]);</div>
 155 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>······}</div>
 156 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>······<span·class="keywordflow">catch</span>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01564.html">RangeError</a>&amp;·e)·{</div>
 157 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>········<span·class="comment">//·rethrow·the·error·and·add·more·information</span></div>
Max diff block lines reached; 13540/67191 bytes (20.15%) of diff not shown.
13.2 KB
html2text {}
    
Offset 4, 68 lines modifiedOffset 4, 406 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 singleton.hh7 parametertree.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_SINGLETON_HH 
15 ·6#define·DUNE_SINGLETON_HH14 ·5#ifndef·DUNE_PARAMETERTREE_HH
 15 ·6#define·DUNE_PARAMETERTREE_HH
16 ·716 ·7
 17 ·12#include·<array>
 18 ·13#include·<cstddef>
 19 ·14#include·<iostream>
 20 ·15#include·<istream>
 21 ·16#include·<iterator>
 22 ·17#include·<locale>
 23 ·18#include·<map>
 24 ·19#include·<ostream>
 25 ·20#include·<sstream>
 26 ·21#include·<string>
 27 ·22#include·<typeinfo>
 28 ·23#include·<vector>
 29 ·24#include·<algorithm>
 30 ·25#include·<bitset>
 31 ·26
 32 ·27#include·<dune/common/exceptions.hh>
17 ·8#include·<dune/common/visibility.hh>33 ·28#include·<dune/common/fvector.hh>
18 ·934 ·29#include·<dune/common/classname.hh>
 35 ·30
19 ·17namespace·Dune36 ·31namespace·Dune·{
20 ·18{ 
21 ·54·template<class·T> 
22 55·class·Singleton 
23 ·56·{ 
24 ·57·protected: 
25 ·58·/*·@brief·Protected·constructor.·*/ 
26 59·Singleton()·=·default; 
27 ·6037 ·32
 38 36·class·ParameterTree
 39 ·37·{
 40 ·38·//·class·providing·a·single·static·parse()·function,·used·by·the
 41 ·39·//·generic·get()·method
 42 ·40·template<typename·T>
 43 ·41·struct·Parser;
 44 ·42
28 ·61·public:45 ·43·public:
 46 ·44
 47 47·typedef·std::vector<std::string>·KeyVector;
 48 ·48
 49 ·51·ParameterTree();
 50 ·52
 51 ·53
 52 ·61·bool·hasKey(const·std::string&·key)·const;
29 ·6253 ·62
30 63·Singleton(const·Singleton&)·=·delete; 
31 64·void·operator=(const·Singleton&)·=·delete; 
32 ·65 
33 70·DUNE_EXPORT·static·T&·instance() 
34 ·71·{ 
35 ·72·static·T·instance_; 
36 ·73·return·instance_; 
37 ·74·}54 ·63
 55 ·71·bool·hasSub(const·std::string&·sub)·const;
 56 ·72
 57 ·73
 58 ·82·std::string&·operator[](const·std::string&·key);
 59 ·83
 60 ·84
 61 ·94·const·std::string&·operator[](const·std::string&·key)·const;
 62 ·95
 63 ·96
 64 ·104·void·report(std::ostream&·stream·=·std::cout,
 65 ·105·const·std::string&·prefix·=·"")·const;
 66 ·106
 67 ·107
 68 ·113·ParameterTree&·sub(const·std::string&·sub);
 69 ·114
 70 ·115
 71 ·122·const·ParameterTree&·sub(const·std::string&·sub,·bool·fail_if_missing·=
 72 false)·const;
 73 ·123
 74 ·124
 75 ·133·std::string·get(const·std::string&·key,·const·std::string&·defaultValue)
 76 const;
 77 ·134
 78 ·145·std::string·get(const·std::string&·key,·const·char*·defaultValue)·const;
 79 ·146
 80 ·147
 81 ·157·template<typename·T>
 82 158·T·get(const·std::string&·key,·const·T&·defaultValue)·const·{
 83 ·159·if(hasKey(key))
 84 ·160·return·get<T>(key);
 85 ·161·else
 86 ·162·return·defaultValue;
 87 ·163·}
 88 ·164
 89 ·173·template·<class·T>
 90 174·T·get(const·std::string&·key)·const·{
 91 ·175·if(not·hasKey(key))
 92 ·176·DUNE_THROW(Dune::RangeError,·"Key·'"·<<·key
 93 ·177·<<·"'·not·found·in·ParameterTree·(prefix·"·+·prefix_·+·")");
 94 ·178·try·{
 95 ·179·return·Parser<T>::parse((*this)[key]);
 96 ·180·}
 97 ·181·catch(const·RangeError&·e)·{
 98 ·182·//·rethrow·the·error·and·add·more·information
 99 ·183·DUNE_THROW(RangeError,·"Cannot·parse·value·\""·<<·(*this)[key]
 100 ·184·<<·"\"·for·key·\""·<<·prefix_·<<·"."·<<·key·<<·"\""
 101 ·185·<<·e.what());
 102 ·186·}
 103 ·187·}
 104 ·188
 105 ·196·const·KeyVector&·getValueKeys()·const;
 106 ·197
 107 ·198
 108 ·206·const·KeyVector&·getSubKeys()·const;
 109 ·207
 110 ·208·protected:
 111 ·209
Max diff block lines reached; 4780/13469 bytes (35.49%) of diff not shown.
10.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00143.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·parametertreeparser.hh·File·Reference</title>8 <title>dune-common:·visibility.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 50 lines modifiedOffset 63, 70 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#define-members">Macros</a>··</div>
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">parametertreeparser.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">visibility.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>Various·parser·methods·to·get·data·into·a·ParameterTree·object.··74 <p>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.··
76 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
77 <div·class="textblock"><code>#include·&lt;istream&gt;</code><br·/> 
78 <code>#include·&lt;string&gt;</code><br·/> 
79 <code>#include·&lt;vector&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
82 </div> 
83 <p><a·href="a00143_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00143_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">77 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
86 Classes</h2></td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02380.html">Dune::ParameterTreeParserError</a></td></tr> 
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>··<a·href="a02380.html#details">More...</a><br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02384.html">Dune::HelpRequest</a></td></tr> 
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">exception·thrown·if·the·user·wants·to·see·help·string··<a·href="a02384.html#details">More...</a><br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02388.html">Dune::ParameterTreeParser</a></td></tr> 
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Parsers·to·set·up·a·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·from·various·input·sources.··<a·href="a02388.html#details">More...</a><br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 </table><table·class="memberdecls"> 
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
98 Namespaces</h2></td></tr>79 Macros</h2></td></tr>
99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>80 <tr·class="memitem:a392e8fb5628732502467b715b88974b4"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>&#160;&#160;&#160;implem[·...·truncated·by·diffoscope;·len:·16,·SHA:·ead59419e828a47243b5356ec2164e3dfe70515580b50c8609b61a450beb73a4·...·]</td></tr>
 81 <tr·class="memdesc:a392e8fb5628732502467b715b88974b4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·a·symbol·as·part·of·the·public·ABI.··<a·href="a00143.html#a392e8fb5628732502467b715b88974b4">More...</a><br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a392e8fb5628732502467b715b88974b4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 83 <tr·class="memitem:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00143.html#ab9e9adaae1a11e7546a1b712495d1f42">DUNE_PRIVATE</a>&#160;&#160;&#160;implementation_defined</td></tr>
 84 <tr·class="memdesc:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.··<a·href="a00143.html#ab9e9adaae1a11e7546a1b712495d1f42">More...</a><br·/></td></tr>
 85 <tr·class="separator:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table>86 </table>
103 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
104 <div·class="textblock"><p·>Various·parser·methods·to·get·data·into·a·ParameterTree·object.·</p>88 <div·class="textblock"><p·>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·</p>
 89 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 90 <a·id="a392e8fb5628732502467b715b88974b4"·name="a392e8fb5628732502467b715b88974b4"></a>
 91 <h2·class="memtitle"><span·class="permalink"><a·href="#a392e8fb5628732502467b715b88974b4">&#9670;&nbsp;</a></span>DUNE_EXPORT</h2>
  
 92 <div·class="memitem">
 93 <div·class="memproto">
 94 ······<table·class="memname">
 95 ········<tr>
 96 ··········<td·class="memname">#define·DUNE_EXPORT&#160;&#160;&#160;implementation_defined</td>
 97 ········</tr>
 98 ······</table>
 99 </div><div·class="memdoc">
  
 100 <p>Export·a·symbol·as·part·of·the·public·ABI.·</p>
 101 <p·>Mark·a·class,·function·or·static·variable·as·visible·outside·the·current·DSO.·For·now,·this·is·mostly·important·for·templated·global·variables·and·functions·that·contain·static·variables.·</p>
  
 102 </div>
 103 </div>
 104 <a·id="ab9e9adaae1a11e7546a1b712495d1f42"·name="ab9e9adaae1a11e7546a1b712495d1f42"></a>
 105 <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e9adaae1a11e7546a1b712495d1f42">&#9670;&nbsp;</a></span>DUNE_PRIVATE</h2>
  
 106 <div·class="memitem">
 107 <div·class="memproto">
 108 ······<table·class="memname">
 109 ········<tr>
 110 ··········<td·class="memname">#define·DUNE_PRIVATE&#160;&#160;&#160;implementation_defined</td>
 111 ········</tr>
 112 ······</table>
 113 </div><div·class="memdoc">
  
 114 <p>Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.·</p>
 115 <p·>Mark·a·class,·function·or·static·variable·as·inaccessible·from·outside·the·current·DSO.·Doing·so·will·decrease·the·size·of·the·symbol·table,·but·you·have·to·be·sure·that·the·symbol·will·never·have·to·be·accessed·from·another·library·or·the·main·executable!·</p>
  
 116 </div>
 117 </div>
105 </div></div><!--·contents·-->118 </div><!--·contents·-->
106 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
107 <hr·class="footer"/><address·class="footer"><small>120 <hr·class="footer"/><address·class="footer"><small>
108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
109 </small></address>122 </small></address>
110 </body>123 </body>
111 </html>124 </html>
2.16 KB
html2text {}
    
Offset 4, 35 lines modifiedOffset 4, 38 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Macros
 8 visibility.hh·File·Reference
 9 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·More...
7 Classes·|·Namespaces 
8 parametertreeparser.hh·File·Reference 
9 Various·parser·methods·to·get·data·into·a·ParameterTree·object.·More... 
10 #include·<istream> 
11 #include·<string> 
12 #include·<vector> 
13 #include·<dune/common/parametertree.hh> 
14 #include·<dune/common/exceptions.hh> 
15 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
16 ·Classes 
17 class· Dune::ParameterTreeParserError 
18  ······report·parser·error·while·reading·ParameterTree·More...11 ·Macros
 12 #define DUNE_EXPORT   implementation_defined
 13  ·······Export·a·symbol·as·part·of·the·public·ABI.·More...
19  14  
 15 #define DUNE_PRIVATE   implementation_defined
 16  ·······Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.
 17 ·········More...
20 class· Dune::HelpRequest 
21  ······exception·thrown·if·the·user·wants·to·see·help·string·More... 
22   
23 class· Dune::ParameterTreeParser 
24  ······Parsers·to·set·up·a·ParameterTree·from·various·input·sources.·More... 
25   
26 ·Namespaces 
27 namespace· Dune 
28  ··········Dune·namespace. 
29  18  
30 *****·Detailed·Description·*****19 *****·Detailed·Description·*****
31 Various·parser·methods·to·get·data·into·a·ParameterTree·object.20 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.
 21 *****·Macro·Definition·Documentation·*****
 22 *****·◆ DUNE_EXPORT·*****
 23 #define·DUNE_EXPORT   implementation_defined
 24 Export·a·symbol·as·part·of·the·public·ABI.
 25 Mark·a·class,·function·or·static·variable·as·visible·outside·the·current·DSO.
 26 For·now,·this·is·mostly·important·for·templated·global·variables·and·functions
 27 that·contain·static·variables.
 28 *****·◆ DUNE_PRIVATE·*****
 29 #define·DUNE_PRIVATE   implementation_defined
 30 Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.
 31 Mark·a·class,·function·or·static·variable·as·inaccessible·from·outside·the
 32 current·DSO.·Doing·so·will·decrease·the·size·of·the·symbol·table,·but·you·have
 33 to·be·sure·that·the·symbol·will·never·have·to·be·accessed·from·another·library
 34 or·the·main·executable!
  
32 ===============================================================================35 ===============================================================================
33 ·····Generated·by [doxygen]·1.9.436 ·····Generated·by [doxygen]·1.9.4
24.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00143_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·parametertreeparser.hh·Source·File</title>8 <title>dune-common:·visibility.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 91 lines modifiedOffset 62, 48 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">parametertreeparser.hh</div></div>68 ··<div·class="headertitle"><div·class="title">visibility.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00143.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00143.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PARAMETER_PARSER_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_VISIBILITY_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PARAMETER_PARSER_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_VISIBILITY_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>80 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00143.html#a392e8fb5628732502467b715b88974b4">···20</a></span><span·class="preprocessor">#define·DUNE_EXPORT·implementation_defined</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/parametertree.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>83 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00143.html#ab9e9adaae1a11e7546a1b712495d1f42">···28</a></span><span·class="preprocessor">#define·DUNE_PRIVATE·implementation_defined</span></div>
87 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a02380.html">···22</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02380.html">ParameterTreeParserError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01564.html">RangeError</a>·{};</div> 
88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02384.html">···28</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02384.html">HelpRequest</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01548.html">Exception</a>·{};</div> 
89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#else·</span><span·class="comment">//·DOXYGEN</span></div>
90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02388.html">···34</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02388.html">ParameterTreeParser</a></div> 
91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div> 
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>87 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">static</span>·std::string·ltrim(<span·class="keyword">const</span>·std::string&amp;·s);</div> 
94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">static</span>·std::string·rtrim(<span·class="keyword">const</span>·std::string&amp;·s);</div>88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#if·__GNUC__·&gt;=·4</span></div>
 89 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·GCC·and·Clang·both·define·__GNUC__·to·4·and·they·both·support·the·visibility</span></div>
 90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·attribute</span></div>
 91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·DUNE_EXPORT·__attribute__((visibility(&quot;default&quot;</span>)))</div>
 92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#define·DUNE_PRIVATE·__attribute__((visibility(&quot;hidden&quot;</span>)))</div>
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#else</span></div>
 94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//·We·don&#39;t·know·about·the·active·compiler,·so·just·turn·the·visibility·macros·to·no-ops.</span></div>
 95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#define·DUNE_EXPORT</span></div>
 96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#define·DUNE_PRIVATE</span></div>
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">public</span>:</div>97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif</span></div>
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div>
98 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
99 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02388.html#a8081a535316ca91b018237162e4cda29">readINITree</a>(std::istream&amp;·in,·<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·pt,</div> 
100 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····························<span·class="keywordtype">bool</span>·overwrite);</div> 
101 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
102 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02344.html">Dune::ParameterTree</a>·<a·class="code·hl_function"·href="a02388.html#a8081a535316ca91b018237162e4cda29">readINITree</a>(std::istream&amp;·in);</div> 
103 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
104 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div> 
105 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02388.html#a8081a535316ca91b018237162e4cda29">readINITree</a>(std::istream&amp;·in,·<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·pt,</div> 
106 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····························<span·class="keyword">const</span>·std::string·srcname·=·<span·class="stringliteral">&quot;stream&quot;</span>,</div> 
107 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····························<span·class="keywordtype">bool</span>·overwrite·=·<span·class="keyword">true</span>);</div> 
108 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
109 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> 
110 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02388.html#a8081a535316ca91b018237162e4cda29">readINITree</a>(std::string·file,·<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·pt,·<span·class="keywordtype">bool</span>·overwrite·=·<span·class="keyword">true</span>);</div> 
111 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div> 
112 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="keyword">static</span>·<a·class="code·hl_class"·href="a02344.html">Dune::ParameterTree</a>·<a·class="code·hl_function"·href="a02388.html#a8081a535316ca91b018237162e4cda29">readINITree</a>(<span·class="keyword">const</span>·std::string&amp;·file);</div> 
113 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div>100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
114 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> 
115 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02388.html#a699bfd3ccbdb9d9c6add63e6315c4d6d">readOptions</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>*·argv·[],·<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·pt);</div> 
116 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div> 
117 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02388.html#aa874751f6501ec91b4079b75f057f16a">readNamedOptions</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>*·argv[],</div> 
118 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>······<a·class="code·hl_class"·href="a02344.html">ParameterTree</a>&amp;·pt,</div> 
119 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>······std::vector&lt;std::string&gt;·keywords,</div> 
120 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>······<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·required·=·<a·class="code·hl_function"·href="a00428.html#a63c18a33653d80d902d11126c4547e0d">std::numeric_limits&lt;unsigned·int&gt;::max</a>(),</div> 
121 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>······<span·class="keywordtype">bool</span>·allow_more·=·<span·class="keyword">true</span>,</div> 
122 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>······<span·class="keywordtype">bool</span>·overwrite·=·<span·class="keyword">true</span>,</div> 
123 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>······std::vector&lt;std::string&gt;·help·=·std::vector&lt;std::string&gt;());</div> 
124 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>·</div> 
125 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>··<span·class="keyword">private</span>:</div> 
126 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>····<span·class="keyword">static</span>·std::string·generateHelpString(std::string·progname,·std::vector&lt;std::string&gt;·keywords,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·required,·std::vector&lt;std::string&gt;·help);</div> 
127 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>··};</div> 
128 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>·</div> 
129 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>}·<span·class="comment">//·end·namespace·Dune</span></div> 
130 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div> 
131 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_PARAMETER_PARSER_HH</span></div>101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_VISIBILITY</span></div>
132 <div·class="ttc"·id="aa00110_html"><div·class="ttname"><a·href="a00110.html">parametertree.hh</a></div><div·class="ttdoc">A·hierarchical·structure·of·string·parameters.</div></div> 
133 <div·class="ttc"·id="aa00185_html"><div·class="ttname"><a·href="a00185.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div> 
134 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div> 
135 <div·class="ttc"·id="aa00428_html_a63c18a33653d80d902d11126c4547e0d"><div·class="ttname"><a·href="a00428.html#a63c18a33653d80d902d11126c4547e0d">Dune::AlignedNumberImpl::max</a></div><div·class="ttdeci">auto·max(const·AlignedNumber&lt;·T,·align·&gt;·&amp;a,·const·AlignedNumber&lt;·T,·align·&gt;·&amp;b)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:425</div></div> 
136 <div·class="ttc"·id="aa01548_html"><div·class="ttname"><a·href="a01548.html">Dune::Exception</a></div><div·class="ttdoc">Base·class·for·Dune-Exceptions.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:96</div></div> 
137 <div·class="ttc"·id="aa01564_html"><div·class="ttname"><a·href="a01564.html">Dune::RangeError</a></div><div·class="ttdoc">Default·exception·class·for·range·errors.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:254</div></div> 
138 <div·class="ttc"·id="aa02344_html"><div·class="ttname"><a·href="a02344.html">Dune::ParameterTree</a></div><div·class="ttdoc">Hierarchical·structure·of·string·parameters.</div><div·class="ttdef"><b>Definition:</b>·parametertree.hh:37</div></div> 
139 <div·class="ttc"·id="aa02380_html"><div·class="ttname"><a·href="a02380.html">Dune::ParameterTreeParserError</a></div><div·class="ttdoc">report·parser·error·while·reading·ParameterTree</div><div·class="ttdef"><b>Definition:</b>·parametertreeparser.hh:22</div></div> 
140 <div·class="ttc"·id="aa02384_html"><div·class="ttname"><a·href="a02384.html">Dune::HelpRequest</a></div><div·class="ttdoc">exception·thrown·if·the·user·wants·to·see·help·string</div><div·class="ttdef"><b>Definition:</b>·parametertreeparser.hh:28</div></div> 
141 <div·class="ttc"·id="aa02388_html"><div·class="ttname"><a·href="a02388.html">Dune::ParameterTreeParser</a></div><div·class="ttdoc">Parsers·to·set·up·a·ParameterTree·from·various·input·sources.</div><div·class="ttdef"><b>Definition:</b>·parametertreeparser.hh:35</div></div> 
142 <div·class="ttc"·id="aa02388_html_a699bfd3ccbdb9d9c6add63e6315c4d6d"><div·class="ttname"><a·href="a02388.html#a699bfd3ccbdb9d9c6add63e6315c4d6d">Dune::ParameterTreeParser::readOptions</a></div><div·class="ttdeci">static·void·readOptions(int·argc,·char·*argv[],·ParameterTree·&amp;pt)</div><div·class="ttdoc">parse·command·line·options·and·build·hierarchical·ParameterTree·structure</div><div·class="ttdef"><b>Definition:</b>·parametertreeparser.cc:159</div></div> 
143 <div·class="ttc"·id="aa02388_html_a8081a535316ca91b018237162e4cda29"><div·class="ttname"><a·href="a02388.html#a8081a535316ca91b018237162e4cda29">Dune::ParameterTreeParser::readINITree</a></div><div·class="ttdeci">static·void·readINITree(std::istream·&amp;in,·ParameterTree·&amp;pt,·bool·overwrite)</div><div·class="ttdoc">parse·C++·stream</div><div·class="ttdef"><b>Definition:</b>·parametertreeparser.cc:74</div></div> 
144 <div·class="ttc"·id="aa02388_html_aa874751f6501ec91b4079b75f057f16a"><div·class="ttname"><a·href="a02388.html#aa874751f6501ec91b4079b75f057f16a">Dune::ParameterTreeParser::readNamedOptions</a></div><div·class="ttdeci">static·void·readNamedOptions(int·argc,·char·*argv[],·ParameterTree·&amp;pt,·std::vector&lt;·std::string·&gt;·keywords,·unsigned·int·required=std::numeric_limits&lt;·unsigned·int·&gt;::max(),·bool·allow_more=true,·bool·overwrite=true,·std::vector&lt;·std::string·&gt;·help=std::vector&lt;·std::string·&gt;())</div><div·class="ttdoc">read·[named]·command·line·options·and·build·hierarchical·ParameterTree·structure</div><div·class="ttdef"><b>Definition:</b>·parametertreeparser.cc:175</div></div> 
145 </div><!--·fragment·--></div><!--·contents·-->102 </div><!--·fragment·--></div><!--·contents·-->
146 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
147 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
148 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
149 </small></address>106 </small></address>
150 </body>107 </body>
151 </html>108 </html>
4.7 KB
html2text {}
    
Offset 4, 122 lines modifiedOffset 4, 46 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 parametertreeparser.hh7 visibility.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_PARAMETER_PARSER_HH 
15 ·6#define·DUNE_PARAMETER_PARSER_HH14 ·5#ifndef·DUNE_COMMON_VISIBILITY_HH
 15 ·6#define·DUNE_COMMON_VISIBILITY_HH
16 ·716 ·7
 17 ·12#ifdef·DOXYGEN
 18 ·13
17 ·12#include·<istream> 
18 ·13#include·<string> 
19 ·14#include·<vector> 
20 ·1519 ·15
 20 20#define·DUNE_EXPORT·implementation_defined
 21 ·21
 22 ·23
 23 28#define·DUNE_PRIVATE·implementation_defined
21 ·16#include·<dune/common/parametertree.hh> 
22 ·17#include·<dune/common/exceptions.hh> 
23 ·18 
24 ·19namespace·Dune·{ 
25 ·20 
26 22·class·ParameterTreeParserError·:·public·RangeError·{}; 
27 28·class·HelpRequest·:·public·Exception·{}; 
28 ·2924 ·29
 25 ·30#else·//·DOXYGEN
 26 ·31
 27 ·32#if·__GNUC__·>=·4
 28 ·33//·GCC·and·Clang·both·define·__GNUC__·to·4·and·they·both·support·the
 29 visibility
 30 ·34//·attribute
 31 ·35#define·DUNE_EXPORT·__attribute__((visibility("default")))
 32 ·36#define·DUNE_PRIVATE·__attribute__((visibility("hidden")))
 33 ·37#else
 34 ·38//·We·don't·know·about·the·active·compiler,·so·just·turn·the·visibility
 35 macros·to·no-ops.
 36 ·39#define·DUNE_EXPORT
 37 ·40#define·DUNE_PRIVATE
 38 ·41#endif
 39 ·42
 40 ·43#endif·//·DOXYGEN
29 34·class·ParameterTreeParser 
30 ·35·{ 
31 ·36 
32 ·37·static·std::string·ltrim(const·std::string&·s); 
33 ·38·static·std::string·rtrim(const·std::string&·s); 
34 ·39 
35 ·40·public: 
36 ·41 
37 ·85 
38 ·96·static·void·readINITree(std::istream&·in,·ParameterTree&·pt, 
39 ·97·bool·overwrite); 
40 ·98 
41 ·105·static·Dune::ParameterTree·readINITree(std::istream&·in); 
42 ·106 
43 ·107 
44 ·120·static·void·readINITree(std::istream&·in,·ParameterTree&·pt, 
45 ·121·const·std::string·srcname·=·"stream", 
46 ·122·bool·overwrite·=·true); 
47 ·123 
48 ·124 
49 ·135·static·void·readINITree(std::string·file,·ParameterTree&·pt,·bool 
50 overwrite·=·true); 
51 ·136 
52 ·143·static·Dune::ParameterTree·readINITree(const·std::string&·file); 
53 ·14441 ·44
 42 ·45#endif·//·DUNE_COMMON_VISIBILITY
54 ·146 
55 ·158·static·void·readOptions(int·argc,·char*·argv·[],·ParameterTree&·pt); 
56 ·159 
57 ·177·static·void·readNamedOptions(int·argc,·char*·argv[], 
58 ·178·ParameterTree&·pt, 
59 ·179·std::vector<std::string>·keywords, 
60 ·180·unsigned·int·required·=·std::numeric_limits<unsigned_int>::max(), 
61 ·181·bool·allow_more·=·true, 
62 ·182·bool·overwrite·=·true, 
63 ·183·std::vector<std::string>·help·=·std::vector<std::string>()); 
64 ·184 
65 ·185·private: 
66 ·186·static·std::string·generateHelpString(std::string·progname,·std:: 
67 vector<std::string>·keywords,·unsigned·int·required,·std::vector<std::string> 
68 help); 
69 ·187·}; 
70 ·188 
71 ·189}·//·end·namespace·Dune 
72 ·190 
73 ·191#endif·//·DUNE_PARAMETER_PARSER_HH 
74 parametertree.hh 
75 A·hierarchical·structure·of·string·parameters. 
76 exceptions.hh 
77 A·few·common·exception·classes. 
78 Dune 
79 Dune·namespace. 
80 Definition:·alignedallocator.hh:13 
81 Dune::AlignedNumberImpl::max 
82 auto·max(const·AlignedNumber<·T,·align·>·&a,·const·AlignedNumber<·T,·align·> 
83 &b) 
84 Definition:·debugalign.hh:425 
85 Dune::Exception 
86 Base·class·for·Dune-Exceptions. 
87 Definition:·exceptions.hh:96 
88 Dune::RangeError 
89 Default·exception·class·for·range·errors. 
90 Definition:·exceptions.hh:254 
91 Dune::ParameterTree 
92 Hierarchical·structure·of·string·parameters. 
93 Definition:·parametertree.hh:37 
94 Dune::ParameterTreeParserError 
95 report·parser·error·while·reading·ParameterTree 
96 Definition:·parametertreeparser.hh:22 
97 Dune::HelpRequest 
98 exception·thrown·if·the·user·wants·to·see·help·string 
99 Definition:·parametertreeparser.hh:28 
100 Dune::ParameterTreeParser 
101 Parsers·to·set·up·a·ParameterTree·from·various·input·sources. 
102 Definition:·parametertreeparser.hh:35 
Max diff block lines reached; 116/4792 bytes (2.42%) of diff not shown.
25.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00146.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·float_cmp.cc·File·Reference</title>8 <title>dune-common:·alignedallocator.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 116 lines modifiedOffset 64, 36 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">float_cmp.cc·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">alignedallocator.hh·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00137_source.html">float_cmp.hh</a>&quot;</code><br·/>75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00023_source.html">mallocallocator.hh</a>&quot;</code><br·/>
77 <code>#include·&lt;vector&gt;</code><br·/> 
78 <code>#include·&lt;limits&gt;</code><br·/> 
79 <code>#include·&lt;algorithm&gt;</code><br·/> 
80 <code>#include·&lt;cstdlib&gt;</code><br·/>76 <code>#include·&lt;cstdlib&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>77 </div>
 78 <p><a·href="a00146_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 </div><table·class="memberdecls">79 <table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
84 Classes</h2></td></tr>81 Classes</h2></td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01588.html">Dune::FloatCmp::EpsilonType&lt;·T·&gt;</a></td></tr> 
86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Mapping·of·value·type·to·epsilon·type.··<a·href="a01588.html#details">More...</a><br·/></td></tr> 
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01592.html">Dune::FloatCmp::EpsilonType&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr> 
89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·of·<a·class="el"·href="a01588.html"·title="Mapping·of·value·type·to·epsilon·type.">EpsilonType</a>·for·std::vector.··<a·href="a01592.html#details">More...</a><br·/></td></tr> 
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01596.html">Dune::FloatCmp::EpsilonType&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr> 
92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·of·<a·class="el"·href="a01588.html"·title="Mapping·of·value·type·to·epsilon·type.">EpsilonType</a>·for·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">Dune::FieldVector</a>.··<a·href="a01596.html#details">More...</a><br·/></td></tr> 
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01600.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeWeak·&gt;</a></td></tr>82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01268.html">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;</a></td></tr>
 83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Allocators·which·guarantee·alignment·of·the·memory.··<a·href="a01268.html#details">More...</a><br·/></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01272.html">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;::rebind&lt;·U·&gt;</a></td></tr>
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01604.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeStrong·&gt;</a></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01608.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·absolute·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
102 Namespaces</h2></td></tr>89 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00434"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00434.html">Dune::FloatCmp</a></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 </table><table·class="memberdecls"> 
109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
110 Functions</h2></td></tr> 
111 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
112 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">Dune::FloatCmp::eq</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
113 <tr·class="memdesc:ga50c93e693f102298c61ecb14758f8d5b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·equality·using·epsilon··<a·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">More...</a><br·/></td></tr> 
114 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
116 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">Dune::FloatCmp::ne</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
117 <tr·class="memdesc:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·inequality·using·epsilon··<a·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">More...</a><br·/></td></tr> 
118 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
120 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">Dune::FloatCmp::gt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
121 <tr·class="memdesc:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·than·second··<a·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">More...</a><br·/></td></tr> 
122 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
124 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">Dune::FloatCmp::lt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
125 <tr·class="memdesc:gacca725b16b35b04c4eea0c4ee21757de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·than·second··<a·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">More...</a><br·/></td></tr> 
126 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
128 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae8eb5c5d458b2556d5d685bb65161aef">Dune::FloatCmp::ge</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
129 <tr·class="memdesc:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·or·equal·second··<a·href="a00409.html#gae8eb5c5d458b2556d5d685bb65161aef">More...</a><br·/></td></tr> 
130 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr> 
132 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae9bad71c0f79d8f287fa419dd8bd565b">Dune::FloatCmp::le</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr> 
133 <tr·class="memdesc:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·or·equal·second··<a·href="a00409.html#gae9bad71c0f79d8f287fa419dd8bd565b">More...</a><br·/></td></tr> 
134 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:a20989b2c0619b31d8a15c85aae184d32"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
136 <tr·class="memitem:a20989b2c0619b31d8a15c85aae184d32"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a20989b2c0619b31d8a15c85aae184d32">Dune::FloatCmp::eq</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr> 
137 <tr·class="separator:a20989b2c0619b31d8a15c85aae184d32"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:af10cd25d78f35677c8d588e924792cff"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
139 <tr·class="memitem:af10cd25d78f35677c8d588e924792cff"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#af10cd25d78f35677c8d588e924792cff">Dune::FloatCmp::ne</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr> 
140 <tr·class="separator:af10cd25d78f35677c8d588e924792cff"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
142 <tr·class="memitem:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a15ac4ddae1d906c2ea6c6aa0e16c0e41">Dune::FloatCmp::gt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr> 
143 <tr·class="separator:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 <tr·class="memitem:ac752c032096de736aa97b2c6cbcd5190"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
145 <tr·class="memitem:ac752c032096de736aa97b2c6cbcd5190"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#ac752c032096de736aa97b2c6cbcd5190">Dune::FloatCmp::lt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr> 
146 <tr·class="separator:ac752c032096de736aa97b2c6cbcd5190"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
147 <tr·class="memitem:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
148 <tr·class="memitem:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a9c439fbc2fe166ff75f97f69fb5aee9d">Dune::FloatCmp::ge</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr> 
149 <tr·class="separator:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 <tr·class="memitem:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
151 <tr·class="memitem:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a28bc28618b41c234fb9c83284c6a9d52">Dune::FloatCmp::le</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr> 
152 <tr·class="separator:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
153 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr> 
154 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga510d97be4644ccab5db0b674d79633c6">Dune::FloatCmp::round</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·cstyle·&gt;::value())</td></tr> 
155 <tr·class="memdesc:ga510d97be4644ccab5db0b674d79633c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">round·using·epsilon··<a·href="a00409.html#ga510d97be4644ccab5db0b674d79633c6">More...</a><br·/></td></tr> 
156 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
157 <tr·class="memitem:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle&gt;·</td></tr> 
158 <tr·class="memitem:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#aa1c6178f9e297570109a68b93e95a3ef">Dune::FloatCmp::round</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·cstyle·&gt;::value())</td></tr> 
159 <tr·class="separator:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
160 <tr·class="memitem:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·&gt;·</td></tr> 
161 <tr·class="memitem:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a1014d75e7683b011cabd18f3ab8d2499">Dune::FloatCmp::round</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr> 
162 <tr·class="separator:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
163 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr> 
164 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga78eaf86b21236f5c55336724e911da08">Dune::FloatCmp::trunc</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·cstyle·&gt;::value())</td></tr> 
165 <tr·class="memdesc:ga78eaf86b21236f5c55336724e911da08"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">truncate·using·epsilon··<a·href="a00409.html#ga78eaf86b21236f5c55336724e911da08">More...</a><br·/></td></tr> 
166 <tr·class="separator:ga78eaf86b21236f5c55336724e911da08"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
167 <tr·class="memitem:aa47496c22fdda340c3f4d0d1ac0b56a1"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle&gt;·</td></tr> 
168 <tr·class="memitem:aa47496c22fdda340c3f4d0d1ac0b56a1"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#aa47496c22fdda340c3f4d0d1ac0b56a1">Dune::FloatCmp::trunc</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·cstyle·&gt;::value())</td></tr> 
169 <tr·class="separator:aa47496c22fdda340c3f4d0d1ac0b56a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
170 <tr·class="memitem:a07975dfac981cd91b7a159e57a3c1d5d"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·&gt;·</td></tr> 
171 <tr·class="memitem:a07975dfac981cd91b7a159e57a3c1d5d"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a07975dfac981cd91b7a159e57a3c1d5d">Dune::FloatCmp::trunc</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr> 
Max diff block lines reached; 287/20912 bytes (1.37%) of diff not shown.
4.92 KB
html2text {}
    
Offset 4, 127 lines modifiedOffset 4, 25 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Classes·|·Namespaces
 8 alignedallocator.hh·File·Reference
 9 #include·"mallocallocator.hh"
8 float_cmp.cc·File·Reference 
9 #include·"float_cmp.hh" 
10 #include·<vector> 
11 #include·<limits> 
12 #include·<algorithm> 
13 #include·<cstdlib>10 #include·<cstdlib>
14 #include·<dune/common/fvector.hh>11 Go_to_the_source_code_of_this_file.
15 ·Classes12 ·Classes
16 struct· Dune::FloatCmp::EpsilonType<_T_> 
17  ·······Mapping·of·value·type·to·epsilon·type.·More...13 ·class· Dune::AlignedAllocator<_T,_Alignment_>
 14  ·······Allocators·which·guarantee·alignment·of·the·memory.·More...
18  15  
 16 struct· Dune::AlignedAllocator<_T,_Alignment_>::rebind<_U_>
19 struct· Dune::FloatCmp::EpsilonType<_std::vector<_T,_A_>_> 
20  ·······Specialization·of·EpsilonType·for·std::vector.·More... 
21   
22 struct· Dune::FloatCmp::EpsilonType<_FieldVector<_T,_n_>_> 
23  ·······Specialization·of·EpsilonType·for·Dune::FieldVector.·More... 
24   
25 struct· Dune::FloatCmp::DefaultEpsilon<_T,_relativeWeak_> 
26   
27 struct· Dune::FloatCmp::DefaultEpsilon<_T,_relativeStrong_> 
28   
29 struct· Dune::FloatCmp::DefaultEpsilon<_T,_absolute_> 
30  17  
31 ·Namespaces18 ·Namespaces
32 namespace· Dune19 namespace· Dune
33  ··········Dune·namespace.20  ··········Dune·namespace.
34  21  
35 namespace· Dune::FloatCmp 
36   
37 ·Functions 
38 template<class·T·,·CmpStyle·style> 
39 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename 
40 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
41  ····test·for·equality·using·epsilon·More... 
42   
43 template<class·T·,·CmpStyle·style> 
44 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename 
45 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
46  ····test·for·inequality·using·epsilon·More... 
47   
48 template<class·T·,·CmpStyle·style> 
49 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename 
50 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
51  ····test·if·first·greater·than·second·More... 
52   
53 template<class·T·,·CmpStyle·style> 
54 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename 
55 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
56  ····test·if·first·lesser·than·second·More... 
57   
58 template<class·T·,·CmpStyle·style> 
59 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename 
60 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
61  ····test·if·first·greater·or·equal·second·More... 
62   
63 template<class·T·,·CmpStyle·style> 
64 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename 
65 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value()) 
66  ····test·if·first·lesser·or·equal·second·More... 
67   
68 template<class·T·> 
69 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename 
70 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
71 ······value()) 
72   
73 template<class·T·> 
74 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename 
75 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
76 ······value()) 
77   
78 template<class·T·> 
79 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename 
80 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
81 ······value()) 
82   
83 template<class·T·> 
84 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename 
85 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
86 ······value()) 
87   
88 template<class·T·> 
89 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename 
90 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
91 ······value()) 
92   
93 template<class·T·> 
94 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename 
95 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>:: 
96 ······value()) 
97   
98 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle> 
99 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type 
100 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
101  ····round·using·epsilon·More... 
102   
103 template<class·I·,·class·T·,·CmpStyle·cstyle> 
104 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type 
105 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
106   
107 template<class·I·,·class·T·> 
108 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type 
109 ······epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::value()) 
110   
111 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle> 
112 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type 
113 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
114  ····truncate·using·epsilon·More... 
115   
116 template<class·I·,·class·T·,·CmpStyle·cstyle> 
117 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type 
118 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value()) 
119   
120 template<class·I·,·class·T·> 
121 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type 
122 ······epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::value()) 
Max diff block lines reached; 116/5010 bytes (2.32%) of diff not shown.
6.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a00149.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·filledarray.hh·File·Reference</title>8 <title>dune-common:·make_array.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 47 lines modifiedOffset 58, 45 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#namespaces">Namespaces</a>·&#124;69 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#func-members">Functions</a>··</div>70 <a·href="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">filledarray.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">make_array.hh·File·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Utility·to·generate·an·array·with·a·certain·value.·· 
75 <a·href="#details">More...</a></p> 
76 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
77 <code>#include·&lt;cstddef&gt;</code><br·/>75 <code>#include·&lt;type_traits&gt;</code><br·/>
78 </div>76 </div>
79 <p><a·href="a00149_source.html">Go·to·the·source·code·of·this·file.</a></p>77 <p><a·href="a00149_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">78 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
82 Namespaces</h2></td></tr>80 Namespaces</h2></td></tr>
83 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>81 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
84 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>82 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 84 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>
 85 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
 86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
88 Functions</h2></td></tr>89 Functions</h2></td></tr>
89 <tr·class="memitem:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·n,·class·T·&gt;·</td></tr> 
90 <tr·class="memitem:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·std::array&lt;·T,·n·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">Dune::filledArray</a>·(const·T·&amp;t)</td></tr> 
91 <tr·class="memdesc:ga46cb139c38212292b2f30c3b2743aa48"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·an·array·filled·with·the·provided·value.··<a·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">More...</a><br·/></td></tr>90 <tr·class="memitem:ga7c124024a54a49656588ff974ee67996"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Args&gt;·</td></tr>
 91 <tr·class="memitem:ga7c124024a54a49656588ff974ee67996"><td·class="memTemplItemLeft"·align="right"·valign="top">std::array&lt;·typename·std::common_type&lt;·Args...·&gt;::type,·sizeof...(Args)&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">Dune::Std::make_array</a>·(const·Args·&amp;...·args)</td></tr>
 92 <tr·class="memdesc:ga7c124024a54a49656588ff974ee67996"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·and·initialize·an·array.··<a·href="a00406.html#ga7c124024a54a49656588ff974ee67996">More...</a><br·/></td></tr>
92 <tr·class="separator:ga46cb139c38212292b2f30c3b2743aa48"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:ga7c124024a54a49656588ff974ee67996"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table>94 </table>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
95 <div·class="textblock"><p·>Utility·to·generate·an·array·with·a·certain·value.·</p> 
96 </div></div><!--·contents·-->95 </div><!--·contents·-->
97 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>97 <hr·class="footer"/><address·class="footer"><small>
99 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.498 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
100 </small></address>99 </small></address>
101 </body>100 </body>
102 </html>101 </html>
1.14 KB
html2text {}
    
Offset 4, 28 lines modifiedOffset 4, 29 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·std
7 Namespaces·|·Functions8 Namespaces·|·Functions
8 filledarray.hh·File·Reference9 make_array.hh·File·Reference
9 Utility·to·generate·an·array·with·a·certain·value.·More... 
10 #include·<array>10 #include·<array>
11 #include·<cstddef>11 #include·<type_traits>
12 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
13 ·Namespaces13 ·Namespaces
14 namespace· Dune14 namespace· Dune
15  ··········Dune·namespace.15  ··········Dune·namespace.
16  16  
 17 namespace· Dune::Std
 18  ··········Namespace·for·features·backported·from·new·C++·standards.
 19  
17 ·Functions20 ·Functions
18 template<std::size_t·n,·class·T·> 
19 constexpr·std::array<·T,·n·> Dune::filledArray·(const·T·&t) 
20  ····························Return·an·array·filled·with·the·provided·value. 
21 ······························More...21 template<typename...·Args>
 22 std::array<·typename·std::common_type<·Dune::Std::make_array·(const·Args·&...
 23 ····Args...·>::type,·sizeof...(Args)> args)
 24  ·····································Create·and·initialize·an·array.·More...
22  25  
23 *****·Detailed·Description·***** 
24 Utility·to·generate·an·array·with·a·certain·value. 
  
25 ===============================================================================26 ===============================================================================
26 ·····Generated·by [doxygen]·1.9.427 ·····Generated·by [doxygen]·1.9.4
15.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00149_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·filledarray.hh·Source·File</title>8 <title>dune-common:·make_array.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 49 lines modifiedOffset 58, 61 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">filledarray.hh</div></div>68 ··<div·class="headertitle"><div·class="title">make_array.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00149.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00149.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_MAKE_ARRAY_HH</span></div>
 74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_STD_MAKE_ARRAY_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_FILLED_ARRAY_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_FILLED_ARRAY_HH</span></div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;experimental/array&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#endif</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#warning·make_array.hh·is·deprecated·and·will·be·removed·after·Dune·2.9.·\</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">··Use·deduction·guide·of·`std::array`·or·`std::to_array`.</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Std·{</div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY</span></div>
84 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">std::experimental::make_array</a>;</div>
85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·n,·<span·class="keyword">class</span>·T&gt;</div> 
86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">···33</a></span>··<span·class="keyword">constexpr</span>·std::array&lt;T,·n&gt;·<a·class="code·hl_function"·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">filledArray</a>(<span·class="keyword">const</span>·T&amp;·t)</div> 
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#else·</span><span·class="comment">//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY</span></div>
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····std::array&lt;T,·n&gt;·arr{};</div> 
89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="comment">//·this·is·constexpr·in·c++17,·`arr.fill(t)`·is·not</span></div> 
90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·&amp;el·:·arr)</div> 
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······el·=·t;</div>94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 95 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>...·Args&gt;</div>
 97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··std::array&lt;<span·class="keyword">typename</span>·std::common_type&lt;Args...&gt;::type,·<span·class="keyword">sizeof</span>...(Args)&gt;</div>
 98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">···43</a></span>··<a·class="code·hl_function"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">make_array</a>(<span·class="keyword">const</span>·Args&amp;...·args)·{</div>
 99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····std::array&lt;<span·class="keyword">typename</span>·std::common_type&lt;Args...&gt;::type,·<span·class="keyword">sizeof</span>...(Args)&gt;</div>
 100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········result·=·{{args...}};</div>
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·arr;</div>101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·result;</div>
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div>
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>}·<span·class="comment">//·end·namespace·Dune</span></div>104 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY</span></div>
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>105 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div>
 107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}</div>
 108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_FILLED_ARRAY_HH</span></div>109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif</span></div>
98 <div·class="ttc"·id="aa00397_html_ga46cb139c38212292b2f30c3b2743aa48"><div·class="ttname"><a·href="a00397.html#ga46cb139c38212292b2f30c3b2743aa48">Dune::filledArray</a></div><div·class="ttdeci">constexpr·std::array&lt;·T,·n·&gt;·filledArray(const·T·&amp;t)</div><div·class="ttdoc">[·...·truncated·by·diffoscope;·len:·107,·SHA:·fd5ec8fe63fcea203eb250f817ae4388f02202d25270c4e2e100b47ff751c11d·...·]3</div></div>110 <div·class="ttc"·id="aa00406_html_ga7c124024a54a49656588ff974ee67996"><div·class="ttname"><a·href="a00406.html#ga7c124024a54a49656588ff974ee67996">Dune::Std::make_array</a></div><div·class="ttdeci">std::array&lt;·typename·std::common_type&lt;·Args...·&gt;::type,·sizeof...(Args)&gt[·...·truncated·by·diffoscope;·len:·153,·SHA:·5e69f538d7c7b44b76d55afcc745b4fce12b82d8c68684fbdd477d686b2a1794·...·]3</div></div>
99 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>111 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
100 </div><!--·fragment·--></div><!--·contents·-->112 </div><!--·fragment·--></div><!--·contents·-->
101 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>114 <hr·class="footer"/><address·class="footer"><small>
103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
104 </small></address>116 </small></address>
105 </body>117 </body>
2.51 KB
html2text {}
    
Offset 4, 47 lines modifiedOffset 4, 61 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 filledarray.hh7 ····*·std
 8 make_array.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 13 ·3#ifndef·DUNE_COMMON_STD_MAKE_ARRAY_HH
 14 ·4#define·DUNE_COMMON_STD_MAKE_ARRAY_HH
14 ·515 ·5
15 ·6#ifndef·DUNE_COMMON_FILLED_ARRAY_HH 
16 ·7#define·DUNE_COMMON_FILLED_ARRAY_HH16 ·6#include·<array>
 17 ·7#include·<type_traits>
17 ·818 ·8
18 ·13#include·<array> 
19 ·14#include·<cstddef>19 ·9#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 20 ·10#include·<experimental/array>
 21 ·11#endif
 22 ·12
 23 ·13#warning·make_array.hh·is·deprecated·and·will·be·removed·after·Dune·2.9.·\
 24 ·14·Use·deduction·guide·of·`std::array`·or·`std::to_array`.
20 ·1525 ·15
21 ·16namespace·Dune26 ·16namespace·Dune·{
22 ·17{ 
23 ·24 
24 ·32·template<std::size_t·n,·class·T> 
25 33·constexpr·std::array<T,·n>·filledArray(const·T&·t) 
26 ·34·{ 
27 ·35·std::array<T,·n>·arr{}; 
28 ·36·//·this·is·constexpr·in·c++17,·`arr.fill(t)`·is·not 
29 ·37·for(auto·&el·:·arr) 
30 ·38·el·=·t; 
31 ·39·return·arr;27 ·17namespace·Std·{
 28 ·18
 29 ·19#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 30 ·20
 31 ·22·using·std::experimental::make_array;
 32 ·23
 33 ·24#else·//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 34 ·25
 35 ·27
 36 ·41·template·<typename...·Args>
 37 ·42·std::array<typename·std::common_type<Args...>::type,·sizeof...(Args)>
 38 43·make_array(const·Args&...·args)·{
 39 ·44·std::array<typename·std::common_type<Args...>::type,·sizeof...(Args)>
 40 ·45·result·=·{{args...}};
 41 ·46·return·result;
32 ·40·}42 ·47·}
33 ·41 
34 ·44}·//·end·namespace·Dune 
35 ·45 
36 ·46#endif·//·DUNE_COMMON_FILLED_ARRAY_HH 
37 Dune::filledArray 
38 constexpr·std::array<·T,·n·>·filledArray(const·T·&t) 
39 Return·an·array·filled·with·the·provided·value.43 ·48
 44 ·49#endif·//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY
 45 ·50
 46 ·51}
 47 ·52}
 48 ·53
 49 ·54#endif
 50 Dune::Std::make_array
 51 std::array<·typename·std::common_type<·Args...·>::type,·sizeof...(Args)>
 52 make_array(const·Args·&...·args)
 53 Create·and·initialize·an·array.
40 Definition:·filledarray.hh:3354 Definition:·make_array.hh:43
41 Dune55 Dune
42 Dune·namespace.56 Dune·namespace.
43 Definition:·alignedallocator.hh:1357 Definition:·alignedallocator.hh:13
  
44 ===============================================================================58 ===============================================================================
45 ·····Generated·by [doxygen]·1.9.459 ·····Generated·by [doxygen]·1.9.4
20.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00152.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·unused.hh·File·Reference</title>8 <title>dune-common:·type_traits.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 36 lines modifiedOffset 58, 102 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
 70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#typedef-members">Typedefs</a>·&#124;
69 <a·href="#define-members">Macros</a>··</div>72 <a·href="#var-members">Variables</a>··</div>
70 ··<div·class="headertitle"><div·class="title">unused.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">type_traits.hh·File·Reference</div></div>
71 </div><!--header-->74 </div><!--header-->
72 <div·class="contents">75 <div·class="contents">
  
73 <p>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.·· 
74 <a·href="#details">More...</a></p> 
 76 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
 77 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
 79 </div>
75 <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00152_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <table·class="memberdecls">81 <table·class="memberdecls">
 82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 83 Classes</h2></td></tr>
 84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02868.html">Dune::Std::nonesuch</a></td></tr>
 85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·representing·a·lookup·failure·by·std::detected_or·and·friends.··<a·href="a02868.html#details">More...</a><br·/></td></tr>
 86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02872.html">Dune::Std::conjunction&lt;·B·&gt;</a></td></tr>
 88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">forms·the·logical·conjunction·of·the·type·traits·B...··<a·href="a02872.html#details">More...</a><br·/></td></tr>
 89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02876.html">Dune::Std::disjunction&lt;·B·&gt;</a></td></tr>
 91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">forms·the·logical·disjunction·of·the·type·traits·B...··<a·href="a02876.html#details">More...</a><br·/></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02880.html">Dune::Std::negation&lt;·B·&gt;</a></td></tr>
 94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">forms·the·logical·negation·of·the·type·traits·B...··<a·href="a02880.html#details">More...</a><br·/></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 </table><table·class="memberdecls">
 97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 98 Namespaces</h2></td></tr>
 99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>
 103 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
 104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 </table><table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
78 Macros</h2></td></tr> 
79 <tr·class="memitem:ga82d6aa0dcd7f162d42922460058fbf86"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">DUNE_UNUSED_PARAMETER</[·...·truncated·by·diffoscope;·len:·57,·SHA:·60f322b39914d79be377c17135d29ac1f1f8a8ed7a4bfd01a4dd228a1140481d·...·]</td></tr>107 Typedefs</h2></td></tr>
 108 <tr·class="memitem:gadb4713b99082ef169f74666e0ec7a46e"><td·class="memTemplParams"·colspan="2">template&lt;typename·Default·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 109 <tr·class="memitem:gadb4713b99082ef169f74666e0ec7a46e"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">Dune::Std::detected_or</a>·=·Impl::detector&lt;·Default,·void,·Op,·Args...·&gt;</td></tr>
 110 <tr·class="memdesc:gadb4713b99082ef169f74666e0ec7a46e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Detects·whether·<code>Op&lt;Args...&gt;</code>·is·valid·and·makes·the·result·available.··<a·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">More...</a><br·/></td></tr>
 111 <tr·class="separator:gadb4713b99082ef169f74666e0ec7a46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 113 <tr·class="memitem:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">Dune::Std::is_detected</a>·=·typename·detected_or&lt;·nonesuch,·Op,·Args...·&gt;::value_t</td></tr>
 114 <tr·class="memdesc:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Detects·whether·<code>Op&lt;Args...&gt;</code>·is·valid.··<a·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">More...</a><br·/></td></tr>
80 <tr·class="separator:ga82d6aa0dcd7f162d42922460058fbf86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 117 <tr·class="memitem:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">Dune::Std::detected_t</a>·=·typename·detected_or&lt;·nonesuch,·Op,·Args...·&gt;::type</td></tr>
 118 <tr·class="memdesc:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Returns·<code>Op&lt;Args...&gt;</code>·if·that·is·valid;·otherwise·returns·nonesuch.··<a·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">More...</a><br·/></td></tr>
 119 <tr·class="separator:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="memTemplParams"·colspan="2">template&lt;typename·Default·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 121 <tr·class="memitem:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">Dune::Std::detected_or_t</a>·=·typename·detected_or&lt;·Default,·Op,·Args...·&gt;::type</td></tr>
 122 <tr·class="memdesc:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Returns·<code>Op&lt;Args...&gt;</code>·if·that·is·valid;·otherwise·returns·the·fallback·type·<code>Default</code>.··<a·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">More...</a><br·/></td></tr>
 123 <tr·class="separator:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 <tr·class="memitem:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="memTemplParams"·colspan="2">template&lt;typename·Expected·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 125 <tr·class="memitem:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga6778de5ea60a45fdae6db8b6d8c8b6f7">Dune::Std::is_detected_exact</a>·=·std::is_same&lt;·Expected,·detected_t&lt;·Op,·Args...·&gt;·&gt;</td></tr>
 126 <tr·class="memdesc:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·whether·<code>Op&lt;Args...&gt;</code>·is·<code>Expected</code>·without·causing·an·error·if·<code>Op&lt;Args...&gt;</code>·is·invalid.··<a·href="a00406.html#ga6778de5ea60a45fdae6db8b6d8c8b6f7">More...</a><br·/></td></tr>
 127 <tr·class="separator:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:gaf26ed902d20da735bae252683a9ac5ce"><td·class="memTemplParams"·colspan="2">template&lt;typename·Target·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 129 <tr·class="memitem:gaf26ed902d20da735bae252683a9ac5ce"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gaf26ed902d20da735bae252683a9ac5ce">Dune::Std::is_detected_convertible</a>·=·std::is_convertible&lt;·Target,·detected_t&lt;·Op,·Args...·&gt;·&gt;</td></tr>
 130 <tr·class="memdesc:gaf26ed902d20da735bae252683a9ac5ce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·whether·<code>Op&lt;Args...&gt;</code>·is·convertible·to·<code>Target</code>·without·causing·an·error·if·<code>Op&lt;Args...&gt;</code>·is·invalid.··<a·href="a00406.html#gaf26ed902d20da735bae252683a9ac5ce">More...</a><br·/></td></tr>
 131 <tr·class="separator:gaf26ed902d20da735bae252683a9ac5ce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:a32c28ddaa6975891910d73c3580ed0c1"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Fallback,·template&lt;·typename...·&gt;·class·TargetType,·typename...·Args&gt;·</td></tr>
 133 <tr·class="memitem:a32c28ddaa6975891910d73c3580ed0c1"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a32c28ddaa6975891910d73c3580ed0c1">Dune::detected_or_fallback_t</a>·=·Std::detected_or_t&lt;·decltype(detail::warningIfNotDefined&lt;·Std::detected_t&lt;·Fallback,·Args...·&gt;·&gt;(std::declval&lt;·const·Std::detected_t&lt;·TargetType,·Args...·&gt;·*·&gt;())),·TargetType,·Args...·&gt;</td></tr>
 134 <tr·class="memdesc:a32c28ddaa6975891910d73c3580ed0c1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·type·will·be·either·TargetType&lt;Args...&gt;·if·it·exists,·or·the·Fallback&lt;Args...&gt;·type.··<a·href="a00425.html#a32c28ddaa6975891910d73c3580ed0c1">More...</a><br·/></td></tr>
 135 <tr·class="separator:a32c28ddaa6975891910d73c3580ed0c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 </table><table·class="memberdecls">
 137 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 138 Variables</h2></td></tr>
 139 <tr·class="memitem:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 140 <tr·class="memitem:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga9f0b8af5e80b339c8346a327f28bab33">Dune::Std::is_detected_v</a>·=·is_detected&lt;Op,Args...&gt;::value</td></tr>
 141 <tr·class="memdesc:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Detects·whether·<code>Op&lt;Args...&gt;</code>·is·valid·and·makes·the·result·available·as·a·value.··<a·href="a00406.html#ga9f0b8af5e80b339c8346a327f28bab33">More...</a><br·/></td></tr>
 142 <tr·class="separator:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 143 <tr·class="memitem:ga043d312181849f21d950de3f7198bac6"><td·class="memTemplParams"·colspan="2">template&lt;typename·Expected·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 144 <tr·class="memitem:ga043d312181849f21d950de3f7198bac6"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga043d312181849f21d950de3f7198bac6">Dune::Std::is_detected_exact_v</a>·=·is_detected_exact&lt;Expected,Op,Args...&gt;::value</td></tr>
 145 <tr·class="memdesc:ga043d312181849f21d950de3f7198bac6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·the·result·value·of·is_detected_exact.··<a·href="a00406.html#ga043d312181849f21d950de3f7198bac6">More...</a><br·/></td></tr>
 146 <tr·class="separator:ga043d312181849f21d950de3f7198bac6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="memTemplParams"·colspan="2">template&lt;typename·Target·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr>
 148 <tr·class="memitem:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga044daf77dd81fbaeb71a7ce6d15bf761">Dune::Std::is_detected_convertible_v</a>·=·is_detected_convertible&lt;Target,Op,Args...&gt;::value</td></tr>
 149 <tr·class="memdesc:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·the·result·value·of·is_detected_convertible.··<a·href="a00406.html#ga044daf77dd81fbaeb71a7ce6d15bf761">More...</a><br·/></td></tr>
 150 <tr·class="separator:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>151 </table>
82 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
83 <div·class="textblock"><p·>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.·</p> 
84 </div></div><!--·contents·-->152 </div><!--·contents·-->
85 <!--·start·footer·part·-->153 <!--·start·footer·part·-->
86 <hr·class="footer"/><address·class="footer"><small>154 <hr·class="footer"/><address·class="footer"><small>
87 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4155 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
88 </small></address>156 </small></address>
89 </body>157 </body>
90 </html>158 </html>
4.19 KB
html2text {}
    
Offset 4, 19 lines modifiedOffset 4, 102 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Macros 
8 unused.hh·File·Reference 
9 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.·More...7 ····*·std
 8 Classes·|·Namespaces·|·Typedefs·|·Variables
 9 type_traits.hh·File·Reference
 10 #include·<type_traits>
 11 #include·<dune/common/typetraits.hh>
 12 #include·<dune/common/typeutilities.hh>
10 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
11 ·Macros 
12 #define DUNE_UNUSED_PARAMETER(param)   static_cast<void>(param)14 ·Classes
 15 struct· Dune::Std::nonesuch
 16  ·······Type·representing·a·lookup·failure·by·std::detected_or·and·friends.
 17 ·········More...
 18  
 19 struct· Dune::Std::conjunction<_B_>
 20  ·······forms·the·logical·conjunction·of·the·type·traits·B...·More...
 21  
 22 struct· Dune::Std::disjunction<_B_>
 23  ·······forms·the·logical·disjunction·of·the·type·traits·B...·More...
 24  
 25 struct· Dune::Std::negation<_B_>
 26  ·······forms·the·logical·negation·of·the·type·traits·B...·More...
 27  
 28 ·Namespaces
 29 namespace· Dune
 30  ··········Dune·namespace.
 31  
 32 namespace· Dune::Std
 33  ··········Namespace·for·features·backported·from·new·C++·standards.
 34  
 35 ·Typedefs
 36 template<typename·Default·,·template<·typename...·>·class·Op,·typename...·Args>
 37 using Dune::Std::detected_or·=·Impl::detector<·Default,·void,·Op,·Args...·>
 38  ·····Detects·whether·Op<Args...>·is·valid·and·makes·the·result·available.
 39 ·······More...
 40  
 41 template<template<·typename...·>·class·Op,·typename...·Args>
 42 using Dune::Std::is_detected·=·typename·detected_or<·nonesuch,·Op,·Args...·>::
 43 ·······value_t
 44  ·····Detects·whether·Op<Args...>·is·valid.·More...
 45  
 46 template<template<·typename...·>·class·Op,·typename...·Args>
 47 using Dune::Std::detected_t·=·typename·detected_or<·nonesuch,·Op,·Args...·>::
 48 ·······type
 49  ·····Returns·Op<Args...>·if·that·is·valid;·otherwise·returns·nonesuch.
 50 ·······More...
 51  
 52 template<typename·Default·,·template<·typename...·>·class·Op,·typename...·Args>
 53 using Dune::Std::detected_or_t·=·typename·detected_or<·Default,·Op,·Args...
 54 ·······>::type
 55  ·····Returns·Op<Args...>·if·that·is·valid;·otherwise·returns·the·fallback
 56 ·······type·Default.·More...
 57  
 58 template<typename·Expected·,·template<·typename...·>·class·Op,·typename...
 59 Args>
 60 using Dune::Std::is_detected_exact·=·std::is_same<·Expected,·detected_t<·Op,
 61 ·······Args...·>·>
 62  ·····Checks·whether·Op<Args...>·is·Expected·without·causing·an·error·if
 63 ·······Op<Args...>·is·invalid.·More...
 64  
 65 template<typename·Target·,·template<·typename...·>·class·Op,·typename...·Args>
 66 using Dune::Std::is_detected_convertible·=·std::is_convertible<·Target,
 67 ·······detected_t<·Op,·Args...·>·>
 68  ·····Checks·whether·Op<Args...>·is·convertible·to·Target·without·causing·an
 69 ·······error·if·Op<Args...>·is·invalid.·More...
 70  
 71 template<template<·typename...·>·class·Fallback,·template<·typename...·>·class
 72 TargetType,·typename...·Args>
 73 using Dune::detected_or_fallback_t·=·Std::detected_or_t<·decltype(detail::
 74 ·······warningIfNotDefined<·Std::detected_t<·Fallback,·Args...·>·>(std::
 75 ·······declval<·const·Std::detected_t<·TargetType,·Args...·>·*·>())),
 76 ·······TargetType,·Args...·>
 77  ·····This·type·will·be·either·TargetType<Args...>·if·it·exists,·or·the
 78 ·······Fallback<Args...>·type.·More...
 79  
 80 ·Variables
 81 template<template<·typename...·>·class·Op,·typename...·Args>
 82 constexpr·bool Dune::Std::is_detected_v·=·is_detected<Op,Args...>::value
 83  ··············Detects·whether·Op<Args...>·is·valid·and·makes·the·result
 84 ················available·as·a·value.·More...
 85  
 86 template<typename·Expected·,·template<·typename...·>·class·Op,·typename...
 87 Args>
 88 constexpr·bool Dune::Std::is_detected_exact_v·=
 89 ················is_detected_exact<Expected,Op,Args...>::value
 90  ··············Convenient·access·to·the·result·value·of·is_detected_exact.
 91 ················More...
 92  
 93 template<typename·Target·,·template<·typename...·>·class·Op,·typename...·Args>
 94 constexpr·bool Dune::Std::is_detected_convertible_v·=
 95 ················is_detected_convertible<Target,Op,Args...>::value
 96  ··············Convenient·access·to·the·result·value·of
 97 ················is_detected_convertible.·More...
13  98  
14 *****·Detailed·Description·***** 
15 Definition·of·the·DUNE_UNUSED_PARAMETER·macro. 
  
16 ===============================================================================99 ===============================================================================
17 ·····Generated·by [doxygen]·1.9.4100 ·····Generated·by [doxygen]·1.9.4
50.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00152_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·unused.hh·Source·File</title>8 <title>dune-common:·type_traits.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 30 lines modifiedOffset 58, 215 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">unused.hh</div></div>68 ··<div·class="headertitle"><div·class="title">type_traits.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00152.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00152.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_UNUSED_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_TYPE_TRAITS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_UNUSED_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STD_TYPE_TRAITS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">···21</a></span><span·class="preprocessor">#define·DUNE_UNUSED_PARAMETER(param)·static_cast&lt;void&gt;(param)</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00092.html">dune/common/typeutilities.hh</a>&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·__has_include(&lt;experimental/type_traits&gt;)</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;experimental/type_traits&gt;</span></div>
79 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>Std</div>
 91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>
 92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 93 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">using·</span>std::bool_constant;</div>
 94 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 95 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#if·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED</span></div>
 96 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 97 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">using·</span>std::experimental::nonesuch;</div>
 98 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">std::experimental::detected_or</a>;</div>
 99 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">std::experimental::is_detected</a>;</div>
 100 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">std::experimental::detected_t</a>;</div>
 101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span><a·class="code·hl_variable"·href="a00406.html#ga9f0b8af5e80b339c8346a327f28bab33">std::experimental::is_detected_v</a>;</div>
 102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">std::experimental::detected_or_t</a>;</div>
 103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga6778de5ea60a45fdae6db8b6d8c8b6f7">std::experimental::is_detected_exact</a>;</div>
 104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span><a·class="code·hl_variable"·href="a00406.html#ga043d312181849f21d950de3f7198bac6">std::experimental::is_detected_exact_v</a>;</div>
 105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gaf26ed902d20da735bae252683a9ac5ce">std::experimental::is_detected_convertible</a>;</div>
 106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span><a·class="code·hl_variable"·href="a00406.html#ga044daf77dd81fbaeb71a7ce6d15bf761">std::experimental::is_detected_convertible_v</a>;</div>
 107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#else·</span><span·class="comment">//·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED</span></div>
 109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·fallback·version·of·std::experimental::is_detected·et·al.,·heavily·scribbled</span></div>
 111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·from·cppreference.com·(but·there·is·actually·not·much·implementation·to·the·thing)</span></div>
 112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 113 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">namespace·</span>Impl·{</div>
 116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 117 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//·default·version·of·detector,·this·gets·matched·on·failure</span></div>
 118 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Default,·<span·class="keyword">typename</span>·Void,·<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div>
 119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">struct·</span>detector</div>
 120 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····{</div>
 121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">using·</span>value_t·=·std::false_type;</div>
 122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">using·</span>type·=·Default;</div>
 123 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····};</div>
 124 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 125 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="comment">//·specialization·of·detector·that·matches·if·Op&lt;Args...&gt;·can·be·instantiated</span></div>
 126 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Default,·<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div>
 127 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">struct·</span>detector&lt;Default,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::<a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">void_t</a>&lt;Op&lt;Args...&gt;&gt;,·Op,·Args...&gt;</div>
 128 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····{</div>
 129 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">using·</span>value_t·=·std::true_type;</div>
 130 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keyword">using·</span>type·=·Op&lt;Args...&gt;;</div>
 131 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····};</div>
 132 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 133 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div>
 134 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 135 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div>
 136 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 137 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a02868.html">···87</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02868.html">nonesuch</a></div>
 139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div>
 140 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a02868.html#a4bee85fb45f38b33038badf2f2ffe9d5">···89</a></span>····<a·class="code·hl_function"·href="a02868.html#a4bee85fb45f38b33038badf2f2ffe9d5">nonesuch</a>()·=·<span·class="keyword">delete</span>;</div>
 141 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a02868.html#aa6b9d5c13bf56e0833d2bec017b87128">···90</a></span>····<a·class="code·hl_function"·href="a02868.html#aa6b9d5c13bf56e0833d2bec017b87128">~nonesuch</a>()·=·<span·class="keyword">delete</span>;</div>
 142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a02868.html#a75852f3ad35d5a5f7f7899d0f70a8c12">···91</a></span>····<a·class="code·hl_function"·href="a02868.html#a75852f3ad35d5a5f7f7899d0f70a8c12">nonesuch</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a02868.html">nonesuch</a>&amp;)·=·<span·class="keyword">delete</span>;</div>
 143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a02868.html#a8cac140fbcf1e2094f787b58ffa8fd71">···92</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02868.html#a8cac140fbcf1e2094f787b58ffa8fd71">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a02868.html">nonesuch</a>&amp;)·=·<span·class="keyword">delete</span>;</div>
 144 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··};</div>
 145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 146 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 147 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Default,·<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div>
 148 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">··128</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">detected_or</a>·=·Impl::detector&lt;Default,void,Op,Args...&gt;;</div>
 149 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
 150 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
 151 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div>
 152 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno"><a·class="line"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">··141</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">is_detected</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">detected_or</a>&lt;<a·class="code·hl_struct"·href="a02868.html">nonesuch</a>,Op,Args...&gt;::value_t;</div>
 153 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div>
 154 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span><span·class="preprocessor">#ifdef·__cpp_variable_templates</span></div>
 155 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div>
 156 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div>
 157 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga9f0b8af5e80b339c8346a327f28bab33">··155</a></span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00406.html#ga9f0b8af5e80b339c8346a327f28bab33">is_detected_v</a>·=·<a·class="code·hl_typedef"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">is_detected</a>&lt;Op,Args...&gt;::value;</div>
 158 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span><span·class="preprocessor">#endif·</span><span·class="comment">//·__cpp_variable_templates</span></div>
 159 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div>
 160 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>·</div>
 161 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div>
 162 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">··170</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">detected_t</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">detected_or</a>&lt;<a·class="code·hl_struct"·href="a02868.html">nonesuch</a>,Op,Args...&gt;::type;</div>
 163 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div>
 164 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div>
 165 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div>
 166 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Default,·<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div>
 167 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">··185</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">detected_or_t</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">detected_or</a>&lt;Default,Op,Args...&gt;::type;</div>
Max diff block lines reached; 271/42284 bytes (0.64%) of diff not shown.
9.08 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 284 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 unused.hh7 ····*·std
 8 type_traits.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_UNUSED_HH15 ·5#ifndef·DUNE_COMMON_STD_TYPE_TRAITS_HH
15 ·6#define·DUNE_COMMON_UNUSED_HH16 ·6#define·DUNE_COMMON_STD_TYPE_TRAITS_HH
16 ·717 ·7
17 21#define·DUNE_UNUSED_PARAMETER(param)·static_cast<void>(param)18 ·8#include·<type_traits>
 19 ·9#include·<dune/common/typetraits.hh>
 20 ·10#include·<dune/common/typeutilities.hh>
 21 ·11
 22 ·12#if·__has_include(<experimental/type_traits>)
 23 ·13#include·<experimental/type_traits>
18 ·22#endif24 ·14#endif
 25 ·15
 26 ·16namespace·Dune
 27 ·17{
 28 ·18
 29 ·20
 30 ·29namespace·Std
 31 ·30{
 32 ·31
 33 ·34·using·std::bool_constant;
 34 ·35
 35 ·36#if·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED
 36 ·37
 37 ·38·using·std::experimental::nonesuch;
 38 ·39·using·std::experimental::detected_or;
 39 ·40·using·std::experimental::is_detected;
 40 ·41·using·std::experimental::detected_t;
 41 ·42·using·std::experimental::is_detected_v;
 42 ·43·using·std::experimental::detected_or_t;
 43 ·44·using·std::experimental::is_detected_exact;
 44 ·45·using·std::experimental::is_detected_exact_v;
 45 ·46·using·std::experimental::is_detected_convertible;
 46 ·47·using·std::experimental::is_detected_convertible_v;
 47 ·48
 48 ·49#else·//·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED
 49 ·50
 50 ·51·//·fallback·version·of·std::experimental::is_detected·et·al.,·heavily
 51 scribbled
 52 ·52·//·from·cppreference.com·(but·there·is·actually·not·much·implementation·to
 53 the·thing)
 54 ·53
 55 ·54#ifndef·DOXYGEN
 56 ·55
 57 ·56·namespace·Impl·{
 58 ·57
 59 ·58·//·default·version·of·detector,·this·gets·matched·on·failure
 60 ·59·template<typename·Default,·typename·Void,·template<typename...>·class·Op,
 61 typename...·Args>
 62 ·60·struct·detector
 63 ·61·{
 64 ·62·using·value_t·=·std::false_type;
 65 ·63·using·type·=·Default;
 66 ·64·};
 67 ·65
 68 ·66·//·specialization·of·detector·that·matches·if·Op<Args...>·can·be
 69 instantiated
 70 ·67·template<typename·Default,·template<typename...>·class·Op,·typename...
 71 Args>
 72 ·68·struct·detector<Default,·std::void_t<Op<Args...>>,·Op,·Args...>
 73 ·69·{
 74 ·70·using·value_t·=·std::true_type;
 75 ·71·using·type·=·Op<Args...>;
 76 ·72·};
 77 ·73
 78 ·74·}
 79 ·75
 80 ·76#endif·//·DOXYGEN
 81 ·77
 82 ·79
 83 87·struct·nonesuch
 84 ·88·{
 85 89·nonesuch()·=·delete;
 86 90·~nonesuch()·=·delete;
 87 91·nonesuch(const·nonesuch&)·=·delete;
 88 92·void·operator=(const·nonesuch&)·=·delete;
 89 ·93·};
 90 ·94
 91 ·96
 92 ·127·template<typename·Default,·template<typename...>·class·Op,·typename...
 93 Args>
 94 128·using·detected_or·=·Impl::detector<Default,void,Op,Args...>;
 95 ·129
 96 ·131
 97 ·140·template<template<typename...>·class·Op,·typename...·Args>
 98 141·using·is_detected·=·typename·detected_or<nonesuch,Op,Args...>::value_t;
 99 ·142
 100 ·143#ifdef·__cpp_variable_templates
 101 ·145
 102 ·154·template<template<typename...>·class·Op,·typename...·Args>
 103 155·constexpr·bool·is_detected_v·=·is_detected<Op,Args...>::value;
 104 ·156#endif·//·__cpp_variable_templates
 105 ·157
 106 ·159
 107 ·169·template<template<typename...>·class·Op,·typename...·Args>
 108 170·using·detected_t·=·typename·detected_or<nonesuch,Op,Args...>::type;
 109 ·171
 110 ·172
 111 ·174
 112 ·184·template<typename·Default,·template<typename...>·class·Op,·typename...
 113 Args>
 114 185·using·detected_or_t·=·typename·detected_or<Default,Op,Args...>::type;
 115 ·186
 116 ·188
 117 ·194·template<typename·Expected,·template<typename...>·class·Op,·typename...
 118 Args>
 119 195·using·is_detected_exact·=·std::is_same<Expected,detected_t<Op,Args...>>;
 120 ·196
 121 ·197#ifdef·__cpp_variable_templates
 122 ·199
 123 ·205·template<typename·Expected,·template<typename...>·class·Op,·typename...
 124 Args>
 125 206·constexpr·bool·is_detected_exact_v·=
 126 is_detected_exact<Expected,Op,Args...>::value;
Max diff block lines reached; 116/9274 bytes (1.25%) of diff not shown.
16.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00155.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·concept.hh·File·Reference</title>8 <title>dune-common:·utility.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 95 lines modifiedOffset 58, 36 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124;69 <a·href="#namespaces">Namespaces</a>··</div>
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">concept.hh·File·Reference</div></div>70 ··<div·class="headertitle"><div·class="title">utility.hh·File·Reference</div></div>
73 </div><!--header-->71 </div><!--header-->
74 <div·class="contents">72 <div·class="contents">
  
75 <p>Infrastructure·for·concepts.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>73 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
78 <code>#include·&lt;utility&gt;</code><br·/> 
79 <code>#include·&lt;tuple&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
84 </div>74 </div>
85 <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00155_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">76 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
88 Classes</h2></td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01348.html">Dune::Concept::Refines&lt;·BaseConcepts·&gt;</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·refined·concepts.··<a·href="a01348.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 </table><table·class="memberdecls"> 
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>78 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 <tr·class="memitem:a00427"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00427.html">Dune::Concept</a></td></tr>82 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>
99 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></td></tr>83 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls"> 
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
103 Functions</h2></td></tr> 
104 <tr·class="memitem:ga91a4108f1ea3f3644e343659a4e25904"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T&gt;·</td></tr> 
105 <tr·class="memitem:ga91a4108f1ea3f3644e343659a4e25904"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">Dune::models</a>·()</td></tr> 
106 <tr·class="memdesc:ga91a4108f1ea3f3644e343659a4e25904"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·concept·is·modeled·by·given·types.··<a·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">More...</a><br·/></td></tr> 
107 <tr·class="separator:ga91a4108f1ea3f3644e343659a4e25904"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:a505975b777b113e7a170bf0b92f18cc4"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class·Tuple·&gt;·</td></tr> 
109 <tr·class="memitem:a505975b777b113e7a170bf0b92f18cc4"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a505975b777b113e7a170bf0b92f18cc4">Dune::Concept::tupleEntriesModel</a>·()·-&gt;·typename·Impl::TupleEntriesModelHelper&lt;·C,·Tuple·&gt;::Result</td></tr> 
110 <tr·class="separator:a505975b777b113e7a170bf0b92f18cc4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memTemplParams"·colspan="2">template&lt;bool·b,·typename·std::enable_if&lt;·b,·int·&gt;::type··=·0&gt;·</td></tr> 
112 <tr·class="memitem:a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a0c5244fc0c1f77eb234e0bab79bb5240">Dune::Concept::requireTrue</a>·()</td></tr> 
113 <tr·class="separator:a0c5244fc0c1f77eb234e0bab79bb5240"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T,·typename·std::enable_if&lt;·models&lt;·C,·T...·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr> 
115 <tr·class="memitem:a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a06e79a0db6608ca4c073c4c8f0dd824d">Dune::Concept::requireConcept</a>·()</td></tr> 
116 <tr·class="separator:a06e79a0db6608ca4c073c4c8f0dd824d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <tr·class="memitem:a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class...·T,·typename·std::enable_if&lt;·models&lt;·C,·T...·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr> 
118 <tr·class="memitem:a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a2dbe5630e5ddb8c2f2a23f48cce6013b">Dune::Concept::requireConcept</a>·(T·&amp;&amp;...)</td></tr> 
119 <tr·class="separator:a2dbe5630e5ddb8c2f2a23f48cce6013b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:a59645477bd6b09962ab62f4e2afe6c81"><td·class="memTemplParams"·colspan="2">template&lt;class·C·,·class·Tuple·,·typename·std::enable_if&lt;·tupleEntriesModel&lt;·C,·Tuple·&gt;(),·int·&gt;::type··=·0&gt;·</td></tr> 
121 <tr·class="memitem:a59645477bd6b09962ab62f4e2afe6c81"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a59645477bd6b09962ab62f4e2afe6c81">Dune::Concept::requireConceptForTupleEntries</a>·()</td></tr> 
122 <tr·class="separator:a59645477bd6b09962ab62f4e2afe6c81"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:a8b5ee9cb9837e082ac1da60fe2a1ca81"><td·class="memTemplParams"·colspan="2">template&lt;class·From·,·class·To·,·typename·std::enable_if&lt;·std::is_convertible&lt;·From,·To·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
124 <tr·class="memitem:a8b5ee9cb9837e082ac1da60fe2a1ca81"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a8b5ee9cb9837e082ac1da60fe2a1ca81">Dune::Concept::requireConvertible</a>·()</td></tr> 
125 <tr·class="separator:a8b5ee9cb9837e082ac1da60fe2a1ca81"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:a9a36856034f3033ad8c3fb905b6b2018"><td·class="memTemplParams"·colspan="2">template&lt;class·To·,·class·From·,·typename·std::enable_if&lt;·std::is_convertible&lt;·From,·To·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
127 <tr·class="memitem:a9a36856034f3033ad8c3fb905b6b2018"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a9a36856034f3033ad8c3fb905b6b2018">Dune::Concept::requireConvertible</a>·(const·From·&amp;)</td></tr> 
128 <tr·class="separator:a9a36856034f3033ad8c3fb905b6b2018"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:ad96e1a5fe36cebbed3c85d0e24b49bef"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
130 <tr·class="memitem:ad96e1a5fe36cebbed3c85d0e24b49bef"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#ad96e1a5fe36cebbed3c85d0e24b49bef">Dune::Concept::requireType</a>·()</td></tr> 
131 <tr·class="separator:ad96e1a5fe36cebbed3c85d0e24b49bef"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:a7d39e8ecc39ad89d9b47c1ccf9873a54"><td·class="memTemplParams"·colspan="2">template&lt;class·Base·,·class·Derived·,·typename·std::enable_if&lt;·std::is_base_of&lt;·Base,·Derived·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
133 <tr·class="memitem:a7d39e8ecc39ad89d9b47c1ccf9873a54"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a7d39e8ecc39ad89d9b47c1ccf9873a54">Dune::Concept::requireBaseOf</a>·()</td></tr> 
134 <tr·class="separator:a7d39e8ecc39ad89d9b47c1ccf9873a54"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:a25819f337507625582babfb5ee0b1798"><td·class="memTemplParams"·colspan="2">template&lt;class·Base·,·class·Derived·,·typename·std::enable_if&lt;·std::is_base_of&lt;·Base,·Derived·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
136 <tr·class="memitem:a25819f337507625582babfb5ee0b1798"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a25819f337507625582babfb5ee0b1798">Dune::Concept::requireBaseOf</a>·(const·Derived·&amp;)</td></tr> 
137 <tr·class="separator:a25819f337507625582babfb5ee0b1798"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:a0cdb8b8ed4fc7d006516dc22697edcc3"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·,·typename·std::enable_if&lt;·std::is_same&lt;·A,·B·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
139 <tr·class="memitem:a0cdb8b8ed4fc7d006516dc22697edcc3"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00427.html#a0cdb8b8ed4fc7d006516dc22697edcc3">Dune::Concept::requireSameType</a>·()</td></tr> 
140 <tr·class="separator:a0cdb8b8ed4fc7d006516dc22697edcc3"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 </table>85 </table>
142 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
143 <div·class="textblock"><p·>Infrastructure·for·concepts.·</p> 
144 </div></div><!--·contents·-->86 </div><!--·contents·-->
145 <!--·start·footer·part·-->87 <!--·start·footer·part·-->
146 <hr·class="footer"/><address·class="footer"><small>88 <hr·class="footer"/><address·class="footer"><small>
147 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.489 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
148 </small></address>90 </small></address>
149 </body>91 </body>
150 </html>92 </html>
2.81 KB
html2text {}
    
Offset 4, 81 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 ····*·std
 8 Namespaces
8 concept.hh·File·Reference9 utility.hh·File·Reference
9 Infrastructure·for·concepts.·More... 
10 #include·<type_traits> 
11 #include·<utility>10 #include·<utility>
12 #include·<tuple> 
13 #include·<dune/common/typeutilities.hh> 
14 #include·<dune/common/typelist.hh> 
15 #include·<dune/common/tupleutility.hh> 
16 #include·<dune/common/std/type_traits.hh> 
17 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
18 ·Classes 
19 struct· Dune::Concept::Refines<_BaseConcepts_> 
20  ·······Base·class·for·refined·concepts.·More... 
21   
22 ·Namespaces12 ·Namespaces
23 namespace· Dune13 namespace· Dune
24  ··········Dune·namespace.14  ··········Dune·namespace.
25  15  
26 namespace· Dune::Concept16 namespace· Dune::Std
 17  ··········Namespace·for·features·backported·from·new·C++·standards.
27  ··········Namespace·for·concepts. 
28   
29 ·Functions 
30 template<class·C·,·class...·T> 
31 constexpr·auto Dune::models·() 
32  ··············Check·if·concept·is·modeled·by·given·types.·More... 
33   
34 template<class·C·,·class·Tuple·> 
35 constexpr·auto Dune::Concept::tupleEntriesModel·()·->·typename·Impl:: 
36 ················TupleEntriesModelHelper<·C,·Tuple·>::Result 
37   
38 template<bool·b,·typename·std::enable_if<·b,·int·>::type·=·0> 
39 constexpr·bool Dune::Concept::requireTrue·() 
40   
41 template<class·C·,·class...·T,·typename·std::enable_if<·models<·C,·T...·>(), 
42 int·>::type·=·0> 
43 constexpr·bool Dune::Concept::requireConcept·() 
44   
45 template<class·C·,·class...·T,·typename·std::enable_if<·models<·C,·T...·>(), 
46 int·>::type·=·0> 
47 constexpr·bool Dune::Concept::requireConcept·(T·&&...) 
48   
49 template<class·C·,·class·Tuple·,·typename·std::enable_if<·tupleEntriesModel< 
50 C,·Tuple·>(),·int·>::type·=·0> 
51 constexpr·bool Dune::Concept::requireConceptForTupleEntries·() 
52   
53 template<class·From·,·class·To·,·typename·std::enable_if<·std::is_convertible< 
54 From,·To·>::value,·int·>::type·=·0> 
55 constexpr·bool Dune::Concept::requireConvertible·() 
56   
57 template<class·To·,·class·From·,·typename·std::enable_if<·std::is_convertible< 
58 From,·To·>::value,·int·>::type·=·0> 
59 constexpr·bool Dune::Concept::requireConvertible·(const·From·&) 
60   
61 template<typename·T·> 
62 constexpr·bool Dune::Concept::requireType·() 
63   
64 template<class·Base·,·class·Derived·,·typename·std::enable_if<·std:: 
65 is_base_of<·Base,·Derived·>::value,·int·>::type·=·0> 
66 constexpr·bool Dune::Concept::requireBaseOf·() 
67   
68 template<class·Base·,·class·Derived·,·typename·std::enable_if<·std:: 
69 is_base_of<·Base,·Derived·>::value,·int·>::type·=·0> 
70 constexpr·bool Dune::Concept::requireBaseOf·(const·Derived·&) 
71   
72 template<class·A·,·class·B·,·typename·std::enable_if<·std::is_same<·A,·B·>:: 
73 value,·int·>::type·=·0> 
74 constexpr·bool Dune::Concept::requireSameType·() 
75  18  
76 *****·Detailed·Description·***** 
77 Infrastructure·for·concepts. 
  
78 ===============================================================================19 ===============================================================================
79 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
67.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00155_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·concept.hh·Source·File</title>8 <title>dune-common:·utility.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 314 lines modifiedOffset 58, 49 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">concept.hh</div></div>68 ··<div·class="headertitle"><div·class="title">utility.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00155.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00155.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONCEPT_HH</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_UTILITY_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_CONCEPT_HH</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_STD_UTILITY_HH</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after·Dune·2.8.\</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">·Include·&lt;utility&gt;·instead</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/typeutilities.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00347.html">dune/common/typelist.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00212.html">dune/common/tupleutility.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00335.html">dune/common/std/type_traits.hh</a>&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··<span·class="keyword">namespace·</span>Std</div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··{</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="keyword">using·</span>std::integer_sequence;</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">using·</span>std::index_sequence;</div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····<span·class="keyword">using·</span>std::make_integer_sequence;</div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····<span·class="keyword">using·</span>std::make_index_sequence;</div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">using·</span>std::index_sequence_for;</div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··}·<span·class="comment">//·namespace·Std</span></div>
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
89 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a00427.html">···34</a></span><span·class="keyword">namespace·</span>Concept·{</div> 
90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}·<span·class="comment">//·namespace·Dune</span></div>
91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
93 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·BaseConcepts&gt;</div> 
94 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a01348.html">···53</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01348.html">Refines</a></div> 
95 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>{</div> 
96 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01348.html#ae7207e9050eb5211a4dcbea2007a382e">···55</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;BaseConcepts...&gt;·<a·class="code·hl_typedef"·href="a01348.html#ae7207e9050eb5211a4dcbea2007a382e">BaseConceptList</a>;</div> 
97 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>};</div> 
98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
100 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
102 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">namespace·</span>Impl·{</div> 
103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·#############################################################################</span></div> 
105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="comment">//·#·All·functions·following·here·are·implementation·details</span></div> 
106 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·#·for·the·models()·function·below.</span></div> 
107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="comment">//·#############################################################################</span></div> 
108 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
109 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//·Forward·declaration</span></div> 
110 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>C,·<span·class="keyword">class</span>...·T&gt;</div> 
111 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">models</a>();</div> 
112 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
113 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
114 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
115 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="comment">//·Here·is·the·implementation·of·the·concept·checking.</span></div> 
116 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="comment">//·The·first·two·overloads·do·the·magic·for·checking</span></div> 
117 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·if·the·requirements·of·a·concept·are·satisfied.</span></div> 
118 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="comment">//·The·rest·is·just·for·checking·base·concepts·in·case</span></div> 
119 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="comment">//·of·refinement.</span></div> 
120 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="comment">//·This·overload·is·present·if·type·substitution·for</span></div> 
122 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="comment">//·C::require(T...)·is·successful,·i.e.,·if·the·T...</span></div> 
123 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="comment">//·matches·the·requirement·of·C.·In·this·case·this</span></div> 
124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="comment">//·overload·is·selected·because·PriorityTag&lt;1&gt;</span></div> 
125 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="comment">//·is·a·better·match·for·PrioriryTag&lt;42&gt;·than</span></div> 
126 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="comment">//·PriorityTag&lt;0&gt;·in·the·default·overload.</span></div> 
127 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>C,·<span·class="keyword">class</span>...·T,</div> 
128 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">decltype</span>(std::declval&lt;C&gt;().require(std::declval&lt;T&gt;()...),·0)·=0&gt;</div> 
129 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">constexpr</span>·std::true_type·matchesRequirement(<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;1&gt;</a>)</div> 
130 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··{·<span·class="keywordflow">return</span>·{};·}</div> 
131 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
132 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="comment">//·If·the·above·overload·is·ruled·out·by·SFINAE·because</span></div> 
133 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="comment">//·the·T...·does·not·match·the·requirements·of·C,·then</span></div> 
134 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="comment">//·this·default·overload·drops·in.</span></div> 
135 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>C,·<span·class="keyword">class</span>...·T&gt;</div> 
136 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">constexpr</span>·std::false_type·matchesRequirement(<a·class="code·hl_struct"·href="a03184.html">PriorityTag&lt;0&gt;</a>)</div> 
137 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{·<span·class="keywordflow">return</span>·{};·}</div> 
138 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
139 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
140 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
141 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="comment">//·An·empty·list·C·of·concepts·is·always·matched·by·T...</span></div> 
142 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...T&gt;</div> 
143 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·modelsConceptList(TypeList&lt;&gt;)</div> 
144 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{·<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;·}</div> 
145 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
146 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="comment">//·A·nonempty·list·C0,..,CN·of·concepts·is·modeled</span></div> 
147 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="comment">//·by·T...··if·it·models·the·concept·C0</span></div> 
148 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="comment">//·and·all·concepts·in·the·list·C1,..,CN.</span></div> 
149 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...T,·<span·class="keyword">class·</span>C0,·<span·class="keyword">class</span>...·CC&gt;</div> 
150 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·modelsConceptList(TypeList&lt;C0,·CC...&gt;)</div> 
151 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··{·<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00407.html#ga91a4108f1ea3f3644e343659a4e25904">models</a>&lt;C0,·T...&gt;()·and·modelsConceptList&lt;T...&gt;(TypeList&lt;CC...&gt;());·}</div> 
152 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
153 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
154 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
Max diff block lines reached; 3926/56389 bytes (6.96%) of diff not shown.
12.2 KB
html2text {}
    
Offset 4, 369 lines modifiedOffset 4, 45 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 concept.hh7 ····*·std
 8 utility.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_CONCEPT_HH 
15 ·6#define·DUNE_COMMON_CONCEPT_HH13 ·3#ifndef·DUNE_COMMON_STD_UTILITY_HH
 14 ·4#define·DUNE_COMMON_STD_UTILITY_HH
 15 ·5
 16 ·6#include·<utility>
16 ·717 ·7
17 ·8#include·<type_traits>18 ·8#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after
 19 Dune·2.8.\
18 ·9#include·<utility>20 ·9·Include·<utility>·instead
19 ·10#include·<tuple> 
20 ·11 
21 ·12#include·<dune/common/typeutilities.hh> 
22 ·13#include·<dune/common/typelist.hh> 
23 ·14#include·<dune/common/tupleutility.hh> 
24 ·15#include·<dune/common/std/type_traits.hh>21 ·10
 22 ·11namespace·Dune
 23 ·12{
 24 ·13
 25 ·14·namespace·Std
 26 ·15·{
25 ·1627 ·16
26 ·23namespace·Dune·{28 ·17·using·std::integer_sequence;
 29 ·18·using·std::index_sequence;
 30 ·19·using·std::make_integer_sequence;
 31 ·20·using·std::make_index_sequence;
 32 ·21·using·std::index_sequence_for;
 33 ·22
 34 ·23·}·//·namespace·Std
27 ·2435 ·24
28 34namespace·Concept·{ 
29 ·35 
30 ·36 
31 ·37 
32 ·52template<class...·BaseConcepts> 
33 53struct·Refines 
34 ·54{ 
35 55·typedef·TypeList<BaseConcepts...>·BaseConceptList; 
36 ·56}; 
37 ·57 
38 ·58 
39 ·59#ifndef·DOXYGEN 
40 ·60 
41 ·61namespace·Impl·{ 
42 ·62 
43 ·63·/ 
44 /·############################################################################# 
45 ·64·//·#·All·functions·following·here·are·implementation·details 
46 ·65·//·#·for·the·models()·function·below. 
47 ·66·/ 
48 /·############################################################################# 
49 ·67 
50 ·68·//·Forward·declaration 
51 ·69·template<class·C,·class...·T> 
52 ·70·constexpr·bool·models(); 
53 ·71 
54 ·72 
55 ·73 
56 ·74·//·Here·is·the·implementation·of·the·concept·checking. 
57 ·75·//·The·first·two·overloads·do·the·magic·for·checking 
58 ·76·//·if·the·requirements·of·a·concept·are·satisfied. 
59 ·77·//·The·rest·is·just·for·checking·base·concepts·in·case 
60 ·78·//·of·refinement. 
61 ·79 
62 ·80·//·This·overload·is·present·if·type·substitution·for 
63 ·81·//·C::require(T...)·is·successful,·i.e.,·if·the·T... 
64 ·82·//·matches·the·requirement·of·C.·In·this·case·this 
65 ·83·//·overload·is·selected·because·PriorityTag<1> 
66 ·84·//·is·a·better·match·for·PrioriryTag<42>·than 
67 ·85·//·PriorityTag<0>·in·the·default·overload. 
68 ·86·template<class·C,·class...·T, 
69 ·87·decltype(std::declval<C>().require(std::declval<T>()...),·0)·=0> 
70 ·88·constexpr·std::true_type·matchesRequirement(PriorityTag<1>) 
71 ·89·{·return·{};·} 
72 ·90 
73 ·91·//·If·the·above·overload·is·ruled·out·by·SFINAE·because 
74 ·92·//·the·T...·does·not·match·the·requirements·of·C,·then 
75 ·93·//·this·default·overload·drops·in. 
76 ·94·template<class·C,·class...·T> 
77 ·95·constexpr·std::false_type·matchesRequirement(PriorityTag<0>) 
78 ·96·{·return·{};·} 
79 ·97 
80 ·98 
81 ·99 
82 ·100·//·An·empty·list·C·of·concepts·is·always·matched·by·T... 
83 ·101·template<class...T> 
84 ·102·constexpr·bool·modelsConceptList(TypeList<>) 
85 ·103·{·return·true;·} 
86 ·104 
87 ·105·//·A·nonempty·list·C0,..,CN·of·concepts·is·modeled 
88 ·106·//·by·T...·if·it·models·the·concept·C0 
89 ·107·//·and·all·concepts·in·the·list·C1,..,CN. 
90 ·108·template<class...T,·class·C0,·class...·CC> 
91 ·109·constexpr·bool·modelsConceptList(TypeList<C0,·CC...>) 
92 ·110·{·return·models<C0,·T...>()·and·modelsConceptList<T...>(TypeList<CC...> 
93 ());·} 
94 ·111 
95 ·112 
96 ·113 
97 ·114·//·If·C·is·an·unrefined·concept,·then·T...·models·C 
98 ·115·//·if·it·matches·the·requirement·of·C. 
99 ·116·template<class·C,·class...·T> 
100 ·117·constexpr·bool·modelsConcept(PriorityTag<0>) 
101 ·118·{·return·matchesRequirement<C,·T...>(PriorityTag<42>());·} 
102 ·119 
103 ·120·//·If·C·is·a·refined·concept,·then·T...·models·C 
104 ·121·//·if·it·matches·the·requirement·of·C·and·of 
105 ·122·//·all·base·concepts. 
106 ·123·// 
107 ·124·//·This·overload·is·used·if·C::BaseConceptList·exists 
108 ·125·//·due·to·its·higher·priority. 
109 ·126·template<class·C,·class...·T, 
110 ·127·decltype(typename·C::BaseConceptList(),·0)·=·0> 
Max diff block lines reached; 1385/12489 bytes (11.09%) of diff not shown.
4.76 KB
./usr/share/doc/libdune-common-doc/doxygen/a00158.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·vc.hh·File·Reference</title>8 <title>dune-common:·apply.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 29 lines modifiedOffset 58, 36 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
 68 ··<div·class="summary">
 69 <a·href="#namespaces">Namespaces</a>··</div>
68 ··<div·class="headertitle"><div·class="title">vc.hh·File·Reference</div></div>70 ··<div·class="headertitle"><div·class="title">apply.hh·File·Reference</div></div>
69 </div><!--header-->71 </div><!--header-->
70 <div·class="contents">72 <div·class="contents">
 73 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>
 74 </div>
  
71 <p>Compatibility·header·for·including·&lt;Vc/Vc&gt;·· 
72 <a·href="#details">More...</a></p> 
  
73 <p><a·href="a00158_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00158_source.html">Go·to·the·source·code·of·this·file.</a></p>
74 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
75 <div·class="textblock"><p·>Compatibility·header·for·including·&lt;Vc/Vc&gt;·</p> 
76 <p·>Certain·versions·(1.3.2)·of·Vc·(<a·href="https://github.com/VcDevel/Vc">https://github.com/VcDevel/Vc</a>)·have·a·problem·with·certain·compiler·versions·(g++·7.2.0)·in·c++17·mode,·see·#88.·</p>76 <table·class="memberdecls">
 77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 78 Namespaces</h2></td></tr>
 79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 82 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>
 83 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
 84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 85 </table>
77 </div></div><!--·contents·-->86 </div><!--·contents·-->
78 <!--·start·footer·part·-->87 <!--·start·footer·part·-->
79 <hr·class="footer"/><address·class="footer"><small>88 <hr·class="footer"/><address·class="footer"><small>
80 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.489 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
81 </small></address>90 </small></address>
82 </body>91 </body>
83 </html>92 </html>
771 B
html2text {}
    
Offset 4, 17 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·std
 8 Namespaces
7 vc.hh·File·Reference9 apply.hh·File·Reference
8 Compatibility·header·for·including·<Vc/Vc>·More...10 #include·<tuple>
9 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
10 *****·Detailed·Description·***** 
11 Compatibility·header·for·including·<Vc/Vc> 
12 Certain·versions·(1.3.2)·of·Vc·(https://github.com/VcDevel/Vc)·have·a·problem 
13 with·certain·compiler·versions·(g++·7.2.0)·in·c++17·mode,·see·#88.12 ·Namespaces
 13 namespace· Dune
 14  ··········Dune·namespace.
 15  
 16 namespace· Dune::Std
 17  ··········Namespace·for·features·backported·from·new·C++·standards.
 18  
  
14 ===============================================================================19 ===============================================================================
15 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
9.74 KB
./usr/share/doc/libdune-common-doc/doxygen/a00158_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·vc.hh·Source·File</title>8 <title>dune-common:·apply.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 42 lines modifiedOffset 58, 42 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">vc.hh</div></div>68 ··<div·class="headertitle"><div·class="title">apply.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00158.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00158.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_VC_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_APPLY_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_VC_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STD_APPLY_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#if·HAVE_VC</span></div> 
77 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
78 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="comment">//·include·Vc&#39;s·macro·definitions</span></div> 
79 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;Vc/global.h&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
80 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·undefine·the·macro·that·signals·C++17·support,·if·set</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#ifdef·Vc_CXX17</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>
83 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#undef·Vc_CXX17</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno"><a·class="line"·href="a00450.html">···12</a></span>··<span·class="keyword">namespace·</span>Std</div>
84 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··{</div>
85 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="keyword">using·</span>std::apply;</div>
 86 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 87 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··}·<span·class="comment">//·namespace·Std</span></div>
86 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·include·the·rest·of·Vc</span></div>88 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>}·<span·class="comment">//·namespace·Dune</span></div>
87 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;Vc/Vc&gt;</span></div> 
88 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>89 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
89 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_VC</span></div> 
90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_VC_HH</span></div>90 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif·</span><span·class="comment">//·#ifndef·DUNE_COMMON_STD_APPLY_HH</span></div>
 91 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
92 </div><!--·fragment·--></div><!--·contents·-->92 </div><!--·fragment·--></div><!--·contents·-->
93 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>94 <hr·class="footer"/><address·class="footer"><small>
95 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.495 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
96 </small></address>96 </small></address>
97 </body>97 </body>
98 </html>98 </html>
1.41 KB
html2text {}
    
Offset 4, 34 lines modifiedOffset 4, 37 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 vc.hh7 ····*·std
 8 apply.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
 10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
10 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
12 ·3#ifndef·DUNE_COMMON_VC_HH15 ·5#ifndef·DUNE_COMMON_STD_APPLY_HH
13 ·4#define·DUNE_COMMON_VC_HH16 ·6#define·DUNE_COMMON_STD_APPLY_HH
14 ·5 
15 ·15#if·HAVE_VC 
16 ·16 
17 ·17//·include·Vc's·macro·definitions 
18 ·18#include·<Vc/global.h> 
19 ·19 
20 ·20//·undefine·the·macro·that·signals·C++17·support,·if·set 
21 ·21#ifdef·Vc_CXX17 
22 ·22#undef·Vc_CXX17 
23 ·23#endif 
24 ·24 
25 ·25//·include·the·rest·of·Vc 
26 ·26#include·<Vc/Vc> 
27 ·2717 ·7
28 ·28#endif·//·HAVE_VC18 ·8#include·<tuple>
29 ·2919 ·9
30 ·30#endif·//·DUNE_COMMON_VC_HH20 ·10namespace·Dune
 21 ·11{
 22 12·namespace·Std
 23 ·13·{
 24 ·14
 25 ·17·using·std::apply;
 26 ·18
 27 ·19·}·//·namespace·Std
 28 ·20}·//·namespace·Dune
 29 ·21
 30 ·22#endif·//·#ifndef·DUNE_COMMON_STD_APPLY_HH
 31 Dune
 32 Dune·namespace.
 33 Definition:·alignedallocator.hh:13
  
31 ===============================================================================34 ===============================================================================
32 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
10.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00161.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·referencehelper.hh·File·Reference</title>8 <title>dune-common:·functional.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 64 lines modifiedOffset 58, 42 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
69 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
70 <a·href="#typedef-members">Typedefs</a>·&#124; 
71 <a·href="#func-members">Functions</a>·&#124; 
72 <a·href="#var-members">Variables</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">referencehelper.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">functional.hh·File·Reference</div></div>
74 </div><!--header-->72 </div><!--header-->
75 <div·class="contents">73 <div·class="contents">
76 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>
77 <code>#include·&lt;functional&gt;</code><br·/> 
78 </div>75 </div>
79 <p><a·href="a00161_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00161_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">77 <table·class="memberdecls">
 78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 79 Classes</h2></td></tr>
 80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02864.html">Dune::Std::identity</a></td></tr>
 81 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·function·object·type·whose·operator()·returns·its·argument·unchanged.··<a·href="a02864.html#details">More...</a><br·/></td></tr>
 82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 83 </table><table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
82 Namespaces</h2></td></tr>85 Namespaces</h2></td></tr>
83 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
84 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>
 90 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
86 </table><table·class="memberdecls"> 
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
88 Typedefs</h2></td></tr> 
89 <tr·class="memitem:a77f46351fe46db7d54dfec534616366b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
90 <tr·class="memitem:a77f46351fe46db7d54dfec534616366b"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a77f46351fe46db7d54dfec534616366b">Dune::ResolveRef_t</a>·=·std::remove_reference_t&lt;·decltype(<a·class="el"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">Dune::resolveRef</a>(std::declval&lt;·T·&amp;·&gt;()))&gt;</td></tr> 
91 <tr·class="memdesc:a77f46351fe46db7d54dfec534616366b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·trait·to·resolve·std::reference_wrapper.··<a·href="a00425.html#a77f46351fe46db7d54dfec534616366b">More...</a><br·/></td></tr> 
92 <tr·class="separator:a77f46351fe46db7d54dfec534616366b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls"> 
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
95 Functions</h2></td></tr> 
96 <tr·class="memitem:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
97 <tr·class="memitem:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">Dune::resolveRef</a>·(T·&amp;gf)·noexcept</td></tr> 
98 <tr·class="memdesc:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·function·to·resolve·std::reference_wrapper.··<a·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">More...</a><br·/></td></tr> 
99 <tr·class="separator:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:a475729bf34315ee373afc7b55b81a47a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
101 <tr·class="memitem:a475729bf34315ee373afc7b55b81a47a"><td·class="memTemplItemLeft"·align="right"·valign="top">const·auto·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a475729bf34315ee373afc7b55b81a47a">Dune::resolveRef</a>·(T·&amp;&amp;gf)=delete</td></tr> 
102 <tr·class="separator:a475729bf34315ee373afc7b55b81a47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
104 <tr·class="memitem:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga2ca0c16cf494211b6128a9e6e2c6274b">Dune::resolveRef</a>·(std::reference_wrapper&lt;·T·&gt;·gf)·noexcept</td></tr> 
105 <tr·class="memdesc:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·function·to·resolve·std::reference_wrapper.··<a·href="a00406.html#ga2ca0c16cf494211b6128a9e6e2c6274b">More...</a><br·/></td></tr> 
106 <tr·class="separator:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 </table><table·class="memberdecls"> 
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> 
109 Variables</h2></td></tr> 
110 <tr·class="memitem:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
111 <tr·class="memitem:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">Dune::IsReferenceWrapper_v</a>·=·Impl::IsReferenceWrapper&lt;T&gt;::value</td></tr> 
112 <tr·class="memdesc:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·to·detect·if·given·type·is·a·std::reference_wrapper.··<a·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">More...</a><br·/></td></tr> 
113 <tr·class="separator:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 </table>92 </table>
115 </div><!--·contents·-->93 </div><!--·contents·-->
116 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>95 <hr·class="footer"/><address·class="footer"><small>
118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.496 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
119 </small></address>97 </small></address>
120 </body>98 </body>
1.52 KB
html2text {}
    
Offset 4, 43 lines modifiedOffset 4, 27 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Typedefs·|·Functions·|·Variables 
8 referencehelper.hh·File·Reference 
9 #include·<type_traits>7 ····*·std
 8 Classes·|·Namespaces
 9 functional.hh·File·Reference
10 #include·<functional>10 #include·<functional>
11 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
 12 ·Classes
 13 struct· Dune::Std::identity
 14  ·······A·function·object·type·whose·operator()·returns·its·argument
 15 ·········unchanged.·More...
 16  
12 ·Namespaces17 ·Namespaces
13 namespace· Dune18 namespace· Dune
14  ··········Dune·namespace.19  ··········Dune·namespace.
15  20  
 21 namespace· Dune::Std
 22  ··········Namespace·for·features·backported·from·new·C++·standards.
16 ·Typedefs 
17 template<class·T·> 
18 using Dune::ResolveRef_t·=·std::remove_reference_t<·decltype(Dune::resolveRef 
19 ·······(std::declval<·T·&·>()))> 
20  ·····Type·trait·to·resolve·std::reference_wrapper.·More... 
21   
22 ·Functions 
23 template<class·T·> 
24 constexpr·T·& Dune::resolveRef·(T·&gf)·noexcept 
25  ·············Helper·function·to·resolve·std::reference_wrapper.·More... 
26   
27 template<class·T·> 
28 ·const·auto·& Dune::resolveRef·(T·&&gf)=delete 
29   
30 template<class·T·> 
31 constexpr·T·& Dune::resolveRef·(std::reference_wrapper<·T·>·gf)·noexcept 
32  ·············Helper·function·to·resolve·std::reference_wrapper.·More... 
33   
34 ·Variables 
35 template<class·T·> 
36 constexpr·bool Dune::IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value 
37  ··············Helper·to·detect·if·given·type·is·a·std::reference_wrapper. 
38 ················More... 
39  23  
  
40 ===============================================================================24 ===============================================================================
41 ·····Generated·by [doxygen]·1.9.425 ·····Generated·by [doxygen]·1.9.4
21.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00161_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·referencehelper.hh·Source·File</title>8 <title>dune-common:·functional.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 92 lines modifiedOffset 58, 52 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">referencehelper.hh</div></div>68 ··<div·class="headertitle"><div·class="title">functional.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00161.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00161.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·8;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·ts=8·sw=2·et·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_REFERENCE_HELPER_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_REFERENCE_HELPER_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STD_FUNCTIONAL_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··<span·class="keyword">namespace·</span>Std</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··{</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Impl·{</div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 86 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#if·DUNE_HAVE_CXX_STD_IDENTITY</span></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">using·</span>std::identity;</div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">class·</span>IsReferenceWrapper·:·<span·class="keyword">public</span>·std::false_type·{};</div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#else·</span><span·class="comment">//DUNE_HAVE_CXX_STD_IDENTITY</span></div>
 89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02864.html">···25</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02864.html">identity</a>·{</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">···27</a></span>······<span·class="keyword">constexpr</span>·T&amp;&amp;·<a·class="code·hl_function"·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">operator()</a>(T&amp;&amp;·t·)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·{<span·class="keywordflow">return</span>·std::forward&lt;T&gt;(t);}</div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">class·</span>IsReferenceWrapper&lt;<a·class="code·hl_namespace"·href="a00424.html">std</a>::reference_wrapper&lt;T&gt;&gt;·:·<span·class="keyword">public</span>·std::true_type·{};</div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">class·</span>IsReferenceWrapper&lt;const·<a·class="code·hl_namespace"·href="a00424.html">std</a>::reference_wrapper&lt;T&gt;&gt;·:·<span·class="keyword">public</span>·std::true_type·{};</div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}·<span·class="comment">//·namespace·Dune::Impl</span></div> 
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>92 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····};</div>
99 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">···35</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00406.html#ga40[·...·truncated·by·diffoscope;·len:·100,·SHA:·1ee2f49011e467caf0a787d50236a641482a6be00c859adb761a996f962584dc·...·]</div>93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>
 94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··}·<span·class="comment">//·namespace·Std</span></div>
101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>95 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
103 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
104 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">···47</a></span><span·class="keyword">constexpr</span>·T&amp;·<a·class="code·hl_function"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">resolveRef</a>(T&amp;·gf)·<span·class="keyword">noexcept</span></div> 
105 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div> 
106 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keywordflow">return</span>·gf;</div> 
107 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div> 
108 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
109 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
110 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//·There&#39;s·no·overload·for·non·std::reference_wrapper·r-values,</span></div> 
111 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//·because·this·may·lead·to·undefined·behavior·whenever·the</span></div> 
112 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·return·value·is·stored.</span></div> 
113 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·Notice·that·deleting·the·overload·is·not·necessary,·but</span></div> 
114 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·helps·to·document·that·it·is·missing·on·purpose.·It·also</span></div> 
115 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·leads·to·nicer·error·messages.</span></div> 
116 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
117 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00425.html#a475729bf34315ee373afc7b55b81a47a">···60</a></span><span·class="keyword">const</span>·<span·class="keyword">auto</span>&amp;·<a·class="code·hl_function"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">resolveRef</a>(T&amp;&amp;·gf)·=·<span·class="keyword">delete</span>;</div> 
118 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
119 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
120 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
121 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga2ca0c16cf494211b6128a9e6e2c6274b">···82</a></span><span·class="keyword">constexpr</span>·T&amp;·<a·class="code·hl_function"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">resolveRef</a>(std::reference_wrapper&lt;T&gt;·gf)·<span·class="keyword">noexcept</span></div> 
122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div> 
123 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordflow">return</span>·gf.get();</div> 
124 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div> 
125 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
126 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
127 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
128 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
129 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a00425.html#a77f46351fe46db7d54dfec534616366b">··100</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00425.html#a77f46351fe46db7d54dfec534616366b">ResolveRef_t</a>·=·std::remove_reference_t&lt;decltype(Dune::resolveRef(std::declval&lt;T&amp;&gt;()))&gt;;</div> 
130 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div> 
131 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
132 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>}·<span·class="comment">//·namespace·Dune</span></div>96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·namespace·Dune</span></div>
133 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#endif·</span><span·class="comment">//·#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH</span></div>
134 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
135 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div> 
136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_REFERENCE_HELPER_HH</span></div> 
137 <div·class="ttc"·id="aa00406_html_ga4088609d1ec5543664e9a4e688b8f46e"><div·class="ttname"><a·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">Dune::IsReferenceWrapper_v</a></div><div·class="ttdeci">constexpr·bool·IsReferenceWrapper_v</div><div·class="ttdoc">Helper·to·detect·if·given·type·is·a·std::reference_wrapper.</div><div·class="ttdef"><b>Definition:</b>·referencehelper.hh:35</div></div> 
138 <div·class="ttc"·id="aa00406_html_ga965f89f9b3f8d3490d0db77d0cc54553"><div·class="ttname"><a·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">Dune::resolveRef</a></div><div·class="ttdeci">constexpr·T·&amp;·resolveRef(T·&amp;gf)·noexcept</div><div·class="ttdoc">Helper·function·to·resolve·std::reference_wrapper.</div><div·class="ttdef"><b>Definition:</b>·referencehelper.hh:47</div></div> 
139 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div> 
140 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>99 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
141 <div·class="ttc"·id="aa00425_html_a77f46351fe46db7d54dfec534616366b"><div·class="ttname"><a·href="a00425.html#a77f46351fe46db7d54dfec534616366b">Dune::ResolveRef_t</a></div><div·class="ttdeci">std::remove_reference_t&lt;·decltype(Dune::resolveRef(std::declval&lt;·T·&amp;·&gt;()))[·...·truncated·by·diffoscope;·len:·153,·SHA:·470cbb1953afb2d76747c5a6ea8baeae1d9cef95b37a853cf6622e88202a9787·...·]</div></div>100 <div·class="ttc"·id="aa02864_html"><div·class="ttname"><a·href="a02864.html">Dune::Std::identity</a></div><div·class="ttdoc">A·function·object·type·whose·operator()·returns·its·argument·unchanged.</div><div·class="ttdef"><b>Definition:</b>·functional.hh:25</div></div>
 101 <div·class="ttc"·id="aa02864_html_a01171400202cf7f1039454c787ed1e7a"><div·class="ttname"><a·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">Dune::Std::identity::operator()</a></div><div·class="ttdeci">constexpr·T·&amp;&amp;·operator()(T·&amp;&amp;t)·const·noexcept</div><div·class="ttdef"><b>Definition:</b>·functional.hh:27</div></div>
142 </div><!--·fragment·--></div><!--·contents·-->102 </div><!--·fragment·--></div><!--·contents·-->
143 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
144 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
145 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
146 </small></address>106 </small></address>
147 </body>107 </body>
148 </html>108 </html>
3.49 KB
html2text {}
    
Offset 4, 100 lines modifiedOffset 4, 51 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 referencehelper.hh7 ····*·std
 8 functional.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·8;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·ts=8·sw=2·et·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_REFERENCE_HELPER_HH 
15 ·6#define·DUNE_COMMON_REFERENCE_HELPER_HH15 ·5#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH
 16 ·6#define·DUNE_COMMON_STD_FUNCTIONAL_HH
16 ·717 ·7
17 ·8#include·<type_traits> 
18 ·9#include·<functional>18 ·8#include·<functional>
19 ·1019 ·9
 20 ·10namespace·Dune
20 ·1121 ·11{
21 ·1222 ·12
22 ·13namespace·Dune·{23 ·13·namespace·Std
23 ·1424 ·14·{
24 ·15namespace·Impl·{ 
25 ·16 
26 ·17·template<class·T> 
27 ·18·class·IsReferenceWrapper·:·public·std::false_type·{}; 
28 ·1925 ·15
 26 ·22#if·DUNE_HAVE_CXX_STD_IDENTITY
 27 ·23·using·std::identity;
 28 ·24#else·//DUNE_HAVE_CXX_STD_IDENTITY
 29 25·struct·identity·{
29 ·20·template<class·T>30 ·26·template<class·T>
 31 27·constexpr·T&&·operator()(T&&·t·)·const·noexcept·{return·std::forward<T>(t);}
 32 ·28·};
 33 ·29#endif
 34 ·30·}·//·namespace·Std
 35 ·31
30 ·21·class·IsReferenceWrapper<std::reference_wrapper<T>>·:·public·std::true_type 
31 {}; 
32 ·22 
33 ·23·template<class·T> 
34 ·24·class·IsReferenceWrapper<const·std::reference_wrapper<T>>·:·public·std:: 
35 true_type·{}; 
36 ·25 
37 ·26}·//·namespace·Dune::Impl 
38 ·27 
39 ·28 
40 ·34template<class·T> 
41 35constexpr·bool·IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value; 
42 ·36 
43 ·37 
44 ·46template<class·T> 
45 47constexpr·T&·resolveRef(T&·gf)·noexcept 
46 ·48{ 
47 ·49·return·gf; 
48 ·50} 
49 ·51 
50 ·52 
51 ·53//·There's·no·overload·for·non·std::reference_wrapper·r-values, 
52 ·54//·because·this·may·lead·to·undefined·behavior·whenever·the 
53 ·55//·return·value·is·stored. 
54 ·56//·Notice·that·deleting·the·overload·is·not·necessary,·but 
55 ·57//·helps·to·document·that·it·is·missing·on·purpose.·It·also 
56 ·58//·leads·to·nicer·error·messages. 
57 ·59template<class·T> 
58 60const·auto&·resolveRef(T&&·gf)·=·delete; 
59 ·61 
60 ·62 
61 ·81template<class·T> 
62 82constexpr·T&·resolveRef(std::reference_wrapper<T>·gf)·noexcept 
63 ·83{ 
64 ·84·return·gf.get(); 
65 ·85} 
66 ·86 
67 ·87 
68 ·88 
69 ·99template<class·T> 
70 100using·ResolveRef_t·=·std::remove_reference_t<decltype(Dune::resolveRef(std:: 
71 declval<T&>()))>; 
72 ·101 
73 ·102 
74 ·103}·//·namespace·Dune36 ·32}·//·namespace·Dune
 37 ·33
 38 ·34#endif·//·#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH
75 ·104 
76 ·105 
77 ·106 
78 ·107#endif·//·DUNE_COMMON_REFERENCE_HELPER_HH 
79 Dune::IsReferenceWrapper_v 
80 constexpr·bool·IsReferenceWrapper_v 
81 Helper·to·detect·if·given·type·is·a·std::reference_wrapper. 
82 Definition:·referencehelper.hh:35 
83 Dune::resolveRef 
84 constexpr·T·&·resolveRef(T·&gf)·noexcept 
85 Helper·function·to·resolve·std::reference_wrapper. 
86 Definition:·referencehelper.hh:47 
87 std 
88 STL·namespace. 
89 Dune39 Dune
90 Dune·namespace.40 Dune·namespace.
91 Definition:·alignedallocator.hh:1341 Definition:·alignedallocator.hh:13
92 Dune::ResolveRef_t 
93 std::remove_reference_t<·decltype(Dune::resolveRef(std::declval<·T·&·>()))> 
94 ResolveRef_t 
95 Type·trait·to·resolve·std::reference_wrapper. 
96 Definition:·referencehelper.hh:10042 Dune::Std::identity
 43 A·function·object·type·whose·operator()·returns·its·argument·unchanged.
 44 Definition:·functional.hh:25
 45 Dune::Std::identity::operator()
 46 constexpr·T·&&·operator()(T·&&t)·const·noexcept
 47 Definition:·functional.hh:27
  
97 ===============================================================================48 ===============================================================================
98 ·····Generated·by [doxygen]·1.9.449 ·····Generated·by [doxygen]·1.9.4
4.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a00164.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·ios_state.cc·File·Reference</title>8 <title>dune-common:·variant.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 30 lines modifiedOffset 58, 35 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#namespaces">Namespaces</a>··</div>69 <a·href="#namespaces">Namespaces</a>··</div>
70 ··<div·class="headertitle"><div·class="title">ios_state.cc·File·Reference</div></div>70 ··<div·class="headertitle"><div·class="title">variant.hh·File·Reference</div></div>
71 </div><!--header-->71 </div><!--header-->
72 <div·class="contents">72 <div·class="contents">
73 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00317_source.html">dune/common/ios_state.hh</a>&gt;</code><br·/>73 <div·class="textblock"><code>#include·&lt;variant&gt;</code><br·/>
 74 </div>
 75 <p><a·href="a00164_source.html">Go·to·the·source·code·of·this·file.</a></p>
74 </div><table·class="memberdecls">76 <table·class="memberdecls">
75 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
76 Namespaces</h2></td></tr>78 Namespaces</h2></td></tr>
77 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
78 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
79 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 82 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>
 83 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
 84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
80 </table>85 </table>
81 </div><!--·contents·-->86 </div><!--·contents·-->
82 <!--·start·footer·part·-->87 <!--·start·footer·part·-->
83 <hr·class="footer"/><address·class="footer"><small>88 <hr·class="footer"/><address·class="footer"><small>
84 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.489 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
85 </small></address>90 </small></address>
86 </body>91 </body>
542 B
html2text {}
    
Offset 4, 17 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·std
7 Namespaces8 Namespaces
8 ios_state.cc·File·Reference 
9 #include·<dune/common/ios_state.hh>9 variant.hh·File·Reference
 10 #include·<variant>
 11 Go_to_the_source_code_of_this_file.
10 ·Namespaces12 ·Namespaces
11 namespace· Dune13 namespace· Dune
12  ··········Dune·namespace.14  ··········Dune·namespace.
13  15  
 16 namespace· Dune::Std
 17  ··········Namespace·for·features·backported·from·new·C++·standards.
 18  
  
14 ===============================================================================19 ===============================================================================
15 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
2.29 KB
./usr/share/doc/libdune-common-doc/doxygen/a00167.html
    
Offset 73, 20 lines modifiedOffset 73, 20 lines modified
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.··74 <p>Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
77 <code>#include·&lt;type_traits&gt;</code><br·/>77 <code>#include·&lt;type_traits&gt;</code><br·/>
78 <code>#include·&lt;ostream&gt;</code><br·/>78 <code>#include·&lt;ostream&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00116_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/matvectraits.hh</a>&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/>84 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/>
85 </div>85 </div>
86 <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00167_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">87 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
89 Namespaces</h2></td></tr>89 Namespaces</h2></td></tr>
90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
11.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00167_source.html
    
Offset 76, 20 lines modifiedOffset 76, 20 lines modified
76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div>76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div>
77 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div>77 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div>
78 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>78 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
79 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>79 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
80 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>80 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
81 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>81 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
82 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>82 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
83 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00104.html">dune/common/boundschecking.hh</a>&gt;</span></div>83 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00116.html">dune/common/boundschecking.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div>84 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
85 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00254.html">dune/common/matvectraits.hh</a>&gt;</span></div>85 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00290.html">dune/common/matvectraits.hh</a>&gt;</span></div>
86 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00389.html">dune/common/densematrix.hh</a>&gt;</span></div>86 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00236.html">dune/common/densematrix.hh</a>&gt;</span></div>
87 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00251.html">dune/common/fmatrix.hh</a>&gt;</span></div>87 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00107.html">dune/common/fmatrix.hh</a>&gt;</span></div>
88 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00134.html">dune/common/scalarvectorview.hh</a>&gt;</span></div>88 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/scalarvectorview.hh</a>&gt;</span></div>
89 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>89 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
91 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>91 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
93 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Impl·{</div>93 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span>Impl·{</div>
94 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>94 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>
Offset 230, 20 lines modifiedOffset 230, 20 lines modified
230 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno">··194</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a03144.html#ad77a42a936aba0f4cde5d642fd964108">type</a>·=·FieldMatrix&lt;std::remove_const_t&lt;K&gt;,1,1&gt;;</div>230 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno">··194</span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a03144.html#ad77a42a936aba0f4cde5d642fd964108">type</a>·=·FieldMatrix&lt;std::remove_const_t&lt;K&gt;,1,1&gt;;</div>
231 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··};</div>231 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··};</div>
232 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div>232 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div>
233 <div·class="line"><a·id="l00197"·name="l00197"></a><span·class="lineno">··197</span>·</div>233 <div·class="line"><a·id="l00197"·name="l00197"></a><span·class="lineno">··197</span>·</div>
234 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>}·<span·class="comment">//·end·namespace·Dune</span></div>234 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
235 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>·</div>235 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span>·</div>
236 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div>236 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SCALARMATRIXVIEW_HH</span></div>
 237 <div·class="ttc"·id="aa00083_html"><div·class="ttname"><a·href="a00083.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
 238 <div·class="ttc"·id="aa00107_html"><div·class="ttname"><a·href="a00107.html">fmatrix.hh</a></div><div·class="ttdoc">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·...</div></div>
237 <div·class="ttc"·id="aa00104_html"><div·class="ttname"><a·href="a00104.html">boundschecking.hh</a></div><div·class="ttdoc">Macro·for·wrapping·boundary·checks.</div></div>239 <div·class="ttc"·id="aa00116_html"><div·class="ttname"><a·href="a00116.html">boundschecking.hh</a></div><div·class="ttdoc">Macro·for·wrapping·boundary·checks.</div></div>
238 <div·class="ttc"·id="aa00134_html"><div·class="ttname"><a·href="a00134.html">scalarvectorview.hh</a></div><div·class="ttdoc">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.</div></div>240 <div·class="ttc"·id="aa00131_html"><div·class="ttname"><a·href="a00131.html">scalarvectorview.hh</a></div><div·class="ttdoc">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.</div></div>
 241 <div·class="ttc"·id="aa00236_html"><div·class="ttname"><a·href="a00236.html">densematrix.hh</a></div><div·class="ttdoc">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·numbe...</div></div>
239 <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div> 
240 <div·class="ttc"·id="aa00251_html"><div·class="ttname"><a·href="a00251.html">fmatrix.hh</a></div><div·class="ttdoc">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·...</div></div> 
241 <div·class="ttc"·id="aa00254_html"><div·class="ttname"><a·href="a00254.html">matvectraits.hh</a></div><div·class="ttdoc">Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·Dense...</div></div>242 <div·class="ttc"·id="aa00290_html"><div·class="ttname"><a·href="a00290.html">matvectraits.hh</a></div><div·class="ttdoc">Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·Dense...</div></div>
242 <div·class="ttc"·id="aa00389_html"><div·class="ttname"><a·href="a00389.html">densematrix.hh</a></div><div·class="ttdoc">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·numbe...</div></div> 
243 <div·class="ttc"·id="aa00397_html_ga75d4ba5883cb39e7ec7927891a12615e"><div·class="ttname"><a·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a></div><div·class="ttdeci">#define·DUNE_ASSERT_BOUNDS(cond)</div><div·class="ttdoc">If·DUNE_CHECK_BOUNDS·is·defined:·check·if·condition·cond·holds;·otherwise,·do·nothing.</div><div·class="ttdef"><b>Definition:</b>·boundschecking.hh:30</div></div>243 <div·class="ttc"·id="aa00397_html_ga75d4ba5883cb39e7ec7927891a12615e"><div·class="ttname"><a·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a></div><div·class="ttdeci">#define·DUNE_ASSERT_BOUNDS(cond)</div><div·class="ttdoc">If·DUNE_CHECK_BOUNDS·is·defined:·check·if·condition·cond·holds;·otherwise,·do·nothing.</div><div·class="ttdef"><b>Definition:</b>·boundschecking.hh:30</div></div>
244 <div·class="ttc"·id="aa00408_html_ga49e9aab7260e82c77e7fd410ecb339c1"><div·class="ttname"><a·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a></div><div·class="ttdeci">std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:278</div></div>244 <div·class="ttc"·id="aa00408_html_ga49e9aab7260e82c77e7fd410ecb339c1"><div·class="ttname"><a·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a></div><div·class="ttdeci">std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:278</div></div>
245 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>245 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
246 <div·class="ttc"·id="aa01400_html_a4e24141a1dee8d2e438149c51c02bc6a"><div·class="ttname"><a·href="a01400.html#a4e24141a1dee8d2e438149c51c02bc6a">Dune::DenseMatrix&lt;·ScalarMatrixView&lt;·K·&gt;·&gt;::cols</a></div><div·class="ttdeci">constexpr·size_type·cols()·const</div><div·class="ttdoc">number·of·columns</div><div·class="ttdef"><b>Definition:</b>·densematrix.hh:715</div></div>246 <div·class="ttc"·id="aa01400_html_a4e24141a1dee8d2e438149c51c02bc6a"><div·class="ttname"><a·href="a01400.html#a4e24141a1dee8d2e438149c51c02bc6a">Dune::DenseMatrix&lt;·ScalarMatrixView&lt;·K·&gt;·&gt;::cols</a></div><div·class="ttdeci">constexpr·size_type·cols()·const</div><div·class="ttdoc">number·of·columns</div><div·class="ttdef"><b>Definition:</b>·densematrix.hh:715</div></div>
247 <div·class="ttc"·id="aa01400_html_a87d6a39a8a05460bf6c23bb79203de06"><div·class="ttname"><a·href="a01400.html#a87d6a39a8a05460bf6c23bb79203de06">Dune::DenseMatrix&lt;·ScalarMatrixView&lt;·K·&gt;·&gt;::rows</a></div><div·class="ttdeci">constexpr·size_type·rows()·const</div><div·class="ttdoc">number·of·rows</div><div·class="ttdef"><b>Definition:</b>·densematrix.hh:709</div></div>247 <div·class="ttc"·id="aa01400_html_a87d6a39a8a05460bf6c23bb79203de06"><div·class="ttname"><a·href="a01400.html#a87d6a39a8a05460bf6c23bb79203de06">Dune::DenseMatrix&lt;·ScalarMatrixView&lt;·K·&gt;·&gt;::rows</a></div><div·class="ttdeci">constexpr·size_type·rows()·const</div><div·class="ttdoc">number·of·rows</div><div·class="ttdef"><b>Definition:</b>·densematrix.hh:709</div></div>
248 <div·class="ttc"·id="aa01400_html_abb04f185b1d618c7ecbc71f80c913fee"><div·class="ttname"><a·href="a01400.html#abb04f185b1d618c7ecbc71f80c913fee">Dune::DenseMatrix&lt;·ScalarMatrixView&lt;·K·&gt;·&gt;::blocklevel</a></div><div·class="ttdeci">static·constexpr·int·blocklevel</div><div·class="ttdoc">The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.</div><div·class="ttdef"><b>Definition:</b>·densematrix.hh:178</div></div>248 <div·class="ttc"·id="aa01400_html_abb04f185b1d618c7ecbc71f80c913fee"><div·class="ttname"><a·href="a01400.html#abb04f185b1d618c7ecbc71f80c913fee">Dune::DenseMatrix&lt;·ScalarMatrixView&lt;·K·&gt;·&gt;::blocklevel</a></div><div·class="ttdeci">static·constexpr·int·blocklevel</div><div·class="ttdoc">The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.</div><div·class="ttdef"><b>Definition:</b>·densematrix.hh:178</div></div>
249 <div·class="ttc"·id="aa01400_html_acff1e010547092ecf356c2e33fec19a8"><div·class="ttname"><a·href="a01400.html#acff1e010547092ecf356c2e33fec19a8">Dune::DenseMatrix&lt;·ScalarMatrixView&lt;·K·&gt;·&gt;::row_type</a></div><div·class="ttdeci">Traits::row_type·row_type</div><div·class="ttdoc">The·type·used·to·represent·a·row·(must·fulfill·the·Dune::DenseVector·interface)</div><div·class="ttdef"><b>Definition:</b>·densematrix.hh:169</div></div>249 <div·class="ttc"·id="aa01400_html_acff1e010547092ecf356c2e33fec19a8"><div·class="ttname"><a·href="a01400.html#acff1e010547092ecf356c2e33fec19a8">Dune::DenseMatrix&lt;·ScalarMatrixView&lt;·K·&gt;·&gt;::row_type</a></div><div·class="ttdeci">Traits::row_type·row_type</div><div·class="ttdoc">The·type·used·to·represent·a·row·(must·fulfill·the·Dune::DenseVector·interface)</div><div·class="ttdef"><b>Definition:</b>·densematrix.hh:169</div></div>
1.29 KB
html2text {}
    
Offset 173, 29 lines modifiedOffset 173, 29 lines modified
173 ·194·using·type·=·FieldMatrix<std::remove_const_t<K>,1,1>;173 ·194·using·type·=·FieldMatrix<std::remove_const_t<K>,1,1>;
174 ·195·};174 ·195·};
175 ·196175 ·196
176 ·197176 ·197
177 ·198}·//·end·namespace·Dune177 ·198}·//·end·namespace·Dune
178 ·199178 ·199
179 ·200#endif·//·DUNE_COMMON_SCALARMATRIXVIEW_HH179 ·200#endif·//·DUNE_COMMON_SCALARMATRIXVIEW_HH
180 boundschecking.hh 
181 Macro·for·wrapping·boundary·checks. 
182 scalarvectorview.hh 
183 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar. 
184 typetraits.hh180 typetraits.hh
185 Traits·for·type·conversions·and·type·information.181 Traits·for·type·conversions·and·type·information.
186 fmatrix.hh182 fmatrix.hh
187 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and183 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and
188 compile-time·given·number·...184 compile-time·given·number·...
189 matvectraits.hh 
190 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation 
191 of·DenseVector·or·Dense...185 boundschecking.hh
 186 Macro·for·wrapping·boundary·checks.
 187 scalarvectorview.hh
 188 Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.
192 densematrix.hh189 densematrix.hh
193 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a190 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a
194 compile-time·given·numbe...191 compile-time·given·numbe...
 192 matvectraits.hh
 193 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation
 194 of·DenseVector·or·Dense...
195 DUNE_ASSERT_BOUNDS195 DUNE_ASSERT_BOUNDS
196 #define·DUNE_ASSERT_BOUNDS(cond)196 #define·DUNE_ASSERT_BOUNDS(cond)
197 If·DUNE_CHECK_BOUNDS·is·defined:·check·if·condition·cond·holds;·otherwise,·do197 If·DUNE_CHECK_BOUNDS·is·defined:·check·if·condition·cond·holds;·otherwise,·do
198 nothing.198 nothing.
199 Definition:·boundschecking.hh:30199 Definition:·boundschecking.hh:30
200 Dune::operator<<200 Dune::operator<<
201 std::ostream·&·operator<<(std::ostream·&s,·const·bigunsignedint<·k·>·&x)201 std::ostream·&·operator<<(std::ostream·&s,·const·bigunsignedint<·k·>·&x)
26.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00170.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·iteratorfacades.hh·File·Reference</title>8 <title>dune-common:·binaryfunctions.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 100 lines modifiedOffset 64, 40 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.··75 <p>helper·classes·to·provide·unique·types·for·standard·functions··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;iterator&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
79 <code>#include·&lt;type_traits&gt;</code><br·/> 
80 <code>#include·&quot;<a·class="el"·href="a00224_source.html">typetraits.hh</a>&quot;</code><br·/> 
81 </div>78 </div>
82 <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00170_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">80 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
85 Classes</h2></td></tr>82 Classes</h2></td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01876.html">Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01312.html">Dune::Min&lt;·Type·&gt;</a></td></tr>
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·stl·conformant·forward·iterators.··<a·href="a01876.html#details">More...</a><br·/></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01880.html">Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Facade·class·for·stl·conformant·bidirectional·iterators.··<a·href="a01880.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01884.html">Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01316.html">Dune::Max&lt;·Type·&gt;</a></td></tr>
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·stl·conformant·forward·iterators.··<a·href="a01884.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
97 Namespaces</h2></td></tr>89 Namespaces</h2></td></tr>
98 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
99 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table><table·class="memberdecls"> 
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
103 Functions</h2></td></tr> 
104 <tr·class="memitem:gaa43d9510bcda16267820bafa84be5369"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
105 <tr·class="memitem:gaa43d9510bcda16267820bafa84be5369"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">Dune::operator==</a>·(const·ForwardIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·ForwardIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
106 <tr·class="memdesc:gaa43d9510bcda16267820bafa84be5369"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<a·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">More...</a><br·/></td></tr> 
107 <tr·class="separator:gaa43d9510bcda16267820bafa84be5369"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
109 <tr·class="memitem:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">Dune::operator!=</a>·(const·ForwardIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·ForwardIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
110 <tr·class="memdesc:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<a·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">More...</a><br·/></td></tr> 
111 <tr·class="separator:gae5cc1a15c24afcf14896e20a7d265c35"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
113 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"><td·class="memTemplItemLeft"·align="right"·valign="top">std::enable_if&lt;·std::is_convertible&lt;·T2,·T1·&gt;::value,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga20da041c39864baffcdb12c036fd1c37">Dune::operator==</a>·(const·BidirectionalIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·BidirectionalIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
114 <tr·class="memdesc:ga20da041c39864baffcdb12c036fd1c37"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<a·href="a00414.html#ga20da041c39864baffcdb12c036fd1c37">More...</a><br·/></td></tr> 
115 <tr·class="separator:ga20da041c39864baffcdb12c036fd1c37"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
117 <tr·class="memitem:ga20da041c39864baffcdb12c036fd1c37"><td·class="memTemplItemLeft"·align="right"·valign="top">std::enable_if&lt;·std::is_convertible&lt;·T1,·T2·&gt;::value·&amp;&amp;!std::is_convertible&lt;·T2,·T1·&gt;::value,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ga20da041c39864baffcdb12c036fd1c37">Dune::operator==</a>·(const·BidirectionalIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·BidirectionalIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
118 <tr·class="memdesc:ga20da041c39864baffcdb12c036fd1c37"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<a·href="a00425.html#ga20da041c39864baffcdb12c036fd1c37">More...</a><br·/></td></tr> 
119 <tr·class="separator:ga20da041c39864baffcdb12c036fd1c37"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:ga920ece963b8c9993e176bcfde00c9224"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
121 <tr·class="memitem:ga920ece963b8c9993e176bcfde00c9224"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga920ece963b8c9993e176bcfde00c9224">Dune::operator!=</a>·(const·BidirectionalIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·BidirectionalIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
122 <tr·class="memdesc:ga920ece963b8c9993e176bcfde00c9224"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<a·href="a00414.html#ga920ece963b8c9993e176bcfde00c9224">More...</a><br·/></td></tr> 
123 <tr·class="separator:ga920ece963b8c9993e176bcfde00c9224"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
125 <tr·class="memitem:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga49f87500d6251c950ff02c42c91c2ec0">Dune::operator==</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
126 <tr·class="memdesc:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·equality.··<a·href="a00414.html#ga49f87500d6251c950ff02c42c91c2ec0">More...</a><br·/></td></tr> 
127 <tr·class="separator:ga49f87500d6251c950ff02c42c91c2ec0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
129 <tr·class="memitem:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga9052c16ab85627534c5c3eb9ebed7d87">Dune::operator!=</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
130 <tr·class="memdesc:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·for·inequality.··<a·href="a00414.html#ga9052c16ab85627534c5c3eb9ebed7d87">More...</a><br·/></td></tr> 
131 <tr·class="separator:ga9052c16ab85627534c5c3eb9ebed7d87"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
133 <tr·class="memitem:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">Dune::operator&lt;</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
134 <tr·class="memdesc:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">More...</a><br·/></td></tr> 
135 <tr·class="separator:ga2c43cd511159faaeafc9ec92874ea5f2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 <tr·class="memitem:ga798235d5677109c73826c07eda54642a"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
137 <tr·class="memitem:ga798235d5677109c73826c07eda54642a"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga798235d5677109c73826c07eda54642a">Dune::operator&lt;=</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
138 <tr·class="memdesc:ga798235d5677109c73826c07eda54642a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#ga798235d5677109c73826c07eda54642a">More...</a><br·/></td></tr> 
139 <tr·class="separator:ga798235d5677109c73826c07eda54642a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 <tr·class="memitem:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
141 <tr·class="memitem:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga4e05f002f8262357d9bdd7874fcb0f68">Dune::operator&gt;</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
142 <tr·class="memdesc:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#ga4e05f002f8262357d9bdd7874fcb0f68">More...</a><br·/></td></tr> 
143 <tr·class="separator:ga4e05f002f8262357d9bdd7874fcb0f68"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 <tr·class="memitem:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
145 <tr·class="memitem:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·bool·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#gad3b5d2384ffc58bc20968c4b6c6fcefb">Dune::operator&gt;=</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
146 <tr·class="memdesc:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator.··<a·href="a00414.html#gad3b5d2384ffc58bc20968c4b6c6fcefb">More...</a><br·/></td></tr> 
147 <tr·class="separator:gad3b5d2384ffc58bc20968c4b6c6fcefb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 <tr·class="memitem:ga7185b695129604b07bfddf92f3a01c04"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·&gt;·</td></tr> 
149 <tr·class="memitem:ga7185b695129604b07bfddf92f3a01c04"><td·class="memTemplItemLeft"·align="right"·valign="top">EnableIfInterOperable&lt;·T1,·T2,·D·&gt;::type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00414.html#ga7185b695129604b07bfddf92f3a01c04">Dune::operator-</a>·(const·RandomAccessIteratorFacade&lt;·T1,·V1,·R1,·D·&gt;·&amp;lhs,·const·RandomAccessIteratorFacade&lt;·T2,·V2,·R2,·D·&gt;·&amp;rhs)</td></tr> 
150 <tr·class="memdesc:ga7185b695129604b07bfddf92f3a01c04"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·difference·between·two·pointers.··<a·href="a00414.html#ga7185b695129604b07bfddf92f3a01c04">More...</a><br·/></td></tr> 
151 <tr·class="separator:ga7185b695129604b07bfddf92f3a01c04"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 </table>93 </table>
153 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 95 <div·class="textblock"><p·>helper·classes·to·provide·unique·types·for·standard·functions·</p>
154 <div·class="textblock"><p·>This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.·</p> 
155 <p·>With·using·these·facades·writing·iterators·for·arbitrary·containers·becomes·much·less·cumbersome·as·only·few·functions·have·to·be·implemented.·All·other·functions·needed·by·the·stl·are·provided·by·the·facades·using·the·Barton-Nackman·trick·(also·known·as·curiously·recurring·template·pattern.·</p> 
156 </div></div><!--·contents·-->96 </div></div><!--·contents·-->
157 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
158 <hr·class="footer"/><address·class="footer"><small>98 <hr·class="footer"/><address·class="footer"><small>
159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.499 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
160 </small></address>100 </small></address>
161 </body>101 </body>
162 </html>102 </html>
8.77 KB
html2text {}
    
Offset 4, 141 lines modifiedOffset 4, 26 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Classes·|·Namespaces
 8 binaryfunctions.hh·File·Reference
 9 helper·classes·to·provide·unique·types·for·standard·functions·More...
 10 #include·<algorithm>
8 iteratorfacades.hh·File·Reference 
9 This·file·implements·iterator·facade·classes·for·writing·stl·conformant 
10 iterators.·More... 
11 #include·<iterator> 
12 #include·<type_traits> 
13 #include·"typetraits.hh" 
14 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
15 ·Classes12 ·Classes
 13 struct· Dune::Min<_Type_>
16 class· Dune::ForwardIteratorFacade<_T,_V,_R,_D_> 
17  ······Base·class·for·stl·conformant·forward·iterators.·More... 
18  14  
 15 struct· Dune::Max<_Type_>
19 class· Dune::BidirectionalIteratorFacade<_T,_V,_R,_D_> 
20  ······Facade·class·for·stl·conformant·bidirectional·iterators.·More... 
21   
22 class· Dune::RandomAccessIteratorFacade<_T,_V,_R,_D_> 
23  ······Base·class·for·stl·conformant·forward·iterators.·More... 
24  16  
25 ·Namespaces17 ·Namespaces
26 namespace· Dune18 namespace· Dune
27  ··········Dune·namespace.19  ··········Dune·namespace.
28  20  
29 ·Functions 
30 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
31 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator==·(const 
32 ························································ForwardIteratorFacade<·T1, 
33 ························································V1,·R1,·D·>·&lhs,·const 
34 ························································ForwardIteratorFacade<·T2, 
35 ························································V2,·R2,·D·>·&rhs) 
36  ······················································Checks·for·equality.·More... 
37   
38 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
39 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const 
40 ························································ForwardIteratorFacade<·T1, 
41 ························································V1,·R1,·D·>·&lhs,·const 
42 ························································ForwardIteratorFacade<·T2, 
43 ························································V2,·R2,·D·>·&rhs) 
44  ······················································Checks·for·inequality. 
45 ························································More... 
46   
47 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
48 ··std::enable_if<·std::is_convertible<·T2,·T1·>::value,·Dune::operator==·(const 
49 ··········································bool·>::type BidirectionalIteratorFacade< 
50 ························································T1,·V1,·R1,·D·>·&lhs,·const 
51 ························································BidirectionalIteratorFacade< 
52 ························································T2,·V2,·R2,·D·>·&rhs) 
53  ······················································Checks·for·equality.·More... 
54   
55 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
56 ···std::enable_if<·std::is_convertible<·T1,·T2·>::value·Dune::operator==·(const 
57 ·&&!std::is_convertible<·T2,·T1·>::value,·bool·>::type BidirectionalIteratorFacade< 
58 ························································T1,·V1,·R1,·D·>·&lhs,·const 
59 ························································BidirectionalIteratorFacade< 
60 ························································T2,·V2,·R2,·D·>·&rhs) 
61  ······················································Checks·for·equality.·More... 
62   
63 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
64 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const 
65 ························································BidirectionalIteratorFacade< 
66 ························································T1,·V1,·R1,·D·>·&lhs,·const 
67 ························································BidirectionalIteratorFacade< 
68 ························································T2,·V2,·R2,·D·>·&rhs) 
69  ······················································Checks·for·inequality. 
70 ························································More... 
71   
72 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
73 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator==·(const 
74 ························································RandomAccessIteratorFacade< 
75 ························································T1,·V1,·R1,·D·>·&lhs,·const 
76 ························································RandomAccessIteratorFacade< 
77 ························································T2,·V2,·R2,·D·>·&rhs) 
78  ······················································Checks·for·equality.·More... 
79   
80 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
81 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator!=·(const 
82 ························································RandomAccessIteratorFacade< 
83 ························································T1,·V1,·R1,·D·>·&lhs,·const 
84 ························································RandomAccessIteratorFacade< 
85 ························································T2,·V2,·R2,·D·>·&rhs) 
86  ······················································Checks·for·inequality. 
87 ························································More... 
88   
89 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
90 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator<·(const 
91 ························································RandomAccessIteratorFacade< 
92 ························································T1,·V1,·R1,·D·>·&lhs,·const 
93 ························································RandomAccessIteratorFacade< 
94 ························································T2,·V2,·R2,·D·>·&rhs) 
95  ······················································Comparison·operator.·More... 
96   
97 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
98 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator<=·(const 
99 ························································RandomAccessIteratorFacade< 
100 ························································T1,·V1,·R1,·D·>·&lhs,·const 
101 ························································RandomAccessIteratorFacade< 
102 ························································T2,·V2,·R2,·D·>·&rhs) 
103  ······················································Comparison·operator.·More... 
104   
105 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
106 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator>·(const 
107 ························································RandomAccessIteratorFacade< 
108 ························································T1,·V1,·R1,·D·>·&lhs,·const 
109 ························································RandomAccessIteratorFacade< 
110 ························································T2,·V2,·R2,·D·>·&rhs) 
111  ······················································Comparison·operator.·More... 
112   
113 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
114 ···········EnableIfInterOperable<·T1,·T2,·bool·>::type Dune::operator>=·(const 
115 ························································RandomAccessIteratorFacade< 
116 ························································T1,·V1,·R1,·D·>·&lhs,·const 
117 ························································RandomAccessIteratorFacade< 
118 ························································T2,·V2,·R2,·D·>·&rhs) 
119  ······················································Comparison·operator.·More... 
120   
121 template<class·T1·,·class·V1·,·class·R1·,·class·D·,·class·T2·,·class·V2·,·class·R2·> 
Max diff block lines reached; 564/8957 bytes (6.30%) of diff not shown.
132 KB
./usr/share/doc/libdune-common-doc/doxygen/a00170_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·iteratorfacades.hh·Source·File</title>8 <title>dune-common:·binaryfunctions.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 435 lines modifiedOffset 62, 75 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">iteratorfacades.hh</div></div>68 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00170.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00170.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ITERATORFACADES_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_BINARYFUNCTIONS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ITERATORFACADES_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_BINARYFUNCTIONS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00224.html">typetraits.hh</a>&quot;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>{</div>
85 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·R·=·V&amp;,·<span·class="keyword">class</span>[·...·truncated·by·diffoscope;·len:·19,·SHA:·b06b7e314e84ccb59b24b575c6daeb96899371d0e861bb52fc82be3fa6b10f2c·...·]&gt;</div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Type&gt;</div>
86 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a01876.html">··140</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01876.html">ForwardIteratorFacade</a></div>83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a01312.html">···17</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01312.html">Min</a></div>
87 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··{</div> 
88 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div> 
89 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>··<span·class="keyword">public</span>:</div> 
90 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>····<span·class="comment">/*·type·aliases·required·by·C++·for·iterators·*/</span></div> 
91 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a01876.html#a0f4a9ffc7f0617c74b92d9f5eb9bead5">··145</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#a0f4a9ffc7f0617c74b92d9f5eb9bead5">iterator_category</a>·=·std::forward_iterator_tag;</div> 
92 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno"><a·class="line"·href="a01876.html#ab489781ace31952ffca9a4e43a2e2363">··146</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#ab489781ace31952ffca9a4e43a2e2363">value_type</a>·=·<span·class="keyword">typename</span>·std::remove_const&lt;V&gt;::type;</div> 
93 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a01876.html#ad31ac07a5e26ff49e1d9616d4072a0fb">··147</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#ad31ac07a5e26ff49e1d9616d4072a0fb">difference_type</a>·=·D;</div> 
94 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a01876.html#a15d11ccef925779642b1637aac23bfe5">··148</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#a15d11ccef925779642b1637aac23bfe5">pointer</a>·=·V*;</div> 
95 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno"><a·class="line"·href="a01876.html#af42be6f3deadd418c6d79818603a5bdd">··149</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01876.html#af42be6f3deadd418c6d79818603a5bdd">reference</a>·=·R;</div> 
96 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div> 
97 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno"><a·class="line"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">··175</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>;</div> 
98 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div> 
99 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno"><a·class="line"·href="a01876.html#a91b8956e40e1fa5395f9bc095bc69557">··180</a></span>····<span·class="keyword">typedef</span>·V·<a·class="code·hl_typedef"·href="a01876.html#a91b8956e40e1fa5395f9bc095bc69557">Value</a>;</div> 
100 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··{</div>
 85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">···19</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">first_argument_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div>
101 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno"><a·class="line"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">··185</a></span>····<span·class="keyword">typedef</span>·V*·<a·class="code·hl_typedef"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">Pointer</a>;</div> 
102 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>·</div> 
103 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno"><a·class="line"·href="a01876.html#a4b5e403398426bad661a47efd77f3329">··190</a></span>····<span·class="keyword">typedef</span>·D·<a·class="code·hl_typedef"·href="a01876.html#a4b5e403398426bad661a47efd77f3329">DifferenceType</a>;</div> 
104 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>·</div> 
105 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno"><a·class="line"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">··195</a></span>····<span·class="keyword">typedef</span>·R·<a·class="code·hl_typedef"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">Reference</a>;</div> 
106 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div> 
107 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno"><a·class="line"·href="a01876.html#addb69ce5c37bc55e5b7aa5d133e3f647">··198</a></span>····<a·class="code·hl_typedef"·href="a01876.html#a5086d138aa712956ab7334e3677e5f65">Reference</a>·<a·class="code·hl_function"·href="a01876.html#addb69ce5c37bc55e5b7aa5d133e3f647">operator*</a>()<span·class="keyword">·const</span></div> 
108 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno">··199</span><span·class="keyword">····</span>{</div> 
109 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>······<span·class="keywordflow">return</span>·<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·const*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)-&gt;dereference();</div> 
110 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>····}</div> 
111 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>·</div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01312.html#aeeee48475d6ff825b11a1e5d2b33fcb3">···21</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#aeeee48475d6ff825b11a1e5d2b33fcb3">second_argument_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div>
112 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno"><a·class="line"·href="a01876.html#a7652915172bfadc464e813ee73bd6013">··203</a></span>····<a·class="code·hl_typedef"·href="a01876.html#abf8e952829c2c7c3a7635939b40c630b">Pointer</a>·<a·class="code·hl_function"·href="a01876.html#a7652915172bfadc464e813ee73bd6013">operator-&gt;</a>()<span·class="keyword">·const</span></div> 
113 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span><span·class="keyword">····</span>{</div> 
114 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno">··205</span>······<span·class="keywordflow">return</span>·&amp;(<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)-&gt;dereference());</div> 
115 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>····}</div> 
116 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno">··207</span>·</div> 
117 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno"><a·class="line"·href="a01876.html#a17bbcb0ae6d791cea6c35019a60fccdb">··209</a></span>····<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>&amp;·<a·class="code·hl_function"·href="a01876.html#a17bbcb0ae6d791cea6c35019a60fccdb">operator++</a>()</div> 
118 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>····{</div> 
119 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno">··211</span>······<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)-&gt;increment();</div> 
120 <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>······<span·class="keywordflow">return</span>·*<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>);</div> 
121 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>····}</div> 
122 <div·class="line"><a·id="l00214"·name="l00214"></a><span·class="lineno">··214</span>·</div> 
123 <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno"><a·class="line"·href="a01876.html#abeab195ddd461db8d2d9e6f560ddee6d">··216</a></span>····<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·<a·class="code·hl_function"·href="a01876.html#abeab195ddd461db8d2d9e6f560ddee6d">operator++</a>(<span·class="keywordtype">int</span>)</div> 
124 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>····{</div> 
125 <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno">··218</span>······<a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·tmp(<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01876.html#a9192927ea5d6bde865f36619380692ca">DerivedType</a>·const&amp;<span·class="keyword">&gt;</span>(*<span·class="keyword">this</span>));</div> 
126 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span>······this-&gt;<a·class="code·hl_function"·href="a01876.html#a17bbcb0ae6d791cea6c35019a60fccdb">operator++</a>();</div> 
127 <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span>······<span·class="keywordflow">return</span>·tmp;</div> 
128 <div·class="line"><a·id="l00221"·name="l00221"></a><span·class="lineno">··221</span>····}</div> 
129 <div·class="line"><a·id="l00222"·name="l00222"></a><span·class="lineno">··222</span>··};</div> 
130 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>·</div>88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01312.html#a1a9f5602b00c47102e8a673735384025">···23</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#a1a9f5602b00c47102e8a673735384025">result_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div>
131 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T1,·<span·class="keyword">class·</span>V1,·<span·class="keyword">class·</span>R1,·<span·class="keyword">class·</span>D,</div> 
132 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>······<span·class="keyword">class·</span>T2,·<span·class="keyword">class·</span>V2,·<span·class="keyword">class·</span>R2&gt;</div> 
133 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>··<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·EnableIfInterOperable&lt;T1,T2,bool&gt;::type</div> 
134 <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno"><a·class="line"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">··237</a></span>··<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01876.html">ForwardIteratorFacade&lt;T1,V1,R1,D&gt;</a>&amp;·lhs,</div> 
135 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>·············<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01876.html">ForwardIteratorFacade&lt;T2,V2,R2,D&gt;</a>&amp;·rhs)</div> 
136 <div·class="line"><a·id="l00239"·name="l00239"></a><span·class="lineno">··239</span>··{</div> 
137 <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span>····<span·class="keywordflow">if</span>(std::is_convertible&lt;T2,T1&gt;::value)</div> 
138 <div·class="line"><a·id="l00241"·name="l00241"></a><span·class="lineno">··241</span>······<span·class="keywordflow">return</span>·<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>T1&amp;<span·class="keyword">&gt;</span>(lhs).equals(<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>T2&amp;<span·class="keyword">&gt;</span>(rhs));</div> 
139 <div·class="line"><a·id="l00242"·name="l00242"></a><span·class="lineno">··242</span>····<span·class="keywordflow">else</span></div> 
140 <div·class="line"><a·id="l00243"·name="l00243"></a><span·class="lineno">··243</span>······<span·class="keywordflow">return</span>·<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>T2&amp;<span·class="keyword">&gt;</span>(rhs).equals(<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>T1&amp;<span·class="keyword">&gt;</span>(lhs));</div> 
141 <div·class="line"><a·id="l00244"·name="l00244"></a><span·class="lineno">··244</span>··}</div> 
142 <div·class="line"><a·id="l00245"·name="l00245"></a><span·class="lineno">··245</span>·</div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">···25</a></span>····Type·<a·class="code·hl_function"·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">operator()</a>(<span·class="keyword">const</span>·Type&amp;·t1,·<span·class="keyword">const</span>·Type&amp;·t2)<span·class="keyword">·const</span></div>
143 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T1,·<span·class="keyword">class·</span>V1,·<span·class="keyword">class·</span>R1,·<span·class="keyword">class·</span>D,</div> 
144 <div·class="line"><a·id="l00257"·name="l00257"></a><span·class="lineno">··257</span>······<span·class="keyword">class·</span>T2,·<span·class="keyword">class·</span>V2,·<span·class="keyword">class·</span>R2&gt;</div> 
145 <div·class="line"><a·id="l00258"·name="l00258"></a><span·class="lineno">··258</span>··<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·EnableIfInterOperable&lt;T1,T2,bool&gt;::type</div> 
146 <div·class="line"><a·id="l00259"·name="l00259"></a><span·class="lineno"><a·class="line"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">··259</a></span>··<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01876.html">ForwardIteratorFacade&lt;T1,V1,R1,D&gt;</a>&amp;·lhs,</div> 
147 <div·class="line"><a·id="l00260"·name="l00260"></a><span·class="lineno">··260</span>·············<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01876.html">ForwardIteratorFacade&lt;T2,V2,R2,D&gt;</a>&amp;·rhs)</div> 
148 <div·class="line"><a·id="l00261"·name="l00261"></a><span·class="lineno">··261</span>··{</div> 
149 <div·class="line"><a·id="l00262"·name="l00262"></a><span·class="lineno">··262</span>····<span·class="keywordflow">if</span>(std::is_convertible&lt;T2,T1&gt;::value)</div> 
150 <div·class="line"><a·id="l00263"·name="l00263"></a><span·class="lineno">··263</span>······<span·class="keywordflow">return</span>·!<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>T1&amp;<span·class="keyword">&gt;</span>(lhs).equals(<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>T2&amp;<span·class="keyword">&gt;</span>(rhs));</div> 
151 <div·class="line"><a·id="l00264"·name="l00264"></a><span·class="lineno">··264</span>····<span·class="keywordflow">else</span></div> 
152 <div·class="line"><a·id="l00265"·name="l00265"></a><span·class="lineno">··265</span>······<span·class="keywordflow">return</span>·!<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>T2&amp;<span·class="keyword">&gt;</span>(rhs).equals(<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>T1&amp;<span·class="keyword">&gt;</span>(lhs));</div> 
153 <div·class="line"><a·id="l00266"·name="l00266"></a><span·class="lineno">··266</span>··}</div> 
154 <div·class="line"><a·id="l00267"·name="l00267"></a><span·class="lineno">··267</span>·</div> 
155 <div·class="line"><a·id="l00272"·name="l00272"></a><span·class="lineno">··272</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·R·=·V&amp;,·<span·class="keyword">class</span>·D·=·std::ptrdiff_t&gt;</div> 
156 <div·class="line"><a·id="l00273"·name="l00273"></a><span·class="lineno"><a·class="line"·href="a01880.html">··273</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01880.html">BidirectionalIteratorFacade</a></div> 
157 <div·class="line"><a·id="l00274"·name="l00274"></a><span·class="lineno">··274</span>··{</div> 
158 <div·class="line"><a·id="l00275"·name="l00275"></a><span·class="lineno">··275</span>·</div> 
159 <div·class="line"><a·id="l00276"·name="l00276"></a><span·class="lineno">··276</span>··<span·class="keyword">public</span>:</div> 
160 <div·class="line"><a·id="l00277"·name="l00277"></a><span·class="lineno">··277</span>····<span·class="comment">/*·type·aliases·required·by·C++·for·iterators·*/</span></div> 
161 <div·class="line"><a·id="l00278"·name="l00278"></a><span·class="lineno"><a·class="line"·href="a01880.html#ab222df7a5b94fb7108165fd755c9d19b">··278</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01880.html#ab222df7a5b94fb7108165fd755c9d19b">iterator_category</a>·=·std::bidirectional_iterator_tag;</div> 
162 <div·class="line"><a·id="l00279"·name="l00279"></a><span·class="lineno"><a·class="line"·href="a01880.html#a17dd04bfe7f87d179b866824ebf4c919">··279</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01880.html#a17dd04bfe7f87d179b866824ebf4c919">value_type</a>·=·<span·class="keyword">typename</span>·std::remove_const&lt;V&gt;::type;</div> 
163 <div·class="line"><a·id="l00280"·name="l00280"></a><span·class="lineno"><a·class="line"·href="a01880.html#a3109e258ecc479d1a89264cb008a6d44">··280</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01880.html#a3109e258ecc479d1a89264cb008a6d44">difference_type</a>·=·D;</div> 
164 <div·class="line"><a·id="l00281"·name="l00281"></a><span·class="lineno"><a·class="line"·href="a01880.html#a0f6dd08b4acd03d36f3a8938a11c2200">··281</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01880.html#a0f6dd08b4acd03d36f3a8938a11c2200">pointer</a>·=·V*;</div> 
165 <div·class="line"><a·id="l00282"·name="l00282"></a><span·class="lineno"><a·class="line"·href="a01880.html#ac0d8921fdfff47c3e58565221808728c">··282</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01880.html#ac0d8921fdfff47c3e58565221808728c">reference</a>·=·R;</div> 
166 <div·class="line"><a·id="l00283"·name="l00283"></a><span·class="lineno">··283</span>·</div> 
167 <div·class="line"><a·id="l00309"·name="l00309"></a><span·class="lineno"><a·class="line"·href="a01880.html#a38eca8a2f5f291eea2e671c779b4835c">··309</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01880.html#a38eca8a2f5f291eea2e671c779b4835c">DerivedType</a>;</div> 
Max diff block lines reached; 23112/112419 bytes (20.56%) of diff not shown.
22.0 KB
html2text {}
    
Offset 4, 617 lines modifiedOffset 4, 103 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 iteratorfacades.hh7 binaryfunctions.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_ITERATORFACADES_HH 
15 ·6#define·DUNE_ITERATORFACADES_HH14 ·5#ifndef·DUNE_BINARYFUNCTIONS_HH
 15 ·6#define·DUNE_BINARYFUNCTIONS_HH
16 ·716 ·7
 17 ·12#include·<algorithm>
 18 ·13
17 ·8#include·<iterator> 
18 ·9#include·<type_traits> 
19 ·10 
20 ·11#include·"typetraits.hh" 
21 ·12 
22 ·13namespace·Dune19 ·14namespace·Dune
23 ·14{20 ·15{
 21 ·16·template<typename·Type>
 22 17·struct·Min
 23 ·18·{
 24 19·using·first_argument_type·[[deprecated("This·type·alias·is·deprecated
 25 following·similar·deprecations·in·C++17")]]·=·Type;
24 ·139·template<class·T,·class·V,·class·R·=·V&,·class·D·=·std::ptrdiff_t> 
25 140·class·ForwardIteratorFacade 
26 ·141·{ 
27 ·142 
28 ·143·public: 
29 ·144·/*·type·aliases·required·by·C++·for·iterators·*/ 
30 145·using·iterator_category·=·std::forward_iterator_tag; 
31 146·using·value_type·=·typename·std::remove_const<V>::type; 
32 147·using·difference_type·=·D; 
33 148·using·pointer·=·V*; 
34 149·using·reference·=·R; 
35 ·150 
36 175·typedef·T·DerivedType; 
37 ·176 
38 180·typedef·V·Value; 
39 ·181 
40 185·typedef·V*·Pointer; 
41 ·186 
42 190·typedef·D·DifferenceType; 
43 ·191 
44 195·typedef·R·Reference; 
45 ·196 
46 198·Reference·operator*()·const 
47 ·199·{ 
48 ·200·return·static_cast<DerivedType·const*>(this)->dereference(); 
49 ·201·} 
50 ·20226 ·20
 27 21·using·second_argument_type·[[deprecated("This·type·alias·is·deprecated
 28 following·similar·deprecations·in·C++17")]]·=·Type;
51 203·Pointer·operator->()·const 
52 ·204·{ 
53 ·205·return·&(static_cast<const·DerivedType·*>(this)->dereference()); 
54 ·206·} 
55 ·207 
56 209·DerivedType&·operator++() 
57 ·210·{ 
58 ·211·static_cast<DerivedType·*>(this)->increment(); 
59 ·212·return·*static_cast<DerivedType·*>(this); 
60 ·213·} 
61 ·214 
62 216·DerivedType·operator++(int) 
63 ·217·{ 
64 ·218·DerivedType·tmp(static_cast<DerivedType·const&>(*this)); 
65 ·219·this->operator++(); 
66 ·220·return·tmp; 
67 ·221·} 
68 ·222·}; 
69 ·22329 ·22
 30 23·using·result_type·[[deprecated("This·type·alias·is·deprecated·following
 31 similar·deprecations·in·C++17")]]·=·Type;
70 ·234·template<class·T1,·class·V1,·class·R1,·class·D, 
71 ·235·class·T2,·class·V2,·class·R2> 
72 ·236·inline·typename·EnableIfInterOperable<T1,T2,bool>::type 
73 237·operator==(const·ForwardIteratorFacade<T1,V1,R1,D>&·lhs, 
74 ·238·const·ForwardIteratorFacade<T2,V2,R2,D>&·rhs) 
75 ·239·{ 
76 ·240·if(std::is_convertible<T2,T1>::value) 
77 ·241·return·static_cast<const·T1&>(lhs).equals(static_cast<const·T2&>(rhs)); 
78 ·242·else 
79 ·243·return·static_cast<const·T2&>(rhs).equals(static_cast<const·T1&>(lhs)); 
80 ·244·} 
81 ·24532 ·24
 33 25·Type·operator()(const·Type&·t1,·const·Type&·t2)·const
82 ·256·template<class·T1,·class·V1,·class·R1,·class·D, 
83 ·257·class·T2,·class·V2,·class·R2> 
84 ·258·inline·typename·EnableIfInterOperable<T1,T2,bool>::type 
85 259·operator!=(const·ForwardIteratorFacade<T1,V1,R1,D>&·lhs, 
86 ·260·const·ForwardIteratorFacade<T2,V2,R2,D>&·rhs) 
87 ·261·{34 ·26·{
 35 ·27·using·std::min;
 36 ·28·return·min(t1,t2);
 37 ·29·}
 38 ·30·};
88 ·262·if(std::is_convertible<T2,T1>::value) 
89 ·263·return·!static_cast<const·T1&>(lhs).equals(static_cast<const·T2&>(rhs)); 
90 ·264·else 
91 ·265·return·!static_cast<const·T2&>(rhs).equals(static_cast<const·T1&>(lhs)); 
92 ·266·} 
93 ·267 
94 ·272·template<class·T,·class·V,·class·R·=·V&,·class·D·=·std::ptrdiff_t> 
95 273·class·BidirectionalIteratorFacade 
96 ·274·{ 
97 ·275 
98 ·276·public: 
99 ·277·/*·type·aliases·required·by·C++·for·iterators·*/ 
100 278·using·iterator_category·=·std::bidirectional_iterator_tag; 
101 279·using·value_type·=·typename·std::remove_const<V>::type; 
102 280·using·difference_type·=·D; 
103 281·using·pointer·=·V*; 
104 282·using·reference·=·R; 
105 ·283 
106 309·typedef·T·DerivedType; 
107 ·31039 ·31
 40 ·32·template<typename·Type>
 41 33·struct·Max
Max diff block lines reached; 8234/22552 bytes (36.51%) of diff not shown.
35.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00173.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·indices.hh·File·Reference</title>8 <title>dune-common:·float_cmp.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 114 lines modifiedOffset 63, 101 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#typedef-members">Typedefs</a>·&#124;72 <a·href="#enum-members">Enumerations</a>·&#124;
72 <a·href="#func-members">Functions</a>·&#124;73 <a·href="#func-members">Functions</a>··</div>
73 <a·href="#var-members">Variables</a>··</div> 
74 ··<div·class="headertitle"><div·class="title">indices.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">float_cmp.hh·File·Reference</div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
77 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/> 
78 <code>#include·&lt;type_traits&gt;</code><br·/> 
79 <code>#include·&lt;utility&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00182_source.html">dune/common/keywords.hh</a>&gt;</code><br·/> 
 77 <p>Various·ways·to·compare·floating-point·numbers.··
 78 <a·href="#details">More...</a></p>
 79 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00299.html">float_cmp.cc</a>&quot;</code><br·/>
81 </div>80 </div>
82 <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00173_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">82 <table·class="memberdecls">
 83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 84 Classes</h2></td></tr>
 85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01716.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·style·&gt;</a></td></tr>
 86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon··<a·href="a01716.html#details">More...</a><br·/></td></tr>
 87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01720.html">Dune::FloatCmpOps&lt;·T,·cstyle_,·rstyle_·&gt;</a></td></tr>
 89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Class·encapsulating·a·default·epsilon.··<a·href="a01720.html#details">More...</a><br·/></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 </table><table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
85 Namespaces</h2></td></tr>93 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>94 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>95 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a00441"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00441.html">Dune::Indices</a></td></tr>97 <tr·class="memitem:a00434"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00434.html">Dune::FloatCmp</a></td></tr>
90 <tr·class="memdesc:a00441"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·with·predefined·compile·time·indices·for·the·range·[0,19].·<br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">99 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>
94 Typedefs</h2></td></tr> 
95 <tr·class="memitem:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i&gt;·</td></tr> 
96 <tr·class="memitem:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant</a>·=·std::integral_constant&lt;·std::size_t,·i·&gt;</td></tr> 
97 <tr·class="memdesc:gacf764509e6dae37477f5ad09b5ca3467"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·index·constant·with·value·i.··<a·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">More...</a><br·/></td></tr>101 Enumerations</h2></td></tr>
 102 <tr·class="memitem:ga4aeb759ed9de8b477a155492aeb2789b"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">Dune::FloatCmp::CmpStyle</a>·{·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">Dune::FloatCmp::relativeWeak</a>
 103 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">Dune::FloatCmp::relativeStrong</a>
 104 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">Dune::FloatCmp::absolute</a>
 105 ,·<a·class="el"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">Dune::FloatCmp::defaultCmpStyle</a>·=·relativeWeak
 106 ·}</td></tr>
98 <tr·class="separator:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:ga4aeb759ed9de8b477a155492aeb2789b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:ga8507e971c45243aed2c4de1b3736ca04"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">Dune::FloatCmp::RoundingStyle</a>·{·<br·/>
 109 &#160;&#160;<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">Dune::FloatCmp::towardZero</a>
 110 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0ba1a9b8cce0034f6b0a6bef4b1eb670">Dune::FloatCmp::towardInf</a>
 111 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a6074c993d9019e8a31f30649602e21b9">Dune::FloatCmp::downward</a>
 112 ,·<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0e10271b704ebf42395156318e3442bc">Dune::FloatCmp::upward</a>
 113 ,·<br·/>
 114 &#160;&#160;<a·class="el"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">Dune::FloatCmp::defaultRoundingStyle</a>·=·towardZero
 115 <br·/>
 116 ·}</td></tr>
 117 <tr·class="separator:ga8507e971c45243aed2c4de1b3736ca04"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">118 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>119 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
101 Functions</h2></td></tr>120 Functions</h2></td></tr>
 121 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 122 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">Dune::FloatCmp::eq</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 123 <tr·class="memdesc:ga50c93e693f102298c61ecb14758f8d5b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·equality·using·epsilon··<a·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">More...</a><br·/></td></tr>
102 <tr·class="memitem:ga72824809a31d81d07517c1e903c3dab1"><td·class="memTemplParams"·colspan="2">template&lt;class·F·,·class·I·,·I...·i&gt;·</td></tr> 
103 <tr·class="memitem:ga72824809a31d81d07517c1e903c3dab1"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)·constexpr&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">Dune::unpackIntegerSequence</a>·(F·&amp;&amp;f,·std::integer_sequence&lt;·I,·i...·&gt;·sequence)</td></tr> 
104 <tr·class="memdesc:ga72824809a31d81d07517c1e903c3dab1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Unpack·an·std::integer_sequence&lt;I,i...&gt;·to·std::integral_constant&lt;I,i&gt;...··<a·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">More...</a><br·/></td></tr> 
105 <tr·class="separator:ga72824809a31d81d07517c1e903c3dab1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 </table><table·class="memberdecls"> 
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> 
108 Variables</h2></td></tr> 
109 <tr·class="memitem:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·0·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">Dune::Indices::_0</a>·=·{}</td></tr> 
110 <tr·class="memdesc:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·0.··<a·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">More...</a><br·/></td></tr> 
111 <tr·class="separator:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·1·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">Dune::Indices::_1</a>·=·{}</td></tr> 
113 <tr·class="memdesc:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·1.··<a·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">More...</a><br·/></td></tr> 
114 <tr·class="separator:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 126 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">Dune::FloatCmp::ne</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 127 <tr·class="memdesc:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·inequality·using·epsilon··<a·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">More...</a><br·/></td></tr>
115 <tr·class="memitem:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·2·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">Dune::Indices::_2</a>·=·{}</td></tr> 
116 <tr·class="memdesc:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·2.··<a·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">More...</a><br·/></td></tr> 
117 <tr·class="separator:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 <tr·class="memitem:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·3·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">Dune::Indices::_3</a>·=·{}</td></tr> 
119 <tr·class="memdesc:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·3.··<a·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">More...</a><br·/></td></tr> 
120 <tr·class="separator:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·4·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">Dune::Indices::_4</a>·=·{}</td></tr> 
122 <tr·class="memdesc:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·4.··<a·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">More...</a><br·/></td></tr> 
123 <tr·class="separator:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:gab875313e016428e2498da7fd90f1949d"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·5·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">Dune::Indices::_5</a>·=·{}</td></tr> 
125 <tr·class="memdesc:gab875313e016428e2498da7fd90f1949d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·5.··<a·href="a00397.html#gab875313e016428e2498da7fd90f1949d">More...</a><br·/></td></tr> 
126 <tr·class="separator:gab875313e016428e2498da7fd90f1949d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·6·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">Dune::Indices::_6</a>·=·{}</td></tr> 
128 <tr·class="memdesc:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·6.··<a·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">More...</a><br·/></td></tr> 
129 <tr·class="separator:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>128 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
130 <tr·class="memitem:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·7·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">Dune::Indices::_7</a>·=·{}</td></tr> 
131 <tr·class="memdesc:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·7.··<a·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">More...</a><br·/></td></tr>129 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 130 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">Dune::FloatCmp::gt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 131 <tr·class="memdesc:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·than·second··<a·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">More...</a><br·/></td></tr>
 132 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 134 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">Dune::FloatCmp::lt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 135 <tr·class="memdesc:gacca725b16b35b04c4eea0c4ee21757de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·than·second··<a·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">More...</a><br·/></td></tr>
132 <tr·class="separator:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>136 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
133 <tr·class="memitem:ga1c19945beef1b5f54065de84e7a8641f"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·8·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">Dune::Indices::_8</a>·=·{}</td></tr> 
Max diff block lines reached; 494/29861 bytes (1.65%) of diff not shown.
6.42 KB
html2text {}
    
Offset 4, 98 lines modifiedOffset 4, 83 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Enumerations·|·Functions
 8 float_cmp.hh·File·Reference
 9 Various·ways·to·compare·floating-point·numbers.·More...
 10 #include·"float_cmp.cc"
7 Namespaces·|·Typedefs·|·Functions·|·Variables 
8 indices.hh·File·Reference 
9 #include·<cstddef> 
10 #include·<type_traits> 
11 #include·<utility> 
12 #include·<dune/common/keywords.hh> 
13 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
 12 ·Classes
 13 struct· Dune::FloatCmp::DefaultEpsilon<_T,_style_>
 14  ·······mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon
 15 ·········More...
 16  
 17 ·class· Dune::FloatCmpOps<_T,_cstyle_,_rstyle__>
 18  ·······Class·encapsulating·a·default·epsilon.·More...
 19  
14 ·Namespaces20 ·Namespaces
15 namespace· Dune21 namespace· Dune
16  ··········Dune·namespace.22  ··········Dune·namespace.
17  23  
 24 namespace· Dune::FloatCmp
18 namespace· Dune::Indices 
19  ··········Namespace·with·predefined·compile·time·indices·for·the·range 
20 ············[0,19]. 
21   
22 ·Typedefs 
23 template<std::size_t·i> 
24 using Dune::index_constant·=·std::integral_constant<·std::size_t,·i·> 
25  ·····An·index·constant·with·value·i.·More... 
26   
27 ·Functions 
28 template<class·F·,·class·I·,·I...·i> 
29 decltype(auto)·constexpr Dune::unpackIntegerSequence·(F·&&f,·std:: 
30 ··························integer_sequence<·I,·i...·>·sequence) 
31  ························Unpack·an·std::integer_sequence<I,i...>·to·std:: 
32 ··························integral_constant<I,i>...·More... 
33   
34 ·Variables 
35 ·constexpr·index_constant<·0·> Dune::Indices::_0·=·{} 
36  ······························Compile·time·index·with·value·0.·More... 
37   
38 ·constexpr·index_constant<·1·> Dune::Indices::_1·=·{} 
39  ······························Compile·time·index·with·value·1.·More... 
40   
41 ·constexpr·index_constant<·2·> Dune::Indices::_2·=·{} 
42  ······························Compile·time·index·with·value·2.·More... 
43   
44 ·constexpr·index_constant<·3·> Dune::Indices::_3·=·{} 
45  ······························Compile·time·index·with·value·3.·More... 
46   
47 ·constexpr·index_constant<·4·> Dune::Indices::_4·=·{} 
48  ······························Compile·time·index·with·value·4.·More... 
49   
50 ·constexpr·index_constant<·5·> Dune::Indices::_5·=·{} 
51  ······························Compile·time·index·with·value·5.·More... 
52   
53 ·constexpr·index_constant<·6·> Dune::Indices::_6·=·{} 
54  ······························Compile·time·index·with·value·6.·More... 
55   
56 ·constexpr·index_constant<·7·> Dune::Indices::_7·=·{} 
57  ······························Compile·time·index·with·value·7.·More... 
58  25  
59 ·constexpr·index_constant<·8·> Dune::Indices::_8·=·{} 
60  ······························Compile·time·index·with·value·8.·More...26 ·Enumerations
 27 enum·Dune::FloatCmp::CmpStyle·{·Dune::FloatCmp::relativeWeak·,·Dune::FloatCmp::
 28 ··· relativeStrong·,·Dune::FloatCmp::absolute·,·Dune::FloatCmp::defaultCmpStyle·=
 29 ·····relativeWeak·}
 30  
 31 enum·Dune::FloatCmp::RoundingStyle·{
 32 ···   Dune::FloatCmp::towardZero·,·Dune::FloatCmp::towardInf·,·Dune::FloatCmp::
 33 ·····downward·,·Dune::FloatCmp::upward·,
 34 ·····  Dune::FloatCmp::defaultRoundingStyle·=·towardZero
 35 ·····}
61  36  
62 ·constexpr·index_constant<·9·> Dune::Indices::_9·=·{} 
63  ······························Compile·time·index·with·value·9.·More...37 ·Functions
 38 template<class·T·,·CmpStyle·style>
 39 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename
 40 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 41  ····test·for·equality·using·epsilon·More...
64  42  
65 constexpr·index_constant<·10·> Dune::Indices::_10·=·{} 
66  ······························Compile·time·index·with·value·10.·More...43 template<class·T·,·CmpStyle·style>
 44 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename
 45 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 46  ····test·for·inequality·using·epsilon·More...
67  47  
68 constexpr·index_constant<·11·> Dune::Indices::_11·=·{} 
69  ······························Compile·time·index·with·value·11.·More...48 template<class·T·,·CmpStyle·style>
 49 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename
 50 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 51  ····test·if·first·greater·than·second·More...
70  52  
71 constexpr·index_constant<·12·> Dune::Indices::_12·=·{} 
72  ······························Compile·time·index·with·value·12.·More...53 template<class·T·,·CmpStyle·style>
 54 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename
 55 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 56  ····test·if·first·lesser·than·second·More...
73  57  
74 constexpr·index_constant<·13·> Dune::Indices::_13·=·{} 
75  ······························Compile·time·index·with·value·13.·More...58 template<class·T·,·CmpStyle·style>
 59 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename
 60 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 61  ····test·if·first·greater·or·equal·second·More...
76  62  
77 constexpr·index_constant<·14·> Dune::Indices::_14·=·{} 
78  ······························Compile·time·index·with·value·14.·More...63 template<class·T·,·CmpStyle·style>
 64 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename
 65 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 66  ····test·if·first·lesser·or·equal·second·More...
79  67  
80 constexpr·index_constant<·15·> Dune::Indices::_15·=·{} 
81  ······························Compile·time·index·with·value·15.·More...68 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle>
 69 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type
 70 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 71  ····round·using·epsilon·More...
82  72  
Max diff block lines reached; 201/6547 bytes (3.07%) of diff not shown.
85.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00173_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·indices.hh·Source·File</title>8 <title>dune-common:·float_cmp.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 116 lines modifiedOffset 62, 190 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">indices.hh</div></div>68 ··<div·class="headertitle"><div·class="title">float_cmp.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00173.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00173.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_FLOAT_CMP_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_FLOAT_CMP_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_INDICES_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_INDICES_HH</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00182.html">dune/common/keywords.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>78 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div> 
87 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·i&gt;</div> 
88 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">···30</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>·=·std::integral_constant&lt;std::size_t,·i&gt;;</div> 
89 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
90 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
91 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
92 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a00441.html">···50</a></span>··<span·class="keyword">namespace·</span>Indices</div>79 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">namespace·</span>FloatCmp·{</div>
93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div> 
94 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">···53</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·0&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">_0</a>·=·{};</div> 
95 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">···56</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·1&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">_1</a>·=·{};</div> 
97 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
98 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">···59</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·2&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">_2</a>·=·{};</div> 
99 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
100 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">···62</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·3&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">_3</a>·=·{};</div> 
101 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
102 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">···65</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·4&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">_4</a>·=·{};</div> 
103 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
104 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">···68</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·5&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">_5</a>·=·{};</div> 
105 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
106 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">···71</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·6&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">_6</a>·=·{};</div> 
107 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
108 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">···74</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·7&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">_7</a>·=·{};</div> 
109 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
110 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">···77</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·8&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">_8</a>·=·{};</div> 
111 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
112 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">···80</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·9&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">_9</a>·=·{};</div> 
113 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
114 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">···83</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;10&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">_10</a>·=·{};</div> 
115 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
116 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">···86</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;11&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">_11</a>·=·{};</div> 
117 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
118 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">···89</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;12&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">_12</a>·=·{};</div> 
119 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
120 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">···92</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;13&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">_13</a>·=·{};</div> 
121 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
122 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">···95</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;14&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">_14</a>·=·{};</div> 
123 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
124 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">···98</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;15&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">_15</a>·=·{};</div> 
125 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
126 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga16898b601989e869b270c43c173de953">··101</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;16&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga16898b601989e869b270c43c173de953">_16</a>·=·{};</div> 
127 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
128 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">··104</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;17&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">_17</a>·=·{};</div> 
129 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
130 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">··107</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;18&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">_18</a>·=·{};</div> 
131 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> 
132 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">··110</a></span>····<a·class="code·hl_define"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;19&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">_19</a>·=·{};</div> 
133 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
134 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··}·<span·class="comment">//·namespace·Indices</span></div>80 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="comment">//·basic·constants</span></div>
135 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
136 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>I,·I...·i&gt;</div> 
137 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">··125</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">unpackIntegerSequence</a>(F&amp;&amp;·f,·std::integer_sequence&lt;I,·i...&gt;·sequence)</div> 
138 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··{</div> 
139 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····<span·class="keywordflow">return</span>·f(std::integral_constant&lt;I,·i&gt;()...);</div>81 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">··104</a></span><span·class="comment"></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed[·...·truncated·by·diffoscope;·len:·39,·SHA:·c0c5fa39c08e929c327dfc5ab1ade4b9fe345ef11e4f37a6093b89a2334cff20·...·]</div>
 82 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">··106</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">relativeWeak</a>,</div>
 83 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">··108</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba244e679dffd35be3f0b6cdacd4cd53b7">relativeStrong</a>,</div>
 84 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">··110</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789badaf8946c7ffe8f697b16515f9d880d34">absolute</a>,</div>
 85 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">defaultCmpStyle</a>·=·<a·class="code·hl_enumvalue"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789bacfb0348876cc64404ec31a6ca4b889ee">relativeWeak</a></div>
 86 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga4aeb759ed9de8b477a155492aeb2789ba07502cff1e6a0857c51bec553f241697">··113</a></span>····};</div>
 87 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">··116</a></span>····<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00409.html#ga8507e971c45243aed2c4de1b3736ca04">RoundingStyle</a>·{</div>
 88 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">··118</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">towardZero</a>,</div>
 89 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0ba1a9b8cce0034f6b0a6bef4b1eb670">··120</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0ba1a9b8cce0034f6b0a6bef4b1eb670">towardInf</a>,</div>
 90 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a6074c993d9019e8a31f30649602e21b9">··122</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a6074c993d9019e8a31f30649602e21b9">downward</a>,</div>
 91 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0e10271b704ebf42395156318e3442bc">··124</a></span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a0e10271b704ebf42395156318e3442bc">upward</a>,</div>
 92 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>······<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">defaultRoundingStyle</a>·=·<a·class="code·hl_enumvalue"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a01b681db891f7b67fa52a4c2193eea3b">towardZero</a></div>
 93 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a00409.html#gga8507e971c45243aed2c4de1b3736ca04a9d0bc0cf3b15252ab74e9cbeddc805c4">··127</a></span>····};</div>
140 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··}</div>94 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div>
 95 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;·<span·class="keyword">struct·</span>EpsilonType;</div>
141 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
142 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>}·<span·class="comment">//namespace·Dune</span></div> 
143 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>96 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div>
 97 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>·</div>
 98 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·CmpStyle·style·=·defaultCmpStyle&gt;</div>
 99 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno"><a·class="line"·href="a01716.html">··138</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01716.html">DefaultEpsilon</a>·{</div>
 100 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">··140</a></span>······<span·class="keyword">static</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01588.html#ae3241764f3a238e1d52f80167fc1ed1e">EpsilonType&lt;T&gt;::Type</a>·<a·class="code·hl_function"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">value</a>();</div>
 101 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····};</div>
 102 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>·</div>
 103 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="comment">//·operations·in·functional·style</span></div>
 104 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div>
 105 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div>
 106 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div>
 107 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,·<a·class="code·hl_enumeration"·href="a00409.html#ga4aeb759ed9de8b477a155492aeb2789b">CmpStyle</a>·style·<span·class="comment">/*=·defaultCmpStyle*/</span>&gt;</div>
 108 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">eq</a>(<span·class="keyword">const</span>·T·&amp;first,</div>
 109 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>············<span·class="keyword">const</span>·T·&amp;second,</div>
Max diff block lines reached; 6826/72660 bytes (9.39%) of diff not shown.
14.1 KB
html2text {}
    
Offset 4, 185 lines modifiedOffset 4, 310 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 indices.hh7 float_cmp.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5 
15 ·6#ifndef·DUNE_COMMON_INDICES_HH14 ·5#ifndef·DUNE_COMMON_FLOAT_CMP_HH
16 ·7#define·DUNE_COMMON_INDICES_HH15 ·6#define·DUNE_COMMON_FLOAT_CMP_HH
17 ·8 
18 ·9#include·<cstddef> 
19 ·10#include·<type_traits> 
20 ·11#include·<utility>16 ·7
 17 ·97namespace·Dune·{
 18 ·100·namespace·FloatCmp·{
 19 ·101·//·basic·constants
 20 104·enum·CmpStyle·{
 21 106·relativeWeak,
 22 108·relativeStrong,
 23 110·absolute,
 24 ·112·defaultCmpStyle·=·relativeWeak
 25 113·};
 26 116·enum·RoundingStyle·{
 27 118·towardZero,
 28 120·towardInf,
 29 122·downward,
 30 124·upward,
 31 ·126·defaultRoundingStyle·=·towardZero
 32 127·};
21 ·1233 ·128
 34 ·129·template<class·T>·struct·EpsilonType;
 35 ·130
22 ·13#include·<dune/common/keywords.hh> 
23 ·14 
24 ·15namespace·Dune 
25 ·16{ 
26 ·29·template<std::size_t·i> 
27 30·using·index_constant·=·std::integral_constant<std::size_t,·i>; 
28 ·31 
29 ·3236 ·132
 37 ·137·template<class·T,·CmpStyle·style·=·defaultCmpStyle>
 38 138·struct·DefaultEpsilon·{
 39 140·static·typename·EpsilonType<T>::Type·value();
 40 ·141·};
 41 ·142
 42 ·143·//·operations·in·functional·style
 43 ·144
 44 ·147
 45 ·149
 46 ·156·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 47 ·157·bool·eq(const·T·&first,
 48 ·158·const·T·&second,
 49 ·159·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 50 ());
 51 ·161
 52 ·169·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 53 ·170·bool·ne(const·T·&first,
 54 ·171·const·T·&second,
 55 ·172·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 56 ());
 57 ·174
 58 ·185·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 59 ·186·bool·gt(const·T·&first,
 60 ·187·const·T·&second,
 61 ·188·typename·EpsilonType<T>::Type·epsilon·=·DefaultEpsilon<T,_style>::value
 62 ());
30 ·33 
31 50·namespace·Indices 
32 ·51·{ 
33 53·DUNE_INLINE_VARIABLE·constexpr·index_constant<_0>·_0·=·{}; 
34 ·54 
35 56·DUNE_INLINE_VARIABLE·constexpr·index_constant<_1>·_1·=·{}; 
36 ·57 
37 59·DUNE_INLINE_VARIABLE·constexpr·index_constant<_2>·_2·=·{}; 
38 ·60 
39 62·DUNE_INLINE_VARIABLE·constexpr·index_constant<_3>·_3·=·{}; 
40 ·63 
41 65·DUNE_INLINE_VARIABLE·constexpr·index_constant<_4>·_4·=·{}; 
42 ·66 
43 68·DUNE_INLINE_VARIABLE·constexpr·index_constant<_5>·_5·=·{}; 
44 ·69 
45 71·DUNE_INLINE_VARIABLE·constexpr·index_constant<_6>·_6·=·{}; 
46 ·72 
47 74·DUNE_INLINE_VARIABLE·constexpr·index_constant<_7>·_7·=·{}; 
48 ·75 
49 77·DUNE_INLINE_VARIABLE·constexpr·index_constant<_8>·_8·=·{}; 
50 ·78 
51 80·DUNE_INLINE_VARIABLE·constexpr·index_constant<_9>·_9·=·{}; 
52 ·81 
53 83·DUNE_INLINE_VARIABLE·constexpr·index_constant<10>·_10·=·{}; 
54 ·84 
55 86·DUNE_INLINE_VARIABLE·constexpr·index_constant<11>·_11·=·{}; 
56 ·87 
57 89·DUNE_INLINE_VARIABLE·constexpr·index_constant<12>·_12·=·{}; 
58 ·9063 ·190
59 92·DUNE_INLINE_VARIABLE·constexpr·index_constant<13>·_13·=·{}; 
60 ·93 
61 95·DUNE_INLINE_VARIABLE·constexpr·index_constant<14>·_14·=·{}; 
62 ·96 
63 98·DUNE_INLINE_VARIABLE·constexpr·index_constant<15>·_15·=·{}; 
64 ·99 
65 101·DUNE_INLINE_VARIABLE·constexpr·index_constant<16>·_16·=·{}; 
66 ·102 
67 104·DUNE_INLINE_VARIABLE·constexpr·index_constant<17>·_17·=·{}; 
68 ·105 
69 107·DUNE_INLINE_VARIABLE·constexpr·index_constant<18>·_18·=·{}; 
70 ·108 
71 110·DUNE_INLINE_VARIABLE·constexpr·index_constant<19>·_19·=·{}; 
72 ·111 
73 ·112·}·//·namespace·Indices 
74 ·113 
75 ·124·template<class·F,·class·I,·I...·i> 
76 125·decltype(auto)·constexpr·unpackIntegerSequence(F&&·f,·std:: 
77 integer_sequence<I,·i...>·sequence) 
78 ·126·{ 
79 ·127·return·f(std::integral_constant<I,·i>()...); 
80 ·128·}64 ·201·template·<class·T,·CmpStyle·style·/*=·defaultCmpStyle*/>
 65 ·202·bool·lt(const·T·&first,
 66 ·203·const·T·&second,
Max diff block lines reached; 2540/14401 bytes (17.64%) of diff not shown.
13.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00176.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·sllist.hh·File·Reference</title>8 <title>dune-common:·path.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 60 lines modifiedOffset 63, 56 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">sllist.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">path.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00400.html">Filesystem·Paths</a></div></div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Implements·a·singly·linked·list·together·with·the·necessary·iterators.··75 <p>Utilities·for·handling·filesystem·paths.··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;string&gt;</code><br·/>
79 <code>#include·&lt;cassert&gt;</code><br·/> 
80 <code>#include·&quot;<a·class="el"·href="a00170_source.html">iteratorfacades.hh</a>&quot;</code><br·/> 
81 <code>#include·&lt;ostream&gt;</code><br·/> 
82 </div>78 </div>
83 <p><a·href="a00176_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00176_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">80 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
86 Classes</h2></td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02856.html">Dune::SLList&lt;·T,·A·&gt;</a></td></tr> 
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·single·linked·list.··<a·href="a02856.html#details">More...</a><br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02844.html">Dune::SLListIterator&lt;·T,·A·&gt;</a></td></tr> 
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··<a·href="a02844.html#details">More...</a><br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02848.html">Dune::SLListConstIterator&lt;·T,·A·&gt;</a></td></tr> 
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·constant·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··<a·href="a02848.html#details">More...</a><br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02852.html">Dune::SLListModifyIterator&lt;·T,·A·&gt;</a></td></tr> 
97 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··<a·href="a02852.html#details">More...</a><br·/></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 </table><table·class="memberdecls"> 
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
101 Namespaces</h2></td></tr>82 Namespaces</h2></td></tr>
102 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>83 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
103 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>84 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
107 Functions</h2></td></tr>88 Functions</h2></td></tr>
108 <tr·class="memitem:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·&gt;·</td></tr> 
109 <tr·class="memitem:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab672fc0e72d7d5c69943bbf2a0bdb421">Dune::operator&lt;&lt;<[·...·truncated·by·diffoscope;·len:·65,·SHA:·a899b424ca170a02e14916cafb0291b04de3ffee65795a1e51dc0f29e64d309b·...·])</td></tr>89 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">Dune::concatPaths</a>·(const·std::string[·...·truncated·by·diffoscope;·len:·36,·SHA:·ccc2162c42204c6591f215d053f617deeb7dfa04f96a1a414bee30d2f445c354·...·])</td></tr>
 90 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<a·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">More...</a><br·/></td></tr>
110 <tr·class="separator:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 <tr·class="memitem:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">Dune::processPath</a>·(const·std::string·&amp;p)</td></tr>
 93 <tr·class="memdesc:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">sanitize·a·path·for·further·processing··<a·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">More...</a><br·/></td></tr>
 94 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">Dune::pathIndicatesDirectory</a>·(const·std::string·&amp;p)</td></tr>
 96 <tr·class="memdesc:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·the·given·path·indicates·that·it·is·a·directory··<a·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">More...</a><br·/></td></tr>
 97 <tr·class="separator:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">Dune::prettyPath</a>·(const·std::string·&amp;p,·bool·isDirectory)</td></tr>
 99 <tr·class="memdesc:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<a·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">More...</a><br·/></td></tr>
 100 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8">Dune::prettyPath</a>·(const·std::string·&amp;p)</td></tr>
 102 <tr·class="memdesc:gae07624c824232706454d5d6d1d1cb5c8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<a·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8">More...</a><br·/></td></tr>
 103 <tr·class="separator:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">Dune::relativePath</a>·(const·std::string·&amp;newbase,·const·std::string·&amp;p)</td></tr>
 105 <tr·class="memdesc:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·a·relative·path·between·two·paths··<a·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">More...</a><br·/></td></tr>
 106 <tr·class="separator:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 </table>107 </table>
112 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
113 <div·class="textblock"><p·>Implements·a·singly·linked·list·together·with·the·necessary·iterators.·</p> 
114 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>109 <div·class="textblock"><p·>Utilities·for·handling·filesystem·paths.·</p>
 110 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·<a·href="#"·onclick="location.href='mai'+'lto:'+'jor'+'ri'+'t@j'+'or'+'rit'+'.d'+'e';·return·false;">jorri<span·class="obfuscator">.nosp@m.</span>t@jo<span·class="obfuscator">.nosp@m.</span>rrit.<span·class="obfuscator">.nosp@m.</span>de</a>·</dd></dl>
115 </div></div><!--·contents·-->111 </div></div><!--·contents·-->
116 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
119 </small></address>115 </small></address>
120 </body>116 </body>
121 </html>117 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
2.18 KB
html2text {}
    
Offset 4, 45 lines modifiedOffset 4, 45 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Namespaces·|·Functions
8 sllist.hh·File·Reference8 path.hh·File·Reference
 9 Common·»·Utilities·»·Filesystem_Paths
 10 Utilities·for·handling·filesystem·paths.·More...
9 Common 
10 Implements·a·singly·linked·list·together·with·the·necessary·iterators.·More... 
11 #include·<memory> 
12 #include·<cassert> 
13 #include·"iteratorfacades.hh" 
14 #include·<ostream>11 #include·<string>
15 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
16 ·Classes 
17 class· Dune::SLList<_T,_A_> 
18  ······A·single·linked·list.·More... 
19   
20 class· Dune::SLListIterator<_T,_A_> 
21  ······A·mutable·iterator·for·the·SLList.·More... 
22   
23 class· Dune::SLListConstIterator<_T,_A_> 
24  ······A·constant·iterator·for·the·SLList.·More... 
25   
26 class· Dune::SLListModifyIterator<_T,_A_> 
27  ······A·mutable·iterator·for·the·SLList.·More... 
28   
29 ·Namespaces13 ·Namespaces
30 namespace· Dune14 namespace· Dune
31  ··········Dune·namespace.15  ··········Dune·namespace.
32  16  
33 ·Functions17 ·Functions
34 template<typename·T·,·typename·A·> 
35 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·SLList<·T,·A·>18 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p)
 19  ···········concatenate·two·paths·More...
 20  
 21 std::string Dune::processPath·(const·std::string·&p)
 22  ···········sanitize·a·path·for·further·processing·More...
 23  
 24 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p)
 25  ···········check·whether·the·given·path·indicates·that·it·is·a·directory
 26 ·············More...
 27  
 28 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory)
 29  ···········pretty·print·path·More...
 30  
 31 std::string Dune::prettyPath·(const·std::string·&p)
 32  ···········pretty·print·path·More...
 33  
 34 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string
36 ················&sllist)35 ·············&p)
 36  ···········compute·a·relative·path·between·two·paths·More...
37  37  
38 *****·Detailed·Description·*****38 *****·Detailed·Description·*****
39 Implements·a·singly·linked·list·together·with·the·necessary·iterators.39 Utilities·for·handling·filesystem·paths.
40 ··Author40 ··Author
41 ······Markus·Blatt41 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de
  
42 ===============================================================================42 ===============================================================================
43 ·····Generated·by [doxygen]·1.9.443 ·····Generated·by [doxygen]·1.9.4
145 KB
./usr/share/doc/libdune-common-doc/doxygen/a00176_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·sllist.hh·Source·File</title>8 <title>dune-common:·path.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 630 lines modifiedOffset 62, 54 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">sllist.hh</div></div>68 ··<div·class="headertitle"><div·class="title">path.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00176.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00176.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SLLIST_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PATH_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SLLIST_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PATH_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00170.html">iteratorfacades.hh</a>&quot;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div> 
85 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">class</span>·A&gt;</div> 
86 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">class·</span>SLListIterator;</div> 
87 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>81 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 82 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··std::string·<a·class="code·hl_function"·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">concatPaths</a>(<span·class="keyword">const</span>·std::string&amp;·base,·<span·class="keyword">const</span>·std::string&amp;·p);</div>
88 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">class</span>·A&gt;</div> 
89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">class·</span>SLListConstIterator;</div> 
90 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
91 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">class</span>·A&gt;</div> 
92 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">class·</span>SLListModifyIterator;</div> 
93 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
94 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">class</span>·A=std::allocator&lt;T&gt;·&gt;</div> 
95 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02856.html">···43</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02856.html">SLList</a></div> 
96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> 
97 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">struct·</span>Element;</div> 
98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02844.html">SLListIterator</a>&lt;T,A&gt;;</div> 
99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02848.html">SLListConstIterator</a>&lt;T,A&gt;;</div> 
100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">public</span>:</div> 
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>83 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
103 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00397.html#gadefacd67926b31f38dcc996d275ff1e7">···54</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·A::size_type·<a·class="code·hl_typedef"·href="a00397.html#gadefacd67926b31f38dcc996d275ff1e7">size_type</a>;</div> 
104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>84 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 85 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··std::string·<a·class="code·hl_function"·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">processPath</a>(<span·class="keyword">const</span>·std::string&amp;·p);</div>
105 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">···59</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">MemberType</a>;</div> 
106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> 
107 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga4871529deceba9839fa6cb5640d0e1b0">···64</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00397.html#ga4871529deceba9839fa6cb5640d0e1b0">Allocator</a>·=·<span·class="keyword">typename</span>·std::allocator_traits&lt;A&gt;::template·rebind_alloc&lt;Element&gt;;</div> 
108 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga543a8c5a50d30cd488550f5e99161754">···69</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02844.html">SLListIterator&lt;T,A&gt;</a>·<a·class="code·hl_typedef"·href="a00397.html#ga543a8c5a50d30cd488550f5e99161754">iterator</a>;</div> 
110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
111 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaa026efcc562ed6ef620e4a96f26a393e">···74</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02848.html">SLListConstIterator&lt;T,A&gt;</a>·<a·class="code·hl_typedef"·href="a00397.html#gaa026efcc562ed6ef620e4a96f26a393e">const_iterator</a>;</div> 
112 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
113 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab097c05f186dacbbdd11361de5b2500f">···79</a></span>····<a·class="code·hl_function"·href="a00397.html#gab097c05f186dacbbdd11361de5b2500f">SLList</a>();</div> 
114 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
115 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·A1&gt;</div> 
116 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga9519c3673afc2d76f4bc76ef35181225">···85</a></span>····<a·class="code·hl_function"·href="a00397.html#ga9519c3673afc2d76f4bc76ef35181225">SLList</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02856.html">SLList&lt;T1,A1&gt;</a>&amp;·other);</div> 
117 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
118 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga72a901265ef5d3658dceb0f7bd6a0782">···90</a></span>····<a·class="code·hl_function"·href="a00397.html#ga72a901265ef5d3658dceb0f7bd6a0782">SLList</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02856.html">SLList&lt;T,A&gt;</a>&amp;·other);</div> 
119 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>86 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
120 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00397.html#gafa3231a07e56ae81cc6334e19d603a23">···97</a></span>····<a·class="code·hl_function"·href="a00397.html#gafa3231a07e56ae81cc6334e19d603a23">~SLList</a>();</div> 
121 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
122 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaac398614c243228cc0f7678b6c70007b">··103</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02852.html">SLListModifyIterator&lt;T,A&gt;</a>·<a·class="code·hl_typedef"·href="a00397.html#gaac398614c243228cc0f7678b6c70007b">ModifyIterator</a>;</div> 
123 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>87 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 88 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">pathIndicatesDirectory</a>(<span·class="keyword">const</span>·std::string&amp;·p);</div>
124 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga9f0eb5f84602ae9120178e2e9659bc41">··108</a></span>····<a·class="code·hl_class"·href="a02856.html">SLList&lt;T,A&gt;</a>&amp;·<a·class="code·hl_function"·href="a00397.html#ga9f0eb5f84602ae9120178e2e9659bc41">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02856.html">SLList&lt;T,A&gt;</a>&amp;·other);</div> 
125 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
126 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>89 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
127 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga0a71f761f2ee2a6d5c72c5b8b6b60f0e">··115</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#ga0a71f761f2ee2a6d5c72c5b8b6b60f0e">push_back</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">MemberType</a>&amp;·item);</div> 
128 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>90 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
129 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga07373aa465c1db378233026b89420275">··121</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#ga0[·...·truncated·by·diffoscope;·len:·188,·SHA:·7ed8e3b86b175c9c13f8400fddad80eda0e824185ad08775e7266e0084ce00bd·...·]);</div>91 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··std::string·<a·class="code·hl_function"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">prettyPath</a>(<span·class="keyword">const</span>·std::string&amp;·p,·<span·class="keywordtype">bool</spa[·...·truncated·by·diffoscope;·len:·14,·SHA:·421eac748b1882fdac7fde84eeccd5c4d68c0d837da2b8a3d158d8b08e8dde88·...·]);</div>
130 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>·</div>92 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div>
131 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac40778d9f4576908734ed49890c26a93">··126</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#gac40778d9f4576908734ed49890c26a93">pop_front</a>();</div> 
132 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
133 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga91a8c67d17ae6595ee2f5eca3a2df144">··129</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#ga91a8c67d17ae6595ee2f5eca3a2df144">clear</a>();</div> 
134 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> 
135 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaff151c44f4a1e43ab0b2f0cf55bab6f8">··138</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02844.html">iterator</a>·<a·class="code·hl_function"·href="a00397.html#gaff151c44f4a1e43ab0b2f0cf55bab6f8">begin</a>();</div> 
136 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> 
137 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga8d007afaea3e81e26ae2f4963faadd33">··147</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02848.html">const_iterator</a>·<a·class="code·hl_function"·href="a00397.html#ga8d007afaea3e81e26ae2f4963faadd33">begin</a>()·<span·class="keyword">const</span>;</div> 
138 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div>93 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>
 94 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··std::string·<a·class="code·hl_function"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">prettyPath</a>(<span·class="keyword">const</span>·std::string&amp;·p);</div>
139 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga9f0cfc5d3be7b2719e938face53b832f">··156</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02852.html">ModifyIterator</a>·<a·class="code·hl_function"·href="a00397.html#ga9f0cfc5d3be7b2719e938face53b832f">beginModify</a>();</div> 
140 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> 
141 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1859abb70b39f6cd675d5d1f6c23a5e0">··165</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02852.html">ModifyIterator</a>·<a·class="code·hl_function"·href="a00397.html#ga1859abb70b39f6cd675d5d1f6c23a5e0">endModify</a>();</div> 
142 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div>95 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div>
143 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga8eee1922ee4cf09e85c03af4ceef39ed">··173</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02844.html">iterator</a>·<a·class="code·hl_function"·href="a00397.html#ga8eee1922ee4cf09e85c03af4ceef39ed">end</a>();</div> 
144 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div>96 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div>
145 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaae74580801beccdd3ad849dfafc81cdf">··181</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02848.html">const_iterator</a>·<a·class="code·hl_functi[·...·truncated·by·diffoscope;·len:·102,·SHA:·ac769deed88588cf1846a15335506b95de7fea22d36a906a427ac38f2cf26350·...·];</div>97 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>··std::string·<a·class="code·hl_function"·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">relativePath</a>(<span·class="keyword">const</span>·std::string&amp;·newbase,·<span·class="keyword">const[·...·truncated·by·diffoscope;·len:·27,·SHA:·9857a21b1f4abb07782db4968b04846cd3b3b5af26addf5b97b182c09b39e106·...·];</div>
 98 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>·</div>
146 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>·</div>99 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>}</div>
147 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaa1824b536a04a403838bf363053f7b31">··188</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#gaa1824b536a04a403838bf363053f7b31">empty</a>()·<span·class="keyword">const</span>;</div> 
148 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>·</div>100 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>
149 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga84f7bb0bf0fe313d5ccc558683df4255">··194</a></span>····<span·class="keyword">inline</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00397.html#ga84f7bb0bf0fe313d5ccc558683df4255">size</a>()·<span·class="keyword">const</span>;</div> 
150 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>·</div> 
151 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga6a7d895d33aa806a78fe61a1d96104ab">··196</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga6a7d895d33aa806a78fe61a1d96104ab">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02856.html">SLList</a>&amp;·sl)·<span·class="keyword">const</span>;</div> 
152 <div·class="line"><a·id="l00197"·name="l00197"></a><span·class="lineno">··197</span>·</div> 
153 <div·class="line"><a·id="l00198"·name="l00198"></a><span·class="lineno">··198</span>·</div> 
154 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga29be35a0986714d7a74946eaea406628">··199</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga29be35a0986714d7a74946eaea406628">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02856.html">SLList</a>&amp;·sl)·<span·class="keyword">const</span>;</div> 
155 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>·</div> 
156 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>··<span·class="keyword">private</span>:</div> 
157 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>····<span·class="keyword">struct·</span>Element</div> 
158 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>····{</div> 
159 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaf0c784f90f7e5c03979031252dbf020e">··208</a></span>······Element*·<a·class="code·hl_variable"·href="a00397.html#gaf0c784f90f7e5c03979031252dbf020e">next_</a>;</div> 
160 <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga2ab7716a755ae785552cd61f167dad34">··212</a></span>······<a·class="code·hl_typedef"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">MemberType</a>·<a·class="code·hl_variable"·href="a00397.html#ga2ab7716a755ae785552cd61f167dad34">item_</a>;</div> 
161 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>·</div> 
162 <div·class="line"><a·id="l00214"·name="l00214"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga61bbcb7b68a18c3699956e998289a923">··214</a></span>······Element(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">MemberType</a>&amp;·item,·Element*·next_=0);</div> 
163 <div·class="line"><a·id="l00215"·name="l00215"></a><span·class="lineno">··215</span>·</div> 
164 <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1c813017fc33817c8b6bd284689e7d5f">··216</a></span>······Element();</div> 
165 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>·</div> 
166 <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno"><a·class="line"·href="a00397.html#gae0096c66d16b973dcf48c031493e8846">··218</a></span>······~Element();</div> 
Max diff block lines reached; 1494/124981 bytes (1.20%) of diff not shown.
23.1 KB
html2text {}
    
Offset 4, 806 lines modifiedOffset 4, 68 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 sllist.hh7 path.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_SLLIST_HH 
15 ·6#define·DUNE_SLLIST_HH14 ·5#ifndef·DUNE_COMMON_PATH_HH
 15 ·6#define·DUNE_COMMON_PATH_HH
16 ·716 ·7
17 ·8#include·<memory> 
18 ·9#include·<cassert> 
19 ·10#include·"iteratorfacades.hh" 
20 ·11#include·<ostream>17 ·8#include·<string>
21 ·1218 ·9
22 ·13namespace·Dune19 ·10namespace·Dune·{
 20 ·23
 21 ·51·std::string·concatPaths(const·std::string&·base,·const·std::string&·p);
 22 ·52
 23 ·54
 24 ·98·std::string·processPath(const·std::string&·p);
 25 ·99
23 ·14{ 
24 ·26·template<typename·T,·class·A> 
25 ·27·class·SLListIterator; 
26 ·28 
27 ·29·template<typename·T,·class·A> 
28 ·30·class·SLListConstIterator; 
29 ·31 
30 ·32·template<typename·T,·class·A> 
31 ·33·class·SLListModifyIterator; 
32 ·34 
33 ·42·template<typename·T,·class·A=std::allocator<T>·> 
34 43·class·SLList 
35 ·44·{ 
36 ·45·struct·Element; 
37 ·46·friend·class·SLListIterator<T,A>; 
38 ·47·friend·class·SLListConstIterator<T,A>; 
39 ·48 
40 ·49·public: 
41 ·50 
42 54·typedef·typename·A::size_type·size_type; 
43 ·55 
44 59·typedef·T·MemberType; 
45 ·60 
46 64·using·Allocator·=·typename·std::allocator_traits<A>::template 
47 rebind_alloc<Element>; 
48 ·65 
49 69·typedef·SLListIterator<T,A>·iterator; 
50 ·70 
51 74·typedef·SLListConstIterator<T,A>·const_iterator; 
52 ·75 
53 79·SLList(); 
54 ·80 
55 ·84·template<typename·T1,·typename·A1> 
56 85·SLList(const·SLList<T1,A1>&·other); 
57 ·86 
58 90·SLList(const·SLList<T,A>&·other); 
59 ·91 
60 97·~SLList(); 
61 ·98 
62 103·typedef·SLListModifyIterator<T,A>·ModifyIterator; 
63 ·10426 ·101
 27 ·109·bool·pathIndicatesDirectory(const·std::string&·p);
64 108·SLList<T,A>&·operator=(const·SLList<T,A>&·other); 
65 ·109 
Diff chunk too large, falling back to line-by-line diff (33 lines added, 718 lines removed)
66 ·11028 ·110
67 115·inline·void·push_back(const·MemberType&·item);29 ·112
68 ·11630 ·151·std::string·prettyPath(const·std::string&·p,·bool·isDirectory);
69 121·inline·void·push_front(const·MemberType&·item);31 ·152
70 ·12232 ·154
71 126·inline·void·pop_front();33 ·160·std::string·prettyPath(const·std::string&·p);
72 ·12734 ·161
73 129·inline·void·clear();35 ·163
74 ·13036 ·179·std::string·relativePath(const·std::string&·newbase,·const·std::string&
75 138·inline·iterator·begin();37 p);
76 ·13938 ·180
77 147·inline·const_iterator·begin()·const;39 ·182}
78 ·14840 ·183
79 156·inline·ModifyIterator·beginModify();41 ·184#endif·//·DUNE_COMMON_PATH_HH
80 ·15742 Dune::processPath
81 165·inline·ModifyIterator·endModify();43 std::string·processPath(const·std::string·&p)
82 ·16644 sanitize·a·path·for·further·processing
83 173·inline·iterator·end();45 Definition:·path.cc:41
84 ·17446 Dune::pathIndicatesDirectory
85 181·inline·const_iterator·end()·const;47 bool·pathIndicatesDirectory(const·std::string·&p)
86 ·18248 check·whether·the·given·path·indicates·that·it·is·a·directory
87 188·inline·bool·empty()·const;49 Definition:·path.cc:115
88 ·18950 Dune::prettyPath
89 194·inline·int·size()·const;51 std::string·prettyPath(const·std::string·&p,·bool·isDirectory)
90 ·19552 pretty·print·path
91 196·bool·operator==(const·SLList&·sl)·const;53 Definition:·path.cc:126
92 ·19754 Dune::relativePath
93 ·19855 std::string·relativePath(const·std::string·&newbase,·const·std::string·&p)
94 199·bool·operator!=(const·SLList&·sl)·const;56 compute·a·relative·path·between·two·paths
95 ·20057 Definition:·path.cc:153
96 ·201·private:58 Dune::concatPaths
97 ·203·struct·Element59 std::string·concatPaths(const·std::string·&base,·const·std::string·&p)
98 ·204·{60 concatenate·two·paths
99 208·Element*·next_;61 Definition:·path.cc:32
100 212·MemberType·item_; 
101 ·213 
102 214·Element(const·MemberType&·item,·Element*·next_=0); 
103 ·215 
104 216·Element(); 
105 ·217 
106 218·~Element(); 
107 ·219·}; 
108 ·220 
109 ·225·void·deleteNext(Element*·current); 
110 ·226 
111 ·231·void·copyElements(const·SLList<T,A>&·other); 
112 ·232 
113 ·240·template<bool·watchForTail> 
114 ·241·void·deleteNext(Element*·current); 
115 ·247·void·insertAfter(Element*·current,·const·T&·item); 
116 ·248 
117 ·250·Element·beforeHead_; 
Max diff block lines reached; 616/23615 bytes (2.61%) of diff not shown.
8.69 KB
./usr/share/doc/libdune-common-doc/doxygen/a00179.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·dynvector.hh·File·Reference</title>8 <title>dune-common:·tuplevector.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 55 lines modifiedOffset 64, 51 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>·&#124;
72 ··<div·class="headertitle"><div·class="title">dynvector.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 <a·href="#func-members">Functions</a>··</div>
 73 ··<div·class="headertitle"><div·class="title">tuplevector.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>This·file·implements·a·dense·vector·with·a·dynamic·size.··76 <p>Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>
78 <code>#include·&lt;cstddef&gt;</code><br·/> 
79 <code>#include·&lt;cstdlib&gt;</code><br·/> 
80 <code>#include·&lt;complex&gt;</code><br·/> 
81 <code>#include·&lt;cstring&gt;</code><br·/> 
82 <code>#include·&lt;initializer_list&gt;</code><br·/> 
83 <code>#include·&lt;limits&gt;</code><br·/> 
84 <code>#include·&lt;utility&gt;</code><br·/>79 <code>#include·&lt;utility&gt;</code><br·/>
85 <code>#include·&quot;<a·class="el"·href="a00104_source.html">boundschecking.hh</a>&quot;</code><br·/> 
86 <code>#include·&quot;<a·class="el"·href="a00185_source.html">exceptions.hh</a>&quot;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
87 <code>#include·&quot;<a·class="el"·href="a00365_source.html">genericiterator.hh</a>&quot;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
88 <code>#include·&lt;vector&gt;</code><br·/> 
89 <code>#include·&quot;<a·class="el"·href="a00128_source.html">densevector.hh</a>&quot;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
90 </div>83 </div>
91 <p><a·href="a00179_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00179_source.html">Go·to·the·source·code·of·this·file.</a></p>
92 <table·class="memberdecls">85 <table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
94 Classes</h2></td></tr>87 Classes</h2></td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01516.html">Dune::DenseMatVecTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;</a></td></tr> 
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01520.html">Dune::FieldTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;</a></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01512.html">Dune::DynamicVector&lt;·K,·Allocator·&gt;</a></td></tr>88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03024.html">Dune::TupleVector&lt;·T·&gt;</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·a·vector·with·a·dynamic·size.··<a·href="a01512.html#details">More...</a><br·/></td></tr>89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·class·augmenting·std::tuple·by·element·access·via·operator[].··<a·href="a03024.html#details">More...</a><br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>93 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>94 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
106 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>95 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 </table><table·class="memberdecls">
 98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 99 Functions</h2></td></tr>
 100 <tr·class="memitem:ae982edb333af3a1f24fe324cc593be0d"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr>
 101 <tr·class="memitem:ae982edb333af3a1f24fe324cc593be0d"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae982edb333af3a1f24fe324cc593be0d">Dune::makeTupleVector</a>·(T·&amp;&amp;...·t)</td></tr>
 102 <tr·class="separator:ae982edb333af3a1f24fe324cc593be0d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table>103 </table>
109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>104 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
110 <div·class="textblock"><p·>This·file·implements·a·dense·vector·with·a·dynamic·size.·</p>105 <div·class="textblock"><p·>Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·</p>
 106 <dl·class="section·author"><dt>Author</dt><dd>Carsten·Gräser·</dd></dl>
111 </div></div><!--·contents·-->107 </div></div><!--·contents·-->
112 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>109 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>111 </small></address>
116 </body>112 </body>
117 </html>113 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
1.66 KB
html2text {}
    
Offset 4, 42 lines modifiedOffset 4, 35 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces7 Classes·|·Namespaces·|·Functions
8 dynvector.hh·File·Reference8 tuplevector.hh·File·Reference
 9 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].·More...
9 Common·»·Dense_Matrix_and_Vector_Template_Library 
10 This·file·implements·a·dense·vector·with·a·dynamic·size.·More... 
11 #include·<cmath> 
12 #include·<cstddef> 
13 #include·<cstdlib> 
14 #include·<complex>10 #include·<tuple>
15 #include·<cstring> 
16 #include·<initializer_list> 
17 #include·<limits> 
18 #include·<utility>11 #include·<utility>
 12 #include·<dune/common/indices.hh>
 13 #include·<dune/common/typetraits.hh>
 14 #include·<dune/common/std/type_traits.hh>
19 #include·"boundschecking.hh" 
20 #include·"exceptions.hh" 
21 #include·"genericiterator.hh" 
22 #include·<vector> 
23 #include·"densevector.hh" 
24 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
25 ·Classes16 ·Classes
 17 class· Dune::TupleVector<_T_>
 18  ······A·class·augmenting·std::tuple·by·element·access·via·operator[].·More...
26 struct· Dune::DenseMatVecTraits<_DynamicVector<_K,_Allocator_>_> 
27   
28 struct· Dune::FieldTraits<_DynamicVector<_K,_Allocator_>_> 
29   
30 ·class· Dune::DynamicVector<_K,_Allocator_> 
31  ·······Construct·a·vector·with·a·dynamic·size.·More... 
32  19  
33 ·Namespaces20 ·Namespaces
34 namespace· Dune21 namespace· Dune
35  ··········Dune·namespace.22  ··········Dune·namespace.
36  23  
 24 ·Functions
 25 template<class...·T>
 26 constexpr·auto Dune::makeTupleVector·(T·&&...·t)
 27  
37 *****·Detailed·Description·*****28 *****·Detailed·Description·*****
38 This·file·implements·a·dense·vector·with·a·dynamic·size.29 Provides·the·TupleVector·class·that·augments·std::tuple·by·operator[].
 30 ··Author
 31 ······Carsten·Gräser
  
39 ===============================================================================32 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
75.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00179_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·dynvector.hh·Source·File</title>8 <title>dune-common:·tuplevector.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 229 lines modifiedOffset 62, 106 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">dynvector.hh</div></div>68 ··<div·class="headertitle"><div·class="title">tuplevector.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00179.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00179.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNVECTOR_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TUPLEVECTOR_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNVECTOR_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TUPLEVECTOR_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00275.html">dune/common/indices.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00152.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00104.html">boundschecking.hh</a>&quot;</span></div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00185.html">exceptions.hh</a>&quot;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00365.html">genericiterator.hh</a>&quot;</span></div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00128.html">densevector.hh</a>&quot;</span></div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
96 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·Allocator·&gt;·<span·class="keyword">class·</span>DynamicVector;</div>90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·Allocator·&gt;</div>92 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div>
98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01516.html">···36</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>&lt;·<a·class="code·hl_class"·href="a01512.html">DynamicVec[·...·truncated·by·diffoscope;·len:·30,·SHA:·b105201c46e2210eaf58a7c1f14f2dcf4710fedbf8c85c7b551d99042108516d·...·]&gt;</div>93 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a03024.html">···34</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a03024.html">TupleVector</a>·:·<span·class="keyword">public</span>·std::tuple&lt;T...&gt;</div>
 94 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div>
 95 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>Base·=·std::tuple&lt;T...&gt;;</div>
99 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>96 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 97 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·TT&gt;</div>
 98 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span>TupleConstructorDetector·=·<span·class="keyword">decltype</span>(Base(std::declval&lt;TT&amp;&amp;&gt;()...));</div>
100 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01516.html#aaa1148eeccbfc9782c9cb2259d7b7d92">···38</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;·K,·Allocator·&gt;</a>·<a·class="code·hl_typedef"·href="a01516.html#aaa1148eeccbfc9782c9cb2259d7b7d92">derived_type</a>;</div> 
101 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01516.html#abf9c2cefdfb6ae35bc1d0bfaf6c9da19">···39</a></span>····<span·class="keyword">typedef</span>·std::vector&lt;·K,·Allocator·&gt;·<a·class="code·hl_typedef"·href="a01516.html#abf9c2cefdfb6ae35bc1d0bfaf6c9da19">container_type</a>;</div> 
102 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01516.html#a5cc47717220b490827f88e1a38271170">···40</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a01516.html#a5cc47717220b490827f88e1a38271170">value_type</a>;</div> 
103 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01516.html#af20e51465cc0a8a2644c6002a8e862f1">···41</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·container_type::size_type·<a·class="code·hl_typedef"·href="a01516.html#af20e51465cc0a8a2644c6002a8e862f1">size_type</a>;</div> 
104 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div>99 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 100 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·TT&gt;</div>
 101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span>hasTupleConstructor·=·<a·class="code·hl_typedef"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">Dune::Std::is_detected</a>&lt;TupleConstructorDetector,·TT...&gt;;</div>
105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
106 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·Allocator·&gt;</div> 
107 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01520.html">···45</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01512.html">DynamicVector</a[·...·truncated·by·diffoscope;·len:·28,·SHA:·9a6beee9f14d0fcceeee9918c4bf8363171a78548ba10e02cafa26272e8b2ec2·...·]</div>103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div>
108 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div>105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
109 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01520.html#abc5a4bc2b8bd878283c3278fe9b3560e">···47</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">FieldTraits&lt;·K·&gt;::field_type</a>·<a·class="code·hl_typedef"·href="a01520.html#abc5a4bc2b8bd878283c3278fe9b3560e">field_type</a>;</div> 
110 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01520.html#a2f99a07803a3f6151b198b7c02deec83">···48</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c[·...·truncated·by·diffoscope;·len:·163,·SHA:·b89f0236c4205e3db14196cf8a6cea5fbe081c44e96e265a8ee142015b9b3440·...·]</div>106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·TT,</div>
 107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::enable_if_t&lt;hasTupleConstructor&lt;TT...&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div>
 108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a03024.html#a18fb497d8152c2f3eb144449d70e9bc9">···55</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a03024.html#a18fb497d8152c2f3eb144449d70e9bc9">TupleVector</a>(TT&amp;&amp;...·tt)·:</div>
 109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····Base(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;TT&gt;(tt)...)</div>
111 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··};</div>110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{}</div>
112 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a03024.html#af79a45a6b4d14f7db794298985da714e">···61</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a03024.html#af79a45a6b4d14f7db794298985da714e">TupleVector</a>()</div>
113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·Allocator·=·std::allocator&lt;·K·&gt;·&gt;</div> 
114 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01512.html">···58</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01512.html">DynamicVector</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector</a>&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;</div> 
115 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··{</div>113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{}</div>
116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····std::vector&lt;·K,·Allocator·&gt;·_data;</div> 
117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
118 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector&lt;·DynamicVector&lt;·K,·Allocator·&gt;</a>·&gt;·<a·class="code·hl_class"·href="a01424.html">Base</a>;</div> 
119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</div>115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·i&gt;</div>
 116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a03024.html#ae61a44c59db745e575ee839989dc13ed">···67</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>[](<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant&lt;i&gt;</a>&amp;)·<span·class="keyword">const</span></div>
120 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01512.html#a50a7d3fa728a4b82b4407b134e347190">···64</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">Base::size_type</a>·<a·class="code·hl_typedef"·href="a01512.html#a50a7d3fa728a4b82b4407b134e347190">size_type</a>;</div> 
121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01512.html#a735233c2a1599812e8cd3e6f4676dd48">···65</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a007463aa44631abffe62eb8c868ae95d">Base::value_type</a>·<a·class="code·hl_typedef"·href="a01512.html#a735233c2a1599812e8cd3e6f4676dd48">value_type</a>;</div> 
122 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01512.html#a5a7bd4fc26554e6189ecc927bd1bfb4b">···67</a></span>····<span·class="keyword">typedef</span>·std::vector&lt;·K,·Allocator·&gt;·<a·class="code·hl_typedef"·href="a01512.html#a5a7bd4fc26554e6189ecc927bd1bfb4b">container_type</a>;</div> 
124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div>
125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">···69</a></span>····<span·class="keyword">typedef</span>·Allocator·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>;</div>118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keywordflow">return</span>·std::get&lt;i&gt;(*<span·class="keyword">this</span>);</div>
126 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div>
127 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01512.html#a7ab6b30514c24d5afa6eaf1d12349692">···72</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01512.html#a7ab6b30514c24d5afa6eaf1d12349692">DynamicVector</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>·&amp;a·=·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>()·)·:</div> 
128 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······_data(·a·)</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>120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
131 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01512.html#abdca3f644f1b4151eb8e8f39656b239c">···76</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01512.html#abdca3f644f1b4151eb8e8f39656b239c">DynamicVector</a>(<a·class="code·hl_typedef"·href="a01512.html#a50a7d3fa728a4b82b4407b134e347190">size_type</a>·n,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>·&amp;a·=·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>()·)·:</div> 
132 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······_data(·n,·<a·class="code·hl_typedef"·href="a01512.html#a735233c2a1599812e8cd3e6f4676dd48">value_type</a>(),·a·)</div>121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·i&gt;</div>
 122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a03024.html#a22b24b2bd8f2fa120c183b3c8becf1c9">···75</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>[](<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant&lt;i&gt;</a>&amp;)</div>
 123 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>
 124 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·std::get&lt;i&gt;(*<span·class="keyword">this</span>);</div>
133 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{}</div>125 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div>
134 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>126 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a03024.html#a1595dc930c803c3b4e4652b011ebf47b">···81</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a03024.html#a1595dc930c803c3b4e4652b011ebf47b">size</a>()</div>
135 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01512.html#ae821be352676f391e19ffa70d9ca3714">···81</a></span>····<a·class="code·hl_function"·href="a01512.html#ae821be352676f391e19ffa70d9ca3714">DynamicVector</a>(·<a·class="code·hl_typedef"·href="a01512.html#a50a7d3fa728a4b82b4407b134e347190">size_type</a>·n,·<a·class="code·hl_typedef"·href="a01512.html#a735233c2a1599812e8cd3e6f4676dd48">value_type</a>·c,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>·&amp;a·=·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>()·)·:</div> 
136 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······_data(·n,·c,·a·)</div> 
137 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{}</div>128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>
 129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">return</span>·std::tuple_size&lt;Base&gt;::value;</div>
138 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>130 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··}</div>
139 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01512.html#ac816734949044d1f94a33060fcb1da39">···86</a></span>····<a·class="code·hl_function"·href="a01512.html#ac816734949044d1f94a33060fcb1da39">DynamicVector</a>·(std::initializer_list&lt;[·...·truncated·by·diffoscope;·len:·50,·SHA:·922f2f1264481771f91fb3cf30f82b57fe6de0d5644d3333d75764934c0e3355·...·]</div>131 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div>
 132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······_data(l)</div>133 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
141 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{}</div>134 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 135 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div>
 136 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00425.html#ae982edb333af3a1f24fe324cc593be0d">···90</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#ae982edb333af3a1f24fe324cc593be0d">makeTupleVector</a>(T&amp;&amp;...·t)</div>
 137 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>{</div>
 138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="comment">//·The·std::decay_t&lt;T&gt;·is·is·a·slight·simplification,</span></div>
 139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="comment">//·because·std::reference_wrapper·needs·special·care.</span></div>
 140 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a03024.html">TupleVector&lt;std::decay_t&lt;T&gt;</a>...&gt;(std::forward&lt;T&gt;(t)...);</div>
 141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}</div>
142 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>142 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01512.html#a2dc74b2715a2e47302d769df2992201b">···91</a></span>····<a·class="code·hl_function"·href="a01512.html#a2dc74b2715a2e47302d769df2992201b">DynamicVector</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01512.html">DynamicVector</a>·&amp;·x)·:</div> 
144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······<a·class="code·hl_class"·href="a01424.html">Base</a>(),·_data(x._data)</div> 
Max diff block lines reached; 16301/63767 bytes (25.56%) of diff not shown.
12.8 KB
html2text {}
    
Offset 4, 343 lines modifiedOffset 4, 126 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 dynvector.hh7 tuplevector.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DYNVECTOR_HH14 ·5#ifndef·DUNE_COMMON_TUPLEVECTOR_HH
15 ·6#define·DUNE_DYNVECTOR_HH15 ·6#define·DUNE_COMMON_TUPLEVECTOR_HH
16 ·716 ·7
17 ·8#include·<cmath>17 ·8#include·<tuple>
18 ·9#include·<cstddef> 
19 ·10#include·<cstdlib> 
20 ·11#include·<complex> 
21 ·12#include·<cstring> 
22 ·13#include·<initializer_list> 
23 ·14#include·<limits> 
24 ·15#include·<utility>18 ·9#include·<utility>
 19 ·10
 20 ·11#include·<dune/common/indices.hh>
 21 ·12#include·<dune/common/typetraits.hh>
 22 ·13#include·<dune/common/std/type_traits.hh>
 23 ·14
 24 ·15
25 ·1625 ·16
26 ·17#include·"boundschecking.hh" 
27 ·18#include·"exceptions.hh" 
28 ·19#include·"genericiterator.hh" 
29 ·20 
30 ·21#include·<vector> 
31 ·22#include·"densevector.hh" 
32 ·23 
33 ·24namespace·Dune·{26 ·23namespace·Dune
 27 ·24{
34 ·2528 ·25
35 ·34·template<·class·K,·class·Allocator·>·class·DynamicVector; 
36 ·35·template<·class·K,·class·Allocator·> 
37 36·struct·DenseMatVecTraits<·DynamicVector<·K,·Allocator·>·>29 ·26
 30 ·27
 31 ·33template<class...·T>
 32 34class·TupleVector·:·public·std::tuple<T...>
 33 ·35{
 34 ·36·using·Base·=·std::tuple<T...>;
38 ·37·{35 ·37
39 38·typedef·DynamicVector<_K,_Allocator_>·derived_type; 
40 39·typedef·std::vector<·K,·Allocator·>·container_type; 
41 40·typedef·K·value_type; 
42 41·typedef·typename·container_type::size_type·size_type; 
43 ·42·};36 ·38·template<class...·TT>
 37 ·39·using·TupleConstructorDetector·=·decltype(Base(std::declval<TT&&>()...));
 38 ·40
 39 ·41·template<class...·TT>
 40 ·42·using·hasTupleConstructor·=·Dune::Std::
 41 is_detected<TupleConstructorDetector,·TT...>;
44 ·4342 ·43
 43 ·44
45 ·44·template<·class·K,·class·Allocator·> 
46 45·struct·FieldTraits<·DynamicVector<·K,·Allocator·>·> 
47 ·46·{ 
48 47·typedef·typename·FieldTraits<_K_>::field_type·field_type; 
49 48·typedef·typename·FieldTraits<_K_>::real_type·real_type; 
50 ·49·}; 
51 ·50 
52 ·57·template<·class·K,·class·Allocator·=·std::allocator<·K·>·> 
53 58·class·DynamicVector·:·public·DenseVector<·DynamicVector<·K,·Allocator·>·> 
54 ·59·{ 
55 ·60·std::vector<·K,·Allocator·>·_data; 
56 ·61 
57 ·62·typedef·DenseVector<_DynamicVector<_K,_Allocator_>·>·Base; 
58 ·63·public:44 ·45public:
 45 ·46
 46 ·53·template<class...·TT,
 47 ·54·std::enable_if_t<hasTupleConstructor<TT...>::value,·int>·=·0>
 48 55·constexpr·TupleVector(TT&&...·tt)·:
 49 ·56·Base(std::forward<TT>(tt)...)
59 64·typedef·typename·Base::size_type·size_type; 
60 65·typedef·typename·Base::value_type·value_type; 
61 ·66 
62 67·typedef·std::vector<·K,·Allocator·>·container_type; 
63 ·68 
64 69·typedef·Allocator·allocator_type; 
65 ·70 
66 72·explicit·DynamicVector(const·allocator_type·&a·=·allocator_type()·)·: 
67 ·73·_data(·a·) 
68 ·74·{}50 ·57·{}
69 ·75 
70 76·explicit·DynamicVector(size_type·n,·const·allocator_type·&a·=·allocator_type 
71 ()·)·: 
72 ·77·_data(·n,·value_type(),·a·)51 ·58
 52 61·constexpr·TupleVector()
 53 ·62·{}
 54 ·63
 55 ·66·template<std::size_t·i>
 56 67·constexpr·decltype(auto)·operator[](const·Dune::index_constant<i>&)·const
 57 ·68·{
 58 ·69·return·std::get<i>(*this);
 59 ·70·}
 60 ·71
 61 ·74·template<std::size_t·i>
 62 75·decltype(auto)·operator[](const·Dune::index_constant<i>&)
 63 ·76·{
 64 ·77·return·std::get<i>(*this);
73 ·78·{}65 ·78·}
74 ·7966 ·79
 67 81·static·constexpr·std::size_t·size()
 68 ·82·{
 69 ·83·return·std::tuple_size<Base>::value;
75 81·DynamicVector(·size_type·n,·value_type·c,·const·allocator_type·&a·= 
76 allocator_type()·)·: 
77 ·82·_data(·n,·c,·a·) 
78 ·83·{} 
79 ·8470 ·84·}
 71 ·85};
 72 ·86
 73 ·87
 74 ·88
80 86·DynamicVector·(std::initializer_list<K>·const·&l)·: 
81 ·87·_data(l) 
82 ·88·{} 
83 ·89 
Max diff block lines reached; 5744/13049 bytes (44.02%) of diff not shown.
8.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a00182.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·keywords.hh·File·Reference</title>8 <title>dune-common:·dynmatrixev.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 63 lines modifiedOffset 63, 46 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#define-members">Macros</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">keywords.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
74 <p>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.··75 <p>utility·functions·to·compute·eigenvalues·for·dense·matrices.··
75 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 78 <code>#include·&lt;memory&gt;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00305_source.html">dynmatrix.hh</a>&quot;</code><br·/>
 80 <code>#include·&quot;<a·class="el"·href="a00296_source.html">fmatrixev.hh</a>&quot;</code><br·/>
 81 </div>
76 <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00182_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <table·class="memberdecls">83 <table·class="memberdecls">
 84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 85 Namespaces</h2></td></tr>
 86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:a00433"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00433.html">Dune::DynamicMatrixHelp</a></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 </table><table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
79 Macros</h2></td></tr>93 Functions</h2></td></tr>
80 <tr·class="memitem:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>&#160;&#160;&#160;inline</td></tr> 
81 <tr·class="separator:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
82 <tr·class="memitem:a97b632609f7c06170ec5e2be5729c4f0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00182.html#a97b632609f7c06170ec5e2be5729c4f0">DUNE_GENERALIZED_CONSTEXPR</a>&#160;&#160;&#1[·...·truncated·by·diffoscope;·len:·12,·SHA:·11faacde347b39df709a31bccbc14edd7649c0095cde3ebbfba4f3621b662c17·...·]</td></tr>94 <tr·class="memitem:a3a886253fd1bce66e013df6cf7548749"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·class·C·&gt;·</td></tr>
 95 <tr·class="memitem:a3a886253fd1bce66e013df6cf7548749"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">Dune::DynamicMatrixHelp::eigenValuesNonSym</a>·(const·DynamicMatrix&lt;·K·&gt;·&amp;matrix,·DynamicVector&lt;·C·&gt;·&amp;eigenValues,·std::vector&lt;·DynamicVector&lt;·K·&gt;·&gt;·*eigenVectors=nullptr)</td></tr>
 96 <tr·class="memdesc:a3a886253fd1bce66e013df6cf7548749"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<a·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">More...</a><br·/></td></tr>
83 <tr·class="separator:a97b632609f7c06170ec5e2be5729c4f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:a3a886253fd1bce66e013df6cf7548749"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>98 </table>
85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 100 <div·class="textblock"><p·>utility·functions·to·compute·eigenvalues·for·dense·matrices.·</p>
86 <div·class="textblock"><p·>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.·</p> 
87 <p·>This·header·contains·several·macros·that·enable·C++·features·depending·on·your·compiler.·Most·of·these·features·are·optional·and·provide·additional·functionality·like·making·code·constexpr.·</p> 
88 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
89 <a·id="a97b632609f7c06170ec5e2be5729c4f0"·name="a97b632609f7c06170ec5e2be5729c4f0"></a> 
90 <h2·class="memtitle"><span·class="permalink"><a·href="#a97b632609f7c06170ec5e2be5729c4f0">&#9670;&nbsp;</a></span>DUNE_GENERALIZED_CONSTEXPR</h2> 
  
91 <div·class="memitem"> 
92 <div·class="memproto"> 
93 ······<table·class="memname"> 
94 ········<tr> 
95 ··········<td·class="memname">#define·DUNE_GENERALIZED_CONSTEXPR&#160;&#160;&#160;constexpr</td> 
96 ········</tr> 
97 ······</table> 
98 </div><div·class="memdoc"> 
  
99 </div> 
100 </div> 
101 <a·id="afd8117b5ac0497a09e3bdecafbf518a6"·name="afd8117b5ac0497a09e3bdecafbf518a6"></a> 
102 <h2·class="memtitle"><span·class="permalink"><a·href="#afd8117b5ac0497a09e3bdecafbf518a6">&#9670;&nbsp;</a></span>DUNE_INLINE_VARIABLE</h2> 
  
103 <div·class="memitem"> 
104 <div·class="memproto"> 
105 ······<table·class="memname"> 
106 ········<tr> 
107 ··········<td·class="memname">#define·DUNE_INLINE_VARIABLE&#160;&#160;&#160;inline</td> 
108 ········</tr> 
109 ······</table> 
110 </div><div·class="memdoc"> 
  
111 </div> 
112 </div> 
113 </div><!--·contents·-->101 </div></div><!--·contents·-->
114 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
115 <hr·class="footer"/><address·class="footer"><small>103 <hr·class="footer"/><address·class="footer"><small>
116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
117 </small></address>105 </small></address>
118 </body>106 </body>
119 </html>107 </html>
1.7 KB
html2text {}
    
Offset 4, 31 lines modifiedOffset 4, 33 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Macros 
8 keywords.hh·File·Reference 
9 Common·»·Utilities·»·C++_utilities_and_backports 
10 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available. 
11 More...7 Namespaces·|·Functions
 8 dynmatrixev.hh·File·Reference
 9 utility·functions·to·compute·eigenvalues·for·dense·matrices.·More...
 10 #include·<algorithm>
 11 #include·<memory>
 12 #include·"dynmatrix.hh"
 13 #include·"fmatrixev.hh"
12 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
13 ·Macros 
14 #define DUNE_INLINE_VARIABLE   inline15 ·Namespaces
 16 namespace· Dune
 17  ··········Dune·namespace.
15  18  
16 #define DUNE_GENERALIZED_CONSTEXPR   constexpr19 namespace· Dune::DynamicMatrixHelp
 20  
 21 ·Functions
 22 template<typename·K·,·class·C·>
 23 static·void Dune::DynamicMatrixHelp::eigenValuesNonSym·(const·DynamicMatrix<·K
 24 ·············>·&matrix,·DynamicVector<·C·>·&eigenValues,·std::vector<
 25 ·············DynamicVector<·K·>·>·*eigenVectors=nullptr)
 26  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix·More...
17  27  
18 *****·Detailed·Description·*****28 *****·Detailed·Description·*****
 29 utility·functions·to·compute·eigenvalues·for·dense·matrices.
19 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available. 
20 This·header·contains·several·macros·that·enable·C++·features·depending·on·your 
21 compiler.·Most·of·these·features·are·optional·and·provide·additional 
22 functionality·like·making·code·constexpr. 
23 *****·Macro·Definition·Documentation·***** 
24 *****·◆ DUNE_GENERALIZED_CONSTEXPR·***** 
25 #define·DUNE_GENERALIZED_CONSTEXPR   constexpr 
26 *****·◆ DUNE_INLINE_VARIABLE·***** 
27 #define·DUNE_INLINE_VARIABLE   inline 
  
28 ===============================================================================30 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
27.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00182_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·keywords.hh·Source·File</title>8 <title>dune-common:·dynmatrixev.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 39 lines modifiedOffset 62, 119 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">keywords.hh</div></div>68 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00182.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00182.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_KEYWORDS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNMATRIXEIGENVALUES_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_KEYWORDS_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNMATRIXEIGENVALUES_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#if·__cpp_inline_variables·&gt;=·201606</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
77 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">···19</a></span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE·inline</span></div> 
78 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#else</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00305.html">dynmatrix.hh</a>&quot;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00296.html">fmatrixev.hh</a>&quot;</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 84 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
79 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00433.html">···24</a></span>··<span·class="keyword">namespace·</span>DynamicMatrixHelp·{</div>
 87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE</span></div>88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div>
 89 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">using·</span>Dune::FMatrixHelp::eigenValuesNonsymLapackCall;</div>
81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div>90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div>
82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>91 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 92 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·K,·<span·class="keyword">class</span>·C&gt;</div>
 93 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">···39</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">eigenValuesNonSym</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01500.html">DynamicMatrix&lt;K&gt;</a>&amp;·matrix,</div>
 94 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··································<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;C&gt;</a>&amp;·<a·class="code·hl_function"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>,</div>
 95 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··································std::vector&lt;<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;K&gt;</a>&gt;*·eigenVectors·=·<span·class="keyword">nullptr</span></div>
 96 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······)</div>
 97 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div>
 98 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 99 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div>
 100 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······{</div>
 101 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·N·=·matrix.<a·class="code·hl_function"·href="a01400.html#a87d6a39a8a05460bf6c23bb79203de06">rows</a>();</div>
 102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·jobvl·=·<span·class="charliteral">&#39;n&#39;</span>;</div>
 103 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·jobvr·=·eigenVectors·?·<span·class="charliteral">&#39;v&#39;</span>·:·<span·class="charliteral">&#39;n&#39;</span>;</div>
 104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>········<span·class="comment">//·matrix·to·put·into·dgeev</span></div>
 107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keyword">auto</span>·matrixVector·=·std::make_unique&lt;double[]&gt;(N*N);</div>
 108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 109 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="comment">//·copy·matrix</span></div>
 110 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordtype">int</span>·row·=·0;</div>
 111 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">for</span>(<span·class="keywordtype">int</span>·i=0;·i&lt;N;·++i)</div>
 112 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········{</div>
 113 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··········<span·class="keywordflow">for</span>(<span·class="keywordtype">int</span>·j=0;·j&lt;N;·++j,·++row)</div>
 114 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··········{</div>
 115 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>············matrixVector[·row·]·=·matrix[·i·][·j·];</div>
 116 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··········}</div>
 117 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········}</div>
 118 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 119 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="comment">//·working·memory</span></div>
 120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keyword">auto</span>·eigenR·=·std::make_unique&lt;double[]&gt;(N);</div>
 121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keyword">auto</span>·eigenI·=·std::make_unique&lt;double[]&gt;(N);</div>
83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>122 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
84 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#if·__cpp_constexpr·&gt;=·201304</span></div> 
85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00182.html#a97b632609f7c06170ec5e2be5729c4f0">···30</a></span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR·constexpr</span></div> 
86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#else</span></div>123 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·lwork·=·eigenVectors·?·4*N·:·3*N;</div>
 124 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keyword">auto</span>·work·=·std::make_unique&lt;double[]&gt;(lwork);</div>
 125 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">auto</span>·vr·=·eigenVectors·?·std::make_unique&lt;double[]&gt;(N*N)·:·std::unique_ptr&lt;double[]&gt;{};</div>
87 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>126 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
88 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR</span></div> 
89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#endif</span></div>127 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="comment">//·return·value·information</span></div>
 128 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·info·=·0;</div>
 129 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 130 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="comment">//·call·LAPACK·routine·(see·fmatrixev_ext.cc)</span></div>
 131 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········eigenValuesNonsymLapackCall(&amp;jobvl,·&amp;jobvr,·&amp;N,·matrixVector.get(),·&amp;N,</div>
 132 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····································eigenR.get(),·eigenI.get(),·<span·class="keyword">nullptr</span>,·&amp;N,·vr.get(),·&amp;N,·work.get(),</div>
 133 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····································&amp;lwork,·&amp;info);</div>
90 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>134 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 135 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">if</span>(·info·!=·0·)</div>
 136 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········{</div>
 137 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;For·matrix·&quot;</span>·&lt;&lt;·matrix·&lt;&lt;·<span·class="stringliteral">&quot;·eigenvalue·calculation·failed!·&quot;</span>·&lt;&lt;·std::endl;</div>
 138 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··········<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01580.html">InvalidStateException</a>,<span·class="stringliteral">&quot;eigenValues:·Eigenvalue·calculation·failed!&quot;</span>);</div>
 139 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div>
 140 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 141 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_function"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>.resize(N);</div>
 142 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=0;·i&lt;N;·++i)</div>
 143 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··········<a·class="code·hl_function"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>[i]·=·std::complex&lt;double&gt;(eigenR[i],·eigenI[i]);</div>
91 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>144 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 145 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keywordflow">if</span>·(eigenVectors)·{</div>
 146 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··········eigenVectors-&gt;resize(N);</div>
 147 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··········<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·&lt;·N;·++i)·{</div>
 148 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>············<span·class="keyword">auto</span>&amp;·v·=·(*eigenVectors)[i];</div>
 149 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>············v.resize(N);</div>
 150 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>············std::copy(vr.get()·+·N*i,·vr.get()·+·N*(i+1),·&amp;v[0]);</div>
 151 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··········}</div>
 152 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········}</div>
 153 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······}</div>
92 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_KEYWORDS_HH</span></div>154 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="preprocessor">#else·</span><span·class="comment">//·#if·HAVE_LAPACK</span></div>
 155 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01568.html">NotImplemented</a>,<span·class="stringliteral">&quot;LAPACK·not·found!&quot;</span>);</div>
 156 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#endif</span></div>
 157 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····}</div>
 158 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··}</div>
 159 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 160 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>}</div>
 161 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="preprocessor">#endif</span></div>
 162 <div·class="ttc"·id="aa00296_html"><div·class="ttname"><a·href="a00296.html">fmatrixev.hh</a></div><div·class="ttdoc">Eigenvalue·computations·for·the·FieldMatrix·class.</div></div>
 163 <div·class="ttc"·id="aa00305_html"><div·class="ttname"><a·href="a00305.html">dynmatrix.hh</a></div><div·class="ttdoc">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.</div></div>
 164 <div·class="ttc"·id="aa00412_html_gad7fce127d6eaabe773adbc409514f21e"><div·class="ttname"><a·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a></div><div·class="ttdeci">#define·DUNE_THROW(E,·m)</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:218</div></div>
 165 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
 166 <div·class="ttc"·id="aa00433_html_a3a886253fd1bce66e013df6cf7548749"><div·class="ttname"><a·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">Dune::DynamicMatrixHelp::eigenValuesNonSym</a></div><div·class="ttdeci">static·void·eigenValuesNonSym(const·DynamicMatrix&lt;·K·&gt;·&amp;matrix,·DynamicVector&lt;·C·&gt;·&amp;eigenValues,·std::vector&lt;·DynamicVector&lt;·K·&gt;·&gt;·*eigenVectors=nullptr)</div><div·class="ttdoc">calculates·the·eigenvalues·of·a·symmetric·field·matrix</div><div·class="ttdef"><b>Definition:</b>·dynmatrixev.hh:39</div></div>
 167 <div·class="ttc"·id="aa00436_html_a86eafff72a6c52bec8aa92e191f08887"><div·class="ttname"><a·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">Dune::FMatrixHelp::eigenValues</a></div><div·class="ttdeci">static·void·eigenValues(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues)</div><div·class="ttdoc">calculates·the·eigenvalues·of·a·symmetric·field·matrix</div><div·class="ttdef"><b>Definition:</b>·fmatrixev.hh:523</div></div>
Max diff block lines reached; 271/23037 bytes (1.18%) of diff not shown.
4.71 KB
html2text {}
    
Offset 4, 35 lines modifiedOffset 4, 144 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 keywords.hh7 dynmatrixev.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
10 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
12 ·3#ifndef·DUNE_COMMON_KEYWORDS_HH 
13 ·4#define·DUNE_COMMON_KEYWORDS_HH14 ·5#ifndef·DUNE_DYNMATRIXEIGENVALUES_HH
 15 ·6#define·DUNE_DYNMATRIXEIGENVALUES_HH
 16 ·7
 17 ·8#include·<algorithm>
 18 ·9#include·<memory>
 19 ·10
 20 ·11#include·"dynmatrix.hh"
 21 ·12#include·"fmatrixev.hh"
 22 ·13
 23 ·22namespace·Dune·{
 24 ·23
 25 24·namespace·DynamicMatrixHelp·{
14 ·526 ·25
 27 ·26#if·HAVE_LAPACK
 28 ·27·using·Dune::FMatrixHelp::eigenValuesNonsymLapackCall;
15 ·18#if·__cpp_inline_variables·>=·201606 
16 19#define·DUNE_INLINE_VARIABLE·inline 
17 ·20#else 
18 ·22 
19 ·25#define·DUNE_INLINE_VARIABLE 
20 ·26#endif29 ·28#endif
21 ·27 
22 ·28 
23 ·29#if·__cpp_constexpr·>=·201304 
24 30#define·DUNE_GENERALIZED_CONSTEXPR·constexpr 
25 ·31#else 
26 ·33 
27 ·36#define·DUNE_GENERALIZED_CONSTEXPR 
28 ·37#endif 
29 ·38 
30 ·39 
31 ·40#endif·//·DUNE_COMMON_KEYWORDS_HH30 ·29
 31 ·38·template·<typename·K,·class·C>
 32 39·static·void·eigenValuesNonSym(const·DynamicMatrix<K>&·matrix,
 33 ·40·DynamicVector<C>&·eigenValues,
 34 ·41·std::vector<DynamicVector<K>>*·eigenVectors·=·nullptr
 35 ·42·)
 36 ·43·{
 37 ·44
 38 ·45#if·HAVE_LAPACK
 39 ·46·{
 40 ·47·const·long·int·N·=·matrix.rows();
 41 ·48·const·char·jobvl·=·'n';
 42 ·49·const·char·jobvr·=·eigenVectors·?·'v'·:·'n';
 43 ·50
 44 ·51
 45 ·52·//·matrix·to·put·into·dgeev
 46 ·53·auto·matrixVector·=·std::make_unique<double[]>(N*N);
 47 ·54
 48 ·55·//·copy·matrix
 49 ·56·int·row·=·0;
 50 ·57·for(int·i=0;·i<N;·++i)
 51 ·58·{
 52 ·59·for(int·j=0;·j<N;·++j,·++row)
 53 ·60·{
 54 ·61·matrixVector[·row·]·=·matrix[·i·][·j·];
 55 ·62·}
 56 ·63·}
 57 ·64
 58 ·65·//·working·memory
 59 ·66·auto·eigenR·=·std::make_unique<double[]>(N);
 60 ·67·auto·eigenI·=·std::make_unique<double[]>(N);
 61 ·68
 62 ·69·const·long·int·lwork·=·eigenVectors·?·4*N·:·3*N;
 63 ·70·auto·work·=·std::make_unique<double[]>(lwork);
 64 ·71·auto·vr·=·eigenVectors·?·std::make_unique<double[]>(N*N)·:·std::
 65 unique_ptr<double[]>{};
 66 ·72
 67 ·73·//·return·value·information
 68 ·74·long·int·info·=·0;
 69 ·75
 70 ·76·//·call·LAPACK·routine·(see·fmatrixev_ext.cc)
 71 ·77·eigenValuesNonsymLapackCall(&jobvl,·&jobvr,·&N,·matrixVector.get(),·&N,
 72 ·78·eigenR.get(),·eigenI.get(),·nullptr,·&N,·vr.get(),·&N,·work.get(),
 73 ·79·&lwork,·&info);
 74 ·80
 75 ·81·if(·info·!=·0·)
 76 ·82·{
 77 ·83·std::cerr·<<·"For·matrix·"·<<·matrix·<<·"·eigenvalue·calculation·failed!·"
 78 <<·std::endl;
 79 ·84·DUNE_THROW(InvalidStateException,"eigenValues:·Eigenvalue·calculation
 80 failed!");
 81 ·85·}
 82 ·86
 83 ·87·eigenValues.resize(N);
 84 ·88·for·(int·i=0;·i<N;·++i)
 85 ·89·eigenValues[i]·=·std::complex<double>(eigenR[i],·eigenI[i]);
 86 ·90
 87 ·91·if·(eigenVectors)·{
 88 ·92·eigenVectors->resize(N);
 89 ·93·for·(int·i·=·0;·i·<·N;·++i)·{
 90 ·94·auto&·v·=·(*eigenVectors)[i];
 91 ·95·v.resize(N);
 92 ·96·std::copy(vr.get()·+·N*i,·vr.get()·+·N*(i+1),·&v[0]);
 93 ·97·}
 94 ·98·}
 95 ·99·}
 96 ·100#else·//·#if·HAVE_LAPACK
 97 ·101·DUNE_THROW(NotImplemented,"LAPACK·not·found!");
 98 ·102#endif
 99 ·103·}
 100 ·104·}
 101 ·105
 102 ·106}
 103 ·108#endif
 104 fmatrixev.hh
 105 Eigenvalue·computations·for·the·FieldMatrix·class.
 106 dynmatrix.hh
 107 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.
 108 DUNE_THROW
 109 #define·DUNE_THROW(E,·m)
 110 Definition:·exceptions.hh:218
Max diff block lines reached; 116/4800 bytes (2.42%) of diff not shown.
16.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00185.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·exceptions.hh·File·Reference</title>8 <title>dune-common:·debugstream.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 80 lines modifiedOffset 65, 62 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
 72 <a·href="#typedef-members">Typedefs</a>··</div>
72 <a·href="#define-members">Macros</a>·&#124; 
73 <a·href="#func-members">Functions</a>··</div> 
74 ··<div·class="headertitle"><div·class="title">exceptions.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">debugstream.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>
75 </div><!--header-->74 </div><!--header-->
76 <div·class="contents">75 <div·class="contents">
  
77 <p>A·few·common·exception·classes.··76 <p>Defines·several·output·streams·for·messages·of·different·importance.··
78 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
80 <code>#include·&lt;string&gt;</code><br·/> 
81 <code>#include·&lt;sstream&gt;</code><br·/>79 <code>#include·&lt;stack&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
82 </div>81 </div>
83 <p><a·href="a00185_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00185_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">83 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>85 Classes</h2></td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01548.html">Dune::Exception</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&gt;</a></td></tr>
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·Dune-Exceptions.··<a·href="a01548.html#details">More...</a><br·/></td></tr>87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Greater·or·equal·template·test.··<a·href="a01376.html#details">More...</a><br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01552.html">Dune::ExceptionHook</a></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01380.html">Dune::common_bits&lt;·current,·mask·&gt;</a></td></tr>
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·to·add·a·hook·to·the·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>.··<a·href="a01552.html#details">More...</a><br·/></td></tr>90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">activate·if·current·and·mask·have·common·bits·switched·on.··<a·href="a01380.html#details">More...</a><br·/></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01556.html">Dune::IOError</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01384.html">Dune::DebugStreamError</a></td></tr>
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·class·for·I/O·errors.··<a·href="a01556.html#details">More...</a><br·/></td></tr>93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">standard·exception·for·the·debugstream··<a·href="a01384.html#details">More...</a><br·/></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01560.html">Dune::MathError</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01388.html">Dune::StreamWrap</a></td></tr>
97 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·class·for·mathematical·errors.··<a·href="a01560.html#details">More...</a><br·/></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01564.html">Dune::RangeError</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01392.html">Dune::DebugStreamState</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·class·for·range·errors.··<a·href="a01564.html#details">More...</a><br·/></td></tr>98 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.··<a·href="a01392.html#details">More...</a><br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01568.html">Dune::NotImplemented</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01396.html">Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;</a></td></tr>
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·for·dummy·implementations.··<a·href="a01568.html#details">More...</a><br·/></td></tr>101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·class·to·implement·debug·output·streams.··<a·href="a01396.html#details">More...</a><br·/></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01572.html">Dune::SystemError</a></td></tr> 
106 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·class·for·OS·errors.··<a·href="a01572.html#details">More...</a><br·/></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01576.html">Dune::OutOfMemoryError</a></td></tr> 
109 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·if·memory·allocation·fails.··<a·href="a01576.html#details">More...</a><br·/></td></tr> 
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01580.html">Dune::InvalidStateException</a></td></tr> 
112 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.··<a·href="a01580.html#details">More...</a><br·/></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01584.html">Dune::ParallelError</a></td></tr> 
115 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.··<a·href="a01584.html#details">More...</a><br·/></td></tr> 
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 </table><table·class="memberdecls">103 </table><table·class="memberdecls">
118 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>104 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
119 Namespaces</h2></td></tr>105 Namespaces</h2></td></tr>
120 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>106 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
121 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>107 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 </table><table·class="memberdecls">109 </table><table·class="memberdecls">
124 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
125 Macros</h2></td></tr> 
126 <tr·class="memitem:gad7fce127d6eaabe773adbc409514f21e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(E,··m)</td></tr>111 Typedefs</h2></td></tr>
 112 <tr·class="memitem:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="memItemLeft"·align="right"·valign="top">typedef·unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">Dune::DebugLevel</a></td></tr>
 113 <tr·class="memdesc:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·for·debug·levels.··<a·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">More...</a><br·/></td></tr>
127 <tr·class="separator:gad7fce127d6eaabe773adbc409514f21e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:ga7b78ef57d1b77933ab277ebe66c79d94"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
128 </table><table·class="memberdecls"> 
129 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
130 Functions</h2></td></tr> 
131 <tr·class="memitem:gad42c9f04f7871a06e6149e1a11185404"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gad42c9f04f7871a06e6149e1a11185404">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;stream,·const·Exception·&amp;e)</td></tr> 
132 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 </table>115 </table>
134 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>116 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
135 <div·class="textblock"><p·>A·few·common·exception·classes.·</p> 
136 <p·>This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to·throw·them·in·a·simple·manner·</p>117 <div·class="textblock"><p·>Defines·several·output·streams·for·messages·of·different·importance.·</p>
 118 <p·>This·file·implements·the·class·DebugStream·to·support·output·in·a·variety·of·debug·levels.·Additionally,·template·parameters·control·if·the·output·operation·is·really·performed·so·that·unused·debug·levels·can·be·deactivated·</p>
137 </div></div><!--·contents·-->119 </div></div><!--·contents·-->
138 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
139 <hr·class="footer"/><address·class="footer"><small>121 <hr·class="footer"/><address·class="footer"><small>
140 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
141 </small></address>123 </small></address>
142 </body>124 </body>
143 </html>125 </html>
3.02 KB
html2text {}
    
Offset 4, 65 lines modifiedOffset 4, 49 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Typedefs
 8 debugstream.hh·File·Reference
 9 Common·»·Debug_output
 10 Defines·several·output·streams·for·messages·of·different·importance.·More...
7 Classes·|·Namespaces·|·Macros·|·Functions 
8 exceptions.hh·File·Reference 
9 Common·»·Exception_handling 
10 A·few·common·exception·classes.·More... 
11 #include·<exception> 
12 #include·<string> 
13 #include·<sstream>11 #include·<iostream>
 12 #include·<stack>
 13 #include·<dune/common/exceptions.hh>
14 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
15 ·Classes15 ·Classes
16 ·class· Dune::Exception 
17  ·······Base·class·for·Dune-Exceptions.·More...16 struct· Dune::greater_or_equal<_current,_threshold_>
 17  ·······Greater·or·equal·template·test.·More...
18  18  
19 struct· Dune::ExceptionHook 
20  ·······Base·class·to·add·a·hook·to·the·Dune::Exception.·More...19 struct· Dune::common_bits<_current,_mask_>
 20  ·······activate·if·current·and·mask·have·common·bits·switched·on.·More...
21  21  
22 ·class· Dune::IOError 
23  ·······Default·exception·class·for·I/O·errors.·More...22 ·class· Dune::DebugStreamError
 23  ·······standard·exception·for·the·debugstream·More...
24  24  
 25 ·class· Dune::StreamWrap
25 ·class· Dune::MathError 
26  ·······Default·exception·class·for·mathematical·errors.·More... 
27  26  
28 ·class· Dune::RangeError 
29  ·······Default·exception·class·for·range·errors.·More...27 ·class· Dune::DebugStreamState
 28  ·······Intermediate·class·to·implement·tie-operation·of·DebugStream.·More...
30  29  
 30 ·class· Dune::DebugStream<_thislevel,_dlevel,_alevel,_activator_>
 31  ·······Generic·class·to·implement·debug·output·streams.·More...
31 ·class· Dune::NotImplemented 
32  ·······Default·exception·for·dummy·implementations.·More... 
33   
34 ·class· Dune::SystemError 
35  ·······Default·exception·class·for·OS·errors.·More... 
36   
37 ·class· Dune::OutOfMemoryError 
38  ·······Default·exception·if·memory·allocation·fails.·More... 
39   
40 ·class· Dune::InvalidStateException 
41  ·······Default·exception·if·a·function·was·called·while·the·object·is·not·in 
42 ·········a·valid·state·for·that·function.·More... 
43   
44 ·class· Dune::ParallelError 
45  ·······Default·exception·if·an·error·in·the·parallel·communication·of·the 
46 ·········program·occurred.·More... 
47  32  
48 ·Namespaces33 ·Namespaces
49 namespace· Dune34 namespace· Dune
50  ··········Dune·namespace.35  ··········Dune·namespace.
51  36  
 37 ·Typedefs
 38 typedef·unsigned·int Dune::DebugLevel
 39  ····················Type·for·debug·levels.·More...
52 ·Macros 
53 #define DUNE_THROW(E,·m) 
54   
55 ·Functions 
56 std::ostream·& Dune::operator<<·(std::ostream·&stream,·const·Exception·&e) 
57  40  
58 *****·Detailed·Description·*****41 *****·Detailed·Description·*****
59 A·few·common·exception·classes. 
60 This·file·defines·a·common·framework·for·generating·exception·subclasses·and·to 
61 throw·them·in·a·simple·manner42 Defines·several·output·streams·for·messages·of·different·importance.
 43 This·file·implements·the·class·DebugStream·to·support·output·in·a·variety·of
 44 debug·levels.·Additionally,·template·parameters·control·if·the·output·operation
 45 is·really·performed·so·that·unused·debug·levels·can·be·deactivated
  
62 ===============================================================================46 ===============================================================================
63 ·····Generated·by [doxygen]·1.9.447 ·····Generated·by [doxygen]·1.9.4
89.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00185_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·exceptions.hh·Source·File</title>8 <title>dune-common:·debugstream.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 111 lines modifiedOffset 62, 296 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">exceptions.hh</div></div>68 ··<div·class="headertitle"><div·class="title">debugstream.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00185.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00185.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_EXCEPTIONS_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_DEBUGSTREAM_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_EXCEPTIONS_HH</span></div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_DEBUGSTREAM_HH</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;stack&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 86 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">··118</a></span>··<span·class="keyword">typedef</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>;</div>
85 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="comment">/*·forward·declarations·*/</span></div> 
86 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">class·</span>Exception;</div> 
87 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">struct·</span>ExceptionHook;</div> 
88 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
89 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01548.html">···94</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01548.html">Exception</a></div> 
90 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··:·<span·class="keyword">public</span>·std::exception</div> 
91 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{</div>87 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
92 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">public</span>:</div> 
93 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<a·class="code·hl_function"·href="a00412.html#ga01c6ef86d8728e10ff8b61fdca89b34f">Exception</a>·();</div> 
94 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00412.html#ga63defda88a6437cc9a3dbda91346177f">message</a>(<span·class="keyword">const</span>·std::string·&amp;msg);·</div> 
95 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·<a·class="code·hl_function"·href="a00412.html#gad513d0dc7eb0ba16e634b4048409c417">what</a>()·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·<span·class="keyword">override</span>;·</div> 
96 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00412.html#ga297201b53f24b1d4758c1e8fd94970bd">registerHook</a>·(<a·class="code·hl_struct"·href="a01552.html">ExceptionHook</a>·*·hook);·</div> 
97 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·();··················</div> 
98 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">private</span>:</div>88 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··<span·class="keyword">template</span>·&lt;DebugLevel·current,·DebugLevel·threshold&gt;</div>
99 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····std::string·_message;</div> 
100 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····<span·class="keyword">static</span>·<a·class="code·hl_struct"·href="a01552.html">ExceptionHook</a>·*·_hook;</div>89 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a01376.html">··130</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01376.html">greater_or_equal</a>·{</div>
 90 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga9e5ef41221d78830240c1d5586c329da">··131</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00410.html#ga9e5ef41221d78830240c1d5586c329da">value</a>·=·(current·&gt;=·threshold);</div>
101 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··};</div>91 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··};</div>
102 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>92 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>
103 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno"><a·class="line"·href="a01552.html">··173</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01552.html">ExceptionHook</a></div> 
104 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>··{</div>93 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div>
105 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno"><a·class="line"·href="a00412.html#gac5b2708f8a37c9a4ebb890e4a1545c1c">··175</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a00412.html#gac5b2708f8a37c9a4ebb890e4a1545c1c">~ExceptionHook</a>()·{}</div> 
106 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno"><a·class="line"·href="a00412.html#gab7d05055167bdb067cce622f051cb551">··176</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00412.html#ga[·...·truncated·by·diffoscope;·len:·56,·SHA:·f4323d90e9aab97eba2e85c18002dc45fd9da97bd5b45c5886e95d3dbca92310·...·];</div>94 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··<span·class="keyword">template</span>·&lt;DebugLevel·current,·DebugLevel·mask&gt;</div>
 95 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno"><a·class="line"·href="a01380.html">··142</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01380.html">common_bits</a>·{</div>
 96 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga3263b8f57111ddf7a379bb19ad0daf5e">··143</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00410.html#ga3263b8f57111ddf7a379bb19ad0daf5e">value</a>·=·((current·&amp;·<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)·!=·0);</div>
 97 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··};</div>
 98 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div>
 99 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 100 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno"><a·class="line"·href="a01384.html">··148</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01384.html">DebugStreamError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01556.html">IOError</a>·{};</div>
 101 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div>
 102 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="a01388.html">··150</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01388.html">StreamWrap</a>·{</div>
 103 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··<span·class="keyword">public</span>:</div>
 104 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga06e3c89ca78a336ab9c5d2d13fbb7d86">··152</a></span>····<a·class="code·hl_function"·href="a00410.html#ga06e3c89ca78a336ab9c5d2d13fbb7d86">StreamWrap</a>(std::ostream&amp;·_out)·:·<a·class="code·hl_variable"·href="a00410.html#ga3eaed1d890bb1bc7ba0593b1565d5fe7">out</a>(_out)·{·}</div>
 105 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga3eaed1d890bb1bc7ba0593b1565d5fe7">··153</a></span>····std::ostream&amp;·<a·class="code·hl_variable"·href="a00410.html#ga3eaed1d890bb1bc7ba0593b1565d5fe7">out</a>;</div>
 106 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno"><a·class="line"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">··154</a></span>····<a·class="code·hl_class"·href="a01388.html">StreamWrap</a>·*<a·class="code·hl_variable"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">next</a>;</div>
 107 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>··};</div>
 108 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div>
 109 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno"><a·class="line"·href="a01392.html">··158</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01392.html">DebugStreamState</a>·{</div>
 110 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>····<span·class="comment">//·!!!·should·be·protected·somehow·but·that·won&#39;t·be·easy</span></div>
 111 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··<span·class="keyword">public</span>:</div>
 112 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">··162</a></span>····<a·class="code·hl_class"·href="a01388.html">StreamWrap</a>*·<a·class="code·hl_variable"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">current</a>;</div>
 113 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div>
 114 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga4ca51511bad76b44cdd79716fdc5ad39">··165</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00410.html#ga4ca51511bad76b44cdd79716fdc5ad39">_active</a>;</div>
 115 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>·</div>
 116 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga82ee54f4b88fb895510ed6d4cc92c02d">··168</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00410.html#ga82ee54f4b88fb895510ed6d4cc92c02d">_tied</a>;</div>
 117 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div>
 118 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">··171</a></span>····<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a>;</div>
107 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>··};</div>119 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>··};</div>
108 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>·</div>120 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>·</div>
109 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno"><a·class="line"·href="a00412.html#gad42c9f04f7871a06e6149e1a11185404">··179</a></span>··<span·class="keyword">inline</span>·std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd41[·...·truncated·by·diffoscope;·len:·158,·SHA:·5cde3a46eadbb9a8237eee9ccb125193314615cf1e069a56b8e0311b3473d1bb·...·]</div>121 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>··<span·class="keyword">template</span>·&lt;<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·thislevel·=·1,</div>
 122 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>······<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·dlevel·=·1,</div>
 123 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>······<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·alevel·=·1,</div>
 124 <div·class="line"><a·id="l00191"·name="l00191"></a><span·class="lineno">··191</span>······<span·class="keyword">template</span>&lt;DebugLevel,·DebugLevel&gt;·<span·class="keyword">class·</span>activator·=·<a·class="code·hl_struct"·href="a01376.html">greater_or_equal</a>&gt;</div>
 125 <div·class="line"><a·id="l00192"·name="l00192"></a><span·class="lineno"><a·class="line"·href="a01396.html">··192</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01396.html">DebugStream</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01392.html">DebugStreamState</a>·{</div>
 126 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno">··193</span>··<span·class="keyword">public</span>:</div>
 127 <div·class="line"><a·id="l00199"·name="l00199"></a><span·class="lineno"><a·class="line"·href="a00410.html#ga0f2ab6645431b2552d1d7732583f3a72">··199</a></span>····<a·class="code·hl_function"·href="a00410.html#ga0f2ab6645431b2552d1d7732583f3a72">DebugStream</a>(std::ostream&amp;·out·=·std::cerr)·{</div>
 128 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>······<span·class="comment">//·start·a·new·list·of·streams</span></div>
 129 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno">··201</span>······<a·class="code·hl_variable"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">current</a>·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="a01388.html">StreamWrap</a>(out);</div>
 130 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>······<a·class="code·hl_variable"·href="a00410.html#ga8a430d62e0ab862fbbdf6177d64273bb">current</a>-&gt;<a·class="code·hl_variable"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">next</a>·=·0;</div>
110 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>··{</div>131 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno">··203</span>·</div>
111 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>····<span·class="keywordflow">return</span>·stream·&lt;&lt;·e.<a·class="code·hl_function"·href="a00412.html#gad513d0dc7eb0ba16e634b4048409c417">what</a>();</div>132 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>······<span·class="comment">//·check·if·we·are·above·the·default·activation·level</span></div>
 133 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno">··205</span>······<a·class="code·hl_variable"·href="a00410.html#ga4ca51511bad76b44cdd79716fdc5ad39">_active</a>·=·activator&lt;thislevel,alevel&gt;::value;</div>
 134 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>·</div>
 135 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno">··207</span>······<span·class="comment">//·we&#39;re·not·tied·to·another·DebugStream</span></div>
 136 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>······<a·class="code·hl_variable"·href="a00410.html#ga82ee54f4b88fb895510ed6d4cc92c02d">_tied</a>·=·<span·class="keyword">false</span>;</div>
 137 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>·</div>
 138 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>······<span·class="comment">//·no·child·streams·yet</span></div>
 139 <div·class="line"><a·id="l00211"·name="l00211"></a><span·class="lineno">··211</span>······<a·class="code·hl_variable"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a>·=·0;</div>
112 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>··}</div>140 <div·class="line"><a·id="l00212"·name="l00212"></a><span·class="lineno">··212</span>····}</div>
113 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>141 <div·class="line"><a·id="l00213"·name="l00213"></a><span·class="lineno">··213</span>·</div>
 142 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno"><a·class="line"·href="a00410.html#gaa64698be61f444f86487e2a548ba94ac">··219</a></span>····<a·class="code·hl_function"·href="a00410.html#gaa64698be61f444f86487e2a548ba94ac">DebugStream</a>·(<a·class="code·hl_class"·href="a01392.html">DebugStreamState</a>&amp;·master,</div>
 143 <div·class="line"><a·id="l00220"·name="l00220"></a><span·class="lineno">··220</span>·················std::ostream&amp;·fallback·=·std::cerr)</div>
114 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
115 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>··<span·class="comment">//·the·&quot;format&quot;·the·exception-type·gets·printed.··__FILE__·and</span></div> 
116 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno">··186</span>··<span·class="comment">//·__LINE__·are·standard·C-defines,·the·GNU·cpp-infofile·claims·that</span></div> 
117 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>··<span·class="comment">//·C99·defines·__func__·as·well.·__FUNCTION__·is·a·GNU-extension</span></div> 
118 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span><span·class="preprocessor">#define·THROWSPEC(E)·#·E·&lt;&lt;·&quot;·[&quot;</span>·&lt;&lt;·__func__·&lt;&lt;·&quot;:&quot;·&lt;&lt;·__FILE__·&lt;&lt;·&quot;:&quot;·&lt;&lt;·__LINE__·&lt;&lt;·&quot;]:·&quot;</div> 
119 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div> 
120 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div> 
121 <div·class="line"><a·id="l00216"·name="l00216"></a><span·class="lineno">··216</span>··<span·class="comment">//·this·is·the·magic:·use·the·usual·do·{·...·}·while·(0)·trick,·create</span></div> 
122 <div·class="line"><a·id="l00217"·name="l00217"></a><span·class="lineno">··217</span>··<span·class="comment">//·the·full·message·via·a·string·stream·and·throw·the·created·object</span></div> 
123 <div·class="line"><a·id="l00218"·name="l00218"></a><span·class="lineno"><a·class="line"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">··218</a></span><span·class="preprocessor">#define·DUNE_THROW(E,·m)·do·{·E·th__ex;·std::ostringstream·th__out;·\</span></div> 
124 <div·class="line"><a·id="l00219"·name="l00219"></a><span·class="lineno">··219</span><span·class="preprocessor">······························th__out·&lt;&lt;·THROWSPEC(E)·&lt;&lt;·m;·th__ex.message(th__out.str());·throw·th__ex;·\</span></div> 
Max diff block lines reached; 44534/76736 bytes (58.04%) of diff not shown.
13.9 KB
html2text {}
    
Offset 4, 153 lines modifiedOffset 4, 381 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 exceptions.hh7 debugstream.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·514 ·5
15 ·6#ifndef·DUNE_EXCEPTIONS_HH 
16 ·7#define·DUNE_EXCEPTIONS_HH15 ·6#ifndef·DUNE_DEBUGSTREAM_HH
 16 ·7#define·DUNE_DEBUGSTREAM_HH
17 ·817 ·8
18 ·9#include·<exception> 
19 ·10#include·<string> 
20 ·11#include·<sstream>18 ·13#include·<iostream>
21 ·1219 ·14#include·<stack>
 20 ·15
 21 ·16#include·<dune/common/exceptions.hh>
 22 ·17
22 ·13namespace·Dune·{23 ·18namespace·Dune·{
 24 ·19
 25 118·typedef·unsigned·int·DebugLevel;
 26 ·119
 27 ·129·template·<DebugLevel·current,·DebugLevel·threshold>
 28 130·struct·greater_or_equal·{
 29 131·constexpr·static·bool·value·=·(current·>=·threshold);
 30 ·132·};
 31 ·133
23 ·1432 ·134
24 ·73·/*·forward·declarations·*/ 
25 ·74·class·Exception; 
26 ·75·struct·ExceptionHook; 
27 ·76 
28 94·class·Exception 
29 ·95·:·public·std::exception 
30 ·96·{33 ·141·template·<DebugLevel·current,·DebugLevel·mask>
 34 142·struct·common_bits·{
 35 143·constexpr·static·bool·value·=·((current·&·mask)·!=·0);
 36 ·144·};
 37 ·145
 38 ·146
 39 148·class·DebugStreamError·:·public·IOError·{};
 40 ·149
 41 150·class·StreamWrap·{
 42 ·151·public:
 43 152·StreamWrap(std::ostream&·_out)·:·out(_out)·{·}
 44 153·std::ostream&·out;
 45 154·StreamWrap·*next;
 46 ·155·};
 47 ·156
 48 158·class·DebugStreamState·{
 49 ·159·//·!!!·should·be·protected·somehow·but·that·won't·be·easy
 50 ·160·public:
 51 162·StreamWrap*·current;
 52 ·163
 53 165·bool·_active;
 54 ·166
 55 168·bool·_tied;
 56 ·169
 57 171·unsigned·int·_tied_streams;
 58 ·172·};
 59 ·173
 60 ·188·template·<DebugLevel·thislevel·=·1,
 61 ·189·DebugLevel·dlevel·=·1,
 62 ·190·DebugLevel·alevel·=·1,
 63 ·191·template<DebugLevel,·DebugLevel>·class·activator·=·greater_or_equal>
 64 192·class·DebugStream·:·public·DebugStreamState·{
31 ·97·public:65 ·193·public:
 66 199·DebugStream(std::ostream&·out·=·std::cerr)·{
 67 ·200·//·start·a·new·list·of·streams
 68 ·201·current·=·new·StreamWrap(out);
 69 ·202·current->next·=·0;
 70 ·203
 71 ·204·//·check·if·we·are·above·the·default·activation·level
 72 ·205·_active·=·activator<thislevel,alevel>::value;
 73 ·206
 74 ·207·//·we're·not·tied·to·another·DebugStream
 75 ·208·_tied·=·false;
 76 ·209
 77 ·210·//·no·child·streams·yet
 78 ·211·_tied_streams·=·0;
32 ·98·Exception·(); 
33 ·99·void·message(const·std::string·&msg); 
34 ·100·const·char*·what()·const·noexcept·override; 
35 ·101·static·void·registerHook·(ExceptionHook·*·hook); 
36 ·102·static·void·clearHook·(); 
37 ·103·private: 
38 ·104·std::string·_message; 
39 ·105·static·ExceptionHook·*·_hook; 
40 ·106·}; 
41 ·107 
42 173·struct·ExceptionHook 
43 ·174·{ 
44 175·virtual·~ExceptionHook()·{} 
45 176·virtual·void·operator_()()·=·0; 
46 ·177·}; 
47 ·178 
48 179·inline·std::ostream&·operator<<(std::ostream·&stream,·const·Exception·&e) 
49 ·180·{ 
50 ·181·return·stream·<<·e.what(); 
51 ·182·}79 ·212·}
52 ·18380 ·213
 81 219·DebugStream·(DebugStreamState&·master,
 82 ·220·std::ostream&·fallback·=·std::cerr)
53 ·184#ifndef·DOXYGEN 
54 ·185·//·the·"format"·the·exception-type·gets·printed.·__FILE__·and 
55 ·186·//·__LINE__·are·standard·C-defines,·the·GNU·cpp-infofile·claims·that 
56 ·187·//·C99·defines·__func__·as·well.·__FUNCTION__·is·a·GNU-extension 
57 ·188#define·THROWSPEC(E)·#·E·<<·"·["·<<·__func__·<<·":"·<<·__FILE__·<<·":"·<< 
58 __LINE__·<<·"]:·" 
59 ·189#endif·//·DOXYGEN 
60 ·190 
61 ·216·//·this·is·the·magic:·use·the·usual·do·{·...·}·while·(0)·trick,·create 
62 ·217·//·the·full·message·via·a·string·stream·and·throw·the·created·object 
63 218#define·DUNE_THROW(E,·m)·do·{·E·th__ex;·std::ostringstream·th__out;·\ 
64 ·219·th__out·<<·THROWSPEC(E)·<<·m;·th__ex.message(th__out.str());·throw·th__ex; 
65 \ 
66 ·220}·while·(0) 
67 ·22183 ·221·{
68 231·class·IOError·:·public·Exception·{};84 ·222·//·start·a·new·list·of·streams
Max diff block lines reached; 9410/14255 bytes (66.01%) of diff not shown.
84.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00188.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·debugalign.hh·File·Reference</title>8 <title>dune-common:·hash.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 66, 376 lines modifiedOffset 66, 175 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#define-members">Macros</a>·&#124;72 <a·href="#define-members">Macros</a>·&#124;
73 <a·href="#typedef-members">Typedefs</a>·&#124; 
74 <a·href="#func-members">Functions</a>·&#124;73 <a·href="#func-members">Functions</a>··</div>
75 <a·href="#var-members">Variables</a>··</div> 
76 ··<div·class="headertitle"><div·class="title">debugalign.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">hash.hh·File·Reference</div></div>
77 </div><!--header-->75 </div><!--header-->
78 <div·class="contents">76 <div·class="contents">
  
 77 <p>Support·for·calculating·hash·values·of·objects.··
 78 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>
80 <code>#include·&lt;cassert&gt;</code><br·/> 
81 <code>#include·&lt;cmath&gt;</code><br·/> 
82 <code>#include·&lt;complex&gt;</code><br·/> 
83 <code>#include·&lt;cstddef&gt;</code><br·/> 
84 <code>#include·&lt;cstdint&gt;</code><br·/> 
85 <code>#include·&lt;cstdlib&gt;</code><br·/> 
86 <code>#include·&lt;functional&gt;</code><br·/> 
87 <code>#include·&lt;istream&gt;</code><br·/> 
88 <code>#include·&lt;ostream&gt;</code><br·/> 
89 <code>#include·&lt;type_traits&gt;</code><br·/> 
90 <code>#include·&lt;utility&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
94 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/> 
95 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
96 </div>81 </div>
97 <p><a·href="a00188_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00188_source.html">Go·to·the·source·code·of·this·file.</a></p>
98 <table·class="memberdecls">83 <table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
100 Classes</h2></td></tr>85 Classes</h2></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01352.html">Dune::AlignedBase&lt;·align,·Impl·&gt;</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01856.html">Dune::hash&lt;·T·&gt;</a></td></tr>
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">CRTP·base·mixin·class·to·check·alignment.··<a·href="a01352.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01360.html">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr> 
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01356.html">Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;</a></td></tr> 
107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">aligned·wrappers·for·arithmetic·types··<a·href="a01356.html#details">More...</a><br·/></td></tr>87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Functor·for·hashing·objects·of·type·T.··<a·href="a01856.html#details">More...</a><br·/></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01364.html">Dune::Simd::Overloads::ScalarType&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr> 
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01368.html">Dune::Simd::Overloads::RebindType&lt;·U,·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr> 
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01372.html">Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr> 
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
117 Namespaces</h2></td></tr>91 Namespaces</h2></td></tr>
118 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
119 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 <tr·class="memitem:a00428"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html">Dune::AlignedNumberImpl</a></td></tr> 
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr> 
124 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr> 
125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr> 
127 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr> 
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
130 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
131 Macros</h2></td></tr>97 Macros</h2></td></tr>
 98 <tr·class="memitem:a19447db8894b6d86b6b7ef0218694820"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html#a19447db8894b6d86b6b7ef0218694820">DUNE_DEFINE_HASH</a>(template_args,··type)</td></tr>
 99 <tr·class="memdesc:a19447db8894b6d86b6b7ef0218694820"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·the·required·struct·specialization·to·make·type·hashable·via·<code><a·class="el"·href="a01856.html"·title="Functor·for·hashing·objects·of·type·T.">Dune::hash</a></code>.··<a·href="a00188.html#a19447db8894b6d86b6b7ef0218694820">More...</a><br·/></td></tr>
 100 <tr·class="separator:a19447db8894b6d86b6b7ef0218694820"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:ad88c05071e8aafc3796b6d6238900697"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html#ad88c05071e8aafc3796b6d6238900697">DUNE_HASH_TEMPLATE_ARGS</a>(...)</td></tr>
 102 <tr·class="memdesc:ad88c05071e8aafc3796b6d6238900697"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.··<a·href="a00188.html#ad88c05071e8aafc3796b6d6238900697">More...</a><br·/></td></tr>
 103 <tr·class="separator:ad88c05071e8aafc3796b6d6238900697"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
132 <tr·class="memitem:ac631559314e81560b9e4d2949a9c6f9e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(OP)</td></tr>104 <tr·class="memitem:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">DUNE_HASH_TYPE</a>(...)</td></tr>
 105 <tr·class="memdesc:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.··<a·href="a00188.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">More...</a><br·/></td></tr>
133 <tr·class="separator:ac631559314e81560b9e4d2949a9c6f9e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:a48ea57ba3831fb7e8bbea1d8e1d27f4f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
134 <tr·class="memitem:a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(OP)</td></tr> 
135 <tr·class="separator:a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 <tr·class="memitem:a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(name)</td></tr> 
137 <tr·class="separator:a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 </table><table·class="memberdecls"> 
139 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
140 Typedefs</h2></td></tr> 
141 <tr·class="memitem:aeeddbd17746ee9ac74ce286741916e4c"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">Dune::ViolatedAlignmentHandler</a>·=·std::function&lt;·void(const·char·*,·std::size_t,·const·void·*)&gt;</td></tr> 
142 <tr·class="memdesc:aeeddbd17746ee9ac74ce286741916e4c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·the·handler·called·by·<code><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe"·title="called·when·an·alignment·violation·is·detected">violatedAlignment()</a></code>··<a·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">More...</a><br·/></td></tr> 
143 <tr·class="separator:aeeddbd17746ee9ac74ce286741916e4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 </table><table·class="memberdecls">107 </table><table·class="memberdecls">
145 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
146 Functions</h2></td></tr>109 Functions</h2></td></tr>
 110 <tr·class="memitem:aa4f0199c109bde1698fb5279a414d01a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 111 <tr·class="memitem:aa4f0199c109bde1698fb5279a414d01a"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa4f0199c109bde1698fb5279a414d01a">Dune::hash_combine</a>·(std::size_t·&amp;seed,·const·T·&amp;arg)</td></tr>
 112 <tr·class="memdesc:aa4f0199c109bde1698fb5279a414d01a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·hash·value·of·arg·and·combines·it·in-place·with·seed.··<a·href="a00425.html#aa4f0199c109bde1698fb5279a414d01a">More...</a><br·/></td></tr>
147 <tr·class="memitem:abeb716c21bff1ff9559bb62074d90e86"><td·class="memItemLeft"·align="right"·valign="top">ViolatedAlignmentHandler·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">Dune::violatedAlignmentHandler</a>·()</td></tr> 
148 <tr·class="memdesc:abeb716c21bff1ff9559bb62074d90e86"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·the·handler·called·by·<code><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe"·title="called·when·an·alignment·violation·is·detected">violatedAlignment()</a></code>··<a·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">More...</a><br·/></td></tr> 
149 <tr·class="separator:abeb716c21bff1ff9559bb62074d90e86"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 <tr·class="memitem:a0e6c32c539889f324d46417dca3dfebe"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">Dune::violatedAlignment</a>·(const·char·*className,·std::size_t·expectedAlignment,·const·void·*address)</td></tr> 
151 <tr·class="memdesc:a0e6c32c539889f324d46417dca3dfebe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">called·when·an·alignment·violation·is·detected··<a·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">More...</a><br·/></td></tr> 
152 <tr·class="separator:a0e6c32c539889f324d46417dca3dfebe"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
153 <tr·class="memitem:abf9e4364af213c448afdf072eea1b913"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abf9e4364af213c448afdf072eea1b913">Dune::isAligned</a>·(const·void·*p,·std::size_t·align)</td></tr> 
154 <tr·class="memdesc:abf9e4364af213c448afdf072eea1b913"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·an·address·conforms·to·the·given·alignment··<a·href="a00425.html#abf9e4364af213c448afdf072eea1b913">More...</a><br·/></td></tr> 
155 <tr·class="separator:abf9e4364af213c448afdf072eea1b913"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·align·=·debugAlignment,·class·T·&gt;·</td></tr> 
157 <tr·class="memitem:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memTemplItemLeft"·align="right"·valign="top">AlignedNumber&lt;·T,·align·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab907d00e446cb6ec96109e7d32fbe9e0">Dune::aligned</a>·(T·value)</td></tr> 
158 <tr·class="memdesc:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">align·a·value·to·a·certain·alignment··<a·href="a00425.html#ab907d00e446cb6ec96109e7d32fbe9e0">More...</a><br·/></td></tr> 
159 <tr·class="separator:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
160 <tr·class="memitem:a369805c961075a51b0298fbff650155f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#a369805c961075a51b0298fbff650155f">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(+)</td></tr> 
161 <tr·class="separator:a369805c961075a51b0298fbff650155f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:af9ad98aaa0d1920b38f0769ebb275bed"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#af9ad98aaa0d1920b38f0769ebb275bed">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(-)</td></tr> 
163 <tr·class="separator:af9ad98aaa0d1920b38f0769ebb275bed"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 17029/67070 bytes (25.39%) of diff not shown.
18.9 KB
html2text {}
    
Offset 4, 395 lines modifiedOffset 4, 131 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Macros·|·Typedefs·|·Functions·|·Variables7 Classes·|·Namespaces·|·Macros·|·Functions
8 debugalign.hh·File·Reference8 hash.hh·File·Reference
 9 Support·for·calculating·hash·values·of·objects.·More...
9 #include·<algorithm> 
10 #include·<cassert> 
11 #include·<cmath> 
12 #include·<complex> 
13 #include·<cstddef> 
14 #include·<cstdint> 
15 #include·<cstdlib> 
16 #include·<functional>10 #include·<functional>
17 #include·<istream> 
18 #include·<ostream> 
19 #include·<type_traits> 
20 #include·<utility> 
21 #include·<dune/common/classname.hh> 
22 #include·<dune/common/indices.hh> 
23 #include·<dune/common/simd/base.hh> 
24 #include·<dune/common/simd/defaults.hh> 
25 #include·<dune/common/typetraits.hh>11 #include·<dune/common/typetraits.hh>
26 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
27 ·Classes13 ·Classes
 14 struct· Dune::hash<_T_>
 15  ·······Functor·for·hashing·objects·of·type·T.·More...
28 ·class· Dune::AlignedBase<_align,_Impl_> 
29  ·······CRTP·base·mixin·class·to·check·alignment.·More... 
30   
31 struct· Dune::IsNumber<_AlignedNumberImpl::AlignedNumber<_T,_align_>_> 
32   
33 ·class· Dune::AlignedNumberImpl::AlignedNumber<_T,_align_> 
34  ·······aligned·wrappers·for·arithmetic·types·More... 
35   
36 struct· Dune::Simd::Overloads::ScalarType<_AlignedNumber<_T,_align_>_> 
37   
38 struct· Dune::Simd::Overloads::RebindType<_U,_AlignedNumber<_T,_align_>_> 
39   
40 struct· Dune::Simd::Overloads::LaneCount<_AlignedNumber<_T,_align_>_> 
41  16  
42 ·Namespaces17 ·Namespaces
43 namespace· Dune18 namespace· Dune
44  ··········Dune·namespace.19  ··········Dune·namespace.
45  20  
46 namespace· Dune::AlignedNumberImpl 
47   
48 namespace· Dune::Simd 
49  ··········Namespace·for·vectorization·interface·functions·used·by·library 
50 ············developers. 
51   
52 namespace· Dune::Simd::Overloads 
53  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
54 ············implementation. 
55   
56 ·Macros21 ·Macros
57 #define DUNE_ASSIGN_OP(OP) 
58   
59 #define DUNE_BINARY_OP(OP)22 #define DUNE_DEFINE_HASH(template_args,·type)
 23  ·······Defines·the·required·struct·specialization·to·make·type·hashable·via
 24 ·········Dune::hash.·More...
60  25  
61 #define DUNE_UNARY_FUNC(name)26 #define DUNE_HASH_TEMPLATE_ARGS(...)
 27  ·······Wrapper·macro·for·the·template·arguments·in·DUNE_DEFINE_HASH.·More...
62  28  
 29 #define DUNE_HASH_TYPE(...)
 30  ·······Wrapper·macro·for·the·type·to·be·hashed·in·DUNE_DEFINE_HASH.·More...
63 ·Typedefs 
64 using Dune::ViolatedAlignmentHandler·=·std::function<·void(const·char·*,·std:: 
65 ·······size_t,·const·void·*)> 
66  ·····type·of·the·handler·called·by·violatedAlignment()·More... 
67  31  
68 ·Functions32 ·Functions
69 ·······ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·() 
70  ·································access·the·handler·called·by 
71 ···································violatedAlignment()·More...33 template<typename·T·>
 34 ·······void Dune::hash_combine·(std::size_t·&seed,·const·T·&arg)
 35  ···········Calculates·the·hash·value·of·arg·and·combines·it·in-place·with
 36 ·············seed.·More...
72  37  
 38 template<typename·It·>
 39 std::size_t Dune::hash_range·(It·first,·It·last)
 40  ···········Hashes·all·elements·in·the·range·[first,last)·and·returns·the
 41 ·············combined·hash.·More...
73 ·····························void Dune::violatedAlignment·(const·char 
74 ···································*className,·std::size_t·expectedAlignment, 
75 ···································const·void·*address) 
76  ·································called·when·an·alignment·violation·is 
77 ···································detected·More... 
78  42  
79 ·····························bool Dune::isAligned·(const·void·*p,·std::size_t 
80 ···································align) 
81  ·································check·whether·an·address·conforms·to·the 
82 ···································given·alignment·More...43 template<typename·It·>
 44 ·······void Dune::hash_range·(std::size_t·&seed,·It·first,·It·last)
 45  ···········Hashes·all·elements·in·the·range·[first,last)·and·combines·the
 46 ·············hashes·in-place·with·seed.·More...
83  47  
 48 *****·Detailed·Description·*****
 49 Support·for·calculating·hash·values·of·objects.
 50 This·file·provides·the·functor·Dune::hash·to·calculate·hash·values·and·some
 51 infrastructure·to·simplify·extending·Dune::hash·for·user-defined·types,
 52 independent·of·the·actual·underlying·implementation.
84 template<std::size_t·align·=·debugAlignment,·class·T·> 
85 ········AlignedNumber<·T,·align·> Dune::aligned·(T·value) 
86  ·································align·a·value·to·a·certain·alignment·More... 
87   
88 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(+) 
89   
90 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(-) 
91   
92 ·················DUNE_BINARY_OP·* Dune::AlignedNumberImpl::DUNE_BINARY_OP·(/ 
93 ···································);DUNE_BINARY_OP(% 
94   
95 ··················DUNE_BINARY_OP^ Dune::AlignedNumberImpl::DUNE_BINARY_OP 
96 ···································(&);DUNE_BINARY_OP(| 
97   
98 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(<<) 
99   
100 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(> 
101 ···································>) 
102   
103 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(==) 
Max diff block lines reached; 5056/19375 bytes (26.10%) of diff not shown.
195 KB
./usr/share/doc/libdune-common-doc/doxygen/a00188_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·debugalign.hh·Source·File</title>8 <title>dune-common:·hash.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 613 lines modifiedOffset 62, 279 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">debugalign.hh</div></div>68 ··<div·class="headertitle"><div·class="title">hash.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00188.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00188.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEBUGALIGN_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_HASH_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEBUGALIGN_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_HASH_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span>·<span·class="comment">//·abs</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 82 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment">//·********************************************************************************</span></div>
 83 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">//·Doxygen·documentation</span></div>
 84 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">//·********************************************************************************</span></div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>85 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 86 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00383.html">dune/common/classname.hh</a>&gt;</span></div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00173.html">dune/common/indices.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/simd/base.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00272.html">dune/common/simd/defaults.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>87 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>88 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div> 
99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">···30</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">ViolatedAlignmentHandler</a>·=</div> 
100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····std::function&lt;void(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*,·std::size_t,·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*)&gt;;</div> 
101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>89 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
102 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<a·class="code·hl_typedef"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">ViolatedAlignmentHandler</a>·&amp;<a·class="code·hl_function"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">viol[·...·truncated·by·diffoscope;·len:·26,·SHA:·e2fb3f497a8c9e8d092d8f125ccac133ecdf793f8c308efaf12bd029d2ae0c92·...·];</div>91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01856.html">···39</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01856.html">hash</a></div>
 93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··{</div>
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 95 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01856.html#ae27633febd753959d3b8ab013e8bb4a7">···43</a></span>····std::size_t·<a·class="code·hl_function"·href="a01856.html#ae27633febd753959d3b8ab013e8bb4a7">operator()</a>(<span·class="keyword">const</span>·T&amp;·t)<span·class="keyword">·const</span></div>
 96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="keyword">····</span>{</div>
 97 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a01856.html">hash</a>(t);</div>
 98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}</div>
105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
106 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">violatedAlignment</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>,·std::size_t·expectedAlignment,</div> 
107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·························<span·class="keyword">const</span>·<span·class="keywordtype">void</span>·*address);</div> 
108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00425.html#abf9e4364af213c448afdf072eea1b913">···56</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#abf9e4364af213c448afdf072eea1b913">isAligned</a>(<span·class="keyword">const</span>·<span·class="keywordtype">void</span>·*p,·std::size_t·align)</div> 
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{</div> 
111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//·a·more·portable·way·to·do·this·would·be·to·abuse·std::align(),·but·that</span></div> 
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="comment">//·isn&#39;t·supported·by·g++-4.9·yet</span></div> 
113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·std::uintptr_t(p)·%·align·==·0;</div> 
114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div> 
115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> 
116 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·align,·<span·class="keyword">class</span>·Impl&gt;</div> 
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01352.html">···65</a></span>··<span·class="keyword">class·</span>alignas(align)·<a·class="code·hl_class"·href="a01352.html">AlignedBase</a></div> 
118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div> 
119 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keywordtype">void</span>·checkAlignment()<span·class="keyword">·const</span></div> 
120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div> 
121 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keyword">auto</span>·pimpl·=·<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>Impl*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>);</div> 
122 <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="a00425.html#abf9e4364af213c448afdf072eea1b913">isAligned</a>(pimpl,·align))</div> 
123 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<a·class="code·hl_function"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">violatedAlignment</a>(className&lt;Impl&gt;().c_str(),·align,·pimpl);</div> 
124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div> 
125 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">public</span>:</div> 
126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01352.html#aefd3a8d5a861f72c5d3daf2042b37c60">···74</a></span>····<a·class="code·hl_function"·href="a01352.html#aefd3a8d5a861f72c5d3daf2042b37c60">AlignedBase</a>()····················{·checkAlignment();·}</div> 
127 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01352.html#aeefae775a26ac5838489c6a095783024">···75</a></span>····<a·class="code·hl_function"·href="a01352.html#aeefae775a26ac5838489c6a095783024">AlignedBase</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>·&amp;)·{·checkAlignment();·}</div> 
128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01352.html#a8ab2f10ea442b779556c5efcd59b8c47">···76</a></span>····<a·class="code·hl_function"·href="a01352.html#a8ab2f10ea442b779556c5efcd59b8c47">AlignedBase</a>(<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>·&amp;&amp;)······{·checkAlignment();·}</div> 
129 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01352.html#a21ec503814f8c7af0494a86215d4a591">···77</a></span>····<a·class="code·hl_function"·href="a01352.html#a21ec503814f8c7af0494a86215d4a591">~AlignedBase</a>()···················{·checkAlignment();·}</div> 
130 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div> 
131 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01352.html#ab9b8b9ec0d624f6a6564ffcf527b0420">···79</a></span>····<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>&amp;·<a·class="code·hl_function"·href="a01352.html#ab9b8b9ec0d624f6a6564ffcf527b0420">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>·&amp;)·=·<span·class="keywordflow">default</span>;</div> 
132 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01352.html#a779f8064a92b1db9cf92eca9d7a9efb8">···80</a></span>····<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>&amp;·<a·class="code·hl_function"·href="a01352.html#a779f8064a92b1db9cf92eca9d7a9efb8">operator=</a>(<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>·&amp;&amp;)······=·<span·class="keywordflow">default</span>;</div> 
133 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··};</div>100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div>
134 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> 
135 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00425.html#a6560bc030b518cf2da62724367f6ccdc">···84</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a00425.html#a6560bc030b518cf2da62724367f6ccdc">debugAlignment</a>·=·2*<span·class="keyword">alignof</span>(std::max_align_t);</div> 
136 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
137 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00428.html">···86</a></span>··<span·class="keyword">namespace·</span>AlignedNumberImpl·{</div> 
138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·align·=·debugAlignment&gt;</div> 
140 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01356.html">AlignedNumber</a>;</div> 
141 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}·<span·class="comment">//·namespace·AlignedNumberImpl</span></div>102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div>
143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
144 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01356.html">AlignedNumberImpl::AlignedNumber</a>;</div> 
145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>
 105 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a00188.html#a19447db8894b6d86b6b7ef0218694820">··100</a></span><span·class="preprocessor">#define·DUNE_DEFINE_HASH(template_args,type)</span></div>
146 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·align&gt;</div> 
147 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01360.html">···96</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01300.html">IsNumber</a>&lt;AlignedNumberImpl::<a·class="code·hl_class"·href="a01356.html">AlignedNumber</a>&lt;T,align&gt;&gt;</div> 
148 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······:·<span·class="keyword">public</span>·std::true_type·{};</div> 
149 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>106 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
150 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·align·=·debugAlignment,·<span·class="keyword">class</span>·T&gt;</div> 
151 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00425.html#ab907d00e446cb6ec96109e7d32fbe9e0">··101</a></span>··<a·class="code·hl_class"·href="a01356.html">AlignedNumber&lt;T,·align&gt;</a>·<a·class="code·hl_function"·href="a00425.html#ab907d00e446cb6ec96109e7d32fbe9e0">aligned</a>(T·value)·{·<span·class="keywordflow">return</span>·{·std::move(value)·};·}</div> 
152 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>107 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 108 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 109 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a00188.html#ad88c05071e8aafc3796b6d6238900697">··109</a></span><span·class="preprocessor">#define·DUNE_HASH_TEMPLATE_ARGS(...)</span></div>
153 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="comment">//·The·purpose·of·this·namespace·is·to·move·the·`&lt;cmath&gt;`·function·overloads</span></div> 
154 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="comment">//·out·of·namespace·`Dune`.··This·avoids·problems·where·people·called</span></div> 
155 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="comment">//·e.g.·`sqrt(1.0)`·inside·the·`Dune`·namespace,·without·first·doing·`using</span></div> 
156 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="comment">//·std::sqrt;`.··Without·any·`Dune::sqrt()`,·such·a·use·will·find</span></div> 
Max diff block lines reached; 143187/166424 bytes (86.04%) of diff not shown.
32.2 KB
html2text {}
    
Offset 4, 748 lines modifiedOffset 4, 332 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 debugalign.hh7 hash.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DEBUGALIGN_HH 
15 ·6#define·DUNE_DEBUGALIGN_HH14 ·5#ifndef·DUNE_COMMON_HASH_HH
 15 ·6#define·DUNE_COMMON_HASH_HH
16 ·716 ·7
17 ·8#include·<algorithm> 
18 ·9#include·<cassert> 
19 ·10#include·<cmath> 
20 ·11#include·<complex> 
21 ·12#include·<cstddef> 
22 ·13#include·<cstdint> 
23 ·14#include·<cstdlib>·//·abs 
24 ·15#include·<functional>17 ·8#include·<functional>
 18 ·9
25 ·16#include·<istream> 
26 ·17#include·<ostream> 
27 ·18#include·<type_traits> 
28 ·19#include·<utility> 
29 ·20 
30 ·21#include·<dune/common/classname.hh> 
31 ·22#include·<dune/common/indices.hh> 
32 ·23#include·<dune/common/simd/base.hh> 
33 ·24#include·<dune/common/simd/defaults.hh> 
34 ·25#include·<dune/common/typetraits.hh>19 ·10#include·<dune/common/typetraits.hh>
 20 ·11
 21 ·24/
 22 /
 23 ********************************************************************************
 24 ·25//·Doxygen·documentation
35 ·2625 ·26/
 26 /
 27 ********************************************************************************
 28 ·27
 29 ·28#ifdef·DOXYGEN
 30 ·29
36 ·27namespace·Dune·{31 ·30namespace·Dune·{
 32 ·31
 33 ·33
 34 ·38·template<typename·T>
 35 39·struct·hash
 36 ·40·{
37 ·28 
38 30·using·ViolatedAlignmentHandler·= 
39 ·31·std::function<void(const·char*,·std::size_t,·const·void*)>; 
40 ·32 
41 ·34 
42 ·40·ViolatedAlignmentHandler·&violatedAlignmentHandler(); 
43 ·4137 ·41
 38 43·std::size_t·operator()(const·T&·t)·const
 39 ·44·{
 40 ·45·return·hash(t);
44 ·43 
45 ·52·void·violatedAlignment(const·char·*className,·std::size_t 
46 expectedAlignment, 
47 ·53·const·void·*address); 
48 ·54 
49 56·inline·bool·isAligned(const·void·*p,·std::size_t·align) 
50 ·57·{ 
51 ·58·//·a·more·portable·way·to·do·this·would·be·to·abuse·std::align(),·but·that 
52 ·59·//·isn't·supported·by·g++-4.9·yet 
53 ·60·return·std::uintptr_t(p)·%·align·==·0; 
54 ·61·}41 ·46·}
 42 ·47
55 ·62 
56 ·64·template<std::size_t·align,·class·Impl> 
57 65·class·alignas(align)·AlignedBase 
58 ·66·{ 
59 ·67·void·checkAlignment()·const 
60 ·68·{ 
61 ·69·auto·pimpl·=·static_cast<const·Impl*>(this); 
62 ·70·if(!isAligned(pimpl,·align)) 
63 ·71·violatedAlignment(className<Impl>().c_str(),·align,·pimpl); 
64 ·72·} 
65 ·73·public: 
66 74·AlignedBase()·{·checkAlignment();·} 
67 75·AlignedBase(const·AlignedBase·&)·{·checkAlignment();·} 
68 76·AlignedBase(AlignedBase·&&)·{·checkAlignment();·} 
69 77·~AlignedBase()·{·checkAlignment();·} 
70 ·78 
71 79·AlignedBase&·operator=(const·AlignedBase·&)·=·default; 
72 80·AlignedBase&·operator=(AlignedBase·&&)·=·default; 
73 ·81·};43 ·48·};
 44 ·49
 45 ·50}
 46 ·51
 47 ·53
 48 100#define·DUNE_DEFINE_HASH(template_args,type)
 49 ·101
74 ·82 
75 84·static·constexpr·auto·debugAlignment·=·2*alignof(std::max_align_t); 
76 ·85 
77 86·namespace·AlignedNumberImpl·{ 
78 ·87 
79 ·88·template<class·T,·std::size_t·align·=·debugAlignment> 
80 ·89·class·AlignedNumber; 
81 ·90 
82 ·91·}·//·namespace·AlignedNumberImpl 
83 ·92 
84 ·93·using·AlignedNumberImpl::AlignedNumber; 
85 ·94 
86 ·95·template<class·T,·std::size_t·align> 
87 96·struct·IsNumber<AlignedNumberImpl::AlignedNumber<T,align>> 
88 ·97·:·public·std::true_type·{}; 
89 ·98 
90 ·100·template<std::size_t·align·=·debugAlignment,·class·T> 
91 101·AlignedNumber<T,_align>·aligned(T·value)·{·return·{·std::move(value)·};·} 
92 ·10250 ·102
 51 ·104
 52 109#define·DUNE_HASH_TEMPLATE_ARGS(...)
93 ·103·//·The·purpose·of·this·namespace·is·to·move·the·`<cmath>`·function 
94 overloads 
95 ·104·//·out·of·namespace·`Dune`.·This·avoids·problems·where·people·called 
96 ·105·//·e.g.·`sqrt(1.0)`·inside·the·`Dune`·namespace,·without·first·doing 
97 `using 
Max diff block lines reached; 29017/32939 bytes (88.09%) of diff not shown.
16.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00191.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·hybridutilities.hh·File·Reference</title>8 <title>dune-common:·conditional.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 82 lines modifiedOffset 65, 32 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">hybridutilities.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">conditional.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/> 
76 <code>#include·&lt;utility&gt;</code><br·/> 
77 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
78 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/indices.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00296_source.html">dune/common/assertandreturn.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
83 </div> 
84 <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <p><a·href="a00191_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">76 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
87 Namespaces</h2></td></tr>78 Namespaces</h2></td></tr>
88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a00439"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00439.html">Dune::Hybrid</a></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 </table><table·class="memberdecls">82 </table><table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
95 Functions</h2></td></tr>84 Functions</h2></td></tr>
96 <tr·class="memitem:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
97 <tr·class="memitem:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">Dune::Hybrid::size</a>·(const·T·&amp;t)</td></tr> 
98 <tr·class="memdesc:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Size·query.··<a·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">More...</a><br·/></td></tr> 
99 <tr·class="separator:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memTemplParams"·colspan="2">template&lt;class·Container·,·class·Index·&gt;·</td></tr> 
101 <tr·class="memitem:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">Dune::Hybrid::elementAt</a>·(Container·&amp;&amp;c,·Index·&amp;&amp;i)</td></tr> 
102 <tr·class="memdesc:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·element·at·given·position·from·container.··<a·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">More...</a><br·/></td></tr> 
103 <tr·class="separator:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memTemplParams"·colspan="2">template&lt;class·Begin·,·class·End·&gt;·</td></tr> 
105 <tr·class="memitem:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gaacd5d1927ffa1d96adf1db1fdbaba28c">Dune::Hybrid::integralRange</a>·(const·Begin·&amp;begin,·const·End·&amp;end)</td></tr> 
106 <tr·class="memdesc:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·integral·range.··<a·href="a00405.html#gaacd5d1927ffa1d96adf1db1fdbaba28c">More...</a><br·/></td></tr> 
107 <tr·class="separator:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memTemplParams"·colspan="2">template&lt;class·End·&gt;·</td></tr>85 <tr·class="memitem:aa7df1a64bf1697e91502bce842535577"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·typename·T2·&gt;·</td></tr>
109 <tr·class="memitem:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga1a44b7c50255662ec8d3553925ce9b46">Dune::Hybrid::integralRange</a>·(const·End·&amp;end)</td></tr> 
110 <tr·class="memdesc:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·integral·range·starting·from·0.··<a·href="a00405.html#ga1a44b7c50255662ec8d3553925ce9b46">More...</a><br·/></td></tr>86 <tr·class="memitem:aa7df1a64bf1697e91502bce842535577"><td·class="memTemplItemLeft"·align="right"·valign="top">const·T1&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa7df1a64bf1697e91502bce842535577">Dune::cond</a>·(bool·b,·cons[·...·truncated·by·diffoscope;·len:·31,·SHA:·83ffac20ded1acfdb70af06a03063ede595360176024d2ff400bf2aa14bd712d·...·]</td></tr>
 87 <tr·class="memdesc:aa7df1a64bf1697e91502bce842535577"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">conditional·evaluate··<a·href="a00425.html#aa7df1a64bf1697e91502bce842535577">More...</a><br·/></td></tr>
111 <tr·class="separator:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:aa7df1a64bf1697e91502bce842535577"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·F·&gt;·</td></tr> 
113 <tr·class="memitem:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">Dune::Hybrid::forEach</a>·(Range·&amp;&amp;range,·F·&amp;&amp;f)</td></tr> 
114 <tr·class="memdesc:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Range·based·for·loop.··<a·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">More...</a><br·/></td></tr> 
115 <tr·class="separator:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·T·,·class·F·&gt;·</td></tr> 
117 <tr·class="memitem:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·T&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gaf41421cb94c1a0a3d334eeb409701620">Dune::Hybrid::accumulate</a>·(Range·&amp;&amp;range,·T·value,·F·&amp;&amp;f)</td></tr> 
118 <tr·class="memdesc:gaf41421cb94c1a0a3d334eeb409701620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Accumulate·values.··<a·href="a00405.html#gaf41421cb94c1a0a3d334eeb409701620">More...</a><br·/></td></tr> 
119 <tr·class="separator:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:gaac1691e6004f0428bdacab6407152807"><td·class="memTemplParams"·colspan="2">template&lt;class·Condition·,·class·IfFunc·,·class·ElseFunc·&gt;·</td></tr> 
121 <tr·class="memitem:gaac1691e6004f0428bdacab6407152807"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gaac1691e6004f0428bdacab6407152807">Dune::Hybrid::ifElse</a>·(const·Condition·&amp;condition,·IfFunc·&amp;&amp;ifFunc,·ElseFunc·&amp;&amp;elseFunc)</td></tr> 
122 <tr·class="memdesc:gaac1691e6004f0428bdacab6407152807"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·conditional·expression.··<a·href="a00405.html#gaac1691e6004f0428bdacab6407152807">More...</a><br·/></td></tr> 
123 <tr·class="separator:gaac1691e6004f0428bdacab6407152807"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memTemplParams"·colspan="2">template&lt;class·Condition·,·class·IfFunc·&gt;·</td></tr> 
125 <tr·class="memitem:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga044cfa54089ac3509d0a3a24b85ef42b">Dune::Hybrid::ifElse</a>·(const·Condition·&amp;condition,·IfFunc·&amp;&amp;ifFunc)</td></tr> 
126 <tr·class="memdesc:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·conditional·expression.··<a·href="a00405.html#ga044cfa54089ac3509d0a3a24b85ef42b">More...</a><br·/></td></tr> 
127 <tr·class="separator:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·T2·&gt;·</td></tr> 
129 <tr·class="memitem:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga1f6da8119c5af45fe0413b9f75ef9861">Dune::Hybrid::equals</a>·(T1·&amp;&amp;t1,·T2·&amp;&amp;t2)</td></tr> 
130 <tr·class="memdesc:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Equality·comparison.··<a·href="a00405.html#ga1f6da8119c5af45fe0413b9f75ef9861">More...</a><br·/></td></tr> 
131 <tr·class="separator:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memTemplParams"·colspan="2">template&lt;class·Cases·,·class·Value·,·class·Branches·,·class·ElseBranch·&gt;·</td></tr> 
133 <tr·class="memitem:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga57705e4850c91cd0a92b452384bdc0a0">Dune::Hybrid::switchCases</a>·(const·Cases·&amp;cases,·const·Value·&amp;value,·Branches·&amp;&amp;branches,·ElseBranch·&amp;&amp;elseBranch)</td></tr> 
134 <tr·class="memdesc:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Switch·statement.··<a·href="a00405.html#ga57705e4850c91cd0a92b452384bdc0a0">More...</a><br·/></td></tr> 
135 <tr·class="separator:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 <tr·class="memitem:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memTemplParams"·colspan="2">template&lt;class·Cases·,·class·Value·,·class·Branches·&gt;·</td></tr> 
137 <tr·class="memitem:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gaa3c378c2ae090a6b608ec667486ede4b">Dune::Hybrid::switchCases</a>·(const·Cases·&amp;cases,·const·Value·&amp;value,·Branches·&amp;&amp;branches)</td></tr> 
138 <tr·class="memdesc:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Switch·statement.··<a·href="a00405.html#gaa3c378c2ae090a6b608ec667486ede4b">More...</a><br·/></td></tr> 
139 <tr·class="separator:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
140 </table>89 </table>
141 </div><!--·contents·-->90 </div><!--·contents·-->
142 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
143 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
144 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.493 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
145 </small></address>94 </small></address>
146 </body>95 </body>
3.08 KB
html2text {}
    
Offset 5, 78 lines modifiedOffset 5, 21 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Namespaces·|·Functions8 Namespaces·|·Functions
 9 conditional.hh·File·Reference
9 hybridutilities.hh·File·Reference 
10 #include·<tuple> 
11 #include·<utility> 
12 #include·<dune/common/typetraits.hh> 
13 #include·<dune/common/typeutilities.hh> 
14 #include·<dune/common/fvector.hh> 
15 #include·<dune/common/indices.hh> 
16 #include·<dune/common/assertandreturn.hh> 
17 #include·<dune/common/rangeutilities.hh> 
18 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
19 ·Namespaces11 ·Namespaces
20 namespace· Dune12 namespace· Dune
21  ··········Dune·namespace.13  ··········Dune·namespace.
22  14  
23 namespace· Dune::Hybrid 
24   
25 ·Functions15 ·Functions
 16 template<typename·T1·,·typename·T2·>
 17 const·T1 Dune::cond·(bool·b,·const·T1·&v1,·const·T2·&v2)
 18  ········conditional·evaluate·More...
26 template<class·T·> 
27 ··········constexpr·auto Dune::Hybrid::size·(const·T·&t) 
28  ························Size·query.·More... 
29   
30 template<class·Container·,·class·Index·> 
31 constexpr·decltype(auto) Dune::Hybrid::elementAt·(Container·&&c,·Index·&&i) 
32  ························Get·element·at·given·position·from·container.·More... 
33   
34 template<class·Begin·,·class·End·> 
35 ··········constexpr·auto Dune::Hybrid::integralRange·(const·Begin·&begin, 
36 ··························const·End·&end) 
37  ························Create·an·integral·range.·More... 
38   
39 template<class·End·> 
40 ··········constexpr·auto Dune::Hybrid::integralRange·(const·End·&end) 
41  ························Create·an·integral·range·starting·from·0.·More... 
42   
43 template<class·Range·,·class·F·> 
44 ··········constexpr·void Dune::Hybrid::forEach·(Range·&&range,·F·&&f) 
45  ························Range·based·for·loop.·More... 
46   
47 template<class·Range·,·class·T·,·class·F·> 
48 ·············constexpr·T Dune::Hybrid::accumulate·(Range·&&range,·T·value,·F 
49 ··························&&f) 
50  ························Accumulate·values.·More... 
51   
52 template<class·Condition·,·class·IfFunc·,·class·ElseFunc·> 
53 ··········decltype(auto) Dune::Hybrid::ifElse·(const·Condition·&condition, 
54 ··························IfFunc·&&ifFunc,·ElseFunc·&&elseFunc) 
55  ························A·conditional·expression.·More... 
56   
57 template<class·Condition·,·class·IfFunc·> 
58 ····················void Dune::Hybrid::ifElse·(const·Condition·&condition, 
59 ··························IfFunc·&&ifFunc) 
60  ························A·conditional·expression.·More... 
61   
62 template<class·T1·,·class·T2·> 
63 ··········constexpr·auto Dune::Hybrid::equals·(T1·&&t1,·T2·&&t2) 
64  ························Equality·comparison.·More... 
65   
66 template<class·Cases·,·class·Value·,·class·Branches·,·class·ElseBranch·> 
67 constexpr·decltype(auto) Dune::Hybrid::switchCases·(const·Cases·&cases,·const 
68 ··························Value·&value,·Branches·&&branches,·ElseBranch 
69 ··························&&elseBranch) 
70  ························Switch·statement.·More... 
71   
72 template<class·Cases·,·class·Value·,·class·Branches·> 
73 ··········constexpr·void Dune::Hybrid::switchCases·(const·Cases·&cases,·const 
74 ··························Value·&value,·Branches·&&branches) 
75  ························Switch·statement.·More... 
76  19  
  
77 ===============================================================================20 ===============================================================================
78 ·····Generated·by [doxygen]·1.9.421 ·····Generated·by [doxygen]·1.9.4
79.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00191_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·hybridutilities.hh·Source·File</title>8 <title>dune-common:·conditional.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 354 lines modifiedOffset 62, 36 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">hybridutilities.hh</div></div>68 ··<div·class="headertitle"><div·class="title">conditional.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00191.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00191.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_HYBRIDUTILITIES_HH</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONDITIONAL_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_HYBRIDUTILITIES_HH</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_CONDITIONAL_HH</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>{</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/typeutilities.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/fvector.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00173.html">dune/common/indices.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00296.html">dune/common/assertandreturn.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00245.html">dune/common/rangeutilities.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div>
 80 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00425.html#aa7df1a64bf1697e91502bce842535577">···28</a></span>····<span·class="keyword">const</span>·T1·<a·class="code·hl_function"·href="a00425.html#aa7df1a64bf1697e91502bce842535577">cond</a>(<span·class="keywordtype">bool</span>·b,·<span·class="keyword">const</span>·T1·&amp;·v1,·<span·class="keyword">const</span>·T2·&amp;·v2)</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00439.html">···21</a></span><span·class="keyword">namespace·</span>Hybrid·{</div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Impl·{</div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="comment">//·Try·if·tuple_size·is·implemented·for·class</span></div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·i&gt;</div> 
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01412.html">Dune::FieldVector&lt;T,·i&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;5&gt;</a>&amp;)</div> 
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····-&gt;·<span·class="keyword">decltype</span>(std::integral_constant&lt;std::size_t,i&gt;())</div> 
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·{};</div>82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········<span·class="keywordflow">return</span>·(b·?·v1·:·v2);</div>
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div>83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div>
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="comment">//·Try·if·tuple_size·is·implemented·for·class</span></div>85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·T&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;3&gt;</a>&amp;)</div> 
106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····-&gt;·<span·class="keyword">decltype</span>(std::integral_constant&lt;std::size_t,std::tuple_size&lt;T&gt;::value&gt;())</div> 
107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div> 
108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·{};</div> 
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div> 
110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>86 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">//·Try·if·there&#39;s·a·static·constexpr·size()</span></div> 
112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·T&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;1&gt;</a>&amp;)</div> 
114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····-&gt;·<span·class="keyword">decltype</span>(std::integral_constant&lt;std::size_t,T::size()&gt;())</div> 
115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··{</div> 
116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·{};</div> 
117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> 
118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="comment">//·As·a·last·resort·try·if·there&#39;s·a·static·constexpr·size()</span></div> 
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·T&amp;·t,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03184.html">PriorityTag&lt;0&gt;</a>&amp;)</div> 
122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div> 
123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">return</span>·t.size();</div> 
124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div> 
125 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
126 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}·<span·class="comment">//·namespace·Impl</span></div> 
127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
129 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">···82</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·T&amp;·t)</div> 
132 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div> 
133 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">Impl::size</a>(t,·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;42&gt;</a>());</div> 
134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div> 
135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
136 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
137 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
138 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">namespace·</span>Impl·{</div> 
139 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
140 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>Container,·<span·class="keyword">class·</span>Index,</div> 
141 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····std::enable_if_t&lt;IsTuple&lt;std::decay_t&lt;Container&gt;&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div> 
142 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">elementAt</a>(Container&amp;&amp;·c,·Index&amp;&amp;,·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;2&gt;</a>)</div> 
143 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div> 
144 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordflow">return</span>·std::get&lt;std::decay_t&lt;Index&gt;::value&gt;(c);</div> 
145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}</div> 
146 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
147 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T,·T...·t,·<span·class="keyword">class·</span>Index&gt;</div> 
148 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">elementAt</a>(std::integer_sequence&lt;T,·t...&gt;·c,·Index,·PriorityTag&lt;1&gt;)</div> 
149 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div> 
150 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00406.html#ga0fe355ad7447f0f4bc8ae0b6a39f6318">Dune::integerSequenceEntry</a>(c,·std::integral_constant&lt;std::size_t,·Index::value&gt;());</div> 
151 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··}</div> 
152 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> 
153 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Container,·<span·class="keyword">class</span>·Index&gt;</div> 
154 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">elementAt</a>(Container&amp;&amp;·c,·Index&amp;&amp;·i,·PriorityTag&lt;0&gt;)</div> 
155 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··{</div> 
156 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<span·class="keywordflow">return</span>·c[i];</div> 
157 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··}</div> 
158 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
159 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>}·<span·class="comment">//·namespace·Impl</span></div> 
160 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
161 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
162 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> 
163 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Container,·<span·class="keyword">class</span>·Index&gt;</div> 
164 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">··135</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">elementAt</a>(Container&amp;&amp;·c,·Index&amp;&amp;·i)</div> 
165 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>{</div> 
166 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">Impl::elementAt</a>(std::forward&lt;Container&gt;(c),·std::forward&lt;Index&gt;(i),·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;42&gt;</a>());</div> 
Max diff block lines reached; 2182/67522 bytes (3.23%) of diff not shown.
13.4 KB
html2text {}
    
Offset 4, 447 lines modifiedOffset 4, 37 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 hybridutilities.hh7 conditional.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root10 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 12 ·3#ifndef·DUNE_COMMON_CONDITIONAL_HH
 13 ·4#define·DUNE_COMMON_CONDITIONAL_HH
 14 ·5
14 ·5#ifndef·DUNE_COMMON_HYBRIDUTILITIES_HH 
15 ·6#define·DUNE_COMMON_HYBRIDUTILITIES_HH 
16 ·7 
17 ·8#include·<tuple> 
18 ·9#include·<utility> 
19 ·10 
20 ·11#include·<dune/common/typetraits.hh> 
21 ·12#include·<dune/common/typeutilities.hh> 
22 ·13#include·<dune/common/fvector.hh> 
23 ·14#include·<dune/common/indices.hh> 
24 ·15#include·<dune/common/assertandreturn.hh> 
25 ·16#include·<dune/common/rangeutilities.hh> 
26 ·17 
27 ·18 
28 ·19 
29 ·20namespace·Dune·{15 ·6namespace·Dune
 16 ·7{
 17 ·8
 18 ·27·template<typename·T1,·typename·T2>
 19 28·const·T1·cond(bool·b,·const·T1·&·v1,·const·T2·&·v2)
30 21namespace·Hybrid·{ 
31 ·22 
32 ·23namespace·Impl·{ 
33 ·24 
34 ·25·//·Try·if·tuple_size·is·implemented·for·class 
35 ·26·template<class·T,·int·i> 
36 ·27·constexpr·auto·size(const·Dune::FieldVector<T,_i>&,·const·PriorityTag<5>&) 
37 ·28·->·decltype(std::integral_constant<std::size_t,i>()) 
38 ·29·{20 ·29·{
39 ·30·return·{};21 ·30·return·(b·?·v1·:·v2);
40 ·31·}22 ·31·}
41 ·3223 ·32
 24 ·33}·//·end·namespace·Dune
42 ·33·//·Try·if·tuple_size·is·implemented·for·class 
43 ·34·template<class·T> 
44 ·35·constexpr·auto·size(const·T&,·const·PriorityTag<3>&) 
45 ·36·->·decltype(std::integral_constant<std::size_t,std::tuple_size<T>::value> 
46 ()) 
47 ·37·{ 
48 ·38·return·{}; 
49 ·39·} 
50 ·40 
51 ·41·//·Try·if·there's·a·static·constexpr·size() 
52 ·42·template<class·T> 
53 ·43·constexpr·auto·size(const·T&,·const·PriorityTag<1>&) 
54 ·44·->·decltype(std::integral_constant<std::size_t,T::size()>()) 
55 ·45·{ 
56 ·46·return·{}; 
57 ·47·} 
58 ·48 
59 ·49·//·As·a·last·resort·try·if·there's·a·static·constexpr·size() 
60 ·50·template<class·T> 
61 ·51·constexpr·auto·size(const·T&·t,·const·PriorityTag<0>&) 
62 ·52·{ 
63 ·53·return·t.size(); 
64 ·54·} 
65 ·55 
66 ·56}·//·namespace·Impl 
67 ·57 
68 ·58 
69 ·59 
70 ·81template<class·T> 
71 82constexpr·auto·size(const·T&·t) 
72 ·83{ 
73 ·84·return·Impl::size(t,·PriorityTag<42>()); 
74 ·85} 
75 ·86 
76 ·87 
77 ·88 
78 ·89namespace·Impl·{ 
79 ·90 
80 ·91·template<class·Container,·class·Index, 
81 ·92·std::enable_if_t<IsTuple<std::decay_t<Container>>::value,·int>·=·0> 
82 ·93·constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&,·PriorityTag<2>) 
83 ·94·{ 
84 ·95·return·std::get<std::decay_t<Index>::value>(c); 
85 ·96·} 
86 ·97 
87 ·98·template<class·T,·T...·t,·class·Index> 
88 ·99·constexpr·decltype(auto)·elementAt(std::integer_sequence<T,·t...>·c,·Index, 
89 PriorityTag<1>) 
90 ·100·{ 
91 ·101·return·Dune::integerSequenceEntry(c,·std::integral_constant<std::size_t, 
92 Index::value>()); 
93 ·102·} 
94 ·103 
95 ·104·template<class·Container,·class·Index> 
96 ·105·constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&·i, 
97 PriorityTag<0>) 
98 ·106·{ 
99 ·107·return·c[i]; 
100 ·108·} 
101 ·109 
102 ·110}·//·namespace·Impl 
103 ·111 
104 ·112 
105 ·113 
106 ·134template<class·Container,·class·Index> 
107 135constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&·i) 
108 ·136{ 
109 ·137·return·Impl::elementAt(std::forward<Container>(c),·std::forward<Index>(i), 
110 PriorityTag<42>()); 
111 ·138} 
112 ·139 
113 ·140 
114 ·141 
115 ·142namespace·Impl·{ 
116 ·143 
117 ·144·template<class·Begin,·class·End, 
118 ·145·std::enable_if_t<IsIntegralConstant<Begin>::value·and 
Max diff block lines reached; 900/13736 bytes (6.55%) of diff not shown.
14.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00194.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·path.hh·File·Reference</title>8 <title>dune-common:·referencehelper.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 55 lines modifiedOffset 64, 59 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#typedef-members">Typedefs</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>·&#124;
72 ··<div·class="headertitle"><div·class="title">path.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00400.html">Filesystem·Paths</a></div>[·...·truncated·by·diffoscope;·len:·6,·SHA:·aac32651b10f567c461b9b4f255d6fb1fa6859b5368d8bd9a51af920ab21cf23·...·]</div>73 <a·href="#var-members">Variables</a>··</div>
 74 ··<div·class="headertitle"><div·class="title">referencehelper.hh·File·Reference</div></div>
73 </div><!--header-->75 </div><!--header-->
74 <div·class="contents">76 <div·class="contents">
  
75 <p>Utilities·for·handling·filesystem·paths.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;string&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
 78 <code>#include·&lt;functional&gt;</code><br·/>
78 </div>79 </div>
79 <p><a·href="a00194_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00194_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">81 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
82 Namespaces</h2></td></tr>83 Namespaces</h2></td></tr>
83 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>84 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
84 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>85 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
 88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 89 Typedefs</h2></td></tr>
 90 <tr·class="memitem:a77f46351fe46db7d54dfec534616366b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 91 <tr·class="memitem:a77f46351fe46db7d54dfec534616366b"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a77f46351fe46db7d54dfec534616366b">Dune::ResolveRef_t</a>·=·std::remove_reference_t&lt;·decltype(<a·class="el"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">Dune::resolveRef</a>(std::declval&lt;·T·&amp;·&gt;()))&gt;</td></tr>
 92 <tr·class="memdesc:a77f46351fe46db7d54dfec534616366b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·trait·to·resolve·std::reference_wrapper.··<a·href="a00425.html#a77f46351fe46db7d54dfec534616366b">More...</a><br·/></td></tr>
 93 <tr·class="separator:a77f46351fe46db7d54dfec534616366b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 </table><table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
88 Functions</h2></td></tr>96 Functions</h2></td></tr>
89 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">Dune::concatPaths</a>·(const·std::string·&amp;base,·const·std::string·&amp;p)</td></tr> 
90 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<a·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">More...</a><br·/></td></tr>97 <tr·class="memitem:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 98 <tr·class="memitem:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">Dune::resolveRef</a>·(T·&amp;gf)·noexcept</td></tr>
 99 <tr·class="memdesc:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·function·to·resolve·std::reference_wrapper.··<a·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">More...</a><br·/></td></tr>
 100 <tr·class="separator:ga965f89f9b3f8d3490d0db77d0cc54553"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:a475729bf34315ee373afc7b55b81a47a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 102 <tr·class="memitem:a475729bf34315ee373afc7b55b81a47a"><td·class="memTemplItemLeft"·align="right"·valign="top">const·auto·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a475729bf34315ee373afc7b55b81a47a">Dune::resolveRef</a>·(T·&amp;&amp;gf)=delete</td></tr>
 103 <tr·class="separator:a475729bf34315ee373afc7b55b81a47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 105 <tr·class="memitem:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga2ca0c16cf494211b6128a9e6e2c6274b">Dune::resolveRef</a>·(std::reference_wrapper&lt;·T·&gt;·gf)·noexcept</td></tr>
 106 <tr·class="memdesc:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·function·to·resolve·std::reference_wrapper.··<a·href="a00406.html#ga2ca0c16cf494211b6128a9e6e2c6274b">More...</a><br·/></td></tr>
 107 <tr·class="separator:ga2ca0c16cf494211b6128a9e6e2c6274b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 </table><table·class="memberdecls">
 109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 110 Variables</h2></td></tr>
 111 <tr·class="memitem:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 112 <tr·class="memitem:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">Dune::IsReferenceWrapper_v</a>·=·Impl::IsReferenceWrapper&lt;T&gt;::value</td></tr>
 113 <tr·class="memdesc:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·to·detect·if·given·type·is·a·std::reference_wrapper.··<a·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">More...</a><br·/></td></tr>
91 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:ga4088609d1ec5543664e9a4e688b8f46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">Dune::processPath</a>·(const·std::string·&amp;p)</td></tr> 
93 <tr·class="memdesc:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">sanitize·a·path·for·further·processing··<a·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">More...</a><br·/></td></tr> 
94 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">Dune::pathIndicatesDirectory</a>·(const·std::string·&amp;p)</td></tr> 
96 <tr·class="memdesc:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·the·given·path·indicates·that·it·is·a·directory··<a·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">More...</a><br·/></td></tr> 
97 <tr·class="separator:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">Dune::prettyPath</a>·(const·std::string·&amp;p,·bool·isDirectory)</td></tr> 
99 <tr·class="memdesc:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<a·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">More...</a><br·/></td></tr> 
100 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8">Dune::prettyPath</a>·(const·std::string·&amp;p)</td></tr> 
102 <tr·class="memdesc:gae07624c824232706454d5d6d1d1cb5c8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<a·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8">More...</a><br·/></td></tr> 
103 <tr·class="separator:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">Dune::relativePath</a>·(const·std::string·&amp;newbase,·const·std::string·&amp;p)</td></tr> 
105 <tr·class="memdesc:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·a·relative·path·between·two·paths··<a·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">More...</a><br·/></td></tr> 
106 <tr·class="separator:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 </table>115 </table>
108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
109 <div·class="textblock"><p·>Utilities·for·handling·filesystem·paths.·</p> 
110 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·<a·href="#"·onclick="location.href='mai'+'lto:'+'jor'+'ri'+'t@j'+'or'+'rit'+'.d'+'e';·return·false;">jorri<span·class="obfuscator">.nosp@m.</span>t@jo<span·class="obfuscator">.nosp@m.</span>rrit.<span·class="obfuscator">.nosp@m.</span>de</a>·</dd></dl> 
111 </div></div><!--·contents·-->116 </div><!--·contents·-->
112 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>120 </small></address>
116 </body>121 </body>
117 </html>122 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
2.29 KB
html2text {}
    
Offset 4, 45 lines modifiedOffset 4, 43 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Typedefs·|·Functions·|·Variables
 8 referencehelper.hh·File·Reference
 9 #include·<type_traits>
 10 #include·<functional>
7 Namespaces·|·Functions 
8 path.hh·File·Reference 
9 Common·»·Utilities·»·Filesystem_Paths 
10 Utilities·for·handling·filesystem·paths.·More... 
11 #include·<string> 
12 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
13 ·Namespaces12 ·Namespaces
14 namespace· Dune13 namespace· Dune
15  ··········Dune·namespace.14  ··········Dune·namespace.
16  15  
17 ·Functions 
18 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p) 
19  ···········concatenate·two·paths·More...16 ·Typedefs
 17 template<class·T·>
 18 using Dune::ResolveRef_t·=·std::remove_reference_t<·decltype(Dune::resolveRef
 19 ·······(std::declval<·T·&·>()))>
 20  ·····Type·trait·to·resolve·std::reference_wrapper.·More...
20  21  
21 std::string Dune::processPath·(const·std::string·&p) 
22  ···········sanitize·a·path·for·further·processing·More...22 ·Functions
 23 template<class·T·>
 24 constexpr·T·& Dune::resolveRef·(T·&gf)·noexcept
 25  ·············Helper·function·to·resolve·std::reference_wrapper.·More...
 26  
 27 template<class·T·>
 28 ·const·auto·& Dune::resolveRef·(T·&&gf)=delete
 29  
 30 template<class·T·>
 31 constexpr·T·& Dune::resolveRef·(std::reference_wrapper<·T·>·gf)·noexcept
 32  ·············Helper·function·to·resolve·std::reference_wrapper.·More...
 33  
 34 ·Variables
 35 template<class·T·>
 36 constexpr·bool Dune::IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value
 37  ··············Helper·to·detect·if·given·type·is·a·std::reference_wrapper.
 38 ················More...
23  39  
24 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p) 
25  ···········check·whether·the·given·path·indicates·that·it·is·a·directory 
26 ·············More... 
27   
28 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory) 
29  ···········pretty·print·path·More... 
30   
31 std::string Dune::prettyPath·(const·std::string·&p) 
32  ···········pretty·print·path·More... 
33   
34 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string 
35 ·············&p) 
36  ···········compute·a·relative·path·between·two·paths·More... 
37   
38 *****·Detailed·Description·***** 
39 Utilities·for·handling·filesystem·paths. 
40 ··Author 
41 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de 
  
42 ===============================================================================40 ===============================================================================
43 ·····Generated·by [doxygen]·1.9.441 ·····Generated·by [doxygen]·1.9.4
23.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00194_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·path.hh·Source·File</title>8 <title>dune-common:·referencehelper.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 54 lines modifiedOffset 62, 88 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">path.hh</div></div>68 ··<div·class="headertitle"><div·class="title">referencehelper.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00194.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00194.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PATH_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_REFERENCE_HELPER_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PATH_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_REFERENCE_HELPER_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span>Impl·{</div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">class·</span>IsReferenceWrapper·:·<span·class="keyword">public</span>·std::false_type·{};</div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">class·</span>IsReferenceWrapper&lt;<a·class="code·hl_namespace"·href="a00424.html">std</a>::reference_wrapper&lt;T&gt;&gt;·:·<span·class="keyword">public</span>·std::true_type·{};</div>
81 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
82 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··std::string·<a·class="code·hl_function"·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">concatPaths</a>(<span·class="keyword">const</span>·std::string&amp;·base,·<span·class="keyword">const</sp[·...·truncated·by·diffoscope;·len:·23,·SHA:·348e2eb5c9dad2516b7ad5e1ab3af3e9e4cd166d7c05c0f3eed21fa94d16951e·...·];</div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">class·</span>IsReferenceWrapper&lt;const·<a·class="code·hl_namespace"·href="a00424.html">std</a>::reference_wrapper&lt;T&gt;&gt;·:·<span·class="keyword">public</span>·std::true_type·{};</div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>}·<span·class="comment">//·namespace·Dune::Impl</span></div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 99 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">···35</a></span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">IsReferenceWrapper_v</a>·=·Impl::IsReferenceWrapper&lt;T&gt;::value;</div>
 101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 103 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 104 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">···47</a></span><span·class="keyword">constexpr</span>·T&amp;·<a·class="code·hl_function"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">resolveRef</a>(T&amp;·gf)·<span·class="keyword">noexcept</span></div>
 105 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>{</div>
 106 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keywordflow">return</span>·gf;</div>
 107 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div>
 108 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
83 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>109 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 110 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//·There&#39;s·no·overload·for·non·std::reference_wrapper·r-values,</span></div>
 111 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//·because·this·may·lead·to·undefined·behavior·whenever·the</span></div>
 112 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//·return·value·is·stored.</span></div>
 113 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//·Notice·that·deleting·the·overload·is·not·necessary,·but</span></div>
 114 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·helps·to·document·that·it·is·missing·on·purpose.·It·also</span></div>
 115 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·leads·to·nicer·error·messages.</span></div>
 116 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 117 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00425.html#a475729bf34315ee373afc7b55b81a47a">···60</a></span><span·class="keyword">const</span>·<span·class="keyword">auto</span>&amp;·<a·class="code·hl_function"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">resolveRef</a>(T&amp;&amp;·gf)·=·<span·class="keyword">delete</span>;</div>
 118 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 119 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 120 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 121 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga2ca0c16cf494211b6128a9e6e2c6274b">···82</a></span><span·class="keyword">constexpr</span>·T&amp;·<a·class="code·hl_function"·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">resolveRef</a>(std::reference_wrapper&lt;T&gt;·gf)·<span·class="keyword">noexcept</span></div>
 122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div>
 123 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordflow">return</span>·gf.get();</div>
84 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>124 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div>
85 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··std::string·<a·class="code·hl_function"·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">processPath</a>(<span·class="keyword">const</span>·std::string&amp;·p);</div> 
86 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>125 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 126 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 127 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 128 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 129 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a00425.html#a77f46351fe46db7d54dfec534616366b">··100</a></span><span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00425.html#a77f46351fe46db7d54dfec534616366b">ResolveRef_t</a>·=·std::remove_reference_t&lt;decltype(Dune::resolveRef(std::declval&lt;T&amp;&gt;()))&gt;;</div>
87 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>130 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
88 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">pathIndicatesDirectory</a>(<span·class="keyword">const</span>·std::string&amp;·p);</div> 
89 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>131 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 132 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>}·<span·class="comment">//·namespace·Dune</span></div>
90 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div> 
91 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··std::string·<a·class="code·hl_function"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">prettyPath</a>(<span·class="keyword">const</span>·std::string&amp;·p,·<span·class="keywordtype">bool</span>·isDirectory);</div> 
92 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> 
93 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>133 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
94 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··std::string·<a·class="code·hl_function"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">prettyPath</a>(<span·class="keyword">const</span>·std::string&amp;·p);</div> 
95 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div> 
96 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> 
97 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>··std::string·<a·class="code·hl_function"·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">relativePath</a>(<span·class="keyword">const</span>·std::string&amp;·newbase,·<span·class="keyword">const</span>·std::string&amp;·p);</div> 
98 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno">··180</span>·</div>134 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
99 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno">··182</span>}</div> 
100 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>135 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
101 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_PATH_HH</span></div>136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_REFERENCE_HELPER_HH</span></div>
 137 <div·class="ttc"·id="aa00406_html_ga4088609d1ec5543664e9a4e688b8f46e"><div·class="ttname"><a·href="a00406.html#ga4088609d1ec5543664e9a4e688b8f46e">Dune::IsReferenceWrapper_v</a></div><div·class="ttdeci">constexpr·bool·IsReferenceWrapper_v</div><div·class="ttdoc">Helper·to·detect·if·given·type·is·a·std::reference_wrapper.</div><div·class="ttdef"><b>Definition:</b>·referencehelper.hh:35</div></div>
 138 <div·class="ttc"·id="aa00406_html_ga965f89f9b3f8d3490d0db77d0cc54553"><div·class="ttname"><a·href="a00406.html#ga965f89f9b3f8d3490d0db77d0cc54553">Dune::resolveRef</a></div><div·class="ttdeci">constexpr·T·&amp;·resolveRef(T·&amp;gf)·noexcept</div><div·class="ttdoc">Helper·function·to·resolve·std::reference_wrapper.</div><div·class="ttdef"><b>Definition:</b>·referencehelper.hh:47</div></div>
 139 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>
102 <div·class="ttc"·id="aa00400_html_ga1b4c87bd874abdd0db9f6dc51d9588b0"><div·class="ttname"><a·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">Dune::processPath</a></div><div·class="ttdeci">std::string·processPath(const·std::string·&amp;p)</div><div·class="ttdoc">sanitize·a·path·for·further·processing</div><div·class="ttdef"><b>Definition:</b>·path.cc:41</div></div> 
103 <div·class="ttc"·id="aa00400_html_ga1d1669ed8677a07b152b1de21640b3f9"><div·class="ttname"><a·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">Dune::pathIndicatesDirectory</a></div><div·class="ttdeci">bool·pathIndicatesDirectory(const·std::string·&amp;p)</div><div·class="ttdoc">check·whether·the·given·path·indicates·that·it·is·a·directory</div><div·class="ttdef"><b>Definition:</b>·path.cc:115</div></div> 
104 <div·class="ttc"·id="aa00400_html_gaa9908e9eb153f3d37d7c7063ffc9b6a2"><div·class="ttname"><a·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">Dune::prettyPath</a></div><div·class="ttdeci">std::string·prettyPath(const·std::string·&amp;p,·bool·isDirectory)</div><div·class="ttdoc">pretty·print·path</div><div·class="ttdef"><b>Definition:</b>·path.cc:126</div></div> 
105 <div·class="ttc"·id="aa00400_html_gab2ce1b1de5e4a5c74802d615b4027a7b"><div·class="ttname"><a·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">Dune::relativePath</a></div><div·class="ttdeci">std::string·relativePath(const·std::string·&amp;newbase,·const·std::string·&amp;p)</div><div·class="ttdoc">compute·a·relative·path·between·two·paths</div><div·class="ttdef"><b>Definition:</b>·path.cc:153</div></div> 
106 <div·class="ttc"·id="aa00400_html_gaf35055b90526b3266f36956a4e361f50"><div·class="ttname"><a·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">Dune::concatPaths</a></div><div·class="ttdeci">std::string·concatPaths(const·std::string·&amp;base,·const·std::string·&amp;p)</div><div·class="ttdoc">concatenate·two·paths</div><div·class="ttdef"><b>Definition:</b>·path.cc:32</div></div> 
107 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>140 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
 141 <div·class="ttc"·id="aa00425_html_a77f46351fe46db7d54dfec534616366b"><div·class="ttname"><a·href="a00425.html#a77f46351fe46db7d54dfec534616366b">Dune::ResolveRef_t</a></div><div·class="ttdeci">std::remove_reference_t&lt;·decltype(Dune::resolveRef(std::declval&lt;·T·&amp;·&gt;()))&gt;·ResolveRef_t</div><div·class="ttdoc">Type·trait·to·resolve·std::reference_wrapper.</div><div·class="ttdef"><b>Definition:</b>·referencehelper.hh:100</div></div>
108 </div><!--·fragment·--></div><!--·contents·-->142 </div><!--·fragment·--></div><!--·contents·-->
109 <!--·start·footer·part·-->143 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>144 <hr·class="footer"/><address·class="footer"><small>
111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4145 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
112 </small></address>146 </small></address>
113 </body>147 </body>
114 </html>148 </html>
3.93 KB
html2text {}
    
Offset 4, 68 lines modifiedOffset 4, 100 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 path.hh7 referencehelper.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_PATH_HH 
15 ·6#define·DUNE_COMMON_PATH_HH14 ·5#ifndef·DUNE_COMMON_REFERENCE_HELPER_HH
 15 ·6#define·DUNE_COMMON_REFERENCE_HELPER_HH
16 ·716 ·7
17 ·8#include·<string> 
18 ·917 ·8#include·<type_traits>
 18 ·9#include·<functional>
 19 ·10
 20 ·11
 21 ·12
19 ·10namespace·Dune·{22 ·13namespace·Dune·{
20 ·23 
21 ·51·std::string·concatPaths(const·std::string&·base,·const·std::string&·p);23 ·14
 24 ·15namespace·Impl·{
 25 ·16
 26 ·17·template<class·T>
 27 ·18·class·IsReferenceWrapper·:·public·std::false_type·{};
 28 ·19
 29 ·20·template<class·T>
 30 ·21·class·IsReferenceWrapper<std::reference_wrapper<T>>·:·public·std::true_type
 31 {};
 32 ·22
 33 ·23·template<class·T>
 34 ·24·class·IsReferenceWrapper<const·std::reference_wrapper<T>>·:·public·std::
 35 true_type·{};
 36 ·25
 37 ·26}·//·namespace·Dune::Impl
 38 ·27
 39 ·28
 40 ·34template<class·T>
 41 35constexpr·bool·IsReferenceWrapper_v·=·Impl::IsReferenceWrapper<T>::value;
 42 ·36
 43 ·37
 44 ·46template<class·T>
 45 47constexpr·T&·resolveRef(T&·gf)·noexcept
 46 ·48{
 47 ·49·return·gf;
 48 ·50}
 49 ·51
22 ·5250 ·52
23 ·54 
24 ·98·std::string·processPath(const·std::string&·p); 
25 ·9951 ·53//·There's·no·overload·for·non·std::reference_wrapper·r-values,
 52 ·54//·because·this·may·lead·to·undefined·behavior·whenever·the
 53 ·55//·return·value·is·stored.
 54 ·56//·Notice·that·deleting·the·overload·is·not·necessary,·but
 55 ·57//·helps·to·document·that·it·is·missing·on·purpose.·It·also
 56 ·58//·leads·to·nicer·error·messages.
 57 ·59template<class·T>
 58 60const·auto&·resolveRef(T&&·gf)·=·delete;
 59 ·61
 60 ·62
 61 ·81template<class·T>
 62 82constexpr·T&·resolveRef(std::reference_wrapper<T>·gf)·noexcept
 63 ·83{
 64 ·84·return·gf.get();
 65 ·85}
 66 ·86
 67 ·87
 68 ·88
 69 ·99template<class·T>
 70 100using·ResolveRef_t·=·std::remove_reference_t<decltype(Dune::resolveRef(std::
 71 declval<T&>()))>;
26 ·10172 ·101
27 ·109·bool·pathIndicatesDirectory(const·std::string&·p); 
28 ·11073 ·102
 74 ·103}·//·namespace·Dune
29 ·112 
30 ·151·std::string·prettyPath(const·std::string&·p,·bool·isDirectory); 
31 ·152 
32 ·15475 ·104
33 ·160·std::string·prettyPath(const·std::string&·p); 
34 ·161 
35 ·163 
36 ·179·std::string·relativePath(const·std::string&·newbase,·const·std::string& 
37 p); 
38 ·18076 ·105
 77 ·106
 78 ·107#endif·//·DUNE_COMMON_REFERENCE_HELPER_HH
 79 Dune::IsReferenceWrapper_v
 80 constexpr·bool·IsReferenceWrapper_v
 81 Helper·to·detect·if·given·type·is·a·std::reference_wrapper.
 82 Definition:·referencehelper.hh:35
 83 Dune::resolveRef
 84 constexpr·T·&·resolveRef(T·&gf)·noexcept
 85 Helper·function·to·resolve·std::reference_wrapper.
 86 Definition:·referencehelper.hh:47
 87 std
 88 STL·namespace.
39 ·182} 
40 ·183 
41 ·184#endif·//·DUNE_COMMON_PATH_HH 
42 Dune::processPath 
43 std::string·processPath(const·std::string·&p) 
44 sanitize·a·path·for·further·processing 
45 Definition:·path.cc:41 
46 Dune::pathIndicatesDirectory 
47 bool·pathIndicatesDirectory(const·std::string·&p) 
48 check·whether·the·given·path·indicates·that·it·is·a·directory 
49 Definition:·path.cc:115 
50 Dune::prettyPath 
51 std::string·prettyPath(const·std::string·&p,·bool·isDirectory) 
52 pretty·print·path 
53 Definition:·path.cc:126 
54 Dune::relativePath 
55 std::string·relativePath(const·std::string·&newbase,·const·std::string·&p) 
56 compute·a·relative·path·between·two·paths 
57 Definition:·path.cc:153 
58 Dune::concatPaths 
59 std::string·concatPaths(const·std::string·&base,·const·std::string·&p) 
60 concatenate·two·paths 
61 Definition:·path.cc:32 
62 Dune89 Dune
Max diff block lines reached; 348/4003 bytes (8.69%) of diff not shown.
7.01 KB
./usr/share/doc/libdune-common-doc/doxygen/a00197.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·dynmatrix.hh·File·Reference</title>8 <title>dune-common:·parameterizedobject.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 50 lines modifiedOffset 65, 36 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>··</div>
72 ··<div·class="headertitle"><div·class="title">dynmatrix.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>
78 <code>#include·&lt;cstddef&gt;</code><br·/> 
79 <code>#include·&lt;iostream&gt;</code><br·/>76 <code>#include·&lt;map&gt;</code><br·/>
80 <code>#include·&lt;initializer_list&gt;</code><br·/>77 <code>#include·&lt;memory&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>78 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/dynvector.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
86 </div>80 </div>
87 <p><a·href="a00197_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00197_source.html">Go·to·the·source·code·of·this·file.</a></p>
88 <table·class="memberdecls">82 <table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
90 Classes</h2></td></tr>84 Classes</h2></td></tr>
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01504.html">Dune::DenseMatVecTraits&lt;·DynamicMatrix&lt;·K·&gt;·&gt;</a></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01508.html">Dune::FieldTraits&lt;·DynamicMatrix&lt;·K·&gt;·&gt;</a></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01500.html">Dune::DynamicMatrix&lt;·K·&gt;</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02332.html">Dune::ParameterizedObjectFactory&lt;·TypeT(Args...),·KeyT·&gt;</a></td></tr>
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·a·matrix·with·a·dynamic·size.··<a·href="a01500.html#details">More...</a><br·/></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
100 Namespaces</h2></td></tr>89 Namespaces</h2></td></tr>
101 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
102 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table>93 </table>
105 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
106 <div·class="textblock"><p·>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·</p> 
107 </div></div><!--·contents·-->94 </div><!--·contents·-->
108 <!--·start·footer·part·-->95 <!--·start·footer·part·-->
109 <hr·class="footer"/><address·class="footer"><small>96 <hr·class="footer"/><address·class="footer"><small>
110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.497 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
111 </small></address>98 </small></address>
112 </body>99 </body>
113 </html>100 </html>
1.28 KB
html2text {}
    
Offset 5, 38 lines modifiedOffset 5, 24 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Classes·|·Namespaces8 Classes·|·Namespaces
 9 parameterizedobject.hh·File·Reference
 10 #include·<functional>
9 dynmatrix.hh·File·Reference 
10 Common·»·Dense_Matrix_and_Vector_Template_Library 
11 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns. 
12 More... 
13 #include·<cmath>11 #include·<map>
 12 #include·<memory>
14 #include·<cstddef> 
15 #include·<iostream> 
16 #include·<initializer_list> 
17 #include·<dune/common/boundschecking.hh> 
18 #include·<dune/common/exceptions.hh>13 #include·<dune/common/exceptions.hh>
19 #include·<dune/common/dynvector.hh> 
20 #include·<dune/common/densematrix.hh> 
21 #include·<dune/common/typetraits.hh>14 #include·<dune/common/typeutilities.hh>
22 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
23 ·Classes16 ·Classes
 17 class· Dune::ParameterizedObjectFactory<_TypeT(Args...),_KeyT_>
24 struct· Dune::DenseMatVecTraits<_DynamicMatrix<_K_>_> 
25   
26 struct· Dune::FieldTraits<_DynamicMatrix<_K_>_> 
27   
28 ·class· Dune::DynamicMatrix<_K_> 
29  ·······Construct·a·matrix·with·a·dynamic·size.·More... 
30  18  
31 ·Namespaces19 ·Namespaces
32 namespace· Dune20 namespace· Dune
33  ··········Dune·namespace.21  ··········Dune·namespace.
34  22  
35 *****·Detailed·Description·***** 
36 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns. 
  
37 ===============================================================================23 ===============================================================================
38 ·····Generated·by [doxygen]·1.9.424 ·····Generated·by [doxygen]·1.9.4
81.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00197_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·dynmatrix.hh·Source·File</title>8 <title>dune-common:·parameterizedobject.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 189 lines modifiedOffset 62, 163 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">dynmatrix.hh</div></div>68 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00197.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00197.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·4·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=4·sts=4:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNMATRIX_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNMATRIX_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00104.html">dune/common/boundschecking.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00179.html">dune/common/dynvector.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00389.html">dune/common/densematrix.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00092.html">dune/common/typeutilities.hh</a>&gt;</span></div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K·&gt;·<span·class="keyword">class·</span>DynamicMatrix;</div> 
93 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
94 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K·&gt;</div>87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Signature,</div>
 88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·········<span·class="keyword">typename</span>·KeyT·=·std::string&gt;</div>
 89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a02328.html">···36</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02328.html">ParameterizedObjectFactory</a>;</div>
95 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01504.html">···34</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>&lt;·<a·class="code·hl_class"·href="a01500.html">DynamicMatrix</a>&lt;K&gt;·&gt;</div> 
96 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div> 
97 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01504.html#ab086d3113b0356d8541bd1414f194b2f">···36</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01500.html">DynamicMatrix&lt;K&gt;</a>·<a·class="code·hl_typedef"·href="a01504.html#ab086d3113b0356d8541bd1414f194b2f">derived_type</a>;</div> 
98 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01504.html#a3b63fa35f7a0ce0a293896a6a894486a">···38</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;K&gt;</a>·<a·class="code·hl_typedef"·href="a01504.html#a3b63fa35f7a0c[·...·truncated·by·diffoscope;·len:·34,·SHA:·a42311a65c2ef6ad32c0af1768710793a56c750536a960562a0aa47f75803c33·...·]</div>91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TypeT,</div>
100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·········<span·class="keyword">typename</span>·KeyT,</div>
101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01504.html#a4a2f6233b96701959dc45c8bd744161a">···40</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01512.html">row_type</a>·&amp;<a·class="code·hl_typedef"·href="a01504.html#a4a2f6233b96701959dc45c8bd744161a">row_reference</a>;</div> 
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01504.html#aee0cd6d08dc8451f8b8c91da766dce79">···41</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01512.html">row_type<[·...·truncated·by·diffoscope;·len:·112,·SHA:·69f12c34d3b67fec37e75a23c803c3fdb10080dc10ec524a2f178db10069b65d·...·];</div>93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·········<span·class="keyword">typename</span>...·Args&gt;</div>
 94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02332.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02328.html">ParameterizedObjectFactory</a>&lt;TypeT(Args...),·KeyT&gt;</div>
103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div>
 96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">public</span>:</div>
104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01504.html#aeff2f27908d9d923c96c6786f173420b">···43</a></span>····<span·class="keyword">typedef</span>·std::vector&lt;K&gt;·<a·class="code·hl_typedef"·href="a01504.html#aeff2f27908d9d923c96c6786f173420b">container_type</a>;</div> 
105 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01504.html#a7c5226faf3f31dae4a22a70fb994bed3">···44</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a01504.html#a7c5226faf3f31dae4a22a70fb994bed3">value_type</a>;</div> 
106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01504.html#a162fa134f84d6b769c744d07036ed9aa">···45</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·container_type::size_type·<a·class="code·hl_typedef"·href="a01504.html#a162fa134f84d6b769c744d07036ed9aa">size_type</a>;</div> 
107 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div>97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">···46</a></span>········<span·class="keyword">typedef</span>·KeyT·<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>;</div>
108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">···49</a></span>········<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">Type</a>·=·TypeT;</div>
109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K·&gt;</div> 
110 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01508.html">···49</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01500.html">DynamicMatrix</a>&lt;K&gt;·&gt;</div> 
111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">protected</span>:</div>
112 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01508.html#a56ba0ff08580dfe31323cb76a7869869">···51</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">FieldTraits&lt;K&gt;::field_type</a>·<a·class="code·hl_typedef"·href="a01508.html#a56ba0ff08580dfe31323cb76a7869869">field_type</a>;</div> 
113 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01508.html#a145951e3e4ac1843008bd044659498eb">···52</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;K&gt;::real_type</a>·<a·class="code·hl_typedef"·href="a01508.html#a145951e3e4ac1843008bd044659498eb">real_type</a>;</div> 
114 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div>103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02332.html#a3f5f2a662743726e3353e0218a561e53">···53</a></span>········<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02332.html#a3f5f2a662743726e3353e0218a561e53">Creator</a>·=·std::function&lt;<a·class="code·hl_typedef"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">Type</a>(Args...)&gt;;</div>
115 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
116 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div>106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div>
117 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01500.html">···60</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01500.html">DynamicMatrix</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·[·...·truncated·by·diffoscope;·len:·66,·SHA:·16fb949e687b94edebab36578a7040af8842d9bf66484dcc374a346a03f0a7ff·...·]</div>107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a02332.html#a7ef9a565a54d9e5d45f7c0fe2b24a02c">···56</a></span>········<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="c[·...·truncated·by·diffoscope;·len:·171,·SHA:·e5350d31d8aa8cf7f934694dd2af92dbc09ec31976004080ff83e1f9533af4e4·...·]</div>
 108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>············-&gt;·<span·class="keyword">decltype</span>(·std::declval&lt;F&gt;()(std::declval&lt;Args&gt;()...),·std::true_type())</div>
 109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········{</div>
 110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>············<span·class="keywordflow">return</span>·{};</div>
 111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········}</div>
118 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div>
 114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02332.html#ac666739d6f79796e5ac2c92024889275">···63</a></span>········<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::false_type·<a·class="code·hl_function"·href="a02332.html#ac666739d6f79796e5ac2c92024889275">has_proper_signature</a>(<a·class="code·hl_struct"·href="a03184.html">Dune::PriorityTag&lt;0&gt;</a>)</div>
119 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····std::vector&lt;·DynamicVector&lt;K&gt;·&gt;·_data;</div>115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········{</div>
120 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01400.html">DenseMatrix&lt;·DynamicMatrix&lt;K&gt;</a>·&gt;·<a·class="code·hl_class"·href="a01400.html">Base</a>;</div>116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>············<span·class="keywordflow">return</span>·{};</div>
 117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········}</div>
 118 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
121 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">public</span>:</div>119 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">public</span>:</div>
122 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01500.html#a715df25a177360ee13c239a158ac23e4">···65</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ad86e41607482a02d21aa2ee8b7cdca0e">Base::size_type</a>·<a·class="code·hl_typedef"·href="a01500.html#a715df25a177360ee13c239a158ac23e4">size_type</a>;</div> 
123 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01500.html#a6399dfd6908961062f7c214ce130b3a8">···66</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#a77c1a6438c7665d5142156337c5ffb57">Base::value_type</a>·<a·class="code·hl_typedef"·href="a01500.html#a6399dfd6908961062f7c214ce130b3a8">value_type</a>;</div> 
124 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01500.html#a4e657447ffba0f00463851f145753e8d">···67</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a01512.html">Base::row_type</a>·<a·class="code·hl_typedef"·href="a01500.html#a4e657447ffba0f00463851f145753e8d">row_type</a>;</div> 
125 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>120 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 121 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a02332.html#aadcc7f24a9298aa5197f423326d091db">···77</a></span>········<a·class="code·hl_typedef"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">Type</a>·<a·class="code·hl_function"·href="a02332.html#aadcc7f24a9298aa5197f423326d091db">create</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key,·Args·...·args)<span·class="keyword">·const·</span>{</div>
 122 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>············<span·class="keyword">typename</span>·Registry::const_iterator·i·=·registry_.find(key);</div>
 123 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>············<span·class="keywordflow">if</span>·(i·==·registry_.end())·{</div>
 124 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>················<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01580.html">Dune::InvalidStateException</a>,</div>
 125 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····················<span·class="stringliteral">&quot;ParametrizedObjectFactory:·key·``&quot;</span>·&lt;&lt;</div>
 126 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····················key·&lt;&lt;·<span·class="stringliteral">&quot;&#39;&#39;·not·registered&quot;</span>);</div>
126 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//=====·constructors</span></div> 
127 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a01500.html#adcc41a31367efa2942a0d46f687bf654">···71</a></span><span·class="comment"></span>····<a·class="code·hl_function"·href="a01500.html#adcc41a31367efa2942a0d46f687bf654">DynamicMatrix</a>·()·{}</div> 
128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
129 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01500.html#ae9b3c26a18667e2e9658fa8f05927db2">···74</a></span>····<a·class="code·hl_function"·href="a01500.html#ae9b3c26a18667e2e9658fa8f05927db2">DynamicMatrix</a>·(<a·class="code·hl_typedef"·href="a01500.html#a715df25a177360ee13c239a158ac23e4">size_type</a>·r,·<a·class="code·hl_typedef"·href="a01500.html#a715df25a177360ee13c239a158ac23e4">size_type</a>·c,·<a·class="code·hl_typedef"·href="a01500.html#a6399dfd6908961062f7c214ce130b3a8">value_type</a>·v·=·<a·class="code·hl_typedef"·href="a01500.html#a6399dfd6908961062f7c214ce130b3a8">value_type</a>()·)·:</div> 
130 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······_data(r,·<a·class="code·hl_class"·href="a01512.html">row_type</a>(c,·v)·)</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>·</div> 
133 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01500.html#a3d0d61e372e63cf8b5107f64b960b691">···80</a></span>····<a·class="code·hl_function"·href="a01500.html#a3d0d61e372e63cf8b5107f64b960b691">DynamicMatrix</a>·(std::initializer_list&lt;<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;K&gt;</a>&gt;·<span·class="keyword">const</span>·&amp;ll)</div> 
134 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>······:·_data(ll)</div>127 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············}</div>
 128 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>············<span·class="keywordflow">else</span>·<span·class="keywordflow">return</span>·i-&gt;second(args...);</div>
135 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····{}</div>129 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div>
136 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>130 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
137 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
138 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class·</span>T,</div>131 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>········<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Impl&gt;</div>
 132 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a02332.html#abca3df0669dfa457239527d12db10723">··101</a></span>········<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02332.html#abca3df0669dfa457239527d12db10723">define</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key)</div>
139 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··············<span·class="keyword">typename</span>·=·std::enable_if_t&lt;!Dune::IsNumber&lt;T&gt;::value·&amp;&amp;·HasDenseMatrixAssigner&lt;DynamicMatrix,·T&gt;::value&gt;&gt;</div> 
140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01500.html#a9349e88c94e07c6f81133212a838baa7">···87</a></span>····<a·class="code·hl_function"·href="a01500.html#a9349e88c94e07c6f81133212a838baa7">DynamicMatrix</a>(T·<span·class="keyword">const</span>&amp;·rhs)</div> 
141 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div> 
142 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······*<span·class="keyword">this</span>·=·rhs;</div> 
143 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div> 
144 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> 
145 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//====·resize·related·methods</span></div> 
146 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01500.html#acba4672549a724e6bc5d3e37bf3ed78e">··106</a></span><span·class="comment"></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01500.html#acba4672549a724e6bc5d3e37bf3ed78e">resize</a>·(<a·class="code·hl_typedef"·href="a01500.html#a715df25a177360ee13c239a158ac23e4">size_type</a>·r,·<a·class="code·hl_typedef"·href="a01500.html#a715df25a177360ee13c239a158ac23e4">size_type</a>·c,·<a·class="code·hl_typedef"·href="a01500.html#a6399dfd6908961062f7c214ce130b3a8">value_type</a>·v·=·<a·class="code·hl_typedef"·href="a01500.html#a6399dfd6908961062f7c214ce130b3a8">value_type</a>()·)</div> 
147 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····{</div>133 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········{</div>
Max diff block lines reached; 26188/68246 bytes (38.37%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
14.3 KB
html2text {}
    
Offset 4, 282 lines modifiedOffset 4, 205 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 dynmatrix.hh7 parameterizedobject.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·4·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=4·sts=4:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DYNMATRIX_HH 
15 ·6#define·DUNE_DYNMATRIX_HH14 ·5#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH
 15 ·6#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH
16 ·716 ·7
 17 ·8#include·<functional>
17 ·8#include·<cmath>18 ·9#include·<map>
18 ·9#include·<cstddef> 
19 ·10#include·<iostream>19 ·10#include·<memory>
 20 ·11
20 ·11#include·<initializer_list> 
21 ·12 
22 ·13#include·<dune/common/boundschecking.hh> 
23 ·14#include·<dune/common/exceptions.hh>21 ·12#include·<dune/common/exceptions.hh>
24 ·15#include·<dune/common/dynvector.hh> 
25 ·16#include·<dune/common/densematrix.hh> 
26 ·17#include·<dune/common/typetraits.hh>22 ·13#include·<dune/common/typeutilities.hh>
27 ·1823 ·14
28 ·19namespace·Dune24 ·15namespace·Dune·{
 25 ·16
 26 ·34template<typename·Signature,
 27 ·35·typename·KeyT·=·std::string>
 28 36class·ParameterizedObjectFactory;
29 ·20{ 
30 ·21 
31 ·31·template<·class·K·>·class·DynamicMatrix; 
32 ·32 
33 ·33·template<·class·K·> 
34 34·struct·DenseMatVecTraits<·DynamicMatrix<K>·> 
35 ·35·{ 
36 36·typedef·DynamicMatrix<K>·derived_type; 
37 ·3729 ·37
38 38·typedef·DynamicVector<K>·row_type; 
39 ·39 
40 40·typedef·row_type·&row_reference; 
41 41·typedef·const·row_type·&const_row_reference;30 ·38template<typename·TypeT,
 31 ·39·typename·KeyT,
 32 ·40·typename...·Args>
 33 41class·ParameterizedObjectFactory<TypeT(Args...),·KeyT>
42 ·4234 ·42{
 35 ·43·public:
 36 ·44
 37 46·typedef·KeyT·Key;
43 43·typedef·std::vector<K>·container_type; 
44 44·typedef·K·value_type; 
45 45·typedef·typename·container_type::size_type·size_type; 
46 ·46·}; 
47 ·4738 ·47
 39 49·using·Type·=·TypeT;
48 ·48·template<·class·K·> 
49 49·struct·FieldTraits<·DynamicMatrix<K>·> 
50 ·50·{40 ·50
51 51·typedef·typename·FieldTraits<K>::field_type·field_type; 
52 52·typedef·typename·FieldTraits<K>::real_type·real_type; 
53 ·53·};41 ·51·protected:
 42 ·52
 43 53·using·Creator·=·std::function<Type(Args...)>;
54 ·5444 ·54
55 ·59·template<class·K>45 ·55·template<class·F>
56 60·class·DynamicMatrix·:·public·DenseMatrix<·DynamicMatrix<K>·>46 56·static·constexpr·auto·has_proper_signature(Dune::PriorityTag<1>)
 47 ·57·->·decltype(·std::declval<F>()(std::declval<Args>()...),·std::true_type())
 48 ·58·{
 49 ·59·return·{};
 50 ·60·}
 51 ·61
 52 ·62·template<class·F>
 53 63·static·constexpr·std::false_type·has_proper_signature(Dune::PriorityTag<0>)
57 ·61·{54 ·64·{
58 ·62·std::vector<·DynamicVector<K>·>·_data; 
59 ·63·typedef·DenseMatrix<_DynamicMatrix<K>·>·Base;55 ·65·return·{};
 56 ·66·}
 57 ·67
60 ·64·public:58 ·68·public:
 59 ·69
 60 77·Type·create(Key·const&·key,·Args·...·args)·const·{
 61 ·78·typename·Registry::const_iterator·i·=·registry_.find(key);
 62 ·79·if·(i·==·registry_.end())·{
 63 ·80·DUNE_THROW(Dune::InvalidStateException,
 64 ·81·"ParametrizedObjectFactory:·key·``"·<<
 65 ·82·key·<<·"''·not·registered");
61 65·typedef·typename·Base::size_type·size_type; 
62 66·typedef·typename·Base::value_type·value_type; 
63 67·typedef·typename·Base::row_type·row_type; 
64 ·68 
65 ·69·//=====·constructors 
66 71·DynamicMatrix·()·{} 
67 ·72 
68 74·DynamicMatrix·(size_type·r,·size_type·c,·value_type·v·=·value_type()·)·: 
69 ·75·_data(r,·row_type(c,·v)·) 
70 ·76·{} 
71 ·77 
72 80·DynamicMatrix·(std::initializer_list<DynamicVector<K>>·const·&ll) 
73 ·81·:·_data(ll) 
74 ·82·{} 
75 ·8366 ·83·}
 67 ·84·else·return·i->second(args...);
 68 ·85·}
 69 ·86
 70 ·100·template<class·Impl>
 71 101·void·define(Key·const&·key)
76 ·84 
77 ·85·template·<class·T, 
78 ·86·typename·=·std::enable_if_t<!Dune::IsNumber<T>::value·&& 
79 HasDenseMatrixAssigner<DynamicMatrix,·T>::value>> 
80 87·DynamicMatrix(T·const&·rhs) 
81 ·88·{ 
82 ·89·*this·=·rhs; 
83 ·90·} 
84 ·91 
85 ·92·//====·resize·related·methods 
86 106·void·resize·(size_type·r,·size_type·c,·value_type·v·=·value_type()·) 
87 ·107·{72 ·102·{
 73 ·103·registry_[key]·=·DefaultCreator<Impl>();
88 ·108·_data.resize(0); 
Max diff block lines reached; 8499/14584 bytes (58.28%) of diff not shown.
34.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00200_source.html
    
Offset 84, 16 lines modifiedOffset 84, 16 lines modified
84 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>84 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
85 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span>·<span·class="comment">//·abs</span></div>85 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span>·<span·class="comment">//·abs</span></div>
86 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>86 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
87 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>87 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
88 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>88 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
89 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>89 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>90 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
91 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div>91 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div>92 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>93 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
94 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>94 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
95 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>95 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
96 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">namespace·</span>Impl</div>96 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">namespace·</span>Impl</div>
97 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>97 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··{</div>
98 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//·forward·declaration</span></div>98 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">//·forward·declaration</span></div>
99 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">class·</span>Float128;</div>99 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">class·</span>Float128;</div>
Offset 181, 19 lines modifiedOffset 181, 19 lines modified
181 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="preprocessor">······constexpr·Float128&amp;·operator·OP(const·Float128&amp;·u)·noexcept·······\</span></div>181 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="preprocessor">······constexpr·Float128&amp;·operator·OP(const·Float128&amp;·u)·noexcept·······\</span></div>
182 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="preprocessor">······{·································································\</span></div>182 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="preprocessor">······{·································································\</span></div>
183 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="preprocessor">········value_·OP·float128_t(u);········································\</span></div>183 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="preprocessor">········value_·OP·float128_t(u);········································\</span></div>
184 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="preprocessor">········return·*this;···················································\</span></div>184 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span><span·class="preprocessor">········return·*this;···················································\</span></div>
185 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="preprocessor">······}·································································\</span></div>185 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="preprocessor">······}·································································\</span></div>
186 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="preprocessor">······static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;</span>)</div>186 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span><span·class="preprocessor">······static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;</span>)</div>
187 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>187 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
188 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······<a·class="code·hl_define"·href="a00188.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(+=);</div>188 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······<a·class="code·hl_define"·href="a00206.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(+=);</div>
189 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······<a·class="code·hl_define"·href="a00188.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(-=);</div>189 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······<a·class="code·hl_define"·href="a00206.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(-=);</div>
190 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>190 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
191 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······<a·class="code·hl_define"·href="a00188.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(*=);</div>191 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······<a·class="code·hl_define"·href="a00206.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(*=);</div>
192 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<a·class="code·hl_define"·href="a00188.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(/=);</div>192 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<a·class="code·hl_define"·href="a00206.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(/=);</div>
193 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>193 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
194 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="preprocessor">#undef·DUNE_ASSIGN_OP</span></div>194 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="preprocessor">#undef·DUNE_ASSIGN_OP</span></div>
195 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>195 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
196 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····};·<span·class="comment">//·end·class·Float128</span></div>196 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>····};·<span·class="comment">//·end·class·Float128</span></div>
197 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>197 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
198 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>····<span·class="comment">//·binary·operators:</span></div>198 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>····<span·class="comment">//·binary·operators:</span></div>
199 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····<span·class="comment">//·For·symmetry·provide·overloads·with·arithmetic·types</span></div>199 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····<span·class="comment">//·For·symmetry·provide·overloads·with·arithmetic·types</span></div>
Offset 226, 18 lines modifiedOffset 226, 18 lines modified
226 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span><span·class="preprocessor">····constexpr·Float128·operator·OP(const·Float128&amp;·t,···················\</span></div>226 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span><span·class="preprocessor">····constexpr·Float128·operator·OP(const·Float128&amp;·t,···················\</span></div>
227 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span><span·class="preprocessor">···································const·U&amp;·u)·noexcept·················\</span></div>227 <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span><span·class="preprocessor">···································const·U&amp;·u)·noexcept·················\</span></div>
228 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span><span·class="preprocessor">····{···································································\</span></div>228 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span><span·class="preprocessor">····{···································································\</span></div>
229 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span><span·class="preprocessor">······return·Float128{float128_t(t)·OP·float128_t(u)};··················\</span></div>229 <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span><span·class="preprocessor">······return·Float128{float128_t(t)·OP·float128_t(u)};··················\</span></div>
230 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span><span·class="preprocessor">····}···································································\</span></div>230 <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span><span·class="preprocessor">····}···································································\</span></div>
231 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span><span·class="preprocessor">····static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;</span>)</div>231 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span><span·class="preprocessor">····static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;</span>)</div>
232 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>·</div>232 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>·</div>
233 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>····<a·class="code·hl_define"·href="a00188.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(+);</div>233 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>····<a·class="code·hl_define"·href="a00206.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(+);</div>
234 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>····<a·class="code·hl_define"·href="a00188.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(-);</div>234 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>····<a·class="code·hl_define"·href="a00206.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(-);</div>
235 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>····<a·class="code·hl_define"·href="a00188.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(*);</div>235 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>····<a·class="code·hl_define"·href="a00206.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(*);</div>
236 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>····<a·class="code·hl_define"·href="a00188.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(/);</div>236 <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>····<a·class="code·hl_define"·href="a00206.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(/);</div>
237 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>·</div>237 <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>·</div>
238 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span><span·class="preprocessor">#undef·DUNE_BINARY_OP</span></div>238 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span><span·class="preprocessor">#undef·DUNE_BINARY_OP</span></div>
239 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div>239 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div>
240 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>····<span·class="comment">//·logical·operators:</span></div>240 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>····<span·class="comment">//·logical·operators:</span></div>
241 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>····<span·class="comment">//·For·symmetry·provide·overloads·with·arithmetic·types</span></div>241 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>····<span·class="comment">//·For·symmetry·provide·overloads·with·arithmetic·types</span></div>
242 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>····<span·class="comment">//·in·the·first·or·second·argument.</span></div>242 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>····<span·class="comment">//·in·the·first·or·second·argument.</span></div>
243 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span><span·class="preprocessor">#define·DUNE_BINARY_BOOL_OP(OP)·········································\</span></div>243 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span><span·class="preprocessor">#define·DUNE_BINARY_BOOL_OP(OP)·········································\</span></div>
Offset 294, 54 lines modifiedOffset 294, 54 lines modified
294 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span><span·class="preprocessor">····inline·Float128·name(const·Float128&amp;·t,································\</span></div>294 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span><span·class="preprocessor">····inline·Float128·name(const·Float128&amp;·t,································\</span></div>
295 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span><span·class="preprocessor">·························const·Float128&amp;·u)·noexcept·······················\</span></div>295 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span><span·class="preprocessor">·························const·Float128&amp;·u)·noexcept·······················\</span></div>
296 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</span><span·class="preprocessor">····{······································································\</span></div>296 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</span><span·class="preprocessor">····{······································································\</span></div>
297 <div·class="line"><a·id="l00227"·name="l00227"></a><span·class="lineno">··227</span><span·class="preprocessor">······return·Float128{func·(float128_t(t),·float128_t(u))};················\</span></div>297 <div·class="line"><a·id="l00227"·name="l00227"></a><span·class="lineno">··227</span><span·class="preprocessor">······return·Float128{func·(float128_t(t),·float128_t(u))};················\</span></div>
298 <div·class="line"><a·id="l00228"·name="l00228"></a><span·class="lineno">··228</span><span·class="preprocessor">····}······································································\</span></div>298 <div·class="line"><a·id="l00228"·name="l00228"></a><span·class="lineno">··228</span><span·class="preprocessor">····}······································································\</span></div>
299 <div·class="line"><a·id="l00229"·name="l00229"></a><span·class="lineno">··229</span><span·class="preprocessor">····static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;</span>)</div>299 <div·class="line"><a·id="l00229"·name="l00229"></a><span·class="lineno">··229</span><span·class="preprocessor">····static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;</span>)</div>
300 <div·class="line"><a·id="l00230"·name="l00230"></a><span·class="lineno">··230</span>·</div>300 <div·class="line"><a·id="l00230"·name="l00230"></a><span·class="lineno">··230</span>·</div>
301 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(abs,·fabsq);</div>301 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(abs,·fabsq);</div>
302 <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(acos,·acosq);</div>302 <div·class="line"><a·id="l00232"·name="l00232"></a><span·class="lineno">··232</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(acos,·acosq);</div>
303 <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(acosh,·acoshq);</div>303 <div·class="line"><a·id="l00233"·name="l00233"></a><span·class="lineno">··233</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(acosh,·acoshq);</div>
304 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(asin,·asinq);</div>304 <div·class="line"><a·id="l00234"·name="l00234"></a><span·class="lineno">··234</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(asin,·asinq);</div>
305 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(asinh,·asinhq);</div>305 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(asinh,·asinhq);</div>
306 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(atan,·atanq);</div>306 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(atan,·atanq);</div>
307 <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(atanh,·atanhq);</div>307 <div·class="line"><a·id="l00237"·name="l00237"></a><span·class="lineno">··237</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(atanh,·atanhq);</div>
308 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(cbrt,·cbrtq);</div>308 <div·class="line"><a·id="l00238"·name="l00238"></a><span·class="lineno">··238</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(cbrt,·cbrtq);</div>
309 <div·class="line"><a·id="l00239"·name="l00239"></a><span·class="lineno">··239</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(ceil,·ceilq);</div>309 <div·class="line"><a·id="l00239"·name="l00239"></a><span·class="lineno">··239</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(ceil,·ceilq);</div>
310 <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(cos,·cosq);</div>310 <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(cos,·cosq);</div>
311 <div·class="line"><a·id="l00241"·name="l00241"></a><span·class="lineno">··241</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(cosh,·coshq);</div>311 <div·class="line"><a·id="l00241"·name="l00241"></a><span·class="lineno">··241</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(cosh,·coshq);</div>
312 <div·class="line"><a·id="l00242"·name="l00242"></a><span·class="lineno">··242</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(erf,·erfq);</div>312 <div·class="line"><a·id="l00242"·name="l00242"></a><span·class="lineno">··242</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(erf,·erfq);</div>
313 <div·class="line"><a·id="l00243"·name="l00243"></a><span·class="lineno">··243</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(erfc,·erfcq);</div>313 <div·class="line"><a·id="l00243"·name="l00243"></a><span·class="lineno">··243</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(erfc,·erfcq);</div>
314 <div·class="line"><a·id="l00244"·name="l00244"></a><span·class="lineno">··244</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(exp,·expq);</div>314 <div·class="line"><a·id="l00244"·name="l00244"></a><span·class="lineno">··244</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(exp,·expq);</div>
315 <div·class="line"><a·id="l00245"·name="l00245"></a><span·class="lineno">··245</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(expm1,·expm1q);</div>315 <div·class="line"><a·id="l00245"·name="l00245"></a><span·class="lineno">··245</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(expm1,·expm1q);</div>
316 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno">··246</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(fabs,·fabsq);</div>316 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno">··246</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(fabs,·fabsq);</div>
317 <div·class="line"><a·id="l00247"·name="l00247"></a><span·class="lineno">··247</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(floor,·floorq);</div>317 <div·class="line"><a·id="l00247"·name="l00247"></a><span·class="lineno">··247</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(floor,·floorq);</div>
318 <div·class="line"><a·id="l00248"·name="l00248"></a><span·class="lineno">··248</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">int</span>,·ilogb,·ilogbq);</div>318 <div·class="line"><a·id="l00248"·name="l00248"></a><span·class="lineno">··248</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">int</span>,·ilogb,·ilogbq);</div>
319 <div·class="line"><a·id="l00249"·name="l00249"></a><span·class="lineno">··249</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(lgamma,·lgammaq);</div>319 <div·class="line"><a·id="l00249"·name="l00249"></a><span·class="lineno">··249</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(lgamma,·lgammaq);</div>
320 <div·class="line"><a·id="l00250"·name="l00250"></a><span·class="lineno">··250</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>,·llrint,·llrintq);</div>320 <div·class="line"><a·id="l00250"·name="l00250"></a><span·class="lineno">··250</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>,·llrint,·llrintq);</div>
321 <div·class="line"><a·id="l00251"·name="l00251"></a><span·class="lineno">··251</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>,·llround,·llroundq);</div>321 <div·class="line"><a·id="l00251"·name="l00251"></a><span·class="lineno">··251</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">long</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>,·llround,·llroundq);</div>
322 <div·class="line"><a·id="l00252"·name="l00252"></a><span·class="lineno">··252</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(log,·logq);</div>322 <div·class="line"><a·id="l00252"·name="l00252"></a><span·class="lineno">··252</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(log,·logq);</div>
323 <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(log10,·log10q);</div>323 <div·class="line"><a·id="l00253"·name="l00253"></a><span·class="lineno">··253</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(log10,·log10q);</div>
324 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(log1p,·log1pq);</div>324 <div·class="line"><a·id="l00254"·name="l00254"></a><span·class="lineno">··254</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(log1p,·log1pq);</div>
325 <div·class="line"><a·id="l00255"·name="l00255"></a><span·class="lineno">··255</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(log2,·log2q);</div>325 <div·class="line"><a·id="l00255"·name="l00255"></a><span·class="lineno">··255</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(log2,·log2q);</div>
326 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>····<span·class="comment">//·DUNE_UNARY_FUNC(logb,·logbq);·//·not·available·in·gcc5</span></div>326 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>····<span·class="comment">//·DUNE_UNARY_FUNC(logb,·logbq);·//·not·available·in·gcc5</span></div>
327 <div·class="line"><a·id="l00257"·name="l00257"></a><span·class="lineno">··257</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>,·lrint,·lrintq);</div>327 <div·class="line"><a·id="l00257"·name="l00257"></a><span·class="lineno">··257</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>,·lrint,·lrintq);</div>
328 <div·class="line"><a·id="l00258"·name="l00258"></a><span·class="lineno">··258</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>,·lround,·lroundq);</div>328 <div·class="line"><a·id="l00258"·name="l00258"></a><span·class="lineno">··258</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>,·lround,·lroundq);</div>
329 <div·class="line"><a·id="l00259"·name="l00259"></a><span·class="lineno">··259</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(nearbyint,·nearbyintq);</div>329 <div·class="line"><a·id="l00259"·name="l00259"></a><span·class="lineno">··259</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(nearbyint,·nearbyintq);</div>
330 <div·class="line"><a·id="l00260"·name="l00260"></a><span·class="lineno">··260</span>····DUNE_BINARY_FUNC(nextafter,·nextafterq);</div>330 <div·class="line"><a·id="l00260"·name="l00260"></a><span·class="lineno">··260</span>····DUNE_BINARY_FUNC(nextafter,·nextafterq);</div>
331 <div·class="line"><a·id="l00261"·name="l00261"></a><span·class="lineno">··261</span>····DUNE_BINARY_FUNC(pow,·powq);·<span·class="comment">//·overload·for·integer·argument·see·below</span></div>331 <div·class="line"><a·id="l00261"·name="l00261"></a><span·class="lineno">··261</span>····DUNE_BINARY_FUNC(pow,·powq);·<span·class="comment">//·overload·for·integer·argument·see·below</span></div>
332 <div·class="line"><a·id="l00262"·name="l00262"></a><span·class="lineno">··262</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(rint,·rintq);</div>332 <div·class="line"><a·id="l00262"·name="l00262"></a><span·class="lineno">··262</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(rint,·rintq);</div>
333 <div·class="line"><a·id="l00263"·name="l00263"></a><span·class="lineno">··263</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(<a·class="code·hl_function"·href="a00409.html#ga510d97be4644ccab5db0b674d79633c6">round</a>,·roundq);</div>333 <div·class="line"><a·id="l00263"·name="l00263"></a><span·class="lineno">··263</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(<a·class="code·hl_function"·href="a00409.html#ga510d97be4644ccab5db0b674d79633c6">round</a>,·roundq);</div>
334 <div·class="line"><a·id="l00264"·name="l00264"></a><span·class="lineno">··264</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(sin,·sinq);</div>334 <div·class="line"><a·id="l00264"·name="l00264"></a><span·class="lineno">··264</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(sin,·sinq);</div>
335 <div·class="line"><a·id="l00265"·name="l00265"></a><span·class="lineno">··265</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(sinh,·sinhq);</div>335 <div·class="line"><a·id="l00265"·name="l00265"></a><span·class="lineno">··265</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(sinh,·sinhq);</div>
336 <div·class="line"><a·id="l00266"·name="l00266"></a><span·class="lineno">··266</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(sqrt,·sqrtq);</div>336 <div·class="line"><a·id="l00266"·name="l00266"></a><span·class="lineno">··266</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(sqrt,·sqrtq);</div>
337 <div·class="line"><a·id="l00267"·name="l00267"></a><span·class="lineno">··267</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(tan,·tanq);</div>337 <div·class="line"><a·id="l00267"·name="l00267"></a><span·class="lineno">··267</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(tan,·tanq);</div>
338 <div·class="line"><a·id="l00268"·name="l00268"></a><span·class="lineno">··268</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(tanh,·tanhq);</div>338 <div·class="line"><a·id="l00268"·name="l00268"></a><span·class="lineno">··268</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(tanh,·tanhq);</div>
339 <div·class="line"><a·id="l00269"·name="l00269"></a><span·class="lineno">··269</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(tgamma,·tgammaq);</div>339 <div·class="line"><a·id="l00269"·name="l00269"></a><span·class="lineno">··269</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(tgamma,·tgammaq);</div>
340 <div·class="line"><a·id="l00270"·name="l00270"></a><span·class="lineno">··270</span>····<a·class="code·hl_define"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(<a·class="code·hl_function"·href="a00409.html#ga78eaf86b21236f5c55336724e911da08">trunc</a>,·truncq);</div>340 <div·class="line"><a·id="l00270"·name="l00270"></a><span·class="lineno">··270</span>····<a·class="code·hl_define"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(<a·class="code·hl_function"·href="a00409.html#ga78eaf86b21236f5c55336724e911da08">trunc</a>,·truncq);</div>
341 <div·class="line"><a·id="l00271"·name="l00271"></a><span·class="lineno">··271</span>·</div>341 <div·class="line"><a·id="l00271"·name="l00271"></a><span·class="lineno">··271</span>·</div>
342 <div·class="line"><a·id="l00272"·name="l00272"></a><span·class="lineno">··272</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">bool</span>,·isfinite,·finiteq);</div>342 <div·class="line"><a·id="l00272"·name="l00272"></a><span·class="lineno">··272</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">bool</span>,·isfinite,·finiteq);</div>
343 <div·class="line"><a·id="l00273"·name="l00273"></a><span·class="lineno">··273</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">bool</span>,·isinf,·isinfq);</div>343 <div·class="line"><a·id="l00273"·name="l00273"></a><span·class="lineno">··273</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">bool</span>,·isinf,·isinfq);</div>
344 <div·class="line"><a·id="l00274"·name="l00274"></a><span·class="lineno">··274</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">bool</span>,·isnan,·isnanq);</div>344 <div·class="line"><a·id="l00274"·name="l00274"></a><span·class="lineno">··274</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">bool</span>,·isnan,·isnanq);</div>
345 <div·class="line"><a·id="l00275"·name="l00275"></a><span·class="lineno">··275</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">bool</span>,·signbit,·signbitq);</div>345 <div·class="line"><a·id="l00275"·name="l00275"></a><span·class="lineno">··275</span>····DUNE_CUSTOM_UNARY_FUNC(<span·class="keywordtype">bool</span>,·signbit,·signbitq);</div>
346 <div·class="line"><a·id="l00276"·name="l00276"></a><span·class="lineno">··276</span>·</div>346 <div·class="line"><a·id="l00276"·name="l00276"></a><span·class="lineno">··276</span>·</div>
347 <div·class="line"><a·id="l00277"·name="l00277"></a><span·class="lineno">··277</span><span·class="preprocessor">#undef·DUNE_UNARY_FUNC</span></div>347 <div·class="line"><a·id="l00277"·name="l00277"></a><span·class="lineno">··277</span><span·class="preprocessor">#undef·DUNE_UNARY_FUNC</span></div>
Offset 521, 19 lines modifiedOffset 521, 19 lines modified
521 <div·class="line"><a·id="l00452"·name="l00452"></a><span·class="lineno">··452</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·float_round_style·round_style·=·round_to_nearest;</div>521 <div·class="line"><a·id="l00452"·name="l00452"></a><span·class="lineno">··452</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·float_round_style·round_style·=·round_to_nearest;</div>
522 <div·class="line"><a·id="l00453"·name="l00453"></a><span·class="lineno">··453</span>··};</div>522 <div·class="line"><a·id="l00453"·name="l00453"></a><span·class="lineno">··453</span>··};</div>
523 <div·class="line"><a·id="l00454"·name="l00454"></a><span·class="lineno">··454</span><span·class="preprocessor">#endif</span></div>523 <div·class="line"><a·id="l00454"·name="l00454"></a><span·class="lineno">··454</span><span·class="preprocessor">#endif</span></div>
524 <div·class="line"><a·id="l00455"·name="l00455"></a><span·class="lineno">··455</span>}·<span·class="comment">//·end·namespace·std</span></div>524 <div·class="line"><a·id="l00455"·name="l00455"></a><span·class="lineno">··455</span>}·<span·class="comment">//·end·namespace·std</span></div>
525 <div·class="line"><a·id="l00456"·name="l00456"></a><span·class="lineno">··456</span>·</div>525 <div·class="line"><a·id="l00456"·name="l00456"></a><span·class="lineno">··456</span>·</div>
526 <div·class="line"><a·id="l00457"·name="l00457"></a><span·class="lineno">··457</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_QUADMATH</span></div>526 <div·class="line"><a·id="l00457"·name="l00457"></a><span·class="lineno">··457</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_QUADMATH</span></div>
527 <div·class="line"><a·id="l00458"·name="l00458"></a><span·class="lineno">··458</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_QUADMATH_HH</span></div>527 <div·class="line"><a·id="l00458"·name="l00458"></a><span·class="lineno">··458</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_QUADMATH_HH</span></div>
 528 <div·class="ttc"·id="aa00083_html"><div·class="ttname"><a·href="a00083.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
528 <div·class="ttc"·id="aa00185_html"><div·class="ttname"><a·href="a00185.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>529 <div·class="ttc"·id="aa00122_html"><div·class="ttname"><a·href="a00122.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
529 <div·class="ttc"·id="aa00188_html_a29d7d4052b3f82e3ac4809355498a1a0"><div·class="ttname"><a·href="a00188.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a></div><div·class="ttdeci">#define·DUNE_BINARY_OP(OP)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:248</div></div>530 <div·class="ttc"·id="aa00206_html_a29d7d4052b3f82e3ac4809355498a1a0"><div·class="ttname"><a·href="a00206.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a></div><div·class="ttdeci">#define·DUNE_BINARY_OP(OP)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:248</div></div>
530 <div·class="ttc"·id="aa00188_html_a9b2955907ac5ff3c53a5e1dc45e10532"><div·class="ttname"><a·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a></div><div·class="ttdeci">#define·DUNE_UNARY_FUNC(name)</div></div>531 <div·class="ttc"·id="aa00206_html_a9b2955907ac5ff3c53a5e1dc45e10532"><div·class="ttname"><a·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a></div><div·class="ttdeci">#define·DUNE_UNARY_FUNC(name)</div></div>
531 <div·class="ttc"·id="aa00188_html_ac631559314e81560b9e4d2949a9c6f9e"><div·class="ttname"><a·href="a00188.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a></div><div·class="ttdeci">#define·DUNE_ASSIGN_OP(OP)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:207</div></div>532 <div·class="ttc"·id="aa00206_html_ac631559314e81560b9e4d2949a9c6f9e"><div·class="ttname"><a·href="a00206.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a></div><div·class="ttdeci">#define·DUNE_ASSIGN_OP(OP)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:207</div></div>
532 <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div> 
533 <div·class="ttc"·id="aa00397_html_ga724a26a744239bcf2c7cfd87bd6570ce"><div·class="ttname"><a·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">Dune::operator&gt;&gt;</a></div><div·class="ttdeci">Stream·&amp;·operator&gt;&gt;(Stream·&amp;stream,·std::tuple&lt;·Ts...·&gt;·&amp;t)</div><div·class="ttdoc">Read·a·std::tuple.</div><div·class="ttdef"><b>Definition:</b>·streamoperators.hh:43</div></div>533 <div·class="ttc"·id="aa00397_html_ga724a26a744239bcf2c7cfd87bd6570ce"><div·class="ttname"><a·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">Dune::operator&gt;&gt;</a></div><div·class="ttdeci">Stream·&amp;·operator&gt;&gt;(Stream·&amp;stream,·std::tuple&lt;·Ts...·&gt;·&amp;t)</div><div·class="ttdoc">Read·a·std::tuple.</div><div·class="ttdef"><b>Definition:</b>·streamoperators.hh:43</div></div>
534 <div·class="ttc"·id="aa00408_html_ga49e9aab7260e82c77e7fd410ecb339c1"><div·class="ttname"><a·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a></div><div·class="ttdeci">std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:278</div></div>534 <div·class="ttc"·id="aa00408_html_ga49e9aab7260e82c77e7fd410ecb339c1"><div·class="ttname"><a·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a></div><div·class="ttdeci">std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:278</div></div>
535 <div·class="ttc"·id="aa00408_html_ga80f9fd2604e395d902fb0df692cdaca4"><div·class="ttname"><a·href="a00408.html#ga80f9fd2604e395d902fb0df692cdaca4">Dune::operator-</a></div><div·class="ttdeci">bigunsignedint&lt;·k·&gt;·operator-(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:542</div></div>535 <div·class="ttc"·id="aa00408_html_ga80f9fd2604e395d902fb0df692cdaca4"><div·class="ttname"><a·href="a00408.html#ga80f9fd2604e395d902fb0df692cdaca4">Dune::operator-</a></div><div·class="ttdeci">bigunsignedint&lt;·k·&gt;·operator-(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:542</div></div>
Max diff block lines reached; 1065/34234 bytes (3.11%) of diff not shown.
874 B
html2text {}
    
Offset 478, 26 lines modifiedOffset 478, 26 lines modified
478 ·452·static·constexpr·float_round_style·round_style·=·round_to_nearest;478 ·452·static·constexpr·float_round_style·round_style·=·round_to_nearest;
479 ·453·};479 ·453·};
480 ·454#endif480 ·454#endif
481 ·455}·//·end·namespace·std481 ·455}·//·end·namespace·std
482 ·456482 ·456
483 ·457#endif·//·HAVE_QUADMATH483 ·457#endif·//·HAVE_QUADMATH
484 ·458#endif·//·DUNE_QUADMATH_HH484 ·458#endif·//·DUNE_QUADMATH_HH
 485 typetraits.hh
 486 Traits·for·type·conversions·and·type·information.
485 exceptions.hh487 exceptions.hh
486 A·few·common·exception·classes.488 A·few·common·exception·classes.
487 DUNE_BINARY_OP489 DUNE_BINARY_OP
488 #define·DUNE_BINARY_OP(OP)490 #define·DUNE_BINARY_OP(OP)
489 Definition:·debugalign.hh:248491 Definition:·debugalign.hh:248
490 DUNE_UNARY_FUNC492 DUNE_UNARY_FUNC
491 #define·DUNE_UNARY_FUNC(name)493 #define·DUNE_UNARY_FUNC(name)
492 DUNE_ASSIGN_OP494 DUNE_ASSIGN_OP
493 #define·DUNE_ASSIGN_OP(OP)495 #define·DUNE_ASSIGN_OP(OP)
494 Definition:·debugalign.hh:207496 Definition:·debugalign.hh:207
495 typetraits.hh 
496 Traits·for·type·conversions·and·type·information. 
497 Dune::operator>>497 Dune::operator>>
498 Stream·&·operator>>(Stream·&stream,·std::tuple<·Ts...·>·&t)498 Stream·&·operator>>(Stream·&stream,·std::tuple<·Ts...·>·&t)
499 Read·a·std::tuple.499 Read·a·std::tuple.
500 Definition:·streamoperators.hh:43500 Definition:·streamoperators.hh:43
501 Dune::operator<<501 Dune::operator<<
502 std::ostream·&·operator<<(std::ostream·&s,·const·bigunsignedint<·k·>·&x)502 std::ostream·&·operator<<(std::ostream·&s,·const·bigunsignedint<·k·>·&x)
503 Definition:·bigunsignedint.hh:278503 Definition:·bigunsignedint.hh:278
7.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00203.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·parametertreeparser.cc·File·Reference</title>8 <title>dune-common:·arraylist.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 28 lines modifiedOffset 62, 52 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
 68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
 70 <a·href="#namespaces">Namespaces</a>··</div>
68 ··<div·class="headertitle"><div·class="title">parametertreeparser.cc·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">arraylist.hh·File·Reference</div></div>
69 </div><!--header-->72 </div><!--header-->
70 <div·class="contents">73 <div·class="contents">
  
 74 <p>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)··
 75 <a·href="#details">More...</a></p>
 76 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>
71 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00143_source.html">parametertreeparser.hh</a>&quot;</code><br·/> 
72 <code>#include·&lt;cstdlib&gt;</code><br·/> 
73 <code>#include·&lt;iostream&gt;</code><br·/> 
74 <code>#include·&lt;ostream&gt;</code><br·/> 
75 <code>#include·&lt;string&gt;</code><br·/> 
76 <code>#include·&lt;sstream&gt;</code><br·/> 
77 <code>#include·&lt;fstream&gt;</code><br·/> 
78 <code>#include·&lt;set&gt;</code><br·/>77 <code>#include·&lt;cassert&gt;</code><br·/>
79 <code>#include·&lt;map&gt;</code><br·/>78 <code>#include·&lt;memory&gt;</code><br·/>
80 <code>#include·&lt;algorithm&gt;</code><br·/>79 <code>#include·&lt;vector&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>80 <code>#include·&quot;<a·class="el"·href="a00137_source.html">iteratorfacades.hh</a>&quot;</code><br·/>
 81 </div>
 82 <p><a·href="a00203_source.html">Go·to·the·source·code·of·this·file.</a></p>
 83 <table·class="memberdecls">
 84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 85 Classes</h2></td></tr>
 86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01284.html">Dune::ArrayList&lt;·T,·N,·A·&gt;</a></td></tr>
 87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·dynamically·growing·random·access·list.··<a·href="a01284.html#details">More...</a><br·/></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01276.html">Dune::ArrayListIterator&lt;·T,·N,·A·&gt;</a></td></tr>
 90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··<a·href="a01276.html#details">More...</a><br·/></td></tr>
 91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01280.html">Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·constant·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··<a·href="a01280.html#details">More...</a><br·/></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 </table><table·class="memberdecls">
 96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 97 Namespaces</h2></td></tr>
 98 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 99 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table>
 102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 103 <div·class="textblock"><p·>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·</p>
 104 <p·>This·file·implements·the·class·ArrayList·which·behaves·like·dynamically·growing·array·together·with·the·class·ArrayListIterator·which·is·random·access·iterator·as·needed·by·the·stl·for·sorting·and·other·algorithms.·</p><dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
82 </div></div><!--·contents·-->105 </div></div><!--·contents·-->
83 <!--·start·footer·part·-->106 <!--·start·footer·part·-->
84 <hr·class="footer"/><address·class="footer"><small>107 <hr·class="footer"/><address·class="footer"><small>
85 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
86 </small></address>109 </small></address>
87 </body>110 </body>
88 </html>111 </html>
1.56 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 43 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 parametertreeparser.cc·File·Reference 
8 #include·"parametertreeparser.hh" 
9 #include·<cstdlib> 
10 #include·<iostream>7 Classes·|·Namespaces
 8 arraylist.hh·File·Reference
 9 Implements·a·random-access·container·that·can·efficiently·change·size·(similar
 10 to·std::deque)·More...
11 #include·<ostream>11 #include·<array>
12 #include·<string> 
13 #include·<sstream> 
14 #include·<fstream> 
15 #include·<set>12 #include·<cassert>
16 #include·<map>13 #include·<memory>
17 #include·<algorithm> 
18 #include·<dune/common/exceptions.hh>14 #include·<vector>
 15 #include·"iteratorfacades.hh"
 16 Go_to_the_source_code_of_this_file.
 17 ·Classes
 18 class· Dune::ArrayList<_T,_N,_A_>
 19  ······A·dynamically·growing·random·access·list.·More...
 20  
 21 class· Dune::ArrayListIterator<_T,_N,_A_>
 22  ······A·random·access·iterator·for·the·Dune::ArrayList·class.·More...
 23  
 24 class· Dune::ConstArrayListIterator<_T,_N,_A_>
 25  ······A·constant·random·access·iterator·for·the·Dune::ArrayList·class.
 26 ········More...
 27  
 28 ·Namespaces
 29 namespace· Dune
 30  ··········Dune·namespace.
 31  
 32 *****·Detailed·Description·*****
 33 Implements·a·random-access·container·that·can·efficiently·change·size·(similar
 34 to·std::deque)
 35 This·file·implements·the·class·ArrayList·which·behaves·like·dynamically·growing
 36 array·together·with·the·class·ArrayListIterator·which·is·random·access·iterator
 37 as·needed·by·the·stl·for·sorting·and·other·algorithms.
 38 ··Author
 39 ······Markus·Blatt
  
19 ===============================================================================40 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.441 ·····Generated·by [doxygen]·1.9.4
71.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00206.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·typeutilities.hh·File·Reference</title>8 <title>dune-common:·debugalign.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 52 lines modifiedOffset 65, 379 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
 72 <a·href="#define-members">Macros</a>·&#124;
72 <a·href="#typedef-members">Typedefs</a>··</div>73 <a·href="#typedef-members">Typedefs</a>·&#124;
 74 <a·href="#func-members">Functions</a>·&#124;
 75 <a·href="#var-members">Variables</a>··</div>
73 ··<div·class="headertitle"><div·class="title">typeutilities.hh·File·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">debugalign.hh·File·Reference</div></div>
74 </div><!--header-->77 </div><!--header-->
75 <div·class="contents">78 <div·class="contents">
  
76 <p>Utilities·for·type·computations,·constraining·overloads,·...·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 80 <code>#include·&lt;cassert&gt;</code><br·/>
 81 <code>#include·&lt;cmath&gt;</code><br·/>
 82 <code>#include·&lt;complex&gt;</code><br·/>
 83 <code>#include·&lt;cstddef&gt;</code><br·/>
 84 <code>#include·&lt;cstdint&gt;</code><br·/>
 85 <code>#include·&lt;cstdlib&gt;</code><br·/>
 86 <code>#include·&lt;functional&gt;</code><br·/>
 87 <code>#include·&lt;istream&gt;</code><br·/>
 88 <code>#include·&lt;ostream&gt;</code><br·/>
79 <code>#include·&lt;type_traits&gt;</code><br·/>89 <code>#include·&lt;type_traits&gt;</code><br·/>
80 <code>#include·&lt;tuple&gt;</code><br·/>90 <code>#include·&lt;utility&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
 93 <code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
 94 <code>#include·&lt;<a·class="el"·href="a00062_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>
 95 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
81 </div>96 </div>
82 <p><a·href="a00206_source.html">Go·to·the·source·code·of·this·file.</a></p>97 <p><a·href="a00206_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">98 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
85 Classes</h2></td></tr>100 Classes</h2></td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03180.html">Dune::PriorityTag&lt;·priority·&gt;</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01352.html">Dune::AlignedBase&lt;·align,·Impl·&gt;</a></td></tr>
 102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">CRTP·base·mixin·class·to·check·alignment.··<a·href="a01352.html#details">More...</a><br·/></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01360.html">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01356.html">Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;</a></td></tr>
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·class·for·tagging·priorities.··<a·href="a03180.html#details">More...</a><br·/></td></tr>107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">aligned·wrappers·for·arithmetic·types··<a·href="a01356.html#details">More...</a><br·/></td></tr>
 108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01364.html">Dune::Simd::Overloads::ScalarType&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr>
 110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01368.html">Dune::Simd::Overloads::RebindType&lt;·U,·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01372.html">Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03184.html">Dune::PriorityTag&lt;·0·&gt;</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·class·for·tagging·priorities.··<a·href="a03184.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">115 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>117 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>118 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>119 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 121 <tr·class="memitem:a00428"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html">Dune::AlignedNumberImpl</a></td></tr>
 122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>
 124 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
 125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr>
 127 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr>
 128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 </table><table·class="memberdecls">
 130 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 131 Macros</h2></td></tr>
 132 <tr·class="memitem:ac631559314e81560b9e4d2949a9c6f9e"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#ac631559314e81560b9e4d2949a9c6f9e">DUNE_ASSIGN_OP</a>(OP)</td></tr>
 133 <tr·class="separator:ac631559314e81560b9e4d2949a9c6f9e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a29d7d4052b3f82e3ac4809355498a1a0">DUNE_BINARY_OP</a>(OP)</td></tr>
 135 <tr·class="separator:a29d7d4052b3f82e3ac4809355498a1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">DUNE_UNARY_FUNC</a>(name)</td></tr>
 137 <tr·class="separator:a9b2955907ac5ff3c53a5e1dc45e10532"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">138 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>139 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
100 Typedefs</h2></td></tr>140 Typedefs</h2></td></tr>
101 <tr·class="memitem:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memTemplParams"·colspan="2">template&lt;class·This·,·class...·T&gt;·</td></tr> 
102 <tr·class="memitem:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">Dune::disableCopyMove</a>·=·std::enable_if_t&lt;·not·Impl::disableCopyMoveHelper&lt;·This,·T...·&gt;::value,·int·&gt;</td></tr> 
103 <tr·class="memdesc:ga5cf0dfc6fe8998b21503cd81c6681afc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helper·to·disable·constructor·as·copy·and·move·constructor.··<a·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">More...</a><br·/></td></tr>141 <tr·class="memitem:aeeddbd17746ee9ac74ce286741916e4c"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">Dune::ViolatedAlignmentHandler</a>·=·std:[·...·truncated·by·diffoscope;·len:·63,·SHA:·9f863d5b76190bac268a8730a7d9ce1d478103d764297cd73e55b33140ed6eb5·...·]</td></tr>
 142 <tr·class="memdesc:aeeddbd17746ee9ac74ce286741916e4c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·the·handler·called·by·<code><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe"·title="called·when·an·alignment·violation·is·detected">violatedAlignment()</a></code>··<a·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">More...</a><br·/></td></tr>
 143 <tr·class="separator:aeeddbd17746ee9ac74ce286741916e4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 144 </table><table·class="memberdecls">
 145 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 146 Functions</h2></td></tr>
 147 <tr·class="memitem:abeb716c21bff1ff9559bb62074d90e86"><td·class="memItemLeft"·align="right"·valign="top">ViolatedAlignmentHandler·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">Dune::violatedAlignmentHandler</a>·()</td></tr>
 148 <tr·class="memdesc:abeb716c21bff1ff9559bb62074d90e86"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·the·handler·called·by·<code><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe"·title="called·when·an·alignment·violation·is·detected">violatedAlignment()</a></code>··<a·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">More...</a><br·/></td></tr>
 149 <tr·class="separator:abeb716c21bff1ff9559bb62074d90e86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:a0e6c32c539889f324d46417dca3dfebe"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">Dune::violatedAlignment</a>·(const·char·*className,·std::size_t·expectedAlignment,·const·void·*address)</td></tr>
 151 <tr·class="memdesc:a0e6c32c539889f324d46417dca3dfebe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">called·when·an·alignment·violation·is·detected··<a·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">More...</a><br·/></td></tr>
 152 <tr·class="separator:a0e6c32c539889f324d46417dca3dfebe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 153 <tr·class="memitem:abf9e4364af213c448afdf072eea1b913"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abf9e4364af213c448afdf072eea1b913">Dune::isAligned</a>·(const·void·*p,·std::size_t·align)</td></tr>
 154 <tr·class="memdesc:abf9e4364af213c448afdf072eea1b913"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·an·address·conforms·to·the·given·alignment··<a·href="a00425.html#abf9e4364af213c448afdf072eea1b913">More...</a><br·/></td></tr>
 155 <tr·class="separator:abf9e4364af213c448afdf072eea1b913"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·align·=·debugAlignment,·class·T·&gt;·</td></tr>
 157 <tr·class="memitem:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memTemplItemLeft"·align="right"·valign="top">AlignedNumber&lt;·T,·align·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab907d00e446cb6ec96109e7d32fbe9e0">Dune::aligned</a>·(T·value)</td></tr>
 158 <tr·class="memdesc:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">align·a·value·to·a·certain·alignment··<a·href="a00425.html#ab907d00e446cb6ec96109e7d32fbe9e0">More...</a><br·/></td></tr>
 159 <tr·class="separator:ab907d00e446cb6ec96109e7d32fbe9e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 160 <tr·class="memitem:a369805c961075a51b0298fbff650155f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#a369805c961075a51b0298fbff650155f">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(+)</td></tr>
 161 <tr·class="separator:a369805c961075a51b0298fbff650155f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:af9ad98aaa0d1920b38f0769ebb275bed"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#af9ad98aaa0d1920b38f0769ebb275bed">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(-)</td></tr>
 163 <tr·class="separator:af9ad98aaa0d1920b38f0769ebb275bed"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 164 <tr·class="memitem:a63e1fdb0dbef5f91d43e425975b9303c"><td·class="memItemLeft"·align="right"·valign="top">DUNE_BINARY_OP·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#a63e1fdb0dbef5f91d43e425975b9303c">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(/);DUNE_BINARY_OP(%</td></tr>
 165 <tr·class="separator:a63e1fdb0dbef5f91d43e425975b9303c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 <tr·class="memitem:ae6fc20617f688d76333e634bace7592c"><td·class="memItemLeft"·align="right"·valign="top">DUNE_BINARY_OP^&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#ae6fc20617f688d76333e634bace7592c">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(&amp;);DUNE_BINARY_OP(|</td></tr>
 167 <tr·class="separator:ae6fc20617f688d76333e634bace7592c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 168 <tr·class="memitem:a438743c199b67aeaf239115b8ba8a9ff"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00428.html#a438743c199b67aeaf239115b8ba8a9ff">Dune::AlignedNumberImpl::DUNE_BINARY_OP</a>·(&lt;&lt;)</td></tr>
Max diff block lines reached; 10236/57195 bytes (17.90%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
15.4 KB
html2text {}
    
Offset 4, 38 lines modifiedOffset 4, 395 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Typedefs 
8 typeutilities.hh·File·Reference 
9 Utilities·for·type·computations,·constraining·overloads,·...·More...7 Classes·|·Namespaces·|·Macros·|·Typedefs·|·Functions·|·Variables
 8 debugalign.hh·File·Reference
 9 #include·<algorithm>
 10 #include·<cassert>
 11 #include·<cmath>
 12 #include·<complex>
10 #include·<cstddef>13 #include·<cstddef>
 14 #include·<cstdint>
 15 #include·<cstdlib>
 16 #include·<functional>
 17 #include·<istream>
 18 #include·<ostream>
11 #include·<type_traits>19 #include·<type_traits>
12 #include·<tuple>20 #include·<utility>
 21 #include·<dune/common/classname.hh>
 22 #include·<dune/common/indices.hh>
 23 #include·<dune/common/simd/base.hh>
 24 #include·<dune/common/simd/defaults.hh>
 25 #include·<dune/common/typetraits.hh>
13 Go_to_the_source_code_of_this_file.26 Go_to_the_source_code_of_this_file.
14 ·Classes27 ·Classes
15 struct· Dune::PriorityTag<_priority_> 
16  ·······Helper·class·for·tagging·priorities.·More...28 ·class· Dune::AlignedBase<_align,_Impl_>
 29  ·······CRTP·base·mixin·class·to·check·alignment.·More...
17  30  
18 struct· Dune::PriorityTag<_0_> 
19  ·······Helper·class·for·tagging·priorities.·More...31 struct· Dune::IsNumber<_AlignedNumberImpl::AlignedNumber<_T,_align_>_>
 32  
 33 ·class· Dune::AlignedNumberImpl::AlignedNumber<_T,_align_>
 34  ·······aligned·wrappers·for·arithmetic·types·More...
 35  
 36 struct· Dune::Simd::Overloads::ScalarType<_AlignedNumber<_T,_align_>_>
 37  
 38 struct· Dune::Simd::Overloads::RebindType<_U,_AlignedNumber<_T,_align_>_>
 39  
 40 struct· Dune::Simd::Overloads::LaneCount<_AlignedNumber<_T,_align_>_>
20  41  
21 ·Namespaces42 ·Namespaces
22 namespace· Dune43 namespace· Dune
23  ··········Dune·namespace.44  ··········Dune·namespace.
24  45  
 46 namespace· Dune::AlignedNumberImpl
 47  
 48 namespace· Dune::Simd
 49  ··········Namespace·for·vectorization·interface·functions·used·by·library
 50 ············developers.
 51  
 52 namespace· Dune::Simd::Overloads
 53  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD
 54 ············implementation.
 55  
 56 ·Macros
 57 #define DUNE_ASSIGN_OP(OP)
 58  
 59 #define DUNE_BINARY_OP(OP)
 60  
 61 #define DUNE_UNARY_FUNC(name)
 62  
25 ·Typedefs63 ·Typedefs
 64 using Dune::ViolatedAlignmentHandler·=·std::function<·void(const·char·*,·std::
 65 ·······size_t,·const·void·*)>
 66  ·····type·of·the·handler·called·by·violatedAlignment()·More...
26 template<class·This·,·class...·T> 
27 using Dune::disableCopyMove·=·std::enable_if_t<·not·Impl:: 
28 ·······disableCopyMoveHelper<·This,·T...·>::value,·int·> 
29  ·····Helper·to·disable·constructor·as·copy·and·move·constructor.·More... 
30  67  
31 *****·Detailed·Description·***** 
32 Utilities·for·type·computations,·constraining·overloads,·... 
33 ··Author 
34 ······Carsten·Gräser68 ·Functions
 69 ·······ViolatedAlignmentHandler·& Dune::violatedAlignmentHandler·()
 70  ·································access·the·handler·called·by
 71 ···································violatedAlignment()·More...
 72  
 73 ·····························void Dune::violatedAlignment·(const·char
 74 ···································*className,·std::size_t·expectedAlignment,
 75 ···································const·void·*address)
 76  ·································called·when·an·alignment·violation·is
 77 ···································detected·More...
 78  
 79 ·····························bool Dune::isAligned·(const·void·*p,·std::size_t
 80 ···································align)
 81  ·································check·whether·an·address·conforms·to·the
 82 ···································given·alignment·More...
 83  
 84 template<std::size_t·align·=·debugAlignment,·class·T·>
 85 ········AlignedNumber<·T,·align·> Dune::aligned·(T·value)
 86  ·································align·a·value·to·a·certain·alignment·More...
 87  
 88 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(+)
 89  
 90 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(-)
 91  
 92 ·················DUNE_BINARY_OP·* Dune::AlignedNumberImpl::DUNE_BINARY_OP·(/
 93 ···································);DUNE_BINARY_OP(%
 94  
 95 ··················DUNE_BINARY_OP^ Dune::AlignedNumberImpl::DUNE_BINARY_OP
 96 ···································(&);DUNE_BINARY_OP(|
 97  
 98 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(<<)
 99  
 100 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(>
 101 ···································>)
 102  
 103 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(==)
 104  
 105 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(!=)
 106  
 107 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(<=)
 108  
 109 ································· Dune::AlignedNumberImpl::DUNE_BINARY_OP·(>=)
 110  
 111 ················DUNE_BINARY_OP·&& Dune::AlignedNumberImpl::DUNE_BINARY_OP
 112 ···································(||);#define·DUNE_UNARY_FUNC(name)
 113 ···································DUNE_UNARY_FUNC(abs
 114  
 115 ································· Dune::AlignedNumberImpl::DUNE_UNARY_FUNC
Max diff block lines reached; 116/15724 bytes (0.74%) of diff not shown.
155 KB
./usr/share/doc/libdune-common-doc/doxygen/a00206_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·typeutilities.hh·Source·File</title>8 <title>dune-common:·debugalign.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 73 lines modifiedOffset 62, 613 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">typeutilities.hh</div></div>68 ··<div·class="headertitle"><div·class="title">debugalign.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00206.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00206.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TYPEUTILITIES_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEBUGALIGN_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TYPEUTILITIES_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEBUGALIGN_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span>·<span·class="comment">//·abs</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;istream&gt;</span></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00014.html">dune/common/classname.hh</a>&gt;</span></div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00275.html">dune/common/indices.hh</a>&gt;</span></div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00068.html">dune/common/simd/base.hh</a>&gt;</span></div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00062.html">dune/common/simd/defaults.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>Impl</div> 
86 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··{</div> 
87 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
88 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>This,·<span·class="keyword">class</span>...·T&gt;</div> 
89 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">struct·</span>disableCopyMoveHelper·:·<span·class="keyword">public</span>·std::is_base_of&lt;This,·std::tuple_element_t&lt;0,·std::tuple&lt;std::decay_t&lt;T&gt;...&gt;&gt;&gt;</div> 
90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····{};</div> 
91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 99 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">···30</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">ViolatedAlignmentHandler</a>·=</div>
 100 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····std::function&lt;void(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*,·std::size_t,·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*)&gt;;</div>
92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·This&gt;</div> 
93 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">struct·</span>disableCopyMoveHelper&lt;This&gt;·:·<span·class="keyword">public</span>·std::false_type</div> 
94 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····{};</div> 
95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>101 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··}·<span·class="comment">//·namespace·Impl</span></div> 
97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>102 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<a·class="code·hl_typedef"·href="a00425.html#aeeddbd17746ee9ac74ce286741916e4c">ViolatedAlignmentHandler</a>·&amp;<a·class="code·hl_function"·href="a00425.html#abeb716c21bff1ff9559bb62074d90e86">violatedAlignmentHandler</a>();</div>
98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>This,·<span·class="keyword">class</span>...·T&gt;</div> 
100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">disableCopyMove</a>·=·std::enable_if_t&lt;·not·Impl::disableCopyMoveHelper&lt;This,·T...&gt;::value,·<span·class="keywordtype">int</span>&gt;;</div> 
101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 106 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">violatedAlignment</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*<a·class="code·hl_function"·href="a00425.html#a33ac30656648b528235c913852c28ac7">className</a>,·std::size_t·expectedAlignment,</div>
 107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·························<span·class="keyword">const</span>·<span·class="keywordtype">void</span>·*address);</div>
103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00425.html#abf9e4364af213c448afdf072eea1b913">···56</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#abf9e4364af213c448afdf072eea1b913">isAligned</a>(<span·class="keyword">const</span>·<span·class="keywordtype">void</span>·*p,·std::size_t·align)</div>
104 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·priority&gt;</div> 
105 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a03180.html">···72</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03180.html">PriorityTag</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag</a>&lt;priority-1&gt;</div> 
106 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{</div>
107 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">···74</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_variable"·href="a03[·...·truncated·by·diffoscope;·len:·65,·SHA:·3d718947020b4e54abb70a70c51a274610e5b5468e3b2cdb702d8859fb6280cc·...·]</div>111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//·a·more·portable·way·to·do·this·would·be·to·abuse·std::align(),·but·that</span></div>
 112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="comment">//·isn&#39;t·supported·by·g++-4.9·yet</span></div>
 113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keywordflow">return</span>·std::uintptr_t(p)·%·align·==·0;</div>
108 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div>114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div>
109 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 116 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·align,·<span·class="keyword">class</span>·Impl&gt;</div>
 117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01352.html">···65</a></span>··<span·class="keyword">class·</span>alignas(align)·<a·class="code·hl_class"·href="a01352.html">AlignedBase</a></div>
 118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··{</div>
 119 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keywordtype">void</span>·checkAlignment()<span·class="keyword">·const</span></div>
110 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>&lt;&gt;</div>120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div>
 121 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keyword">auto</span>·pimpl·=·<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>Impl*<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>);</div>
 122 <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="a00425.html#abf9e4364af213c448afdf072eea1b913">isAligned</a>(pimpl,·align))</div>
 123 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<a·class="code·hl_function"·href="a00425.html#a0e6c32c539889f324d46417dca3dfebe">violatedAlignment</a>(className&lt;Impl&gt;().c_str(),·align,·pimpl);</div>
 124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····}</div>
 125 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">public</span>:</div>
 126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01352.html#aefd3a8d5a861f72c5d3daf2042b37c60">···74</a></span>····<a·class="code·hl_function"·href="a01352.html#aefd3a8d5a861f72c5d3daf2042b37c60">AlignedBase</a>()····················{·checkAlignment();·}</div>
 127 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01352.html#aeefae775a26ac5838489c6a095783024">···75</a></span>····<a·class="code·hl_function"·href="a01352.html#aeefae775a26ac5838489c6a095783024">AlignedBase</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>·&amp;)·{·checkAlignment();·}</div>
 128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01352.html#a8ab2f10ea442b779556c5efcd59b8c47">···76</a></span>····<a·class="code·hl_function"·href="a01352.html#a8ab2f10ea442b779556c5efcd59b8c47">AlignedBase</a>(<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>·&amp;&amp;)······{·checkAlignment();·}</div>
 129 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01352.html#a21ec503814f8c7af0494a86215d4a591">···77</a></span>····<a·class="code·hl_function"·href="a01352.html#a21ec503814f8c7af0494a86215d4a591">~AlignedBase</a>()···················{·checkAlignment();·}</div>
 130 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 131 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01352.html#ab9b8b9ec0d624f6a6564ffcf527b0420">···79</a></span>····<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>&amp;·<a·class="code·hl_function"·href="a01352.html#ab9b8b9ec0d624f6a6564ffcf527b0420">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>·&amp;)·=·<span·class="keywordflow">default</span>;</div>
 132 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01352.html#a779f8064a92b1db9cf92eca9d7a9efb8">···80</a></span>····<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>&amp;·<a·class="code·hl_function"·href="a01352.html#a779f8064a92b1db9cf92eca9d7a9efb8">operator=</a>(<a·class="code·hl_class"·href="a01352.html">AlignedBase</a>·&amp;&amp;)······=·<span·class="keywordflow">default</span>;</div>
 133 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··};</div>
 134 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 135 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00425.html#a6560bc030b518cf2da62724367f6ccdc">···84</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_variable"·href="a00425.html#a6560bc030b518cf2da62724367f6ccdc">debugAlignment</a>·=·2*<span·class="keyword">alignof</span>(std::max_align_t);</div>
 136 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
111 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a03184.html">···86</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03180.html">PriorityTag</a>&lt;0&gt;</div>137 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00428.html">···86</a></span>··<span·class="keyword">namespace·</span>AlignedNumberImpl·{</div>
112 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
113 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a03184.html#a31ed9dda850ce73e5a9117f1d2335b9d">···88</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_variable"·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">value</a>·=·0;</div> 
114 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·align·=·debugAlignment&gt;</div>
 140 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01356.html">AlignedNumber</a>;</div>
115 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>141 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
116 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··}·<span·class="comment">//·namespace·AlignedNumberImpl</span></div>
117 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
118 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>}·<span·class="comment">//·namespace·Dune</span></div>144 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">using·</span><a·class="code·hl_class"·href="a01356.html">AlignedNumberImpl::AlignedNumber</a>;</div>
119 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 146 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·align&gt;</div>
 147 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01360.html">···96</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01300.html">IsNumber</a>&lt;AlignedNumberImpl::<a·class="code·hl_class"·href="a01356.html">AlignedNumber</a>&lt;T,align&gt;&gt;</div>
 148 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······:·<span·class="keyword">public</span>·std::true_type·{};</div>
120 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>149 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 150 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·align·=·debugAlignment,·<span·class="keyword">class</span>·T&gt;</div>
 151 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00425.html#ab907d00e446cb6ec96109e7d32fbe9e0">··101</a></span>··<a·class="code·hl_class"·href="a01356.html">AlignedNumber&lt;T,·align&gt;</a>·<a·class="code·hl_function"·href="a00425.html#ab907d00e446cb6ec96109e7d32fbe9e0">aligned</a>(T·value)·{·<span·class="keywordflow">return</span>·{·std::move(value)·};·}</div>
 152 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 153 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="comment">//·The·purpose·of·this·namespace·is·to·move·the·`&lt;cmath&gt;`·function·overloads</span></div>
 154 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="comment">//·out·of·namespace·`Dune`.··This·avoids·problems·where·people·called</span></div>
Max diff block lines reached; 16323/133858 bytes (12.19%) of diff not shown.
24.6 KB
html2text {}
    
Offset 4, 81 lines modifiedOffset 4, 748 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 typeutilities.hh7 debugalign.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_TYPEUTILITIES_HH 
15 ·6#define·DUNE_COMMON_TYPEUTILITIES_HH14 ·5#ifndef·DUNE_DEBUGALIGN_HH
 15 ·6#define·DUNE_DEBUGALIGN_HH
16 ·716 ·7
 17 ·8#include·<algorithm>
 18 ·9#include·<cassert>
 19 ·10#include·<cmath>
 20 ·11#include·<complex>
17 ·8#include·<cstddef>21 ·12#include·<cstddef>
 22 ·13#include·<cstdint>
 23 ·14#include·<cstdlib>·//·abs
 24 ·15#include·<functional>
 25 ·16#include·<istream>
 26 ·17#include·<ostream>
18 ·9#include·<type_traits>27 ·18#include·<type_traits>
19 ·10#include·<tuple>28 ·19#include·<utility>
20 ·11 
21 ·1229 ·20
 30 ·21#include·<dune/common/classname.hh>
 31 ·22#include·<dune/common/indices.hh>
 32 ·23#include·<dune/common/simd/base.hh>
 33 ·24#include·<dune/common/simd/defaults.hh>
 34 ·25#include·<dune/common/typetraits.hh>
 35 ·26
22 ·13namespace·Dune·{36 ·27namespace·Dune·{
23 ·14 
24 ·22·namespace·Impl 
25 ·23·{ 
26 ·24 
27 ·25·template<class·This,·class...·T> 
28 ·26·struct·disableCopyMoveHelper·:·public·std::is_base_of<This,·std:: 
29 tuple_element_t<0,·std::tuple<std::decay_t<T>...>>> 
30 ·27·{}; 
31 ·2837 ·28
 38 30·using·ViolatedAlignmentHandler·=
 39 ·31·std::function<void(const·char*,·std::size_t,·const·void*)>;
32 ·29·template<class·This> 
33 ·30·struct·disableCopyMoveHelper<This>·:·public·std::false_type 
34 ·31·{}; 
35 ·3240 ·32
36 ·33·}·//·namespace·Impl 
37 ·3441 ·34
 42 ·40·ViolatedAlignmentHandler·&violatedAlignmentHandler();
 43 ·41
 44 ·43
 45 ·52·void·violatedAlignment(const·char·*className,·std::size_t
 46 expectedAlignment,
 47 ·53·const·void·*address);
 48 ·54
 49 56·inline·bool·isAligned(const·void·*p,·std::size_t·align)
38 ·35 
39 ·44·template<class·This,·class...·T> 
40 45·using·disableCopyMove·=·std::enable_if_t<·not·Impl:: 
41 disableCopyMoveHelper<This,·T...>::value,·int>; 
42 ·46 
43 ·47 
44 ·48 
45 ·71·template<std::size_t·priority> 
46 72·struct·PriorityTag·:·public·PriorityTag<priority-1> 
47 ·73·{50 ·57·{
48 74·static·constexpr·std::size_t·value·=·priority; 
49 ·75·}; 
50 ·76 
51 ·85·template<> 
52 86·struct·PriorityTag<0>51 ·58·//·a·more·portable·way·to·do·this·would·be·to·abuse·std::align(),·but·that
 52 ·59·//·isn't·supported·by·g++-4.9·yet
 53 ·60·return·std::uintptr_t(p)·%·align·==·0;
 54 ·61·}
 55 ·62
 56 ·64·template<std::size_t·align,·class·Impl>
 57 65·class·alignas(align)·AlignedBase
 58 ·66·{
 59 ·67·void·checkAlignment()·const
53 ·87·{60 ·68·{
54 88·static·constexpr·std::size_t·value·=·0;61 ·69·auto·pimpl·=·static_cast<const·Impl*>(this);
 62 ·70·if(!isAligned(pimpl,·align))
 63 ·71·violatedAlignment(className<Impl>().c_str(),·align,·pimpl);
 64 ·72·}
 65 ·73·public:
 66 74·AlignedBase()·{·checkAlignment();·}
 67 75·AlignedBase(const·AlignedBase·&)·{·checkAlignment();·}
 68 76·AlignedBase(AlignedBase·&&)·{·checkAlignment();·}
 69 77·~AlignedBase()·{·checkAlignment();·}
 70 ·78
 71 79·AlignedBase&·operator=(const·AlignedBase·&)·=·default;
 72 80·AlignedBase&·operator=(AlignedBase·&&)·=·default;
55 ·89·};73 ·81·};
 74 ·82
 75 84·static·constexpr·auto·debugAlignment·=·2*alignof(std::max_align_t);
 76 ·85
 77 86·namespace·AlignedNumberImpl·{
 78 ·87
 79 ·88·template<class·T,·std::size_t·align·=·debugAlignment>
 80 ·89·class·AlignedNumber;
56 ·9081 ·90
57 ·9182 ·91·}·//·namespace·AlignedNumberImpl
58 ·9283 ·92
59 ·93}·//·namespace·Dune84 ·93·using·AlignedNumberImpl::AlignedNumber;
60 ·9485 ·94
61 ·95 
62 ·96 
63 ·97#endif·//·DUNE_COMMON_TYPEUTILITIES_HH 
64 Dune::disableCopyMove 
65 std::enable_if_t<·not·Impl::disableCopyMoveHelper<·This,·T...·>::value,·int·> 
66 disableCopyMove 
67 Helper·to·disable·constructor·as·copy·and·move·constructor.86 ·95·template<class·T,·std::size_t·align>
 87 96·struct·IsNumber<AlignedNumberImpl::AlignedNumber<T,align>>
 88 ·97·:·public·std::true_type·{};
 89 ·98
 90 ·100·template<std::size_t·align·=·debugAlignment,·class·T>
 91 101·AlignedNumber<T,_align>·aligned(T·value)·{·return·{·std::move(value)·};·}
 92 ·102
 93 ·103·//·The·purpose·of·this·namespace·is·to·move·the·`<cmath>`·function
Max diff block lines reached; 5818/25176 bytes (23.11%) of diff not shown.
14.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00209.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·propertymap.hh·File·Reference</title>8 <title>dune-common:·proxymemberaccess.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 79 lines modifiedOffset 63, 42 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">propertymap.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">proxymemberaccess.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
 75 <p>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies··
 76 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>
77 <code>#include·&lt;iterator&gt;</code><br·/>78 <code>#include·&lt;utility&gt;</code><br·/>
78 <code>#include·&lt;type_traits&gt;</code><br·/> 
79 </div>79 </div>
80 <p><a·href="a00209_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00209_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <table·class="memberdecls">81 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
83 Classes</h2></td></tr> 
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02440.html">Dune::PropertyMapTraits&lt;·PM·&gt;</a></td></tr> 
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02444.html">Dune::ReadablePropertyMapTag</a></td></tr> 
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·readable·property·maps.··<a·href="a02444.html#details">More...</a><br·/></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02448.html">Dune::WritablePropertyMapTag</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·writable·property·maps.··<a·href="a02448.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02452.html">Dune::ReadWritePropertyMapTag</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·readable·and·writable·property·maps.··<a·href="a02452.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02456.html">Dune::LvaluePropertyMapTag</a></td></tr> 
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·lvalue·property·maps.··<a·href="a02456.html#details">More...</a><br·/></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02460.html">Dune::PropertyMapTraits&lt;·T·*·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02464.html">Dune::PropertyMapTraits&lt;·const·T·*·&gt;</a></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02468.html">Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;</a></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02472.html">Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;</a></td></tr> 
105 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Adapter·to·turn·a·random·access·iterator·into·a·property·map.··<a·href="a02472.html#details">More...</a><br·/></td></tr> 
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02476.html">Dune::AssociativePropertyMap&lt;·T·&gt;</a></td></tr> 
108 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·adapter·to·turn·an·unique·associative·container·into·a·property·map.··<a·href="a02476.html#details">More...</a><br·/></td></tr> 
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02480.html">Dune::ConstAssociativePropertyMap&lt;·T·&gt;</a></td></tr> 
111 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.··<a·href="a02480.html#details">More...</a><br·/></td></tr> 
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02484.html">Dune::IdentityMap</a></td></tr> 
114 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·property·map·that·applies·the·identity·function·to·integers.··<a·href="a02484.html#details">More...</a><br·/></td></tr> 
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02488.html">Dune::PropertyMapTypeSelector&lt;·T,·C·&gt;</a></td></tr> 
117 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Selector·for·the·property·map·type.··<a·href="a02488.html#details">More...</a><br·/></td></tr> 
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 </table><table·class="memberdecls"> 
120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
121 Namespaces</h2></td></tr>83 Namespaces</h2></td></tr>
122 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>84 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
123 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>85 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
125 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
126 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
127 Functions</h2></td></tr>89 Functions</h2></td></tr>
 90 <tr·class="memitem:gab204e4c1df410966214b242af99406a1"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 91 <tr·class="memitem:gab204e4c1df410966214b242af99406a1"><td·class="memTemplItemLeft"·align="right"·valign="top">pointer_or_proxy_holder&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gab204e4c1df410966214b242af99406a1">Dune::handle_proxy_member_access</a>·(T·&amp;&amp;t)</td></tr>
 92 <tr·class="memdesc:gab204e4c1df410966214b242af99406a1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Transparent·support·for·providing·member·access·to·both·lvalues·and·rvalues·(temporary·proxies).··<a·href="a00406.html#gab204e4c1df410966214b242af99406a1">More...</a><br·/></td></tr>
128 <tr·class="memitem:a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memTemplParams"·colspan="2">template&lt;class·Reference·,·class·PropertyMap·,·class·Key·&gt;·</td></tr> 
129 <tr·class="memitem:a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memTemplItemLeft"·align="right"·valign="top">Reference&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">Dune::get</a>·(const·RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&amp;key)</td></tr> 
130 <tr·class="separator:a422c8e50ed4f40b534187b8fb83fbf3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:a2dc4d3a226776723750b848ae303a11a"><td·class="memTemplParams"·colspan="2">template&lt;class·Reference·,·class·PropertyMap·,·class·Key·,·class·Value·&gt;·</td></tr> 
132 <tr·class="memitem:a2dc4d3a226776723750b848ae303a11a"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a2dc4d3a226776723750b848ae303a11a">Dune::put</a>·(const·RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·&amp;pmap,·const·Key·&amp;key,·const·Value·&amp;value)</td></tr> 
133 <tr·class="separator:a2dc4d3a226776723750b848ae303a11a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:gab204e4c1df410966214b242af99406a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
134 </table>94 </table>
 95 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 96 <div·class="textblock"><p·>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·</p>
135 </div><!--·contents·-->97 </div></div><!--·contents·-->
136 <!--·start·footer·part·-->98 <!--·start·footer·part·-->
137 <hr·class="footer"/><address·class="footer"><small>99 <hr·class="footer"/><address·class="footer"><small>
138 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4100 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
139 </small></address>101 </small></address>
140 </body>102 </body>
141 </html>103 </html>
2.62 KB
html2text {}
    
Offset 4, 67 lines modifiedOffset 4, 30 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Namespaces·|·Functions
8 propertymap.hh·File·Reference8 proxymemberaccess.hh·File·Reference
9 #include·<cstddef> 
10 #include·<iterator>9 Common·»·Utilities·»·C++_utilities_and_backports
 10 infrastructure·for·supporting·operator->()·on·both·references·and·proxies
 11 More...
11 #include·<type_traits>12 #include·<type_traits>
 13 #include·<utility>
12 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
13 ·Classes 
14 struct· Dune::PropertyMapTraits<_PM_> 
15   
16 struct· Dune::ReadablePropertyMapTag 
17  ·······Tag·for·the·category·of·readable·property·maps.·More... 
18   
19 struct· Dune::WritablePropertyMapTag 
20  ·······Tag·for·the·category·of·writable·property·maps.·More... 
21   
22 struct· Dune::ReadWritePropertyMapTag 
23  ·······Tag·for·the·category·of·readable·and·writable·property·maps.·More... 
24   
25 struct· Dune::LvaluePropertyMapTag 
26  ·······Tag·for·the·category·of·lvalue·property·maps.·More... 
27   
28 struct· Dune::PropertyMapTraits<_T_*_> 
29   
30 struct· Dune::PropertyMapTraits<_const_T_*_> 
31   
32 struct· Dune::RAPropertyMapHelper<_Reference,_PropertyMap_> 
33   
34 ·class· Dune::IteratorPropertyMap<_RAI,_IM,_T,_R_> 
35  ·······Adapter·to·turn·a·random·access·iterator·into·a·property·map.·More... 
36   
37 ·class· Dune::AssociativePropertyMap<_T_> 
38  ·······An·adapter·to·turn·an·unique·associative·container·into·a·property 
39 ·········map.·More... 
40   
41 ·class· Dune::ConstAssociativePropertyMap<_T_> 
42  ·······An·adaptor·to·turn·an·unique·associative·container·into·a·property 
43 ·········map.·More... 
44   
45 struct· Dune::IdentityMap 
46  ·······A·property·map·that·applies·the·identity·function·to·integers.·More... 
47   
48 struct· Dune::PropertyMapTypeSelector<_T,_C_> 
49  ·······Selector·for·the·property·map·type.·More... 
50   
51 ·Namespaces15 ·Namespaces
52 namespace· Dune16 namespace· Dune
53  ··········Dune·namespace.17  ··········Dune·namespace.
54  18  
55 ·Functions19 ·Functions
 20 template<typename·T·>
 21 pointer_or_proxy_holder Dune::handle_proxy_member_access·(T·&&t)
 22  ·······················Transparent·support·for·providing·member·access·to
 23 ·························both·lvalues·and·rvalues·(temporary·proxies).·More...
56 template<class·Reference·,·class·PropertyMap·,·class·Key·> 
57 Reference Dune::get·(const·RAPropertyMapHelper<·Reference,·PropertyMap·> 
58 ···········&pmap,·const·Key·&key) 
59   
60 template<class·Reference·,·class·PropertyMap·,·class·Key·,·class·Value·> 
61 ·····void Dune::put·(const·RAPropertyMapHelper<·Reference,·PropertyMap·> 
62 ···········&pmap,·const·Key·&key,·const·Value·&value) 
63  24  
 25 *****·Detailed·Description·*****
 26 infrastructure·for·supporting·operator->()·on·both·references·and·proxies
  
64 ===============================================================================27 ===============================================================================
65 ·····Generated·by [doxygen]·1.9.428 ·····Generated·by [doxygen]·1.9.4
75.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00209_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·propertymap.hh·Source·File</title>8 <title>dune-common:·proxymemberaccess.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 269 lines modifiedOffset 62, 107 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">propertymap.hh</div></div>68 ··<div·class="headertitle"><div·class="title">proxymemberaccess.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00209.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00209.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PROPERTYMAP_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PROPERTYMAP_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">namespace·</span>Impl·{</div>
 84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 85 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="comment">//·helper·struct·to·store·a·temporary·/·proxy</span></div>
 86 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····<span·class="comment">//·for·the·duration·of·the·member·access</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·PM&gt;</div>87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a02440.html">···16</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02440.html">PropertyMapTraits</a></div>88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>member_access_proxy_holder</div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··{</div>89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div>
88 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a02440.html#aefa8f676ee021f8ea1115671ffc2151a">···21</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PM::KeyType·<a·class="code·hl_typedef"·href="a02440.html#aefa8f676ee021f8ea1115671ffc2151a">KeyType</a>;</div> 
89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02440.html#a3bb5afe09fc0319fa3a2dc95c47438cd">···25</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PM::ValueType·<a·class="code·hl_typedef"·href="a02440.html#a3bb5afe09fc0319fa3a2dc95c47438cd">ValueType</a>;</div> 
90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a02440.html#a7b34064119ee04a9b27de25c1ba18c50">···29</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PM::Reference·<a·class="code·hl_typedef"·href="a02440.html#a7b34064119ee04a9b27de25c1ba18c50">Reference</a>;</div> 
91 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a02440.html#a6523572f0459d768d9923e84dc0c5d32">···33</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PM::Category·<a·class="code·hl_typedef"·href="a02[·...·truncated·by·diffoscope;·len:·57,·SHA:·4ed67039132eba7fdb62fec08edb2c1f0946917db4465687c95ad3e126c914cc·...·]</div>90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
 91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="comment">//·only·support·moving·the·temporary·into·the·holder·object</span></div>
 92 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>······member_access_proxy_holder(T&amp;&amp;·t)</div>
 93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>········:·_t(<a·class="code·hl_namespace"·href="a00424.html">std</a>::move(t))</div>
92 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··};</div>94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······{}</div>
93 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>95 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
94 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02444.html">···37</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02444.html">ReadablePropertyMapTag</a></div>96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="comment">//·The·object·is·fundamentally·a·temporary,·i.e.·an·rvalue,</span></div>
 97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="comment">//</span></div>
 98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">const</span>·T*·operator-&gt;()<span·class="keyword">·const</span></div>
 99 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">······</span>{</div>
 100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keywordflow">return</span>·&amp;_t;</div>
 101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······}</div>
95 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{};</div>102 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
96 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······T·_t;</div>
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02448.html">···41</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02448.html">WritablePropertyMapTag</a></div>104 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 105 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····};</div>
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{};</div>106 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··}·<span·class="comment">//·end·Impl·namespace</span></div>
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02452.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02452.html">ReadWritePropertyMapTag</a></div> 
101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a02444.html">ReadablePropertyMapTag</a>,·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a02448.html">WritablePropertyMapTag</a></div> 
102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{};</div> 
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02456.html">···55</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02456.html">LvaluePropertyMapTag</a></div> 
105 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a02452.html">ReadWritePropertyMapTag</a></div> 
106 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{};</div> 
107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
108 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
109 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02460.html">···60</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02440.html">PropertyMapTraits</a>&lt;T*&gt;</div> 
110 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>
111 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">···62</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">ValueType</a>;</div> 
112 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02460.html#a07802b26da42da291623626023a7cb29">···63</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">ValueType</a>&amp;·<a·class="code·hl_typedef"·href="a02460.html#a07802b26da42da291623626023a7cb29">Reference</a>;</div> 
113 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02460.html#a9ee803228ffc5eac14a6436786687756">···64</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a02460.html#a9ee803228ffc5eac14a6436786687756">KeyType</a>;</div> 
114 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02460.html#af7a412576ce736043f2951499b3ff4ea">···65</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a02456.html">LvaluePropertyMapTag</a>·<a·class="code·hl_typedef"·href="a02460.html#af7a412576ce736043f2951499b3ff4ea">Category</a>;</div> 
115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div> 
116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02464.html">···70</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02440.html">PropertyMapTraits</a>&lt;const·T*&gt;</div> 
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div> 
121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">···72</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">ValueType</a>;</div> 
122 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02464.html#ab2b795946cd41b7bd3b6926516c8b1a0">···73</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">ValueType</a>&amp;·<a·class="code·hl_typedef"·href="a02464.html#ab2b795946cd41b7bd3b6926516c8b1a0">Reference</a>;</div> 
123 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a02464.html#a5acfa71b670a845ae5b71912b2026306">···74</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a02464.html#a5acfa71b670a845ae5b71912b2026306">KeyType</a>;</div> 
124 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a02464.html#adace2e8d94ce3e78ece0970ba260f1af">···75</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a02456.html">LvaluePropertyMapTag</a>·<a·class="code·hl_typedef"·href="a02464.html#adace2e8d94ce3e78ece0970ba260f1af">Category</a>;</div> 
125 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··};</div> 
126 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
127 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Reference,·<span·class="keyword">class</span>·PropertyMap&gt;</div> 
128 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a02468.html">···79</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02468.html">RAPropertyMapHelper</a></div> 
129 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{};</div> 
130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div> 
131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Reference,·<span·class="keyword">class</span>·PropertyMap,·<span·class="keyword">class</span>·Key&gt;</div> 
132 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">inline</span>·Reference</div> 
133 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">···84</a></span>··<a·class="code·hl_function"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a02468.html">RAPropertyMapHelper&lt;Reference,PropertyMap&gt;</a>&amp;·pmap,</div> 
134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keyword">const</span>·Key&amp;·key)</div> 
135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div> 
136 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordflow">return</span>·<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>PropertyMap&amp;<span·class="keyword">&gt;</span>(pmap)[key];</div> 
137 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div> 
138 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>112 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
139 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Reference,·<span·class="keyword">class</span>·PropertyMap,·<span·class="keyword">class</span>·Key,·<span·class="keyword">class</span>·Value&gt;</div> 
140 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">void</span></div>113 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
141 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00425.html#a2dc4d3a226776723750b848ae303a11a">···92</a></span>··<a·class="code·hl_function"·href="a00425.html#a2dc4d3a226776723750b848ae303a11a">put</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a02468.html">RAPropertyMapHelper&lt;Reference,PropertyMap&gt;</a>&amp;·pmap,</div> 
142 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······<span·class="keyword">const</span>·Key&amp;·key,·<span·class="keyword">const</span>·Value&amp;·value)</div> 
143 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div>114 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··pointer_or_proxy_holder</div>
 115 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00406.html#gab204e4c1df410966214b242af99406a1">···81</a></span>··<a·class="code·hl_function"·href="a00406.html#gab204e4c1df410966214b242af99406a1">handle_proxy_member_access</a>(T&amp;&amp;·t);</div>
144 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keyword">static_assert</span>(std::is_convertible&lt;typename·PropertyMap::Category,WritablePropertyMapTag&gt;::value,</div> 
145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··················<span·class="stringliteral">&quot;WritablePropertyMapTag·required!&quot;</span>);</div> 
146 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">static_cast&lt;</span><span·class="keyword">const·</span>PropertyMap&amp;<span·class="keyword">&gt;</span>(pmap)[key]·=·value;</div> 
147 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··}</div>116 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 117 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">#else·</span><span·class="comment">//·DOXYGEN</span></div>
148 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>118 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 119 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 120 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="comment">//·This·version·matches·lvalues·(the·C++·type·deduction·rules·state·that</span></div>
 121 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="comment">//·the·T&amp;&amp;·signature·deduces·to·a·reference·iff·the·argument·is·an·lvalue).</span></div>
 122 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="comment">//·As·the·argument·is·an·lvalue,·we·do·not·have·to·worry·about·its·lifetime</span></div>
 123 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="comment">//·and·can·just·return·its·address.</span></div>
149 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>RAI,·<span·class="keyword">class·</span>IM,</div>124 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
Max diff block lines reached; 13681/64481 bytes (21.22%) of diff not shown.
12.8 KB
html2text {}
    
Offset 4, 369 lines modifiedOffset 4, 112 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 propertymap.hh7 proxymemberaccess.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_PROPERTYMAP_HH 
15 ·6#define·DUNE_PROPERTYMAP_HH14 ·5#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH
 15 ·6#define·DUNE_COMMON_PROXYMEMBERACCESS_HH
16 ·716 ·7
17 ·8#include·<cstddef> 
18 ·9#include·<iterator> 
19 ·10#include·<type_traits>17 ·14#include·<type_traits>
20 ·1118 ·15#include·<utility>
 19 ·16
21 ·12namespace·Dune20 ·17namespace·Dune·{
22 ·13{ 
23 ·14 
24 ·15·template<class·PM> 
25 16·struct·PropertyMapTraits 
26 ·17·{ 
27 21·typedef·typename·PM::KeyType·KeyType; 
28 25·typedef·typename·PM::ValueType·ValueType; 
29 29·typedef·typename·PM::Reference·Reference; 
30 33·typedef·typename·PM::Category·Category; 
31 ·34·}; 
32 ·35 
33 37·struct·ReadablePropertyMapTag 
34 ·38·{}; 
35 ·39 
36 41·struct·WritablePropertyMapTag 
37 ·42·{}; 
38 ·43 
39 48·struct·ReadWritePropertyMapTag 
40 ·49·:·public·ReadablePropertyMapTag,·public·WritablePropertyMapTag 
41 ·50·{}; 
42 ·51 
43 55·struct·LvaluePropertyMapTag 
44 ·56·:·public·ReadWritePropertyMapTag 
45 ·57·{}; 
46 ·58 
47 ·59·template<class·T> 
48 60·struct·PropertyMapTraits<T*> 
49 ·61·{ 
50 62·typedef·T·ValueType; 
51 63·typedef·ValueType&·Reference; 
52 64·typedef·std::ptrdiff_t·KeyType; 
53 65·typedef·LvaluePropertyMapTag·Category; 
54 ·66·}; 
55 ·67 
56 ·68 
57 ·69·template<class·T> 
58 70·struct·PropertyMapTraits<const·T*> 
59 ·71·{ 
60 72·typedef·T·ValueType; 
61 73·typedef·const·ValueType&·Reference; 
62 74·typedef·std::ptrdiff_t·KeyType; 
63 75·typedef·LvaluePropertyMapTag·Category; 
64 ·76·}; 
65 ·77 
66 ·78·template<class·Reference,·class·PropertyMap> 
67 79·struct·RAPropertyMapHelper 
68 ·80·{}; 
69 ·81 
70 ·82·template<class·Reference,·class·PropertyMap,·class·Key> 
71 ·83·inline·Reference 
72 84·get(const·RAPropertyMapHelper<Reference,PropertyMap>&·pmap, 
73 ·85·const·Key&·key) 
74 ·86·{ 
75 ·87·return·static_cast<const·PropertyMap&>(pmap)[key]; 
76 ·88·} 
77 ·89 
78 ·90·template<class·Reference,·class·PropertyMap,·class·Key,·class·Value> 
79 ·91·inline·void 
80 92·put(const·RAPropertyMapHelper<Reference,PropertyMap>&·pmap, 
81 ·93·const·Key&·key,·const·Value&·value) 
82 ·94·{ 
83 ·95·static_assert(std::is_convertible<typename·PropertyMap:: 
84 Category,WritablePropertyMapTag>::value, 
85 ·96·"WritablePropertyMapTag·required!"); 
86 ·97·static_cast<const·PropertyMap&>(pmap)[key]·=·value; 
87 ·98·} 
88 ·99 
89 ·103·template<class·RAI,·class·IM, 
90 ·104·class·T·=·typename·std::iterator_traits<RAI>::value_type, 
91 ·105·class·R·=·typename·std::iterator_traits<RAI>::reference> 
92 106·class·IteratorPropertyMap 
93 ·107·:·public·RAPropertyMapHelper<R,IteratorPropertyMap<RAI,IM,T,R>·> 
94 ·108·{ 
95 ·109·public: 
96 113·typedef·RAI·RandomAccessIterator; 
97 ·114 
98 120·typedef·IM·IndexMap; 
99 ·121 
100 125·typedef·typename·IndexMap::KeyType·KeyType; 
101 ·126 
102 130·typedef·T·ValueType; 
103 ·131 
104 135·typedef·R·Reference; 
105 ·136 
106 140·typedef·LvaluePropertyMapTag·Category; 
107 ·141 
108 149·inline·IteratorPropertyMap(RandomAccessIterator·iter, 
109 ·150·const·IndexMap&·im=IndexMap()) 
110 ·151·:·iter_(iter),·indexMap_(im) 
111 ·152·{} 
112 ·153 
113 155·inline·IteratorPropertyMap() 
114 ·156·:·iter_(),·indexMap_() 
115 ·157·{} 
116 ·15821 ·18
 22 ·19·namespace·Impl·{
117 160·inline·Reference·operator[](KeyType·key)·const 
118 ·161·{ 
119 ·162·return·*(iter_·+·get(indexMap_,·key)); 
120 ·163·} 
121 ·164 
122 ·165·private: 
123 ·167·RandomAccessIterator·iter_; 
Max diff block lines reached; 4992/13082 bytes (38.16%) of diff not shown.
21.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00212.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·tupleutility.hh·File·Reference</title>8 <title>dune-common:·overloadset.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 118 lines modifiedOffset 63, 42 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">tupleutility.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">overloadset.hh·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Contains·utility·classes·which·can·be·used·with·std::tuple.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
79 <code>#include·&lt;tuple&gt;</code><br·/> 
80 <code>#include·&lt;type_traits&gt;</code><br·/>76 <code>#include·&lt;type_traits&gt;</code><br·/>
81 <code>#include·&lt;utility&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>77 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
84 </div>78 </div>
85 <p><a·href="a00212_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00212_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">80 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
88 Classes</h2></td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02916.html">Dune::TupleAccessTraits&lt;·T·&gt;</a></td></tr> 
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02920.html">Dune::TupleAccessTraits&lt;·T·*·&gt;</a></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02924.html">Dune::TupleAccessTraits&lt;·T·&amp;·&gt;</a></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02932.html">Dune::NullPointerInitialiser&lt;·std::tuple&lt;·Args...·&gt;·&gt;</a></td></tr> 
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02940.html">Dune::ForEachType&lt;·TE,·std::tuple&lt;·Args...·&gt;·&gt;</a></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02944.html">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;</a></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02948.html">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&gt;</a></td></tr> 
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02952.html">Dune::AddRefTypeEvaluator&lt;·T·&gt;</a></td></tr> 
104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·reference·to·<code>T</code>··<a·href="a02952.html#details">More...</a><br·/></td></tr> 
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02956.html">Dune::AddPtrTypeEvaluator&lt;·T·&gt;</a></td></tr> 
107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·pointer·to·<code>T</code>··<a·href="a02956.html#details">More...</a><br·/></td></tr> 
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02960.html">Dune::AddPtrTypeEvaluator&lt;·T·&amp;·&gt;</a></td></tr> 
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02964.html">Dune::AtType&lt;·N,·Tuple·&gt;</a></td></tr> 
112 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·for·reverse·element·access.··<a·href="a02964.html#details">More...</a><br·/></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02968.html">Dune::At&lt;·N·&gt;</a></td></tr> 
115 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Reverse·element·access.··<a·href="a02968.html#details">More...</a><br·/></td></tr> 
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02972.html">Dune::PointerPairDeletor&lt;·Tuple·&gt;</a></td></tr> 
118 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.··<a·href="a02972.html#details">More...</a><br·/></td></tr> 
119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02976.html">Dune::FirstPredicateIndex&lt;·Tuple,·Predicate,·start,·size·&gt;</a></td></tr> 
121 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Finding·the·index·of·a·certain·type·in·a·std::tuple.··<a·href="a02976.html#details">More...</a><br·/></td></tr> 
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02980.html">Dune::IsType&lt;·T·&gt;</a></td></tr> 
124 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generator·for·predicates·accepting·one·particular·type.··<a·href="a02980.html#details">More...</a><br·/></td></tr> 
125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02984.html">Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;</a></td></tr> 
127 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·actual·predicate.··<a·href="a02984.html#details">More...</a><br·/></td></tr> 
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02988.html">Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;</a></td></tr> 
130 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Find·the·first·occurrence·of·a·type·in·a·std::tuple.··<a·href="a02988.html#details">More...</a><br·/></td></tr> 
131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02996.html">Dune::PushBackTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;</a></td></tr> 
133 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03004.html">Dune::PushFrontTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;</a></td></tr> 
135 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03008.html">Dune::ReduceTuple&lt;·F,·Tuple,·Seed,·N·&gt;</a></td></tr> 
137 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Apply·reduce·with·meta·binary·function·to·template.··<a·href="a03008.html#details">More...</a><br·/></td></tr> 
138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03012.html">Dune::ReduceTuple&lt;·F,·Tuple,·Seed,·0·&gt;</a></td></tr> 
140 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Apply·reduce·with·meta·binary·function·to·template.··<a·href="a03012.html#details">More...</a><br·/></td></tr> 
141 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
142 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03016.html">Dune::JoinTuples&lt;·Head,·Tail·&gt;</a></td></tr> 
143 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Join·two·std::tuple's.··<a·href="a03016.html#details">More...</a><br·/></td></tr> 
144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03020.html">Dune::FlattenTuple&lt;·Tuple·&gt;</a></td></tr> 
146 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Flatten·a·std::tuple·of·std::tuple's.··<a·href="a03020.html#details">More...</a><br·/></td></tr> 
147 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 </table><table·class="memberdecls"> 
149 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
150 Namespaces</h2></td></tr>82 Namespaces</h2></td></tr>
151 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>83 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
152 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>84 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
153 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
154 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
155 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
156 Functions</h2></td></tr>88 Functions</h2></td></tr>
157 <tr·class="memitem:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memTemplParams"·colspan="2">template&lt;class·F·,·class·ArgTuple·,·class·I·,·I...·i&gt;·</td></tr> 
158 <tr·class="memitem:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaeeffbe0f382283c9a2314a3947e54be9">Dune::applyPartial</a>·(F·&amp;&amp;f,·ArgTuple·&amp;&amp;args,·std::integer_sequence&lt;·I,·i...·&gt;)</td></tr> 
159 <tr·class="memdesc:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Apply·function·with·arguments·from·a·given·tuple.··<a·href="a00403.html#gaeeffbe0f382283c9a2314a3947e54be9">More...</a><br·/></td></tr>89 <tr·class="memitem:gae007ebc02578de3fe994b28e4378fd80"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr>
 90 <tr·class="memitem:gae007ebc02578de3fe994b28e4378fd80"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gae007ebc02578de3fe994b28e4378fd80">Dune::overload</a>·(F·&amp;&amp;...·f)</td></tr>
 91 <tr·class="memdesc:gae007ebc02578de3fe994b28e4378fd80"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·overload·set.··<a·href="a00406.html#gae007ebc02578de3fe994b28e4378fd80">More...</a><br·/></td></tr>
160 <tr·class="separator:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:gae007ebc02578de3fe994b28e4378fd80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
161 <tr·class="memitem:gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memTemplParams"·colspan="2">template&lt;class·Tuple·,·class·Functor·&gt;·</td></tr>93 <tr·class="memitem:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memTemplParams"·colspan="2">template&lt;class...·F&gt;·</td></tr>
162 <tr·class="memitem:gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaee981bf99011a9bc2dd496a7d486e4ab">Dune::genericTransformTuple</a>·(Tupl[·...·truncated·by·diffoscope;·len:·85,·SHA:·d14f479c476bb9ce300594015e81f0deaa4604e703900a12822a36539e4f449c·...·])</td></tr>94 <tr·class="memitem:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga85390a9ae268b1ed2be79b8637e8becd">Dune::orderedOverload</a>·(F·&amp;&am[·...·truncated·by·diffoscope;·len:·7,·SHA:·aa4706baf843558296a9301cb3fe1ca26ad4d653f0864b4a58ca63e0cca26ef1·...·])</td></tr>
 95 <tr·class="memdesc:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·ordered·overload·set.··<a·href="a00406.html#ga85390a9ae268b1ed2be79b8637e8becd">More...</a><br·/></td></tr>
163 <tr·class="separator:gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:ga85390a9ae268b1ed2be79b8637e8becd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
164 <tr·class="memitem:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class·&gt;·class·TE,·class...·Args&gt;·</td></tr> 
165 <tr·class="memitem:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memTemplItemLeft"·align="right"·valign="top">TransformTupleFunctor&lt;·TE,·Args...·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gafdcf54abf95c1fbd29eb7317d4db1240">Dune::makeTransformTupleFunctor</a>·(Args·&amp;&amp;...·args)</td></tr> 
166 <tr·class="separator:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
167 <tr·class="memitem:ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class·&gt;·class·TypeEvaluator,·class·Tuple·,·class...·Args&gt;·</td></tr> 
168 <tr·class="memitem:ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">Dune::transformTuple</a>·(Tuple·&amp;&amp;orig,·Args·&amp;&amp;...·args)·-&gt;·decltype(genericTransformTuple(orig,·makeTransformTupleFunctor&lt;·TypeEvaluator·&gt;(args...)))</td></tr> 
169 <tr·class="separator:ga24fcc49c0d83971073f4e0bd5e96748b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 506/17956 bytes (2.82%) of diff not shown.
4.09 KB
html2text {}
    
Offset 4, 110 lines modifiedOffset 4, 29 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Namespaces·|·Functions
 8 overloadset.hh·File·Reference
8 tupleutility.hh·File·Reference 
9 Common·»·Utilities·»·Tuple_Utilities 
10 Contains·utility·classes·which·can·be·used·with·std::tuple.·More... 
11 #include·<cstddef> 
12 #include·<tuple> 
13 #include·<type_traits> 
14 #include·<utility>9 #include·<utility>
15 #include·<dune/common/hybridutilities.hh>10 #include·<type_traits>
16 #include·<dune/common/typetraits.hh>11 #include·<dune/common/typetraits.hh>
17 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
18 ·Classes 
19 struct· Dune::TupleAccessTraits<_T_> 
20   
21 struct· Dune::TupleAccessTraits<_T_*_> 
22   
23 struct· Dune::TupleAccessTraits<_T_&_> 
24   
25 struct· Dune::NullPointerInitialiser<_std::tuple<_Args..._>_> 
26   
27 struct· Dune::ForEachType<_TE,_std::tuple<_Args..._>_> 
28   
29 ·class· Dune::TransformTupleFunctor<_TE,_Args_> 
30   
31 struct· Dune::TransformTupleFunctor<_TE,_Args_>::TypeEvaluator<_T_> 
32   
33 struct· Dune::AddRefTypeEvaluator<_T_> 
34  ·······TypeEvaluator·to·turn·a·type·T·into·a·reference·to·T·More... 
35   
36 struct· Dune::AddPtrTypeEvaluator<_T_> 
37  ·······TypeEvaluator·to·turn·a·type·T·into·a·pointer·to·T·More... 
38   
39 struct· Dune::AddPtrTypeEvaluator<_T_&_> 
40   
41 struct· Dune::AtType<_N,_Tuple_> 
42  ·······Type·for·reverse·element·access.·More... 
43   
44 struct· Dune::At<_N_> 
45  ·······Reverse·element·access.·More... 
46   
47 struct· Dune::PointerPairDeletor<_Tuple_> 
48  ·······Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.·More... 
49   
50 ·class· Dune::FirstPredicateIndex<_Tuple,_Predicate,_start,_size_> 
51  ·······Finding·the·index·of·a·certain·type·in·a·std::tuple.·More... 
52   
53 struct· Dune::IsType<_T_> 
54  ·······Generator·for·predicates·accepting·one·particular·type.·More... 
55   
56 struct· Dune::IsType<_T_>::Predicate<_U_> 
57  ·······The·actual·predicate.·More... 
58   
59 struct· Dune::FirstTypeIndex<_Tuple,_T,_start_> 
60  ·······Find·the·first·occurrence·of·a·type·in·a·std::tuple.·More... 
61   
62 struct· Dune::PushBackTuple<_typename_std::tuple<_Args..._>,_T_> 
63   
64 struct· Dune::PushFrontTuple<_typename_std::tuple<_Args..._>,_T_> 
65   
66 struct· Dune::ReduceTuple<_F,_Tuple,_Seed,_N_> 
67  ·······Apply·reduce·with·meta·binary·function·to·template.·More... 
68   
69 struct· Dune::ReduceTuple<_F,_Tuple,_Seed,_0_> 
70  ·······Apply·reduce·with·meta·binary·function·to·template.·More... 
71   
72 struct· Dune::JoinTuples<_Head,_Tail_> 
73  ·······Join·two·std::tuple's.·More... 
74   
75 struct· Dune::FlattenTuple<_Tuple_> 
76  ·······Flatten·a·std::tuple·of·std::tuple's.·More... 
77   
78 ·Namespaces13 ·Namespaces
79 namespace· Dune14 namespace· Dune
80  ··········Dune·namespace.15  ··········Dune·namespace.
81  16  
82 ·Functions17 ·Functions
 18 template<class...·F>
 19 auto Dune::overload·(F·&&...·f)
 20  ····Create·an·overload·set.·More...
83 template<class·F·,·class·ArgTuple·,·class·I·,·I...·i> 
84 ······················decltype(auto) Dune::applyPartial·(F·&&f,·ArgTuple 
85 ······································&&args,·std::integer_sequence<·I,·i...·>) 
86  ····································Apply·function·with·arguments·from·a 
87 ······································given·tuple.·More... 
88  21  
 22 template<class...·F>
 23 auto Dune::orderedOverload·(F·&&...·f)
 24  ····Create·an·ordered·overload·set.·More...
89 template<class·Tuple·,·class·Functor·> 
90 ································auto Dune::genericTransformTuple·(Tuple·&&t, 
91 ······································Functor·&&f)·->·decltype 
92 ······································(genericTransformTupleBackend(t,·f)) 
93   
94 template<template<·class·>·class·TE,·class...·Args> 
95 TransformTupleFunctor<·TE,·Args...·> Dune::makeTransformTupleFunctor·(Args 
96 ······································&&...·args) 
97   
98 template<template<·class·>·class·TypeEvaluator,·class·Tuple·,·class...·Args> 
99 ································auto Dune::transformTuple·(Tuple·&&orig,·Args 
100 ······································&&...·args)·->·decltype 
101 ······································(genericTransformTuple(orig, 
102 ······································makeTransformTupleFunctor<·TypeEvaluator 
103 ······································>(args...))) 
104  25  
105 *****·Detailed·Description·***** 
106 Contains·utility·classes·which·can·be·used·with·std::tuple. 
  
107 ===============================================================================26 ===============================================================================
108 ·····Generated·by [doxygen]·1.9.427 ·····Generated·by [doxygen]·1.9.4
107 KB
./usr/share/doc/libdune-common-doc/doxygen/a00212_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·tupleutility.hh·Source·File</title>8 <title>dune-common:·overloadset.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 377 lines modifiedOffset 62, 135 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">tupleutility.hh</div></div>68 ··<div·class="headertitle"><div·class="title">overloadset.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00212.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00212.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_OVERLOADSET_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_OVERLOADSET_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_TUPLE_UTILITY_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_TUPLE_UTILITY_HH</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Impl·{</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/hybridutilities.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
89 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>ArgTuple,·<span·class="keyword">class·</span>I,·I...·i&gt;</div> 
90 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a00403.html#gaeeffbe0f382283c9a2314a3947e54be9">···42</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00403.html#gaeeffbe0f382283c9a2314a3947e54be9">applyPartial</a>(F&amp;&amp;·f,·ArgTuple&amp;&amp;·args,·std::integer_sequence&lt;I,·i...&gt;·<span·class="comment">/*indices*/</span>)</div> 
91 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div> 
92 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·f(std::get&lt;i&gt;(args)...);</div> 
93 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div> 
94 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
95 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·F&gt;</div>
96 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02916.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02916.html">TupleAccessTraits</a></div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">class·</span>OverloadSet</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····:·<span·class="keyword">public</span>·F...</div>
97 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··{</div>
98 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga041f1e2352cf960c2cdabcc24b63810b">···50</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::add_const&lt;T&gt;::type&amp;·<a·class="code·hl_typedef"·href="a00403.html#ga041f1e2352cf960c2cdabcc24b63810b">ConstType</a>;</div> 
99 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga7ac7c737f08242dabc75d211dffb4573">···51</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a00403.html#ga7ac7c737f08242dabc75d211dffb4573">NonConstType</a>;</div> 
100 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00403.html#gaf3eb742968041769424b84691408fb73">···52</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<span·class="keyword">typename</span>·std::remove_c[·...·truncated·by·diffoscope;·len:·124,·SHA:·5dcf4e6efc51a492da8f447b33e4e16b8d699df9ac4260d9539e047297b6afc0·...·]</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">public</span>:</div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...·FF&gt;</div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····OverloadSet(FF&amp;&amp;...·ff)</div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>······:·F(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;FF&gt;(ff))...</div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····{}</div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····<span·class="keyword">using·</span>F::operator()...;</div>
 99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
101 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div>100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··};</div>
 101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·end·namespace·Impl</span></div>
 103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
103 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
104 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a02920.html">···56</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02916.html">TupleAccessTraits</a>&lt;T*&gt;</div> 
105 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{</div>105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·F&gt;</div>
 107 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00406.html#gae007ebc02578de3fe994b28e4378fd80">···61</a></span><span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00406.html#gae007ebc02578de3fe994b28e4378fd80">overload</a>(F&amp;&amp;...·f)</div>
106 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a00403.html#gaf5d4dd28478959589b3ea38408a58c8e">···58</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::add_const&lt;T&gt;::type*·<a·class="code·hl_typedef"·href="a00403.html#gaf5d4dd28478959589b3ea38408a58c8e">ConstType</a>;</div> 
107 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga340eaa6d59fbad9efa50f39495267dde">···59</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a00403.html#ga340eaa6d59fbad9efa50f39495267dde">NonConstType</a>;</div> 
108 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga12185fab48344d079604e6357fe83025">···60</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a00403.html#ga12185fab48344d079604e6357fe83025">ParameterType</a>;</div> 
109 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··};</div> 
110 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>108 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>{</div>
111 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
112 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02924.html">···64</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02916.html">TupleAccessTraits</a>&lt;T&amp;&gt;</div>109 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordflow">return</span>·Impl::OverloadSet&lt;std::decay_t&lt;F&gt;...&gt;(std::forward&lt;F&gt;(f)...);</div>
 110 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div>
113 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div>111 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
114 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga2613d7a17e0204d5184be226f62c528d">···66</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a00403.html#ga2613d7a17e0204d5184be226f62c528d">ConstType</a>;</div> 
115 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga7642b9a2b63fc07ad3adcbfa7742bc71">···67</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a00403.html#ga7642b9a2b63fc07ad3adcbfa7742bc71">NonConstType</a>;</div> 
116 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00403.html#gaef361574ba7087d6324f129026b13d3d">···68</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a00403.html#gaef361574ba7087d6324f129026b13d3d"[·...·truncated·by·diffoscope;·len:·19,·SHA:·828e4eae2a46cb0315044273e5a67f0ed7cf0af79fd65af629bbdfee74ed660a·...·]</div>112 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 113 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 114 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">namespace·</span>Impl·{</div>
117 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··};</div>115 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 116 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>F0,·<span·class="keyword">class</span>...·F&gt;</div>
 117 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">class·</span>OrderedOverloadSet:·<span·class="keyword">public</span>·OrderedOverloadSet&lt;F...&gt;,·F0</div>
 118 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··{</div>
 119 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">using·</span>Base·=·OrderedOverloadSet&lt;F...&gt;;</div>
 120 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">public</span>:</div>
118 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>121 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
119 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>122 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>FF0,·<span·class="keyword">class</span>...·FF&gt;</div>
120 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a02928.html">···79</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02928.html">NullPointerInitialiser</a>;</div>123 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····OrderedOverloadSet(FF0&amp;&amp;·f0,·FF&amp;&amp;...·ff)·:</div>
 124 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······Base(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;FF&gt;(ff)...),</div>
 125 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······F0(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;FF0&gt;(f0))</div>
121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div>
 127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="comment">//·Forward·to·operator()·of·F0·if·it·can·be·called·with·the·given·arguments.</span></div>
122 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·Args&gt;</div>129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...··Args,</div>
 130 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········std::enable_if_t&lt;IsCallable&lt;F0(Args&amp;&amp;...)&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div>
 131 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>()(Args&amp;&amp;...·args)</div>
123 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a02932.html">···82</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02928.html">NullPointerInitialiser</a>&lt;<a·class="code·hl_namespace"·href="a00424.html">std</a>::tuple&lt;Args...&gt;·&gt;</div> 
124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div> 
125 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">···84</a></span>····<span·class="keyword">typedef</span>·std::tuple&lt;Args...&gt;·<a·class="code·hl_typedef"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a>;</div> 
126 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga4eee92ad122054a54cbb68659499f090">···85</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_typedef"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a>·<a·class="code·hl_function"·href="a00403.html#ga4eee92ad122054a54cbb68659499f090">apply</a>()</div> 
127 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{</div>132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{</div>
128 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a>(<span·class="keyword">static_cast&lt;</span>Args<span·class="keyword">&gt;</span>(<span·class="keyword">nullptr</span>)...);</div>133 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·F0::operator()(std::forward&lt;Args&gt;(args)...);</div>
129 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div>134 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div>
130 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>135 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 136 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="comment">//·Forward·to·operator()·of·base·class·if·F0·cannot·be·called·with·the·given</span></div>
 137 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//·arguments.·In·this·case·the·base·class·will·successively·try·operator()</span></div>
 138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="comment">//·of·all·F...·.</span></div>
 139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...··Args,</div>
 140 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>········std::enable_if_t&lt;not·IsCallable&lt;F0(Args&amp;&amp;...)&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div>
 141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>()(Args&amp;&amp;...·args)</div>
 142 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····{</div>
Max diff block lines reached; 5356/91184 bytes (5.87%) of diff not shown.
18.2 KB
html2text {}
    
Offset 4, 517 lines modifiedOffset 4, 144 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 tupleutility.hh7 overloadset.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5#ifndef·DUNE_COMMON_OVERLOADSET_HH
 15 ·6#define·DUNE_COMMON_OVERLOADSET_HH
 16 ·7
 17 ·8#include·<utility>
14 ·5 
15 ·6#ifndef·DUNE_TUPLE_UTILITY_HH 
16 ·7#define·DUNE_TUPLE_UTILITY_HH 
17 ·8 
18 ·9#include·<cstddef> 
19 ·10#include·<tuple> 
20 ·11#include·<type_traits>18 ·9#include·<type_traits>
21 ·12#include·<utility>19 ·10#include·<dune/common/typetraits.hh>
 20 ·11
 21 ·12namespace·Dune·{
22 ·1322 ·13
 23 ·14namespace·Impl·{
 24 ·15
 25 ·16·template<typename...·F>
 26 ·17·class·OverloadSet
 27 ·18·:·public·F...
23 ·14#include·<dune/common/hybridutilities.hh> 
24 ·15#include·<dune/common/typetraits.hh> 
25 ·16 
26 ·17namespace·Dune·{ 
27 ·18 
28 ·41·template<class·F,·class·ArgTuple,·class·I,·I...·i> 
29 42·decltype(auto)·applyPartial(F&&·f,·ArgTuple&&·args,·std::integer_sequence<I, 
30 i...>·/*indices*/) 
31 ·43·{ 
32 ·44·return·f(std::get<i>(args)...); 
33 ·45·} 
34 ·46 
35 ·47·template<class·T> 
36 48·struct·TupleAccessTraits 
37 ·49·{28 ·19·{
38 50·typedef·typename·std::add_const<T>::type&·ConstType; 
39 51·typedef·T&·NonConstType; 
40 52·typedef·const·typename·std::remove_const<T>::type&·ParameterType;29 ·20
 30 ·21·public:
 31 ·22
 32 ·23·template<typename...·FF>
 33 ·24·OverloadSet(FF&&...·ff)
 34 ·25·:·F(std::forward<FF>(ff))...
 35 ·26·{}
 36 ·27
 37 ·28·using·F::operator()...;
 38 ·29
41 ·53·};39 ·30·};
42 ·5440 ·31
 41 ·32}·//·end·namespace·Impl
 42 ·33
 43 ·34
 44 ·35
43 ·55·template<class·T>45 ·60template<class...·F>
 46 61auto·overload(F&&...·f)
44 56·struct·TupleAccessTraits<T*> 
45 ·57·{ 
46 58·typedef·typename·std::add_const<T>::type*·ConstType; 
47 59·typedef·T*·NonConstType; 
48 60·typedef·T*·ParameterType; 
49 ·61·}; 
50 ·6247 ·62{
51 ·63·template<class·T> 
52 64·struct·TupleAccessTraits<T&>48 ·63·return·Impl::OverloadSet<std::decay_t<F>...>(std::forward<F>(f)...);
 49 ·64}
53 ·65·{50 ·65
54 66·typedef·T&·ConstType; 
55 67·typedef·T&·NonConstType; 
56 68·typedef·T&·ParameterType; 
57 ·69·}; 
58 ·70 
59 ·78·template<class·T> 
60 79·struct·NullPointerInitialiser; 
61 ·8051 ·66
 52 ·67
 53 ·68namespace·Impl·{
 54 ·69
 55 ·70·template<class·F0,·class...·F>
 56 ·71·class·OrderedOverloadSet:·public·OrderedOverloadSet<F...>,·F0
 57 ·72·{
 58 ·73·using·Base·=·OrderedOverloadSet<F...>;
 59 ·74·public:
 60 ·75
 61 ·76·template<class·FF0,·class...·FF>
 62 ·77·OrderedOverloadSet(FF0&&·f0,·FF&&...·ff)·:
 63 ·78·Base(std::forward<FF>(ff)...),
 64 ·79·F0(std::forward<FF0>(f0))
 65 ·80·{}
 66 ·81
 67 ·82·//·Forward·to·operator()·of·F0·if·it·can·be·called·with·the·given
 68 arguments.
62 ·81·template<class...·Args>69 ·83·template<class...·Args,
 70 ·84·std::enable_if_t<IsCallable<F0(Args&&...)>::value,·int>·=·0>
 71 ·85·decltype(auto)·operator()(Args&&...·args)
63 82·struct·NullPointerInitialiser<std::tuple<Args...>·> 
64 ·83·{ 
65 84·typedef·std::tuple<Args...>·ResultType; 
66 85·static·ResultType·apply() 
67 ·86·{72 ·86·{
68 ·87·return·ResultType(static_cast<Args>(nullptr)...);73 ·87·return·F0::operator()(std::forward<Args>(args)...);
69 ·88·}74 ·88·}
 75 ·89
 76 ·90·//·Forward·to·operator()·of·base·class·if·F0·cannot·be·called·with·the
 77 given
 78 ·91·//·arguments.·In·this·case·the·base·class·will·successively·try·operator()
 79 ·92·//·of·all·F...·.
 80 ·93·template<class...·Args,
 81 ·94·std::enable_if_t<not·IsCallable<F0(Args&&...)>::value,·int>·=·0>
 82 ·95·decltype(auto)·operator()(Args&&...·args)
 83 ·96·{
 84 ·97·return·Base::operator()(std::forward<Args>(args)...);
 85 ·98·}
70 ·89·}; 
Max diff block lines reached; 6996/18619 bytes (37.57%) of diff not shown.
10.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00215.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·alignedallocator.hh·File·Reference</title>8 <title>dune-common:·diagonalmatrix.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 36 lines modifiedOffset 65, 73 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>··</div>
72 ··<div·class="headertitle"><div·class="title">alignedallocator.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00287_source.html">mallocallocator.hh</a>&quot;</code><br·/> 
 75 <p>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.··
 76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 78 <code>#include·&lt;cassert&gt;</code><br·/>
 79 <code>#include·&lt;cmath&gt;</code><br·/>
 80 <code>#include·&lt;complex&gt;</code><br·/>
76 <code>#include·&lt;cstdlib&gt;</code><br·/>81 <code>#include·&lt;cstddef&gt;</code><br·/>
 82 <code>#include·&lt;initializer_list&gt;</code><br·/>
 83 <code>#include·&lt;iostream&gt;</code><br·/>
 84 <code>#include·&lt;memory&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00116_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
77 </div>92 </div>
78 <p><a·href="a00215_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00215_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">94 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
81 Classes</h2></td></tr>96 Classes</h2></td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01460.html">Dune::DiagonalMatrix&lt;·K,·n·&gt;</a></td></tr>
 98 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·diagonal·matrix·of·static·size.··<a·href="a01460.html#details">More...</a><br·/></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01464.html">Dune::FieldTraits&lt;·DiagonalMatrix&lt;·K,·n·&gt;·&gt;</a></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01452.html">Dune::DiagonalMatrixWrapper&lt;·DiagonalMatrixType·&gt;</a></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01444.html">Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;</a></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01268.html">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01448.html">Dune::DiagonalRowVector&lt;·K,·n·&gt;</a></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01468.html">Dune::const_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;</a></td></tr>
 109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01472.html">Dune::const_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;</a></td></tr>
 111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01476.html">Dune::mutable_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;</a></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01480.html">Dune::mutable_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;</a></td></tr>
 115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01456.html">Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;</a></td></tr>
83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Allocators·which·guarantee·alignment·of·the·memory.··<a·href="a01268.html#details">More...</a><br·/></td></tr>117 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Iterator·class·for·sparse·vector-like·containers.··<a·href="a01456.html#details">More...</a><br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01272.html">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;::rebind&lt;·U·&gt;</a></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01484.html">Dune::DenseMatrixAssigner&lt;·DenseMatrix,·DiagonalMatrix&lt;·field,·N·&gt;·&gt;</a></td></tr>
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table><table·class="memberdecls">121 </table><table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
89 Namespaces</h2></td></tr>123 Namespaces</h2></td></tr>
90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>124 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>125 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table>127 </table>
 128 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 129 <div·class="textblock"><p·>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·</p>
94 </div><!--·contents·-->130 </div></div><!--·contents·-->
95 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>132 <hr·class="footer"/><address·class="footer"><small>
97 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4133 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
98 </small></address>134 </small></address>
99 </body>135 </body>
100 </html>136 </html>
1.98 KB
html2text {}
    
Offset 5, 24 lines modifiedOffset 5, 59 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Classes·|·Namespaces8 Classes·|·Namespaces
9 alignedallocator.hh·File·Reference 
10 #include·"mallocallocator.hh"9 diagonalmatrix.hh·File·Reference
 10 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·More...
 11 #include·<algorithm>
 12 #include·<cassert>
 13 #include·<cmath>
 14 #include·<complex>
11 #include·<cstdlib>15 #include·<cstddef>
 16 #include·<initializer_list>
 17 #include·<iostream>
 18 #include·<memory>
 19 #include·<dune/common/boundschecking.hh>
 20 #include·<dune/common/densematrix.hh>
 21 #include·<dune/common/exceptions.hh>
 22 #include·<dune/common/fmatrix.hh>
 23 #include·<dune/common/fvector.hh>
 24 #include·<dune/common/genericiterator.hh>
 25 #include·<dune/common/typetraits.hh>
12 Go_to_the_source_code_of_this_file.26 Go_to_the_source_code_of_this_file.
13 ·Classes27 ·Classes
14 ·class· Dune::AlignedAllocator<_T,_Alignment_> 
15  ·······Allocators·which·guarantee·alignment·of·the·memory.·More...28 ·class· Dune::DiagonalMatrix<_K,_n_>
 29  ·······A·diagonal·matrix·of·static·size.·More...
16  30  
17 struct· Dune::AlignedAllocator<_T,_Alignment_>::rebind<_U_>31 struct· Dune::FieldTraits<_DiagonalMatrix<_K,_n_>_>
 32  
 33 ·class· Dune::DiagonalMatrixWrapper<_DiagonalMatrixType_>
 34  
 35 ·class· Dune::DiagonalRowVectorConst<_K,_n_>
 36  
 37 ·class· Dune::DiagonalRowVector<_K,_n_>
 38  
 39 struct· Dune::const_reference<_DiagonalRowVector<_K,_n_>_>
 40  
 41 struct· Dune::const_reference<_DiagonalRowVectorConst<_K,_n_>_>
 42  
 43 struct· Dune::mutable_reference<_DiagonalRowVector<_K,_n_>_>
 44  
 45 struct· Dune::mutable_reference<_DiagonalRowVectorConst<_K,_n_>_>
 46  
 47 ·class· Dune::ContainerWrapperIterator<_CW,_T,_R_>
 48  ·······Iterator·class·for·sparse·vector-like·containers.·More...
 49  
 50 struct· Dune::DenseMatrixAssigner<_DenseMatrix,_DiagonalMatrix<_field,_N_>_>
18  51  
19 ·Namespaces52 ·Namespaces
20 namespace· Dune53 namespace· Dune
21  ··········Dune·namespace.54  ··········Dune·namespace.
22  55  
 56 *****·Detailed·Description·*****
 57 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.
  
23 ===============================================================================58 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.459 ·····Generated·by [doxygen]·1.9.4
303 KB
./usr/share/doc/libdune-common-doc/doxygen/a00215_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·alignedallocator.hh·Source·File</title>8 <title>dune-common:·diagonalmatrix.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 114 lines modifiedOffset 62, 1134 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">alignedallocator.hh</div></div>68 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00215.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00215.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ALIGNED_ALLOCATOR_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DIAGONAL_MATRIX_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ALIGNED_ALLOCATOR_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DIAGONAL_MATRIX_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00287.html">mallocallocator.hh</a>&quot;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
 84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno"><a·class="line"·href="a00425.html">···12</a></span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T,·<span·class="keywordtype">int</span>·Alignment·=·-1&gt;</div> 
86 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01268.html">···23</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01268.html">AlignedAllocator</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class[·...·truncated·by·diffoscope;·len:·51,·SHA:·6f8cb4e0ad816a87b11d52c51988c36c96beb4b7d076f0785bafe913752a78f7·...·]</div>87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00116.html">dune/common/boundschecking.hh</a>&gt;</span></div>
 88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00236.html">dune/common/densematrix.hh</a>&gt;</span></div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00107.html">dune/common/fmatrix.hh</a>&gt;</span></div>
 91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00257.html">dune/common/genericiterator.hh</a>&gt;</span></div>
 93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
87 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
88 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#if·__APPLE__</span></div> 
89 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="comment">/*</span></div> 
91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">·····*·macOS·has·pretty·draconian·restrictions·on·the</span></div> 
92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="comment">·····*·alignments·that·you·may·ask·for:·It·has·to·be</span></div> 
93 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">·····*</span></div> 
94 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·····*·1)·a·power·of·2</span></div> 
95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">·····*·2)·at·least·as·large·as·sizeof(void*)</span></div> 
96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·····*</span></div> 
97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">·····*·So·here·is·a·little·constexpr·function·that·calculates·just·that</span></div> 
98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="comment">·····*·(together·with·the·correct·starting·value·for·align·fed·in·further·down).</span></div> 
99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="comment">·····*/</span></div> 
100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·fixAlignment(<span·class="keywordtype">int</span>·align)</div> 
101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····{</div>97 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keywordflow">return</span>·((Alignment==-1)·?·std::alignment_of&lt;T&gt;::value·:·Alignment)·&gt;·align</div> 
103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>········?·fixAlignment(align·&lt;&lt;·1)·:·align;</div> 
104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····}</div>98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n·&gt;·<span·class="keyword">class·</span>DiagonalRowVectorConst;</div>
 99 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n·&gt;·<span·class="keyword">class·</span>DiagonalRowVector;</div>
 100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DiagonalMatrixType·&gt;·<span·class="keyword">class·</span>DiagonalMatrixWrapper;</div>
 101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·C,·<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·R&gt;·<span·class="keyword">class·</span>ContainerWrapperIterator;</div>
105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>102 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
 103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;</div>
 104 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01460.html">···52</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01460.html">DiagonalMatrix</a></div>
106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#else</span></div> 
107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="comment">/*</span></div> 
109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">·····*·Non-Apple·platforms·we·just·have·to·check·whether·an·explicit·alignment·was</span></div> 
110 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">·····*·restricted·or·fall·back·to·the·default·alignment·of·T.</span></div> 
111 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·····*/</span></div> 
112 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·fixAlignment(<span·class="keywordtype">int</span>·align)</div> 
113 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div> 
114 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordflow">return</span>·(Alignment==-1)·?·std::alignment_of&lt;T&gt;::value·:·Alignment;</div> 
115 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div> 
116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>105 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>
117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif</span></div>106 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01452.html">DiagonalMatrixWrapper&lt;·DiagonalMatrix&lt;K,n&gt;</a>·&gt;·<a·class="code·hl_class"·href="a01452.html">WrapperType</a>;</div>
118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
119 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>
 109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="comment">//=====·type·definitions·and·constants</span></div>
120 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01268.html#a57f69930a746aaeeabcb894c293a101d">···57</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01268.html#a57f69930a746aaeeabcb894c293a101d">pointer</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">MallocAllocator&lt;T&gt;::pointer</a>;</div> 
121 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01268.html#a00199059d550932fe0e96124fff8042f">···58</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01268.html#a00199059d550932fe0e96124fff8042f">size_type</a>·=·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">MallocAllocator&lt;T&gt;::size_type</a>;</div> 
122 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01272.html">···59</a></span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·U&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01272.html">rebind</a>·{</div> 
123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01272.html#a54ac4737293fe076302709983b9a8920">···60</a></span>······<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01268.html">AlignedAllocator&lt;U,Alignment&gt;</a>·<a·class="code·hl_typedef"·href="a01272.html#a54ac4737293fe076302709983b9a8920">other</a>;</div> 
124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····};</div>110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">···60</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a>;</div>
 112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga87d01fed9cbade66ddcb30e6e7132a9a">···61</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga87d01fed9cbade66ddcb30e6e7132a9a">field_type</a>;</div>
125 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
126 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01268.html#a88a3488574a3f40fc04154021a361cd3">···63</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="cod[·...·truncated·by·diffoscope;·len:·173,·SHA:·705961959ce3ef7653c663874487edfa57860d6de7e06e398f5ede29d9533c0c·...·];</div>114 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00411.html#gac9eb032eb8b34f1bc84b1e400d059ed9">···64</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a00411.html#gac9eb032eb8b34f1bc84b1e400d059ed9">bloc[·...·truncated·by·diffoscope;·len:·10,·SHA:·b3864b4506ee4fd37a831b93a0519cd08d67132af5c81c4b90a35d76ce30614e·...·];</div>
127 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>115 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga09481dc4c7c3f45b0579995d43476372">···67</a></span>····<span·class="keyword">typedef</span>·std::size_t·<a·class="code·hl_typedef"·href="a00411.html#ga09481dc4c7c3f45b0579995d43476372">size_type</a>;</div>
128 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01268.html#a44f1fdb0e71c96552035684d7a913688">···66</a></span>····<a·class="code·hl_typedef"·href="a01268.html#a57f69930a746aaeeabcb894c293a101d">pointer</a>·<a·class="code·hl_function"·href="a01268.html#a44f1fdb0e71c96552035684d7a913688">allocate</a>(<a·class="code·hl_typedef"·href="a01268.html#a00199059d550932fe0e96124fff8042f">size_type</a>·n,·[[maybe_unused]]·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*·hint·=·0)</div> 
129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div> 
130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">if</span>·(n·&gt;·this-&gt;<a·class="code·hl_function"·href="a01900.html#ae73000f492c7b45cd0a4236577eaf70f">max_size</a>())</div> 
131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div> 
132 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
133 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">#if·__APPLE__</span></div> 
134 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="comment">//·Apple·is·also·restrictive·regarding·the·allocation·size.</span></div> 
135 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="comment">//·size·must·be·at·least·the·alignment·size.</span></div> 
136 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<a·class="code·hl_typedef"·href="a01268.html#a00199059d550932fe0e96124fff8042f">size_type</a>·size·=·n·*·<span·class="keyword">sizeof</span>(T)·&gt;=·<a·class="code·hl_variable"·href="a01268.html#a88a3488574a3f40fc04154021a361cd3">alignment</a>·?·n·*·<span·class="keyword">sizeof</span>(T)·:·<a·class="code·hl_variable"·href="a01268.html#a88a3488574a3f40fc04154021a361cd3">alignment</a>;</div> 
137 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="preprocessor">#else</span></div> 
138 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<a·class="code·hl_typedef"·href="a01268.html#a00199059d550932fe0e96124fff8042f">size_type</a>·size·=·n·*·<span·class="keyword">sizeof</span>(T);</div> 
139 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#endif</span></div> 
140 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 118 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga2385ade168bd184398d6a347286b6bb9">···70</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00411.html#ga2385ade168bd184398d6a347286b6bb9">blocklevel</a>·=·1;</div>
 119 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 120 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00411.html#gaf1a6e61bc81a8a9804fe0254a561ae6a">···73</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01448.html">DiagonalRowVector&lt;K,n&gt;</a>·<a·class="code·hl_typedef"·href="a00411.html#gaf1a6e61bc81a8a9804fe0254a561ae6a">row_type</a>;</div>
 121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga9b9094e6d6e43fb46710781109bfdb94">···74</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01448.html">row_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga9b9094e6d6e43fb46710781109bfdb94">reference</a>;</div>
 122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga13447d3a2908e8ad336a0eda843bfaf1">···75</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01448.html">row_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga13447d3a2908e8ad336a0eda843bfaf1">row_reference</a>;</div>
 123 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00411.html#gaf180f652fdac3be0ff7b8524113fe6a8">···76</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01444.html">DiagonalRowVectorConst&lt;K,n&gt;</a>·<a·class="code·hl_typedef"·href="a00411.html#gaf180f652fdac3be0ff7b8524113fe6a8">const_row_type</a>;</div>
 124 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga8f7c8db5c38abf29d6c1f8bd83443615">···77</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01444.html">const_row_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga8f7c8db5c38abf29d6c1f8bd83443615">const_reference</a>;</div>
 125 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga3403ca2666d15b112cf12fafd1767e8b">···78</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01444.html">const_row_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga3403ca2666d15b112cf12fafd1767e8b">const_row_reference</a>;</div>
141 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="comment">/*</span></div>126 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
Max diff block lines reached; 230966/259109 bytes (89.14%) of diff not shown.
49.4 KB
html2text {}
    
Offset 4, 137 lines modifiedOffset 4, 1606 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 alignedallocator.hh7 diagonalmatrix.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_ALIGNED_ALLOCATOR_HH 
15 ·6#define·DUNE_ALIGNED_ALLOCATOR_HH14 ·5#ifndef·DUNE_DIAGONAL_MATRIX_HH
 15 ·6#define·DUNE_DIAGONAL_MATRIX_HH
16 ·716 ·7
17 ·8#include·"mallocallocator.hh"17 ·12#include·<algorithm>
 18 ·13#include·<cassert>
 19 ·14#include·<cmath>
 20 ·15#include·<complex>
18 ·9#include·<cstdlib>21 ·16#include·<cstddef>
19 ·10 
20 ·1122 ·17#include·<initializer_list>
 23 ·18#include·<iostream>
 24 ·19#include·<memory>
 25 ·20
 26 ·21#include·<dune/common/boundschecking.hh>
 27 ·22#include·<dune/common/densematrix.hh>
 28 ·23#include·<dune/common/exceptions.hh>
 29 ·24#include·<dune/common/fmatrix.hh>
 30 ·25#include·<dune/common/fvector.hh>
 31 ·26#include·<dune/common/genericiterator.hh>
 32 ·27#include·<dune/common/typetraits.hh>
 33 ·28
 34 ·29
21 12namespace·Dune35 ·30namespace·Dune·{
 36 ·31
 37 ·32·template<·class·K,·int·n·>·class·DiagonalRowVectorConst;
 38 ·33·template<·class·K,·int·n·>·class·DiagonalRowVector;
 39 ·34·template<·class·DiagonalMatrixType·>·class·DiagonalMatrixWrapper;
 40 ·35·template<·class·C,·class·T,·class·R>·class·ContainerWrapperIterator;
 41 ·36
 42 ·51·template<class·K,·int·n>
 43 52·class·DiagonalMatrix
22 ·13{ 
23 ·14 
24 ·22·template<class·T,·int·Alignment·=·-1> 
25 23·class·AlignedAllocator·:·public·MallocAllocator<T>·{ 
26 ·24 
27 ·25#if·__APPLE__ 
28 ·26 
29 ·27·/* 
30 ·28·*·macOS·has·pretty·draconian·restrictions·on·the 
31 ·29·*·alignments·that·you·may·ask·for:·It·has·to·be 
32 ·30·* 
33 ·31·*·1)·a·power·of·2 
34 ·32·*·2)·at·least·as·large·as·sizeof(void*) 
35 ·33·* 
36 ·34·*·So·here·is·a·little·constexpr·function·that·calculates·just·that 
37 ·35·*·(together·with·the·correct·starting·value·for·align·fed·in·further·down). 
38 ·36·*/ 
39 ·37·static·constexpr·int·fixAlignment(int·align) 
40 ·38·{44 ·53·{
 45 ·54·typedef·DiagonalMatrixWrapper<_DiagonalMatrix<K,n>·>·WrapperType;
41 ·39·return·((Alignment==-1)·?·std::alignment_of<T>::value·:·Alignment)·>·align 
42 ·40·?·fixAlignment(align·<<·1)·:·align; 
43 ·41·} 
44 ·42 
45 ·43#else 
46 ·44 
47 ·45·/* 
48 ·46·*·Non-Apple·platforms·we·just·have·to·check·whether·an·explicit·alignment 
49 was 
50 ·47·*·restricted·or·fall·back·to·the·default·alignment·of·T. 
51 ·48·*/ 
52 ·49·static·constexpr·int·fixAlignment(int·align) 
53 ·50·{ 
54 ·51·return·(Alignment==-1)·?·std::alignment_of<T>::value·:·Alignment; 
55 ·52·} 
56 ·53 
57 ·54#endif 
58 ·5546 ·55
59 ·56·public:47 ·56·public:
 48 ·57·//=====·type·definitions·and·constants
 49 ·58
 50 60·typedef·K·value_type;
 51 61·typedef·value_type·field_type;
60 57·using·pointer·=·typename·MallocAllocator<T>::pointer; 
61 58·using·size_type·=·typename·MallocAllocator<T>::size_type; 
62 59·template·<class·U>·struct·rebind·{ 
63 60·typedef·AlignedAllocator<U,Alignment>·other; 
64 ·61·}; 
65 ·6252 ·62
 53 64·typedef·K·block_type;
 54 ·65
 55 67·typedef·std::size_t·size_type;
 56 ·68
 57 70·constexpr·static·int·blocklevel·=·1;
 58 ·71
 59 73·typedef·DiagonalRowVector<K,n>·row_type;
 60 74·typedef·row_type·reference;
 61 75·typedef·row_type·row_reference;
 62 76·typedef·DiagonalRowVectorConst<K,n>·const_row_type;
 63 77·typedef·const_row_type·const_reference;
 64 78·typedef·const_row_type·const_row_reference;
 65 ·79
 66 81·constexpr·static·int·rows·=·n;
 67 83·constexpr·static·int·cols·=·n;
 68 ·84
 69 ·85·//====·size
 70 ·86
 71 87·static·constexpr·size_type·size·()
 72 ·88·{
66 63·static·constexpr·int·alignment·=·fixAlignment(sizeof(void*)); 
67 ·64 
68 66·pointer·allocate(size_type·n,·[[maybe_unused]]·const·void*·hint·=·0) 
69 ·67·{ 
70 ·68·if·(n·>·this->max_size()) 
71 ·69·throw·std::bad_alloc(); 
72 ·70 
73 ·71#if·__APPLE__ 
74 ·72·//·Apple·is·also·restrictive·regarding·the·allocation·size. 
75 ·73·//·size·must·be·at·least·the·alignment·size. 
76 ·74·size_type·size·=·n·*·sizeof(T)·>=·alignment·?·n·*·sizeof(T)·:·alignment; 
77 ·75#else 
Max diff block lines reached; 46340/50583 bytes (91.61%) of diff not shown.
5.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a00218.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·iteratorrange.hh·File·Reference</title>8 <title>dune-common:·assertandreturn.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 33 lines modifiedOffset 63, 27 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#define-members">Macros</a>··</div>
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">iteratorrange.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">assertandreturn.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
 74 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 75 </div>
75 <p><a·href="a00218_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00218_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <table·class="memberdecls">77 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
78 Classes</h2></td></tr> 
79 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01888.html">Dune::IteratorRange&lt;·Iterator·&gt;</a></td></tr> 
80 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·range·between·a·begin·and·an·end·iterator.··<a·href="a01888.html#details">More...</a><br·/></td></tr> 
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
82 </table><table·class="memberdecls"> 
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
84 Namespaces</h2></td></tr>79 Macros</h2></td></tr>
85 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
86 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>80 <tr·class="memitem:ga902aaece2c20a75cbf6daad4957ba069"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">DUNE_ASSERT_AND_RETURN</a>(C,··X)&#16[·...·truncated·by·diffoscope;·len:·70,·SHA:·0c96b8bbb70bc8a580fc7b5313d0083362ec5f6b20d09da06fc7db56c3fee66c·...·]</td></tr>
 81 <tr·class="memdesc:ga902aaece2c20a75cbf6daad4957ba069"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Asserts·a·condition·and·return·on·success·in·constexpr·context.··<a·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">More...</a><br·/></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga902aaece2c20a75cbf6daad4957ba069"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table>83 </table>
89 </div><!--·contents·-->84 </div><!--·contents·-->
90 <!--·start·footer·part·-->85 <!--·start·footer·part·-->
91 <hr·class="footer"/><address·class="footer"><small>86 <hr·class="footer"/><address·class="footer"><small>
92 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.487 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
93 </small></address>88 </small></address>
94 </body>89 </body>
741 B
html2text {}
    
Offset 4, 21 lines modifiedOffset 4, 19 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces7 Macros
8 iteratorrange.hh·File·Reference8 assertandreturn.hh·File·Reference
 9 #include·<cassert>
9 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
 11 ·Macros
 12 #define DUNE_ASSERT_AND_RETURN(C,·X)   (!(C)·?·throw·[&](){assert(!#C);return·0;}()·:
 13 ·········0),·X
 14  ·······Asserts·a·condition·and·return·on·success·in·constexpr·context.·More...
10 ·Classes 
11 class· Dune::IteratorRange<_Iterator_> 
12  ······Simple·range·between·a·begin·and·an·end·iterator.·More... 
13   
14 ·Namespaces 
15 namespace· Dune 
16  ··········Dune·namespace. 
17  15  
  
18 ===============================================================================16 ===============================================================================
19 ·····Generated·by [doxygen]·1.9.417 ·····Generated·by [doxygen]·1.9.4
16.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00218_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·iteratorrange.hh·Source·File</title>8 <title>dune-common:·assertandreturn.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 74 lines modifiedOffset 62, 36 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">iteratorrange.hh</div></div>68 ··<div·class="headertitle"><div·class="title">assertandreturn.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00218.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00218.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ITERATORRANGE_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_ITERATORRANGE_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Iterator&gt;</div> 
82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01888.html">···21</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01888.html">IteratorRange</a></div>81 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifdef·NDEBUG</span></div>
 82 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">··#define·DUNE_ASSERT_AND_RETURN(C,X)·X</span></div>
83 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··{</div>83 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#else</span></div>
 84 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">···22</a></span><span·class="preprocessor">··#define·DUNE_ASSERT_AND_RETURN(C,X)·(!(C)·?·throw·[&amp;](){assert(!#C);return·0;}()·:·0),·X</span></div>
 85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div>
84 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
85 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">public</span>:</div> 
86 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
87 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">···27</a></span>····<span·class="keyword">typedef</span>·Iterator·<a·class="code·hl_typedef"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">iterator</a>;</div> 
88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67">···33</a></span>····<span·class="keyword">typedef</span>·Iterator·<a·class="code·hl_typedef"·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67">const_iterator</a>;</div> 
91 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01888.html#adb7ec5bf3368650a16463ae41d9dd44f">···36</a></span>····<a·class="code·hl_function"·href="a01888.html#adb7ec5bf3368650a16463ae41d9dd44f">IteratorRange</a>(<span·class="keyword">const</span>·Iterator&amp;·<a·class="code·hl_function"·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">begin</a>,·<span·class="keyword">const</span>·Iterator&amp;·<a·class="code·hl_function"·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">end</a>)</div> 
93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······:·_begin(<a·class="code·hl_function"·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">begin</a>)</div> 
94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······,·_end(<a·class="code·hl_function"·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">end</a>)</div> 
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{}</div> 
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01888.html#ad08326830d31d95fbb9f2667508eff22">···42</a></span>····<a·class="code·hl_function"·href="a01888.html#ad08326830d31d95fbb9f2667508eff22">IteratorRange</a>()</div> 
98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{}</div> 
99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
100 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">···46</a></span>····<a·class="code·hl_typedef"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">iterator</a>·<a·class="code·hl_function"·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">begin</a>()<span·class="keyword">·const</span></div> 
101 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">····</span>{</div> 
102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keywordflow">return</span>·_begin;</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>·</div> 
105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">···52</a></span>····<a·class="code·hl_typedef"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">iterator</a>·<a·class="code·hl_function"·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">end</a>()<span·class="keyword">·const</span></div> 
106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">····</span>{</div> 
107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keywordflow">return</span>·_end;</div> 
108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div> 
109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</div> 
111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····Iterator·_begin;</div> 
113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····Iterator·_end;</div> 
114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</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>·</div> 
117 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div> 
118 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
119 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_ITERATORRANGE_HH</span></div>89 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>
120 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div> 
121 <div·class="ttc"·id="aa01888_html"><div·class="ttname"><a·href="a01888.html">Dune::IteratorRange</a></div><div·class="ttdoc">Simple·range·between·a·begin·and·an·end·iterator.</div><div·class="ttdef"><b>Definition:</b>·iteratorrange.hh:22</div></div> 
122 <div·class="ttc"·id="aa01888_html_a188cf31835e16d41ad2b1226cc7f4c1f"><div·class="ttname"><a·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">Dune::IteratorRange::begin</a></div><div·class="ttdeci">iterator·begin()·const</div><div·class="ttdoc">Returns·an·iterator·pointing·to·the·begin·of·the·range.</div><div·class="ttdef"><b>Definition:</b>·iteratorrange.hh:46</div></div> 
123 <div·class="ttc"·id="aa01888_html_a49421ddcbc715d99afed075e73eb4f67"><div·class="ttname"><a·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67">Dune::IteratorRange::const_iterator</a></div><div·class="ttdeci">Iterator·const_iterator</div><div·class="ttdoc">The·iterator·belonging·to·this·range.</div><div·class="ttdef"><b>Definition:</b>·iteratorrange.hh:33</div></div> 
124 <div·class="ttc"·id="aa01888_html_a52704efe8a4f9cbe66eb4015549f41de"><div·class="ttname"><a·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">Dune::IteratorRange::end</a></div><div·class="ttdeci">iterator·end()·const</div><div·class="ttdoc">Returns·an·iterator·pointing·past·the·end·of·the·range.</div><div·class="ttdef"><b>Definition:</b>·iteratorrange.hh:52</div></div> 
125 <div·class="ttc"·id="aa01888_html_ad08326830d31d95fbb9f2667508eff22"><div·class="ttname"><a·href="a01888.html#ad08326830d31d95fbb9f2667508eff22">Dune::IteratorRange::IteratorRange</a></div><div·class="ttdeci">IteratorRange()</div><div·class="ttdoc">Default·constructor,·relies·on·iterators·being·default-constructible.</div><div·class="ttdef"><b>Definition:</b>·iteratorrange.hh:42</div></div> 
126 <div·class="ttc"·id="aa01888_html_ad98380cc975a532110a0838d1c89e029"><div·class="ttname"><a·href="a01888.html#ad98380cc975a532110a0838d1c89e029">Dune::IteratorRange::iterator</a></div><div·class="ttdeci">Iterator·iterator</div><div·class="ttdoc">The·iterator·belonging·to·this·range.</div><div·class="ttdef"><b>Definition:</b>·iteratorrange.hh:27</div></div> 
127 <div·class="ttc"·id="aa01888_html_adb7ec5bf3368650a16463ae41d9dd44f"><div·class="ttname"><a·href="a01888.html#adb7ec5bf3368650a16463ae41d9dd44f">Dune::IteratorRange::IteratorRange</a></div><div·class="ttdeci">IteratorRange(const·Iterator·&amp;begin,·const·Iterator·&amp;end)</div><div·class="ttdoc">Constructs·an·iterator·range·on·[begin,end).</div><div·class="ttdef"><b>Definition:</b>·iteratorrange.hh:36</div></div> 
128 </div><!--·fragment·--></div><!--·contents·-->90 </div><!--·fragment·--></div><!--·contents·-->
129 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
130 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.493 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
132 </small></address>94 </small></address>
133 </body>95 </body>
134 </html>96 </html>
2.57 KB
html2text {}
    
Offset 4, 92 lines modifiedOffset 4, 33 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 iteratorrange.hh7 assertandreturn.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_ITERATORRANGE_HH14 ·5#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH
15 ·6#define·DUNE_COMMON_ITERATORRANGE_HH15 ·6#define·DUNE_COMMON_ASSERTANDRETURN_HH
16 ·716 ·7
17 ·8namespace·Dune·{17 ·8#include·<cassert>
18 ·918 ·9
19 ·1119 ·11
20 ·20·template<typename·Iterator> 
21 21·class·IteratorRange 
22 ·22·{ 
23 ·23 
24 ·24·public:20 ·19#ifdef·NDEBUG
 21 ·20·#define·DUNE_ASSERT_AND_RETURN(C,X)·X
 22 ·21#else
 23 22·#define·DUNE_ASSERT_AND_RETURN(C,X)·(!(C)·?·throw·[&](){assert(!#C);return
 24 0;}()·:·0),·X
 25 ·23#endif
 26 ·24
25 ·2527 ·25
 28 ·26
26 27·typedef·Iterator·iterator; 
27 ·28 
28 ·30 
29 33·typedef·Iterator·const_iterator; 
30 ·34 
31 36·IteratorRange(const·Iterator&·begin,·const·Iterator&·end) 
32 ·37·:·_begin(begin) 
33 ·38·,·_end(end) 
34 ·39·{} 
35 ·40 
36 42·IteratorRange() 
37 ·43·{} 
38 ·44 
39 46·iterator·begin()·const 
40 ·47·{ 
41 ·48·return·_begin; 
42 ·49·} 
43 ·50 
44 52·iterator·end()·const 
45 ·53·{ 
46 ·54·return·_end; 
47 ·55·} 
48 ·56 
49 ·57·private: 
50 ·58 
51 ·59·Iterator·_begin; 
52 ·60·Iterator·_end; 
53 ·61 
54 ·62·}; 
55 ·63 
56 ·64} 
57 ·65 
58 ·66#endif·//·DUNE_COMMON_ITERATORRANGE_HH29 ·27#endif·//·DUNE_COMMON_ASSERTANDRETURN_HH
59 Dune 
60 Dune·namespace. 
61 Definition:·alignedallocator.hh:13 
62 Dune::IteratorRange 
63 Simple·range·between·a·begin·and·an·end·iterator. 
64 Definition:·iteratorrange.hh:22 
65 Dune::IteratorRange::begin 
66 iterator·begin()·const 
67 Returns·an·iterator·pointing·to·the·begin·of·the·range. 
68 Definition:·iteratorrange.hh:46 
69 Dune::IteratorRange::const_iterator 
70 Iterator·const_iterator 
71 The·iterator·belonging·to·this·range. 
72 Definition:·iteratorrange.hh:33 
73 Dune::IteratorRange::end 
74 iterator·end()·const 
75 Returns·an·iterator·pointing·past·the·end·of·the·range. 
76 Definition:·iteratorrange.hh:52 
77 Dune::IteratorRange::IteratorRange 
78 IteratorRange() 
79 Default·constructor,·relies·on·iterators·being·default-constructible. 
80 Definition:·iteratorrange.hh:42 
81 Dune::IteratorRange::iterator 
82 Iterator·iterator 
83 The·iterator·belonging·to·this·range. 
84 Definition:·iteratorrange.hh:27 
85 Dune::IteratorRange::IteratorRange 
86 IteratorRange(const·Iterator·&begin,·const·Iterator·&end) 
87 Constructs·an·iterator·range·on·[begin,end). 
88 Definition:·iteratorrange.hh:36 
  
89 ===============================================================================30 ===============================================================================
90 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
9.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00221.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·power.hh·File·Reference</title>8 <title>dune-common:·shared_ptr.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 42 lines modifiedOffset 64, 57 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>·&#124;
 72 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">power.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">shared_ptr.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.··76 <p>This·file·implements·several·utilities·related·to·std::shared_ptr.··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
 78 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
77 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
78 </div>80 </div>
79 <p><a·href="a00221_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00221_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">82 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
82 Classes</h2></td></tr>84 Classes</h2></td></tr>
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02420.html">Dune::StaticPower&lt;·b,·p·&gt;</a></td></tr> 
84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·b^p·at·compile·time.··<a·href="a02420.html#details">More...</a><br·/></td></tr> 
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02424.html">Dune::Power&lt;·p·&gt;</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02588.html">Dune::null_deleter&lt;·T·&gt;</a></td></tr>
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.··<a·href="a02424.html#details">More...</a><br·/></td></tr>86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything··<a·href="a02588.html#details">More...</a><br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">88 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>90 Namespaces</h2></td></tr>
92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>91 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>92 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 </table><table·class="memberdecls">
 95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 96 Functions</h2></td></tr>
 97 <tr·class="memitem:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 98 <tr·class="memitem:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memTemplItemLeft"·align="right"·valign="top">std::shared_ptr&lt;·T·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">Dune::stackobject_to_shared_ptr</a>·(T·&amp;t)</td></tr>
 99 <tr·class="memdesc:a0ee36ec1f6416afa0487a8a224376e34"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·shared_ptr·for·a·stack-allocated·object.··<a·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">More...</a><br·/></td></tr>
 100 <tr·class="separator:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:abc8b6bf5f8910e34829136293000c29e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 102 <tr·class="memitem:abc8b6bf5f8910e34829136293000c29e"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">Dune::wrap_or_move</a>·(T·&amp;&amp;t)</td></tr>
 103 <tr·class="memdesc:abc8b6bf5f8910e34829136293000c29e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Capture·R-value·reference·to·shared_ptr.··<a·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">More...</a><br·/></td></tr>
 104 <tr·class="separator:abc8b6bf5f8910e34829136293000c29e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 106 <tr·class="memitem:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab3669cc3fbff695e5ae793ab49f1ca8a">Dune::wrap_or_move</a>·(T·&amp;t)</td></tr>
 107 <tr·class="memdesc:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Capture·L-value·reference·to·std::shared_ptr.··<a·href="a00425.html#ab3669cc3fbff695e5ae793ab49f1ca8a">More...</a><br·/></td></tr>
 108 <tr·class="separator:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table>109 </table>
96 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
97 <div·class="textblock"><p·>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.·</p>111 <div·class="textblock"><p·>This·file·implements·several·utilities·related·to·std::shared_ptr.·</p>
 112 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
98 </div></div><!--·contents·-->113 </div></div><!--·contents·-->
99 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
100 <hr·class="footer"/><address·class="footer"><small>115 <hr·class="footer"/><address·class="footer"><small>
101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
102 </small></address>117 </small></address>
103 </body>118 </body>
104 </html>119 </html>
1.66 KB
html2text {}
    
Offset 4, 31 lines modifiedOffset 4, 42 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces7 Classes·|·Namespaces·|·Functions
8 power.hh·File·Reference8 shared_ptr.hh·File·Reference
9 Various·implementations·of·the·power·function·for·run-time·and·static 
10 arguments.·More...9 This·file·implements·several·utilities·related·to·std::shared_ptr.·More...
 10 #include·<memory>
11 #include·<dune/common/math.hh>11 #include·<dune/common/typetraits.hh>
12 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
13 ·Classes13 ·Classes
 14 struct· Dune::null_deleter<_T_>
 15  ·······implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything
14 struct· Dune::StaticPower<_b,_p_> 
15  ·······Calculates·b^p·at·compile·time.·More... 
16   
17 struct· Dune::Power<_p_> 
18  ·······Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent. 
19 ·········More...16 ·········More...
20  17  
21 ·Namespaces18 ·Namespaces
22 namespace· Dune19 namespace· Dune
23  ··········Dune·namespace.20  ··········Dune·namespace.
24  21  
 22 ·Functions
 23 template<typename·T·>
 24 std::shared_ptr<·T·> Dune::stackobject_to_shared_ptr·(T·&t)
 25  ····················Create·a·shared_ptr·for·a·stack-allocated·object.·More...
 26  
 27 template<class·T·>
 28 ················auto Dune::wrap_or_move·(T·&&t)
 29  ····················Capture·R-value·reference·to·shared_ptr.·More...
 30  
 31 template<class·T·>
 32 ················auto Dune::wrap_or_move·(T·&t)
 33  ····················Capture·L-value·reference·to·std::shared_ptr.·More...
 34  
25 *****·Detailed·Description·*****35 *****·Detailed·Description·*****
26 Various·implementations·of·the·power·function·for·run-time·and·static 
27 arguments.36 This·file·implements·several·utilities·related·to·std::shared_ptr.
 37 ··Author
 38 ······Markus·Blatt
  
28 ===============================================================================39 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.440 ·····Generated·by [doxygen]·1.9.4
19.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00221_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·power.hh·Source·File</title>8 <title>dune-common:·shared_ptr.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 57 lines modifiedOffset 62, 64 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">power.hh</div></div>68 ··<div·class="headertitle"><div·class="title">shared_ptr.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00221.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00221.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_POWER_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_POWER_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead.</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_SHARED_PTR_HH</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_SHARED_PTR_HH</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00119.html">dune/common/math.hh</a>&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>82 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
84 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·b,·<span·class="keywordtype">int</span>·p&gt;</div> 
85 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a02420.html">···27</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02420.html">StaticPower</a></div> 
86 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div>83 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>
87 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">···30</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">power</a>·=·<a·class="code·hl_function"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">Dune::power</a>(b,p);</div> 
88 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··};</div> 
89 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·p&gt;</div> 
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02424.html">···41</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02424.html">Power</a></div> 
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div> 
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T&gt;</div>84 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 85 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02588.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02588.html">null_deleter</a></div>
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga71e044edf267e984da3cb61e61a9d886">···44</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00397.html#ga71e044edf267e984da3cb61e61a9d886">eval</a>(<span·class="keyword">const</span>·T·&amp;·a)</div> 
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div> 
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">power</a>(a,p);</div> 
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····}</div> 
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div> 
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>86 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div>87 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02588.html#a3f1c97c83e9a406bab22a317a51056fb">···50</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02588.html#a3f1c97c83e9a406bab22a317a51056fb">operator()·</a>(T*)<span·class="keyword">·const·[·...·truncated·by·diffoscope;·len:·8,·SHA:·c92d379a1b7e7fbea3e7739528ff470ba656ec3e71a9d8ad017a1af198939aad·...·]}</div>
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>88 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</div>
 89 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 90 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 91 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02588.html#a0ee36ec1f6416afa0487a8a224376e34">···72</a></span>··<span·class="keyword">inline</span>·std::shared_ptr&lt;T&gt;·<a·class="code·hl_function"·href="a02588.html#a0ee36ec1f6416afa0487a8a224376e34">stackobject_to_shared_ptr</a>(T·&amp;·t)</div>
 92 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>
 93 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·std::shared_ptr&lt;T&gt;(&amp;t,·<a·class="code·hl_struct"·href="a02588.html">null_deleter&lt;T&gt;</a>());</div>
 94 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div>
 95 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 96 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 97 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 98 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">···96</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">wrap_or_move</a>(T&amp;&amp;·t)</div>
 99 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div>
 100 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·std::make_shared&lt;std::decay_t&lt;T&gt;&gt;(std::forward&lt;T&gt;(t));</div>
 101 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>
 102 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 103 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 104 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a00425.html#ab3669cc3fbff695e5ae793ab49f1ca8a">··119</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">wrap_or_move</a>(T&amp;·t)</div>
 105 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··{</div>
 106 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">stackobject_to_shared_ptr</a>(t);</div>
 107 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··}</div>
 108 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 109 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>}</div>
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#endif</span></div>110 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="preprocessor">#endif</span></div>
104 <div·class="ttc"·id="aa00119_html"><div·class="ttname"><a·href="a00119.html">math.hh</a></div><div·class="ttdoc">Some·useful·basic·math·stuff.</div></div>111 <div·class="ttc"·id="aa00083_html"><div·class="ttname"><a·href="a00083.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
105 <div·class="ttc"·id="aa00397_html_ga0d7dfc20424ea16d20ae167409d90eeb"><div·class="ttname"><a·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">Dune::StaticPower::power</a></div><div·class="ttdeci">static·constexpr·int·power</div><div·class="ttdoc">power·stores·b^p</div><div·class="ttdef"><b>Definition:</b>·power.hh:30</div></div> 
106 <div·class="ttc"·id="aa00397_html_ga71e044edf267e984da3cb61e61a9d886"><div·class="ttname"><a·href="a00397.html#ga71e044edf267e984da3cb61e61a9d886">Dune::Power::eval</a></div><div·class="ttdeci">static·constexpr·auto·eval(const·T·&amp;a)</div><div·class="ttdef"><b>Definition:</b>·power.hh:44</div></div> 
107 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>112 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
108 <div·class="ttc"·id="aa00425_html_a3e1ea51d0034cae5c0f206c0bdae2c9d"><div·class="ttname"><a·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">Dune::power</a></div><div·class="ttdeci">constexpr·Base·power(Base·m,·Exponent·p)</div><div·class="ttdoc">Power·method·for·integer·exponents.</div><div·class="ttdef"><b>Definition:</b>·math.hh:75</div></div> 
109 <div·class="ttc"·id="aa02420_html"><div·class="ttname"><a·href="a02420.html">Dune::StaticPower</a></div><div·class="ttdoc">Calculates·b^p·at·compile·time.</div><div·class="ttdef"><b>Definition:</b>·power.hh:28</div></div> 
110 <div·class="ttc"·id="aa02424_html"><div·class="ttname"><a·href="a02424.html">Dune::Power</a></div><div·class="ttdoc">Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.</div><div·class="ttdef"><b>Definition:</b>·power.hh:42</div></div>113 <div·class="ttc"·id="aa00425_html_a0ee36ec1f6416afa0487a8a224376e34"><div·class="ttname"><a·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">Dune::stackobject_to_shared_ptr</a></div><div·class="ttdeci">std::shared_ptr&lt;·T·&gt;·stackobject_to_shared_ptr(T·&amp;t)</div><div·c[·...·truncated·by·diffoscope;·len:·121,·SHA:·1bf0981ce3e0166b927dffd692ac313972bc181e11f7513e9371786b8522b9c9·...·]2</div></div>
 114 <div·class="ttc"·id="aa00425_html_abc8b6bf5f8910e34829136293000c29e"><div·class="ttname"><a·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">Dune::wrap_or_move</a></div><div·class="ttdeci">auto·wrap_or_move(T·&amp;&amp;t)</div><div·class="ttdoc">Capture·R-value·reference·to·shared_ptr.</div><div·class="ttdef"><b>Definition:</b>·shared_ptr.hh:96</div></div>
 115 <div·class="ttc"·id="aa02588_html"><div·class="ttname"><a·href="a02588.html">Dune::null_deleter</a></div><div·class="ttdoc">implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything</div><div·class="ttdef"><b>Definition:</b>·shared_ptr.hh:49</div></div>
 116 <div·class="ttc"·id="aa02588_html_a0ee36ec1f6416afa0487a8a224376e34"><div·class="ttname"><a·href="a02588.html#a0ee36ec1f6416afa0487a8a224376e34">Dune::null_deleter::stackobject_to_shared_ptr</a></div><div·class="ttdeci">std::shared_ptr&lt;·T·&gt;·stackobject_to_shared_ptr(T·&amp;t)</div><div·class="ttdoc">Create·a·shared_ptr·for·a·stack-allocated·object.</div><div·class="ttdef"><b>Definition:</b>·shared_ptr.hh:72</div></div>
 117 <div·class="ttc"·id="aa02588_html_a3f1c97c83e9a406bab22a317a51056fb"><div·class="ttname"><a·href="a02588.html#a3f1c97c83e9a406bab22a317a51056fb">Dune::null_deleter::operator()</a></div><div·class="ttdeci">void·operator()(T·*)·const</div><div·class="ttdef"><b>Definition:</b>·shared_ptr.hh:50</div></div>
111 </div><!--·fragment·--></div><!--·contents·-->118 </div><!--·fragment·--></div><!--·contents·-->
112 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>120 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>122 </small></address>
116 </body>123 </body>
117 </html>124 </html>
3.06 KB
html2text {}
    
Offset 4, 68 lines modifiedOffset 4, 76 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 power.hh7 shared_ptr.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_POWER_HH 
15 ·6#define·DUNE_COMMON_POWER_HH 
16 ·7 
17 ·8#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead. 
18 ·914 ·5
 15 ·6#ifndef·DUNE_SHARED_PTR_HH
 16 ·7#define·DUNE_SHARED_PTR_HH
 17 ·8
 18 ·9#include·<memory>
 19 ·10
19 ·14#include·<dune/common/math.hh>20 ·11#include·<dune/common/typetraits.hh>
20 ·15 
21 ·16namespace·Dune·{21 ·17namespace·Dune
22 ·17 
23 ·26·template·<int·b,·int·p> 
24 27·struct·StaticPower 
25 ·28·{ 
26 30·static·constexpr·int·power·=·Dune::power(b,p);22 ·18{
 23 ·47·template<class·T>
 24 48·struct·null_deleter
 25 ·49·{
 26 50·void·operator()(T*)·const·{}
27 ·31·};27 ·51·};
 28 ·52
28 ·32 
29 ·33 
30 ·40·template·<int·p> 
31 41·struct·Power 
32 ·42·{ 
33 ·43·template·<typename·T>29 ·71·template<typename·T>
34 44·static·constexpr·auto·eval(const·T·&·a) 
35 ·45·{ 
36 ·46·return·power(a,p);30 72·inline·std::shared_ptr<T>·stackobject_to_shared_ptr(T·&·t)
 31 ·73·{
 32 ·74·return·std::shared_ptr<T>(&t,·null_deleter<T>());
37 ·47·}33 ·75·}
38 ·48·}; 
39 ·49 
40 ·50} 
41 ·5134 ·76
 35 ·77
 36 ·95·template<class·T>
 37 96·auto·wrap_or_move(T&&·t)
 38 ·97·{
 39 ·98·return·std::make_shared<std::decay_t<T>>(std::forward<T>(t));
 40 ·99·}
 41 ·100
 42 ·118·template<class·T>
 43 119·auto·wrap_or_move(T&·t)
 44 ·120·{
 45 ·121·return·stackobject_to_shared_ptr(t);
 46 ·122·}
 47 ·123
 48 ·124}
42 ·52#endif49 ·125#endif
 50 typetraits.hh
 51 Traits·for·type·conversions·and·type·information.
43 math.hh 
44 Some·useful·basic·math·stuff. 
45 Dune::StaticPower::power 
46 static·constexpr·int·power 
47 power·stores·b^p 
48 Definition:·power.hh:30 
49 Dune::Power::eval 
50 static·constexpr·auto·eval(const·T·&a) 
51 Definition:·power.hh:44 
52 Dune52 Dune
53 Dune·namespace.53 Dune·namespace.
54 Definition:·alignedallocator.hh:1354 Definition:·alignedallocator.hh:13
55 Dune::power 
56 constexpr·Base·power(Base·m,·Exponent·p) 
57 Power·method·for·integer·exponents.55 Dune::stackobject_to_shared_ptr
 56 std::shared_ptr<·T·>·stackobject_to_shared_ptr(T·&t)
 57 Create·a·shared_ptr·for·a·stack-allocated·object.
58 Definition:·math.hh:7558 Definition:·shared_ptr.hh:72
59 Dune::StaticPower 
60 Calculates·b^p·at·compile·time. 
61 Definition:·power.hh:28 
62 Dune::Power 
63 Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent. 
64 Definition:·power.hh:4259 Dune::wrap_or_move
 60 auto·wrap_or_move(T·&&t)
 61 Capture·R-value·reference·to·shared_ptr.
 62 Definition:·shared_ptr.hh:96
 63 Dune::null_deleter
 64 implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything
 65 Definition:·shared_ptr.hh:49
 66 Dune::null_deleter::stackobject_to_shared_ptr
 67 std::shared_ptr<·T·>·stackobject_to_shared_ptr(T·&t)
 68 Create·a·shared_ptr·for·a·stack-allocated·object.
 69 Definition:·shared_ptr.hh:72
 70 Dune::null_deleter::operator()
 71 void·operator()(T·*)·const
 72 Definition:·shared_ptr.hh:50
  
65 ===============================================================================73 ===============================================================================
66 ·····Generated·by [doxygen]·1.9.474 ·····Generated·by [doxygen]·1.9.4
24.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00224.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·typetraits.hh·File·Reference</title>8 <title>dune-common:·parametertreeparser.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 137 lines modifiedOffset 62, 28 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary"> 
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124; 
71 <a·href="#typedef-members">Typedefs</a>·&#124; 
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">typetraits.hh·File·Reference</div></div>68 ··<div·class="headertitle"><div·class="title">parametertreeparser.cc·File·Reference</div></div>
74 </div><!--header-->69 </div><!--header-->
75 <div·class="contents">70 <div·class="contents">
 71 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00095_source.html">parametertreeparser.hh</a>&quot;</code><br·/>
  
76 <p>Traits·for·type·conversions·and·type·information.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;complex&gt;</code><br·/> 
79 <code>#include·&lt;type_traits&gt;</code><br·/> 
80 <code>#include·&lt;utility&gt;</code><br·/>72 <code>#include·&lt;cstdlib&gt;</code><br·/>
 73 <code>#include·&lt;iostream&gt;</code><br·/>
 74 <code>#include·&lt;ostream&gt;</code><br·/>
 75 <code>#include·&lt;string&gt;</code><br·/>
 76 <code>#include·&lt;sstream&gt;</code><br·/>
 77 <code>#include·&lt;fstream&gt;</code><br·/>
81 <code>#include·&lt;vector&gt;</code><br·/>78 <code>#include·&lt;set&gt;</code><br·/>
 79 <code>#include·&lt;map&gt;</code><br·/>
 80 <code>#include·&lt;algorithm&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
82 </div> 
83 <p><a·href="a00224_source.html">Go·to·the·source·code·of·this·file.</a></p> 
84 <table·class="memberdecls"> 
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
86 Classes</h2></td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03084.html">Dune::Empty</a></td></tr> 
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Just·an·empty·class.··<a·href="a03084.html#details">More...</a><br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03088.html">Dune::IsInteroperable&lt;·T1,·T2·&gt;</a></td></tr> 
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·whether·two·types·are·interoperable.··<a·href="a03088.html#details">More...</a><br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03092.html">Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;</a></td></tr> 
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Enable·typedef·if·two·types·are·interoperable.··<a·href="a03092.html#details">More...</a><br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03096.html">Dune::AlwaysFalse&lt;·T·&gt;</a></td></tr> 
97 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">template·which·always·yields·a·false·value··<a·href="a03096.html#details">More...</a><br·/></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03100.html">Dune::AlwaysTrue&lt;·T·&gt;</a></td></tr> 
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">template·which·always·yields·a·true·value··<a·href="a03100.html#details">More...</a><br·/></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03108.html">Dune::IsCallable&lt;·F(Args...),·R·&gt;</a></td></tr> 
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·a·type·is·callable·with·()-operator·and·given·arguments.··<a·href="a03108.html#details">More...</a><br·/></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01300.html">Dune::IsNumber&lt;·T·&gt;</a></td></tr> 
106 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.··<a·href="a01300.html#details">More...</a><br·/></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03112.html">Dune::HasNaN&lt;·T·&gt;</a></td></tr> 
109 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Whether·this·type·has·a·value·of·NaN.··<a·href="a03112.html#details">More...</a><br·/></td></tr> 
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03116.html">Dune::IsIndexable&lt;·T,·I·&gt;</a></td></tr> 
112 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),·i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.··<a·href="a03116.html#details">More...</a><br·/></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03120.html">Dune::IsIterable&lt;·T,·typename·&gt;</a></td></tr> 
115 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">typetrait·to·check·that·a·class·has·begin()·and·end()·members··<a·href="a03120.html#details">More...</a><br·/></td></tr> 
116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03124.html">Dune::IsTuple&lt;·T·&gt;</a></td></tr> 
118 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·T·is·a·std::tuple&lt;...&gt;··<a·href="a03124.html#details">More...</a><br·/></td></tr> 
119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03128.html">Dune::IsTupleOrDerived&lt;·T·&gt;</a></td></tr> 
121 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·T·derived·from·a·std::tuple&lt;...&gt;··<a·href="a03128.html#details">More...</a><br·/></td></tr> 
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03132.html">Dune::IsIntegralConstant&lt;·T·&gt;</a></td></tr> 
124 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;··<a·href="a03132.html#details">More...</a><br·/></td></tr> 
125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03136.html">Dune::SizeOf&lt;·T·&gt;</a></td></tr> 
127 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·size·of·variadic·type·list.··<a·href="a03136.html#details">More...</a><br·/></td></tr> 
128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03144.html">Dune::AutonomousValueType&lt;·T·&gt;</a></td></tr> 
130 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·free·of·internal·references·that·<code>T</code>·can·be·converted·to.··<a·href="a03144.html#details">More...</a><br·/></td></tr> 
131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03148.html">Dune::AutonomousValueType&lt;·T·&amp;·&gt;</a></td></tr> 
133 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·lvalue·references.··<a·href="a03148.html#details">More...</a><br·/></td></tr> 
134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03152.html">Dune::AutonomousValueType&lt;·T·&amp;&amp;·&gt;</a></td></tr> 
136 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·rvalue·references.··<a·href="a03152.html#details">More...</a><br·/></td></tr> 
137 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03156.html">Dune::AutonomousValueType&lt;·const·T·&gt;</a></td></tr> 
139 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·const·qualifiers.··<a·href="a03156.html#details">More...</a><br·/></td></tr> 
140 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03160.html">Dune::AutonomousValueType&lt;·volatile·T·&gt;</a></td></tr> 
142 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·volatile·qualifiers.··<a·href="a03160.html#details">More...</a><br·/></td></tr> 
143 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03164.html">Dune::AutonomousValueType&lt;·std::vector&lt;·bool·&gt;::reference·&gt;</a></td></tr> 
145 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·for·the·proxies·of·<code>vector&lt;bool&gt;</code>··<a·href="a03164.html#details">More...</a><br·/></td></tr> 
146 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
147 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03168.html">Dune::AutonomousValueType&lt;·volatile·const·T·&gt;</a></td></tr> 
148 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·to·remove·both·const·and·volatile·qualifiers.··<a·href="a03168.html#details">More...</a><br·/></td></tr> 
149 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 </table><table·class="memberdecls"> 
151 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
152 Namespaces</h2></td></tr> 
153 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
154 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
155 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 </table><table·class="memberdecls"> 
157 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
158 Typedefs</h2></td></tr> 
159 <tr·class="memitem:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memTemplParams"·colspan="2">template&lt;class...·Types&gt;·</td></tr> 
160 <tr·class="memitem:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">Dune::void_t</a>·=·typename·Impl::voider&lt;·Types...·&gt;::type</td></tr> 
161 <tr·class="memdesc:ga6a3de1d2dbd47536c4b007d3a3b108a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-techniques.··<a·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">More...</a><br·/></td></tr> 
Max diff block lines reached; 271/19980 bytes (1.36%) of diff not shown.
4.47 KB
html2text {}
    
Offset 4, 123 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 parametertreeparser.cc·File·Reference
 8 #include·"parametertreeparser.hh"
7 Classes·|·Namespaces·|·Typedefs·|·Functions 
8 typetraits.hh·File·Reference 
9 Traits·for·type·conversions·and·type·information.·More... 
10 #include·<complex> 
11 #include·<type_traits> 
12 #include·<utility>9 #include·<cstdlib>
 10 #include·<iostream>
 11 #include·<ostream>
 12 #include·<string>
 13 #include·<sstream>
 14 #include·<fstream>
13 #include·<vector>15 #include·<set>
 16 #include·<map>
 17 #include·<algorithm>
 18 #include·<dune/common/exceptions.hh>
14 Go_to_the_source_code_of_this_file. 
15 ·Classes 
16 struct· Dune::Empty 
17  ·······Just·an·empty·class.·More... 
18   
19 struct· Dune::IsInteroperable<_T1,_T2_> 
20  ·······Checks·whether·two·types·are·interoperable.·More... 
21   
22 struct· Dune::EnableIfInterOperable<_T1,_T2,_Type_> 
23  ·······Enable·typedef·if·two·types·are·interoperable.·More... 
24   
25 struct· Dune::AlwaysFalse<_T_> 
26  ·······template·which·always·yields·a·false·value·More... 
27   
28 struct· Dune::AlwaysTrue<_T_> 
29  ·······template·which·always·yields·a·true·value·More... 
30   
31 struct· Dune::IsCallable<_F(Args...),_R_> 
32  ·······Check·if·a·type·is·callable·with·()-operator·and·given·arguments. 
33 ·········More... 
34   
35 struct· Dune::IsNumber<_T_> 
36  ·······Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically 
37 ·········blocked)·containers.·More... 
38   
39 struct· Dune::HasNaN<_T_> 
40  ·······Whether·this·type·has·a·value·of·NaN.·More... 
41   
42 struct· Dune::IsIndexable<_T,_I_> 
43  ·······Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I), 
44 ·········i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.·More... 
45   
46 struct· Dune::IsIterable<_T,_typename_> 
47  ·······typetrait·to·check·that·a·class·has·begin()·and·end()·members·More... 
48   
49 struct· Dune::IsTuple<_T_> 
50  ·······Check·if·T·is·a·std::tuple<...>·More... 
51   
52 struct· Dune::IsTupleOrDerived<_T_> 
53  ·······Check·if·T·derived·from·a·std::tuple<...>·More... 
54   
55 struct· Dune::IsIntegralConstant<_T_> 
56  ·······Check·if·T·is·an·std::integral_constant<I,·i>·More... 
57   
58 struct· Dune::SizeOf<_T_> 
59  ·······Compute·size·of·variadic·type·list.·More... 
60   
61 struct· Dune::AutonomousValueType<_T_> 
62  ·······Type·free·of·internal·references·that·T·can·be·converted·to.·More... 
63   
64 struct· Dune::AutonomousValueType<_T_&_> 
65  ·······Specialization·to·remove·lvalue·references.·More... 
66   
67 struct· Dune::AutonomousValueType<_T_&&_> 
68  ·······Specialization·to·remove·rvalue·references.·More... 
69   
70 struct· Dune::AutonomousValueType<_const_T_> 
71  ·······Specialization·to·remove·const·qualifiers.·More... 
72   
73 struct· Dune::AutonomousValueType<_volatile_T_> 
74  ·······Specialization·to·remove·volatile·qualifiers.·More... 
75   
76 struct· Dune::AutonomousValueType<_std::vector<_bool_>::reference_> 
77  ·······Specialization·for·the·proxies·of·vector<bool>·More... 
78   
79 struct· Dune::AutonomousValueType<_volatile_const_T_> 
80  ·······Specialization·to·remove·both·const·and·volatile·qualifiers.·More... 
81   
82 ·Namespaces 
83 namespace· Dune 
84  ··········Dune·namespace. 
85   
86 ·Typedefs 
87 template<class...·Types> 
88 using Dune::void_t·=·typename·Impl::voider<·Types...·>::type 
89  ·····Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE- 
90 ·······techniques.·More... 
91   
92 template<class·Type·> 
93 using Dune::field_t·=·typename·FieldTraits<·Type·>::field_type 
94  ·····Convenient·access·to·FieldTraits<Type>::field_type.·More... 
95   
96 template<class·Type·> 
97 using Dune::real_t·=·typename·FieldTraits<·Type·>::real_type 
98  ·····Convenient·access·to·FieldTraits<Type>::real_type.·More... 
99   
100 template<class·T·> 
101 using Dune::AutonomousValue·=·typename·AutonomousValueType<·T·>::type 
102  ·····Type·free·of·internal·references·that·T·can·be·converted·to.·More... 
103   
104 ·Functions 
105 template<class·T·,·T...·t,·std::size_t·index> 
106 ················constexpr·auto Dune::integerSequenceEntry·(std:: 
107 ································integer_sequence<·T,·t...·>,·std:: 
108 ································integral_constant<·std::size_t,·index·>·i) 
109  ······························Get·entry·of·std::integer_sequence.·More... 
110   
111 template<class·T·> 
112 constexpr·AutonomousValue<·T·> Dune::autoCopy·(T·&&v) 
113  ······························Autonomous·copy·of·an·expression's·value·for 
114 ································use·in·auto·type·deduction.·More... 
115   
116 *****·Detailed·Description·***** 
Max diff block lines reached; 116/4551 bytes (2.55%) of diff not shown.
5.35 KB
./usr/share/doc/libdune-common-doc/doxygen/a00227.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·binaryfunctions.hh·File·Reference</title>8 <title>dune-common:·unused.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 41 lines modifiedOffset 63, 31 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#define-members">Macros</a>··</div>
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">unused.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>helper·classes·to·provide·unique·types·for·standard·functions··74 <p>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.··
76 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/> 
78 </div> 
79 <p><a·href="a00227_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00227_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">77 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
82 Classes</h2></td></tr> 
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01312.html">Dune::Min&lt;·Type·&gt;</a></td></tr> 
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01316.html">Dune::Max&lt;·Type·&gt;</a></td></tr> 
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
87 </table><table·class="memberdecls"> 
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
89 Namespaces</h2></td></tr>79 Macros</h2></td></tr>
 80 <tr·class="memitem:ga82d6aa0dcd7f162d42922460058fbf86"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">DUNE_UNUSED_PARAMETER</a>(param)&#160;&#160;&#160;static_cast&lt;void&gt;(param)</td></tr>
90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:ga82d6aa0dcd7f162d42922460058fbf86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table>82 </table>
94 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>83 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
95 <div·class="textblock"><p·>helper·classes·to·provide·unique·types·for·standard·functions·</p>84 <div·class="textblock"><p·>Definition·of·the·<code>DUNE_UNUSED_PARAMETER</code>·macro.·</p>
96 </div></div><!--·contents·-->85 </div></div><!--·contents·-->
97 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
98 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
99 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
100 </small></address>89 </small></address>
101 </body>90 </body>
102 </html>91 </html>
840 B
html2text {}
    
Offset 4, 26 lines modifiedOffset 4, 19 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Macros
 8 unused.hh·File·Reference
 9 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.·More...
7 Classes·|·Namespaces 
8 binaryfunctions.hh·File·Reference 
9 helper·classes·to·provide·unique·types·for·standard·functions·More... 
10 #include·<algorithm> 
11 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
 11 ·Macros
 12 #define DUNE_UNUSED_PARAMETER(param)   static_cast<void>(param)
12 ·Classes 
13 struct· Dune::Min<_Type_> 
14   
15 struct· Dune::Max<_Type_> 
16   
17 ·Namespaces 
18 namespace· Dune 
19  ··········Dune·namespace. 
20  13  
21 *****·Detailed·Description·*****14 *****·Detailed·Description·*****
22 helper·classes·to·provide·unique·types·for·standard·functions15 Definition·of·the·DUNE_UNUSED_PARAMETER·macro.
  
23 ===============================================================================16 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.417 ·····Generated·by [doxygen]·1.9.4
18.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00227_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·binaryfunctions.hh·Source·File</title>8 <title>dune-common:·unused.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 75 lines modifiedOffset 62, 26 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">binaryfunctions.hh</div></div>68 ··<div·class="headertitle"><div·class="title">unused.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00227.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00227.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_BINARYFUNCTIONS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_UNUSED_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_BINARYFUNCTIONS_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_UNUSED_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">···21</a></span><span·class="preprocessor">#define·DUNE_UNUSED_PARAMETER(param)·static_cast&lt;void&gt;(param)</span></div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>{</div> 
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Type&gt;</div> 
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a01312.html">···17</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01312.html">Min</a></div> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··{</div> 
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">···19</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">first_argument_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01312.html#aeeee48475d6ff825b11a1e5d2b33fcb3">···21</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#aeeee48475d6ff825b11a1e5d2b33fcb3">second_argument_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div> 
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div> 
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno"><a·class="line"·href="a01312.html#a1a9f5602b00c47102e8a673735384025">···23</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01312.html#a1a9f5602b00c47102e8a673735384025">result_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div> 
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">···25</a></span>····Type·<a·class="code·hl_function"·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">operator()</a>(<span·class="keyword">const</span>·Type&amp;·t1,·<span·class="keyword">const</span>·Type&amp;·t2)<span·class="keyword">·const</span></div> 
92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="keyword">····</span>{</div> 
93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00428.html#a10f66b4d8465c253379031564e8ba250">std::min</a>;</div> 
94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00428.html#a10f66b4d8465c253379031564e8ba250">min</a>(t1,t2);</div> 
95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····}</div> 
96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··};</div> 
97 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Type&gt;</div> 
99 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01316.html">···33</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01316.html">Max</a></div> 
100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div> 
101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a01316.html#a33e20d90dcf2581c158a748d52146ab8">···35</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01316.html#a33e20d90dcf2581c158a748d52146ab8">first_argument_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div> 
102 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
103 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01316.html#adcf11807cc01644428fbeaa5628964dc">···37</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01316.html#adcf11807cc01644428fbeaa5628964dc">second_argument_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div> 
104 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
105 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01316.html#a186a7c3e52441741a3293eb9890944e8">···39</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01316.html#a186a7c3e52441741a3293eb9890944e8">result_type</a>·[[deprecated(<span·class="stringliteral">&quot;This·type·alias·is·deprecated·following·similar·deprecations·in·C++17&quot;</span>)]]·=·Type;</div> 
106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
107 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01316.html#a12f75ff2a1596bce9309cb1a0b877703">···41</a></span>····Type·<a·class="code·hl_function"·href="a01316.html#a12f75ff2a1596bce9309cb1a0b877703">operator()</a>(<span·class="keyword">const</span>·Type&amp;·t1,·<span·class="keyword">const</span>·Type&amp;·t2)<span·class="keyword">·const</span></div> 
108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">····</span>{</div> 
109 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00428.html#a63c18a33653d80d902d11126c4547e0d">std::max</a>;</div> 
110 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00428.html#a63c18a33653d80d902d11126c4547e0d">max</a>(t1,t2);</div> 
111 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····}</div> 
112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··};</div> 
113 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}</div> 
114 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
115 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#endif</span></div>79 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif</span></div>
116 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div> 
117 <div·class="ttc"·id="aa00428_html_a10f66b4d8465c253379031564e8ba250"><div·class="ttname"><a·href="a00428.html#a10f66b4d8465c253379031564e8ba250">Dune::AlignedNumberImpl::min</a></div><div·class="ttdeci">auto·min(const·AlignedNumber&lt;·T,·align·&gt;·&amp;a,·const·AlignedNumber&lt;·T,·align·&gt;·&amp;b)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:447</div></div> 
118 <div·class="ttc"·id="aa00428_html_a63c18a33653d80d902d11126c4547e0d"><div·class="ttname"><a·href="a00428.html#a63c18a33653d80d902d11126c4547e0d">Dune::AlignedNumberImpl::max</a></div><div·class="ttdeci">auto·max(const·AlignedNumber&lt;·T,·align·&gt;·&amp;a,·const·AlignedNumber&lt;·T,·align·&gt;·&amp;b)</div><div·class="ttdef"><b>Definition:</b>·debugalign.hh:425</div></div> 
119 <div·class="ttc"·id="aa01312_html"><div·class="ttname"><a·href="a01312.html">Dune::Min</a></div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:18</div></div> 
120 <div·class="ttc"·id="aa01312_html_a1a9f5602b00c47102e8a673735384025"><div·class="ttname"><a·href="a01312.html#a1a9f5602b00c47102e8a673735384025">Dune::Min::result_type</a></div><div·class="ttdeci">Type·result_type</div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:23</div></div> 
121 <div·class="ttc"·id="aa01312_html_a3a095ab2b2588ca48de65a3d25d03de7"><div·class="ttname"><a·href="a01312.html#a3a095ab2b2588ca48de65a3d25d03de7">Dune::Min::operator()</a></div><div·class="ttdeci">Type·operator()(const·Type·&amp;t1,·const·Type·&amp;t2)·const</div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:25</div></div> 
122 <div·class="ttc"·id="aa01312_html_a82606dcf591eb20e407a2e0bcc41b10d"><div·class="ttname"><a·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">Dune::Min::first_argument_type</a></div><div·class="ttdeci">Type·first_argument_type</div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:19</div></div> 
123 <div·class="ttc"·id="aa01312_html_aeeee48475d6ff825b11a1e5d2b33fcb3"><div·class="ttname"><a·href="a01312.html#aeeee48475d6ff825b11a1e5d2b33fcb3">Dune::Min::second_argument_type</a></div><div·class="ttdeci">Type·second_argument_type</div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:21</div></div> 
124 <div·class="ttc"·id="aa01316_html"><div·class="ttname"><a·href="a01316.html">Dune::Max</a></div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:34</div></div> 
125 <div·class="ttc"·id="aa01316_html_a12f75ff2a1596bce9309cb1a0b877703"><div·class="ttname"><a·href="a01316.html#a12f75ff2a1596bce9309cb1a0b877703">Dune::Max::operator()</a></div><div·class="ttdeci">Type·operator()(const·Type·&amp;t1,·const·Type·&amp;t2)·const</div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:41</div></div> 
126 <div·class="ttc"·id="aa01316_html_a186a7c3e52441741a3293eb9890944e8"><div·class="ttname"><a·href="a01316.html#a186a7c3e52441741a3293eb9890944e8">Dune::Max::result_type</a></div><div·class="ttdeci">Type·result_type</div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:39</div></div> 
127 <div·class="ttc"·id="aa01316_html_a33e20d90dcf2581c158a748d52146ab8"><div·class="ttname"><a·href="a01316.html#a33e20d90dcf2581c158a748d52146ab8">Dune::Max::first_argument_type</a></div><div·class="ttdeci">Type·first_argument_type</div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:35</div></div> 
128 <div·class="ttc"·id="aa01316_html_adcf11807cc01644428fbeaa5628964dc"><div·class="ttname"><a·href="a01316.html#adcf11807cc01644428fbeaa5628964dc">Dune::Max::second_argument_type</a></div><div·class="ttdeci">Type·second_argument_type</div><div·class="ttdef"><b>Definition:</b>·binaryfunctions.hh:37</div></div> 
129 </div><!--·fragment·--></div><!--·contents·-->80 </div><!--·fragment·--></div><!--·contents·-->
130 <!--·start·footer·part·-->81 <!--·start·footer·part·-->
131 <hr·class="footer"/><address·class="footer"><small>82 <hr·class="footer"/><address·class="footer"><small>
132 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.483 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
133 </small></address>84 </small></address>
134 </body>85 </body>
135 </html>86 </html>
3.12 KB
html2text {}
    
Offset 4, 103 lines modifiedOffset 4, 22 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 binaryfunctions.hh7 unused.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_BINARYFUNCTIONS_HH 
15 ·6#define·DUNE_BINARYFUNCTIONS_HH14 ·5#ifndef·DUNE_COMMON_UNUSED_HH
 15 ·6#define·DUNE_COMMON_UNUSED_HH
16 ·716 ·7
 17 21#define·DUNE_UNUSED_PARAMETER(param)·static_cast<void>(param)
17 ·12#include·<algorithm> 
18 ·13 
19 ·14namespace·Dune 
20 ·15{ 
21 ·16·template<typename·Type> 
22 17·struct·Min 
23 ·18·{ 
24 19·using·first_argument_type·[[deprecated("This·type·alias·is·deprecated 
25 following·similar·deprecations·in·C++17")]]·=·Type; 
26 ·20 
27 21·using·second_argument_type·[[deprecated("This·type·alias·is·deprecated 
28 following·similar·deprecations·in·C++17")]]·=·Type; 
29 ·22 
30 23·using·result_type·[[deprecated("This·type·alias·is·deprecated·following 
31 similar·deprecations·in·C++17")]]·=·Type; 
32 ·24 
33 25·Type·operator()(const·Type&·t1,·const·Type&·t2)·const 
34 ·26·{ 
35 ·27·using·std::min; 
36 ·28·return·min(t1,t2); 
37 ·29·} 
38 ·30·}; 
39 ·31 
40 ·32·template<typename·Type> 
41 33·struct·Max 
42 ·34·{ 
43 35·using·first_argument_type·[[deprecated("This·type·alias·is·deprecated 
44 following·similar·deprecations·in·C++17")]]·=·Type; 
45 ·36 
46 37·using·second_argument_type·[[deprecated("This·type·alias·is·deprecated 
47 following·similar·deprecations·in·C++17")]]·=·Type; 
48 ·38 
49 39·using·result_type·[[deprecated("This·type·alias·is·deprecated·following 
50 similar·deprecations·in·C++17")]]·=·Type; 
51 ·40 
52 41·Type·operator()(const·Type&·t1,·const·Type&·t2)·const 
53 ·42·{ 
54 ·43·using·std::max; 
55 ·44·return·max(t1,t2); 
56 ·45·} 
57 ·46·}; 
58 ·47} 
59 ·48 
60 ·49#endif18 ·22#endif
61 Dune 
62 Dune·namespace. 
63 Definition:·alignedallocator.hh:13 
64 Dune::AlignedNumberImpl::min 
65 auto·min(const·AlignedNumber<·T,·align·>·&a,·const·AlignedNumber<·T,·align·> 
66 &b) 
67 Definition:·debugalign.hh:447 
68 Dune::AlignedNumberImpl::max 
69 auto·max(const·AlignedNumber<·T,·align·>·&a,·const·AlignedNumber<·T,·align·> 
70 &b) 
71 Definition:·debugalign.hh:425 
72 Dune::Min 
73 Definition:·binaryfunctions.hh:18 
74 Dune::Min::result_type 
75 Type·result_type 
76 Definition:·binaryfunctions.hh:23 
77 Dune::Min::operator() 
78 Type·operator()(const·Type·&t1,·const·Type·&t2)·const 
79 Definition:·binaryfunctions.hh:25 
80 Dune::Min::first_argument_type 
81 Type·first_argument_type 
82 Definition:·binaryfunctions.hh:19 
83 Dune::Min::second_argument_type 
84 Type·second_argument_type 
85 Definition:·binaryfunctions.hh:21 
86 Dune::Max 
87 Definition:·binaryfunctions.hh:34 
88 Dune::Max::operator() 
89 Type·operator()(const·Type·&t1,·const·Type·&t2)·const 
90 Definition:·binaryfunctions.hh:41 
91 Dune::Max::result_type 
92 Type·result_type 
93 Definition:·binaryfunctions.hh:39 
94 Dune::Max::first_argument_type 
95 Type·first_argument_type 
96 Definition:·binaryfunctions.hh:35 
97 Dune::Max::second_argument_type 
98 Type·second_argument_type 
99 Definition:·binaryfunctions.hh:37 
  
100 ===============================================================================19 ===============================================================================
101 ·····Generated·by [doxygen]·1.9.420 ·····Generated·by [doxygen]·1.9.4
8.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a00233.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·matrixconcepts.hh·File·Reference</title>8 <title>dune-common:·stdstreams.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 29 lines modifiedOffset 63, 47 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#var-members">Variables</a>··</div>
71 ··<div·class="headertitle"><div·class="title">matrixconcepts.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">stdstreams.cc·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
 75 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00260_source.html">stdstreams.hh</a>&quot;</code><br·/>
74 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/> 
75 <code>#include·&lt;type_traits&gt;</code><br·/> 
76 <code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
77 </div> 
78 <p><a·href="a00233_source.html">Go·to·the·source·code·of·this·file.</a></p> 
79 <table·class="memberdecls">76 </div><table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
81 Namespaces</h2></td></tr>78 Namespaces</h2></td></tr>
82 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
83 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 82 </table><table·class="memberdecls">
 83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 84 Variables</h2></td></tr>
 85 <tr·class="memitem:ga20bcb085658a3b88393e47a1d36d667c"><td·class="memItemLeft"·align="right"·valign="top">DVVerbType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">Dune::dvverb</a>·(std::cout)</td></tr>
 86 <tr·class="memdesc:ga20bcb085658a3b88393e47a1d36d667c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">stream·for·very·verbose·output.··<a·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">More...</a><br·/></td></tr>
 87 <tr·class="separator:ga20bcb085658a3b88393e47a1d36d667c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 <tr·class="memitem:gab8900dadc584357856d4f6cc06324cea"><td·class="memItemLeft"·align="right"·valign="top">DVerbType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">Dune::dverb</a>·(std::cout)</td></tr>
 89 <tr·class="memdesc:gab8900dadc584357856d4f6cc06324cea"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a02840.html"·title="An·adapter·to·turn·a·class·into·a·singleton.">Singleton</a>·of·verbose·debug·stream.··<a·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">More...</a><br·/></td></tr>
 90 <tr·class="separator:gab8900dadc584357856d4f6cc06324cea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="memItemLeft"·align="right"·valign="top">DInfoType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">Dune::dinfo</a>·(std::cout)</td></tr>
 92 <tr·class="memdesc:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·informative·output.··<a·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">More...</a><br·/></td></tr>
 93 <tr·class="separator:gab5d2fce8ed49f95067d9b5b54d6f5def"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memItemLeft"·align="right"·valign="top">DWarnType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">Dune::dwarn</a>·(std::cerr)</td></tr>
 95 <tr·class="memdesc:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·warnings·indicating·problems.··<a·href="a00423.html#ga4bff1feeab1e96f08aca7796cc69b4ea">More...</a><br·/></td></tr>
 96 <tr·class="separator:ga4bff1feeab1e96f08aca7796cc69b4ea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memItemLeft"·align="right"·valign="top">DGraveType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">Dune::dgrave</a>·(std::cerr)</td></tr>
 98 <tr·class="memdesc:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·warnings·indicating·fatal·errors.··<a·href="a00423.html#ga765267750e6b2718fa718ab5f9fa1ed9">More...</a><br·/></td></tr>
 99 <tr·class="separator:ga765267750e6b2718fa718ab5f9fa1ed9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:gacaa61db1e034d693335d33d3919ba9ca"><td·class="memItemLeft"·align="right"·valign="top">DErrType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">Dune::derr</a>·(std::cerr)</td></tr>
 101 <tr·class="memdesc:gacaa61db1e034d693335d33d3919ba9ca"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stream·for·error·messages.··<a·href="a00423.html#gacaa61db1e034d693335d33d3919ba9ca">More...</a><br·/></td></tr>
 102 <tr·class="separator:gacaa61db1e034d693335d33d3919ba9ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>103 </table>
86 </div><!--·contents·-->104 </div><!--·contents·-->
87 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
88 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
89 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
90 </small></address>108 </small></address>
91 </body>109 </body>
1.08 KB
html2text {}
    
Offset 4, 20 lines modifiedOffset 4, 36 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Variables
 8 stdstreams.cc·File·Reference
 9 #include·"stdstreams.hh"
7 Namespaces 
8 matrixconcepts.hh·File·Reference 
9 #include·<utility> 
10 #include·<type_traits> 
11 #include·<dune/common/std/type_traits.hh> 
12 Go_to_the_source_code_of_this_file. 
13 ·Namespaces10 ·Namespaces
14 namespace· Dune11 namespace· Dune
15  ··········Dune·namespace.12  ··········Dune·namespace.
16  13  
 14 ·Variables
 15 DVVerbType Dune::dvverb·(std::cout)
 16  ··········stream·for·very·verbose·output.·More...
 17  
 18 ·DVerbType Dune::dverb·(std::cout)
 19  ··········Singleton·of·verbose·debug·stream.·More...
 20  
 21 ·DInfoType Dune::dinfo·(std::cout)
 22  ··········Stream·for·informative·output.·More...
 23  
 24 ·DWarnType Dune::dwarn·(std::cerr)
 25  ··········Stream·for·warnings·indicating·problems.·More...
 26  
 27 DGraveType Dune::dgrave·(std::cerr)
 28  ··········Stream·for·warnings·indicating·fatal·errors.·More...
 29  
 30 ··DErrType Dune::derr·(std::cerr)
 31  ··········Stream·for·error·messages.·More...
 32  
  
17 ===============================================================================33 ===============================================================================
18 ·····Generated·by [doxygen]·1.9.434 ·····Generated·by [doxygen]·1.9.4
13.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00236.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·streamoperators.hh·File·Reference</title>8 <title>dune-common:·densematrix.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 52 lines modifiedOffset 63, 73 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">streamoperators.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">densematrix.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>Implementation·of·stream·operators·for·std::array·and·std::tuple.··76 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
78 <code>#include·&lt;tuple&gt;</code><br·/>79 <code>#include·&lt;cstddef&gt;</code><br·/>
 80 <code>#include·&lt;iostream&gt;</code><br·/>
 81 <code>#include·&lt;type_traits&gt;</code><br·/>
79 <code>#include·&lt;utility&gt;</code><br·/>82 <code>#include·&lt;utility&gt;</code><br·/>
 83 <code>#include·&lt;vector&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00116_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/classname.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/precision.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>91 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 92 <code>#include·&lt;<a·class="el"·href="a00131_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/>
81 </div>93 </div>
82 <p><a·href="a00236_source.html">Go·to·the·source·code·of·this·file.</a></p>94 <p><a·href="a00236_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">95 <table·class="memberdecls">
 96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 97 Classes</h2></td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01404.html">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&gt;·&gt;</a></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01420.html">Dune::FMatrixError</a></td></tr>
 101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Error·thrown·if·operations·of·a·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·fail.··<a·href="a01420.html#details">More...</a><br·/></td></tr>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01400.html">Dune::DenseMatrix&lt;·MAT·&gt;</a></td></tr>
 104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·dense·n·x·m·matrix.··<a·href="a01400.html#details">More...</a><br·/></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 </table><table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
85 Namespaces</h2></td></tr>108 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>109 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>110 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:a00431"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00431.html">Dune::DenseMatrixHelp</a></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">114 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
91 Functions</h2></td></tr>116 Functions</h2></td></tr>
92 <tr·class="memitem:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename...·Ts&gt;·</td></tr> 
93 <tr·class="memitem:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga940d97a9b4db5e48060115e5e46ccd40">Dune::operator&lt;&lt;</a>·(Stream·&amp;stream,·const·std::tuple&lt;·Ts...·&gt;·&amp;t)</td></tr> 
94 <tr·class="memdesc:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·a·std::tuple.··<a·href="a00397.html#ga940d97a9b4db5e48060115e5e46ccd40">More...</a><br·/></td></tr> 
95 <tr·class="separator:ga940d97a9b4db5e48060115e5e46ccd40"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 <tr·class="memitem:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename...·Ts&gt;·</td></tr>117 <tr·class="memitem:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·,·typename·V1·,·typename·V2·&gt;·</td></tr>
97 <tr·class="memitem:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">Dune::operator&gt;&gt;</a>·(Stream·&amp;stream,·std::tuple&lt;·Ts...·&gt;·&amp;t)</td></tr> 
98 <tr·class="memdesc:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Read·a·std::tuple.··<a·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">More...</a><br·/></td></tr>118 <tr·class="memitem:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00431.html#a4b9cee31bcd8d5a2d4caaa6073c7f7cb">Dune::DenseMatrixHelp::mu[·...·truncated·by·diffoscope;·len:·129,·SHA:·9135f67d758018dbaca2d22ad162c1fdb1608643ef496ce0b06018fbb2fc9099·...·]</td></tr>
 119 <tr·class="memdesc:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix·*·x··<a·href="a00431.html#a4b9cee31bcd8d5a2d4caaa6073c7f7cb">More...</a><br·/></td></tr>
99 <tr·class="separator:ga724a26a744239bcf2c7cfd87bd6570ce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memTemplParams"·colspan="2">template&lt;typename·Stream·,·typename·T·,·std::size_t·N&gt;·</td></tr> 
101 <tr·class="memitem:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memTemplItemLeft"·align="right"·valign="top">Stream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga6ce3dfead28bdbf55cfec42171784831">Dune::operator&lt;&lt;</a>·(Stream·&amp;stream,·const·std::array&lt;·T,·N·&gt;·&amp;a)</td></tr> 
102 <tr·class="memdesc:ga6ce3dfead28bdbf55cfec42171784831"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·a·std::array.··<a·href="a00397.html#ga6ce3dfead28bdbf55cfec42171784831">More...</a><br·/></td></tr>121 <tr·class="memitem:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·&gt;·</td></tr>
 122 <tr·class="memitem:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gaaf67fddab3978a57f94f556513bc0d77">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;s,·const·DenseMatrix&lt;·MAT·&gt;·&amp;a)</td></tr>
 123 <tr·class="memdesc:gaaf67fddab3978a57f94f556513bc0d77"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Sends·the·matrix·to·an·output·stream.··<a·href="a00411.html#gaaf67fddab3978a57f94f556513bc0d77">More...</a><br·/></td></tr>
103 <tr·class="separator:ga6ce3dfead28bdbf55cfec42171784831"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table>125 </table>
105 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>126 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
106 <div·class="textblock"><p·>Implementation·of·stream·operators·for·std::array·and·std::tuple.·</p>127 <div·class="textblock"><p·>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.·</p>
107 </div></div><!--·contents·-->128 </div></div><!--·contents·-->
108 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
109 <hr·class="footer"/><address·class="footer"><small>130 <hr·class="footer"/><address·class="footer"><small>
110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
111 </small></address>132 </small></address>
112 </body>133 </body>
113 </html>134 </html>
2.59 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 59 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions7 Classes·|·Namespaces·|·Functions
8 streamoperators.hh·File·Reference 
9 Implementation·of·stream·operators·for·std::array·and·std::tuple.·More...8 densematrix.hh·File·Reference
 9 Common·»·Dense_Matrix_and_Vector_Template_Library
 10 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a
 11 compile-time·given·number·of·rows·and·columns.·More...
10 #include·<array>12 #include·<cmath>
11 #include·<tuple>13 #include·<cstddef>
 14 #include·<iostream>
 15 #include·<type_traits>
12 #include·<utility>16 #include·<utility>
 17 #include·<vector>
 18 #include·<dune/common/boundschecking.hh>
 19 #include·<dune/common/classname.hh>
 20 #include·<dune/common/exceptions.hh>
 21 #include·<dune/common/fvector.hh>
 22 #include·<dune/common/math.hh>
 23 #include·<dune/common/precision.hh>
 24 #include·<dune/common/simd/simd.hh>
13 #include·<dune/common/hybridutilities.hh>25 #include·<dune/common/typetraits.hh>
 26 #include·<dune/common/scalarvectorview.hh>
14 Go_to_the_source_code_of_this_file.27 Go_to_the_source_code_of_this_file.
 28 ·Classes
 29 struct· Dune::FieldTraits<_DenseMatrix<_M_>_>
 30  
 31 ·class· Dune::FMatrixError
 32  ·······Error·thrown·if·operations·of·a·FieldMatrix·fail.·More...
 33  
 34 ·class· Dune::DenseMatrix<_MAT_>
 35  ·······A·dense·n·x·m·matrix.·More...
 36  
15 ·Namespaces37 ·Namespaces
16 namespace· Dune38 namespace· Dune
17  ··········Dune·namespace.39  ··········Dune·namespace.
18  40  
 41 namespace· Dune::DenseMatrixHelp
 42  
19 ·Functions43 ·Functions
20 template<typename·Stream·,·typename...·Ts> 
21 Stream·& Dune::operator<<·(Stream·&stream,·const·std::tuple<·Ts...·>·&t) 
22  ········Print·a·std::tuple.·More...44 template<typename·MAT·,·typename·V1·,·typename·V2·>
 45 ···static·void Dune::DenseMatrixHelp::multAssign·(const·DenseMatrix<·MAT·>
 46 ················&matrix,·const·DenseVector<·V1·>·&x,·DenseVector<·V2·>·&ret)
 47  ··············calculates·ret·=·matrix·*·x·More...
23  48  
 49 template<typename·MAT·>
 50 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·DenseMatrix<·MAT·>·&a)
 51  ··············Sends·the·matrix·to·an·output·stream.·More...
24 template<typename·Stream·,·typename...·Ts> 
25 Stream·& Dune::operator>>·(Stream·&stream,·std::tuple<·Ts...·>·&t) 
26  ········Read·a·std::tuple.·More... 
27   
28 template<typename·Stream·,·typename·T·,·std::size_t·N> 
29 Stream·& Dune::operator<<·(Stream·&stream,·const·std::array<·T,·N·>·&a) 
30  ········Print·a·std::array.·More... 
31  52  
32 *****·Detailed·Description·*****53 *****·Detailed·Description·*****
33 Implementation·of·stream·operators·for·std::array·and·std::tuple.54 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a
 55 compile-time·given·number·of·rows·and·columns.
  
34 ===============================================================================56 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.457 ·····Generated·by [doxygen]·1.9.4
294 KB
./usr/share/doc/libdune-common-doc/doxygen/a00236_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·streamoperators.hh·Source·File</title>8 <title>dune-common:·densematrix.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 78 lines modifiedOffset 62, 1212 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">streamoperators.hh</div></div>68 ··<div·class="headertitle"><div·class="title">densematrix.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00236.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00236.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DENSEMATRIX_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DENSEMATRIX_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_STREAMOPERATORS_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_STREAMOPERATORS_HH</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00116.html">dune/common/boundschecking.hh</a>&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00014.html">dune/common/classname.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/hybridutilities.hh</a>&gt;</span></div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00281.html">dune/common/math.hh</a>&gt;</span></div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00254.html">dune/common/precision.hh</a>&gt;</span></div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00131.html">dune/common/scalarvectorview.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div>96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
87 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Stream,·<span·class="keyword">typename</span>...·Ts&gt;</div>98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·M&gt;·<span·class="keyword">class·</span>DenseMatrix;</div>
88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga940d97a9b4db5e48060115e5e46ccd40">···28</a></span>··<span·class="keyword">inline</span>·Stream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(Stream&amp;·stream,·<span·class="keyword">const</span>·std::tuple&lt;Ts...&gt;&amp;·t)</div> 
89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
90 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····stream&lt;&lt;<span·class="stringliteral">&quot;[&quot;</span>;</div> 
91 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keywordflow">if</span>(<span·class="keyword">sizeof</span>...(Ts)&gt;0)</div>100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·M&gt;</div>
 101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01404.html">···31</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01400.html">DenseMatrix</a>&lt;M&gt;·&gt;</div>
92 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····{</div>102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div>
93 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<a·class="code·hl_function"·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">Hybrid::forEach</a>(std::make_index_sequence&lt;<span·class="keyword">sizeof</span>...(Ts)-1&gt;{},</div> 
94 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>········[&amp;](<span·class="keyword">auto</span>·i){stream&lt;&lt;std::get&lt;i&gt;(t)&lt;&lt;<span·class="stringliteral">&quot;,&quot;</span>;});</div> 
95 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······stream&lt;&lt;<a·class="code·hl_function"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">std::get</a>&lt;<span·class="keyword">sizeof</span>...(Ts)-1&gt;(t);</div>103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01404.html#a7e3a65001054390715e170cec97311e2">···33</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·[·...·truncated·by·diffoscope;·len:·293,·SHA:·d43858229aa0c412286a18e66b72a0c9d11e18c9f82336ff1d17a9b1b3edfbcf·...·];</div>
 104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01404.html#a28aafc36c8f6db71d2c7a1533239a9d6">···34</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01740.html">FieldTraits&lt;·typename·DenseMatVecTraits&lt;M&gt;::value_type</a>·&gt;<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">::real_type</a>·<a·class="code·hl_typedef"·href="a01404.html#a28aafc36c8f6db71d2c7a1533239a9d6">real_type</a>;</div>
 105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··};</div>
96 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····}</div>106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
97 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····stream&lt;&lt;<span·class="stringliteral">&quot;]&quot;</span>;</div> 
98 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·stream;</div>107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·N,·<span·class="keywordtype">int</span>·M&gt;·<span·class="keyword">class·</span><a·[·...·truncated·by·diffoscope;·len:·56,·SHA:·2b56a5923cf195bf4a9bdc3a599396cbb8bf632709541838862da3e75a6950e7·...·];</div>
 108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·N&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01412.html">FieldVector</a>;</div>
99 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div>109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DenseMatrix,·<span·class="keyword">class</span>·RHS·&gt;</div>
 111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01416.html">···59</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01416.html">DenseMatrixAssigner</a>;</div>
100 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Stream,·<span·class="keyword">typename</span>...·Ts&gt;</div> 
102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">···43</a></span>··<span·class="keyword">inline</span>·Stream&amp;·<a·class="code·hl_function"·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">operator&gt;&gt;</a>(Stream&amp;·stream,·std::tuple&lt;Ts...&gt;&amp;·t)</div> 
103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> 
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<a·class="code·hl_function"·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">Hybrid::forEach</a>(std::make_index_sequence&lt;<span·class="keyword">sizeof</span>...(Ts)&gt;{},</div> 
105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······[&amp;](<span·class="keyword">auto</span>·i){stream&gt;&gt;std::get&lt;i&gt;(t);});</div> 
106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">return</span>·stream;</div> 
107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··}</div> 
108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Stream,·<span·class="keyword">typename</span>·T,·std::<span·class="keywordtype">size_t</span>·N&gt;</div> 
110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga6ce3dfead28bdbf55cfec42171784831">···52</a></span>··<span·class="keyword">inline</span>·Stream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(Stream&amp;·stream,·<span·class="keyword">const</span>·std::array&lt;T,N&gt;&amp;·a)</div> 
111 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div> 
112 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····stream&lt;&lt;<span·class="stringliteral">&quot;[&quot;</span>;</div> 
113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keywordflow">if</span>(N&gt;0)</div> 
114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div> 
115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keywordflow">for</span>(std::size_t·i=0;·i&lt;N-1;·++i)</div> 
116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········stream&lt;&lt;a[i]&lt;&lt;<span·class="stringliteral">&quot;,&quot;</span>;</div> 
117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······stream&lt;&lt;a[N-1];</div> 
118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div>112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
119 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····stream&lt;&lt;<span·class="stringliteral">&quot;]&quot;</span>;</div>113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keywordflow">return</span>·stream;</div>114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">namespace·</span>Impl</div>
121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··}</div>115 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{</div>
122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>116 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DenseMatrix,·<span·class="keyword">class</span>·RHS,·<span·class="keyword">class</span>·=·<span·class="keywordtype">void</span>·&gt;</div>
 118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">class·</span><a·class="code·hl_struct"·href="a01416.html">DenseMatrixAssigner</a></div>
123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>}·<span·class="comment">//·end·namespace·Dune</span></div>119 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{};</div>
Diff chunk too large, falling back to line-by-line diff (1044 lines added, 4 lines removed)
124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">#endif</span></div>121 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DenseMatrix,·<span·class="keyword">class</span>·RHS·&gt;</div>
126 <div·class="ttc"·id="aa00191_html"><div·class="ttname"><a·href="a00191.html">hybridutilities.hh</a></div></div>122 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">class·</span><a·class="code·hl_struct"·href="a01416.html">DenseMatrixAssigner</a>&lt;·<a·class="code·hl_class"·href="a01400.html">DenseMatrix</a>,·RHS,·<a·cla[·...·truncated·by·diffoscope;·len:·111,·SHA:·8d3d740c950050416ac3d61ff6a4c86a8074d4fc6bc7ba59362dc4e775ea795d·...·]</div>
127 <div·class="ttc"·id="aa00397_html_ga724a26a744239bcf2c7cfd87bd6570ce"><div·class="ttname"><a·href="a00397.html#ga724a26a744239bcf2c7cfd87bd6570ce">Dune::operator&gt;&gt;</a></div><div·class="ttdeci">Stream·&amp;·operator&gt;&gt;(Stream·&amp;stream,·std::tuple&lt;·Ts..[·...·truncated·by·diffoscope;·len:·128,·SHA:·98144c6065ebad05ffe5dd5957a6e490d3fb3e7a2cfbe505afe3906eb9569bf4·...·]</div>123 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div>
128 <div·class="ttc"·id="aa00405_html_ga2df9e60e21091ed59c4a636b99abbedc"><div·class="ttname"><a·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">Dune::Hybrid::forEach</a></div><div·class="ttdeci">constexpr·void·forEach(Range·&amp;&amp;range,·F·&amp;&amp;f)</div><div[·...·truncated·by·diffoscope;·len:·108,·SHA:·f0e24103e6cd9e9388dcbd3e0ca781395352bd2bb2190cd618cfc82cf452fa23·...·]</div>124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">public</span>:</div>
 125 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply·(·<a·class="code·hl_class"·href="a01400.html">DenseMatrix</a>·&amp;denseMatrix,·<span·class="keyword">const</span>·RHS·&amp;rhs·)</div>
 126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······{</div>
 127 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#a15e463e056cf166bb3e6cd64fcee19d5">DenseMatrix::field_type</a>·field_type;</div>
 128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········std::fill(·denseMatrix.<a·class="code·hl_function"·href="a01400.html#af395a6acbd619840c57861b7fb79ec8b">begin</a>(),·denseMatrix.<a·class="code·hl_function"·href="a01400.html#a68e5a5f0a33471a5a408d04b4789ec11">end</a>(),·<span·class="keyword">static_cast&lt;</span>·field_type·<span·class="keyword">&gt;</span>(·rhs·)·);</div>
 129 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······}</div>
 130 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····};</div>
 131 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
 132 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DenseMatrix,·<span·class="keyword">class</span>·RHS·&gt;</div>
 133 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keyword">class·</span>DenseMatrixAssigner&lt;·DenseMatrix,·RHS,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::enable_if_t&lt;·!std::is_same&lt;·typename·RHS::const_iterator,·void·&gt;::value</div>
 134 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········&amp;&amp;·std::is_convertible&lt;·typename·RHS::const_iterator::value_type,·typename·DenseMatrix::iterator::value_type·&gt;::value·&gt;·&gt;</div>
 135 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{</div>
 136 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">public</span>:</div>
 137 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply·(·DenseMatrix·&amp;denseMatrix,·<span·class="keyword">const</span>·RHS·&amp;rhs·)</div>
 138 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······{</div>
 139 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_define"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a>(rhs.N()·==·denseMatrix.N());</div>
 140 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········<a·class="code·hl_define"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a>(rhs.M()·==·denseMatrix.M());</div>
 141 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ae27c09bc18467479c702b41b4dcff748">DenseMatrix::iterator</a>·tIt·=·std::begin(denseMatrix);</div>
 142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<span·class="keyword">typename</span>·RHS::const_iterator·sIt·=·std::begin(rhs);</div>
 143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keywordflow">for</span>(;·sIt·!=·std::end(rhs);·++tIt,·++sIt)</div>
 144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··········std::copy(std::begin(*sIt),·std::end(*sIt),·std::begin(*tIt));</div>
Max diff block lines reached; 36237/251953 bytes (14.38%) of diff not shown.
48.2 KB
html2text {}
    
Offset 4, 87 lines modifiedOffset 4, 1552 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 streamoperators.hh7 densematrix.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5 
15 ·6#ifndef·DUNE_STREAMOPERATORS_HH 
16 ·7#define·DUNE_STREAMOPERATORS_HH 
17 ·8 
18 ·13#include·<array> 
19 ·14#include·<tuple>14 ·5#ifndef·DUNE_DENSEMATRIX_HH
 15 ·6#define·DUNE_DENSEMATRIX_HH
 16 ·7
 17 ·8#include·<cmath>
 18 ·9#include·<cstddef>
 19 ·10#include·<iostream>
 20 ·11#include·<type_traits>
20 ·15#include·<utility>21 ·12#include·<utility>
21 ·1622 ·13#include·<vector>
 23 ·14
 24 ·15#include·<dune/common/boundschecking.hh>
 25 ·16#include·<dune/common/classname.hh>
22 ·17#include·<dune/common/hybridutilities.hh>26 ·17#include·<dune/common/exceptions.hh>
23 ·1827 ·18#include·<dune/common/fvector.hh>
 28 ·19#include·<dune/common/math.hh>
 29 ·20#include·<dune/common/precision.hh>
 30 ·21#include·<dune/common/simd/simd.hh>
 31 ·22#include·<dune/common/typetraits.hh>
 32 ·23#include·<dune/common/scalarvectorview.hh>
 33 ·24
24 ·19namespace·Dune34 ·25namespace·Dune
25 ·20{35 ·26{
26 ·27·template<typename·Stream,·typename...·Ts> 
27 28·inline·Stream&·operator<<(Stream&·stream,·const·std::tuple<Ts...>&·t)36 ·27
 37 ·28·template<typename·M>·class·DenseMatrix;
28 ·29·{38 ·29
29 ·30·stream<<"["; 
30 ·31·if(sizeof...(Ts)>0)39 ·30·template<typename·M>
 40 31·struct·FieldTraits<·DenseMatrix<M>·>
31 ·32·{41 ·32·{
32 ·33·Hybrid::forEach(std::make_index_sequence<sizeof...(Ts)-1>{}, 
33 ·34·[&](auto·i){stream<<std::get<i>(t)<<",";}); 
34 ·35·stream<<std::get<sizeof...(Ts)-1>(t);42 33·typedef·const·typename·FieldTraits<_typename_DenseMatVecTraits<M>::
 43 value_type·>::field_type·field_type;
 44 34·typedef·const·typename·FieldTraits<_typename_DenseMatVecTraits<M>::
 45 value_type·>::real_type·real_type;
 46 ·35·};
35 ·36·}47 ·36
36 ·37·stream<<"]"; 
37 ·38·return·stream;48 ·37·template<class·K,·int·N,·int·M>·class·FieldMatrix;
 49 ·38·template<class·K,·int·N>·class·FieldVector;
38 ·39·}50 ·39
 51 ·58·template<·class·DenseMatrix,·class·RHS·>
 52 59·struct·DenseMatrixAssigner;
 53 ·60
 54 ·61#ifndef·DOXYGEN
 55 ·62·namespace·Impl
39 ·40 
40 ·42·template<typename·Stream,·typename...·Ts> 
41 43·inline·Stream&·operator>>(Stream&·stream,·std::tuple<Ts...>&·t) 
42 ·44·{ 
43 ·45·Hybrid::forEach(std::make_index_sequence<sizeof...(Ts)>{}, 
44 ·46·[&](auto·i){stream>>std::get<i>(t);}); 
45 ·47·return·stream; 
46 ·48·} 
47 ·49 
48 ·51·template<typename·Stream,·typename·T,·std::size_t·N> 
49 52·inline·Stream&·operator<<(Stream&·stream,·const·std::array<T,N>&·a) 
50 ·53·{56 ·63·{
51 ·54·stream<<"["; 
52 ·55·if(N>0) 
53 ·56·{ 
54 ·57·for(std::size_t·i=0;·i<N-1;·++i) 
55 ·58·stream<<a[i]<<","; 
56 ·59·stream<<a[N-1]; 
57 ·60·} 
58 ·61·stream<<"]"; 
59 ·62·return·stream; 
60 ·63·} 
61 ·6457 ·64
62 ·67}·//·end·namespace·Dune58 ·65·template<·class·DenseMatrix,·class·RHS,·class·=·void·>
 59 ·66·class·DenseMatrixAssigner
 60 ·67·{};
Diff chunk too large, falling back to line-by-line diff (1101 lines added, 10 lines removed)
63 ·6861 ·68
64 ·69#endif62 ·69·template<·class·DenseMatrix,·class·RHS·>
65 hybridutilities.hh63 ·70·class·DenseMatrixAssigner<·DenseMatrix,·RHS,·std::enable_if_t<·Dune::
66 Dune::operator>>64 IsNumber<·RHS·>::value·>·>
67 Stream·&·operator>>(Stream·&stream,·std::tuple<·Ts...·>·&t)65 ·71·{
68 Read·a·std::tuple.66 ·72·public:
69 Definition:·streamoperators.hh:4367 ·73·static·void·apply·(·DenseMatrix·&denseMatrix,·const·RHS·&rhs·)
70 Dune::Hybrid::forEach68 ·74·{
71 constexpr·void·forEach(Range·&&range,·F·&&f)69 ·75·typedef·typename·DenseMatrix::field_type·field_type;
72 Range·based·for·loop.70 ·76·std::fill(·denseMatrix.begin(),·denseMatrix.end(),·static_cast<·field_type
73 Definition:·hybridutilities.hh:26871 >(·rhs·)·);
 72 ·77·}
 73 ·78·};
 74 ·79
 75 ·80·template<·class·DenseMatrix,·class·RHS·>
 76 ·81·class·DenseMatrixAssigner<·DenseMatrix,·RHS,·std::enable_if_t<·!std::
 77 is_same<·typename·RHS::const_iterator,·void·>::value
 78 ·82·&&·std::is_convertible<·typename·RHS::const_iterator::value_type,·typename
 79 DenseMatrix::iterator::value_type·>::value·>·>
 80 ·83·{
 81 ·84·public:
 82 ·85·static·void·apply·(·DenseMatrix·&denseMatrix,·const·RHS·&rhs·)
 83 ·86·{
 84 ·87·DUNE_ASSERT_BOUNDS(rhs.N()·==·denseMatrix.N());
 85 ·88·DUNE_ASSERT_BOUNDS(rhs.M()·==·denseMatrix.M());
 86 ·89·typename·DenseMatrix::iterator·tIt·=·std::begin(denseMatrix);
 87 ·90·typename·RHS::const_iterator·sIt·=·std::begin(rhs);
 88 ·91·for(;·sIt·!=·std::end(rhs);·++tIt,·++sIt)
 89 ·92·std::copy(std::begin(*sIt),·std::end(*sIt),·std::begin(*tIt));
 90 ·93·}
 91 ·94·};
 92 ·95
 93 ·96·}·//·namespace·Impl
 94 ·97
Max diff block lines reached; 13203/49311 bytes (26.77%) of diff not shown.
16.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00239.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·simd.hh·File·Reference</title>8 <title>dune-common:·singleton.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 95 lines modifiedOffset 64, 40 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
72 <a·href="#typedef-members">Typedefs</a>·&#124; 
73 <a·href="#func-members">Functions</a>··</div> 
74 ··<div·class="headertitle"><div·class="title">simd.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">singleton.hh·File·Reference</div></div>
75 </div><!--header-->73 </div><!--header-->
76 <div·class="contents">74 <div·class="contents">
  
77 <p>Abstractions·for·support·of·dedicated·SIMD·data·types.··75 <p>Useful·wrapper·for·creating·singletons.··
78 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/> 
80 <code>#include·&lt;cstddef&gt;</code><br·/> 
81 <code>#include·&lt;type_traits&gt;</code><br·/> 
82 <code>#include·&lt;utility&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/conditional.hh</a>&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/debugalign.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00158_source.html">dune/common/vc.hh</a>&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>
88 </div>78 </div>
89 <p><a·href="a00239_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00239_source.html">Go·to·the·source·code·of·this·file.</a></p>
90 <table·class="memberdecls">80 <table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
92 Classes</h2></td></tr>82 Classes</h2></td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02592.html">Dune::SimdScalarTypeTraits&lt;·T·&gt;</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html">Dune::Singleton&lt;·T·&gt;</a></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02596.html">Dune::SimdScalarTypeTraits&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;</a></td></tr> 
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">deduce·the·underlying·scalar·data·type·of·an·AlignedNumber··<a·href="a02596.html#details">More...</a><br·/></td></tr>84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·adapter·to·turn·a·class·into·a·singleton.··<a·href="a02840.html#details">More...</a><br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02600.html">Dune::SimdIndexTypeTraits&lt;·V,·typename·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02604.html">Dune::SimdMaskTypeTraits&lt;·V,·typename·&gt;</a></td></tr> 
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
104 Namespaces</h2></td></tr>88 Namespaces</h2></td></tr>
105 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>89 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
106 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>90 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table><table·class="memberdecls"> 
109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
110 Typedefs</h2></td></tr> 
111 <tr·class="memitem:a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
112 <tr·class="memitem:a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a7cab87dc8a3eff4191a99a1084d7b28e">Dune::SimdScalar</a>·=·typename·SimdScalarTypeTraits&lt;·T·&gt;::type</td></tr> 
113 <tr·class="separator:a7cab87dc8a3eff4191a99a1084d7b28e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:a3c668a396cf5cd88bb7da3225787959a"><td·class="memTemplParams"·colspan="2">template&lt;typename·V·&gt;·</td></tr> 
115 <tr·class="memitem:a3c668a396cf5cd88bb7da3225787959a"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a3c668a396cf5cd88bb7da3225787959a">Dune::SimdIndex</a>·=·typename·SimdIndexTypeTraits&lt;·V·&gt;::type</td></tr> 
116 <tr·class="memdesc:a3c668a396cf5cd88bb7da3225787959a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·simd·vector·of·indices·corresponding·to·a·simd·vector·V.··<a·href="a00425.html#a3c668a396cf5cd88bb7da3225787959a">More...</a><br·/></td></tr> 
117 <tr·class="separator:a3c668a396cf5cd88bb7da3225787959a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 <tr·class="memitem:a846fa7e0d4cf9e70b148592224eb360f"><td·class="memTemplParams"·colspan="2">template&lt;typename·V·&gt;·</td></tr> 
119 <tr·class="memitem:a846fa7e0d4cf9e70b148592224eb360f"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a846fa7e0d4cf9e70b148592224eb360f">Dune::SimdMask</a>·=·typename·SimdMaskTypeTraits&lt;·V·&gt;::type</td></tr> 
120 <tr·class="memdesc:a846fa7e0d4cf9e70b148592224eb360f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simd·vector·of·truth·values·corresponding·to·a·simd·vector·V.··<a·href="a00425.html#a846fa7e0d4cf9e70b148592224eb360f">More...</a><br·/></td></tr> 
121 <tr·class="separator:a846fa7e0d4cf9e70b148592224eb360f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 </table><table·class="memberdecls"> 
123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
124 Functions</h2></td></tr> 
125 <tr·class="memitem:afc2c37fe2704917536f5263272d0a7e2"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
126 <tr·class="memitem:afc2c37fe2704917536f5263272d0a7e2"><td·class="memTemplItemLeft"·align="right"·valign="top">std::size_t&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#afc2c37fe2704917536f5263272d0a7e2">Dune::lanes</a>·(const·T·&amp;)</td></tr> 
127 <tr·class="memdesc:afc2c37fe2704917536f5263272d0a7e2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·number·of·lanes·of·a·simd·vector·(scalar·version)··<a·href="a00425.html#afc2c37fe2704917536f5263272d0a7e2">More...</a><br·/></td></tr> 
128 <tr·class="separator:afc2c37fe2704917536f5263272d0a7e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:a87be73bb4b219361645afcce2eb5b7a4"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
130 <tr·class="memitem:a87be73bb4b219361645afcce2eb5b7a4"><td·class="memTemplItemLeft"·align="right"·valign="top">T&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a87be73bb4b219361645afcce2eb5b7a4">Dune::lane</a>·(std::size_t·l,·const·T·&amp;v)</td></tr> 
131 <tr·class="memdesc:a87be73bb4b219361645afcce2eb5b7a4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·a·lane·of·a·simd·vector·(scalar·version)··<a·href="a00425.html#a87be73bb4b219361645afcce2eb5b7a4">More...</a><br·/></td></tr> 
132 <tr·class="separator:a87be73bb4b219361645afcce2eb5b7a4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 <tr·class="memitem:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
134 <tr·class="memitem:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memTemplItemLeft"·align="right"·valign="top">T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5">Dune::lane</a>·(std::size_t·l,·T·&amp;v)</td></tr> 
135 <tr·class="memdesc:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">access·a·lane·of·a·simd·vector·(scalar·version)··<a·href="a00425.html#ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5">More...</a><br·/></td></tr> 
136 <tr·class="separator:ae6b1b4a0b6e19df0e5ee69b3ff6f8dd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:a90c073df341c13a4da1c1522c60af0c3"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
138 <tr·class="memitem:a90c073df341c13a4da1c1522c60af0c3"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a90c073df341c13a4da1c1522c60af0c3">Dune::assign</a>·(T·&amp;dst,·const·T·&amp;src,·bool·mask)</td></tr> 
139 <tr·class="memdesc:a90c073df341c13a4da1c1522c60af0c3"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">masked·<a·class="el"·href="a00429.html"·title="Namespace·for·vectorization·interface·functions·used·by·library·developers.">Simd</a>·assignment·(scalar·version)··<a·href="a00425.html#a90c073df341c13a4da1c1522c60af0c3">More...</a><br·/></td></tr> 
140 <tr·class="separator:a90c073df341c13a4da1c1522c60af0c3"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
142 <tr·class="memitem:a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a8cc9a46e5ec32e3b68c3071cf1a25361">Dune::swap</a>·(T·&amp;v1,·T·&amp;v2,·bool·mask)</td></tr> 
143 <tr·class="separator:a8cc9a46e5ec32e3b68c3071cf1a25361"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
144 </table>92 </table>
145 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>93 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 94 <div·class="textblock"><p·>Useful·wrapper·for·creating·singletons.·</p>
 95 <p·>Inspired·by·the·article·<a·href="http://www.codeguru.com/cpp/cpp/cpp_mfc/singletons/article.php/c755/">CodeGuru:·A·Leak-Free·Singleton·class</a>·</p>
146 <div·class="textblock"><p·>Abstractions·for·support·of·dedicated·SIMD·data·types.·</p> 
147 <p·>Libraries·like·Vc·(<a·href="https://github.com/VcDevel/Vc">https://github.com/VcDevel/Vc</a>)·add·high-level·data·types·for·SIMD·(or·vectorization)·support·in·C++.·Most·of·these·operations·mimic·the·behavior·of·a·numerical·data·type.·Some·boolean·operations·can·not·be·implemented·in·a·compatible·way·to·trivial·data·types.</p> 
148 <p·>This·header·contains·additional·abstractions·to·help·writing·code·that·works·with·trivial·numerical·data·types·(like·double)·and·Vc·vectorization·data·types.</p> 
149 <p·>See·also·the·<a·class="el"·href="a00302.html">conditional.hh</a>·and·range_utils.hh·headers.</p> 
150 <dl·class="deprecated"><dt><b><a·class="el"·href="a00396.html#_deprecated000007">Deprecated:</a></b></dt><dd>Use·the·newer·simd·architecture·from·<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>·instead.·</dd></dl> 
151 </div></div><!--·contents·-->96 </div></div><!--·contents·-->
152 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
153 <hr·class="footer"/><address·class="footer"><small>98 <hr·class="footer"/><address·class="footer"><small>
154 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.499 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
155 </small></address>100 </small></address>
156 </body>101 </body>
157 </html>102 </html>
3.05 KB
html2text {}
    
Offset 4, 81 lines modifiedOffset 4, 26 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Typedefs·|·Functions7 Classes·|·Namespaces
8 simd.hh·File·Reference8 singleton.hh·File·Reference
 9 Useful·wrapper·for·creating·singletons.·More...
9 Abstractions·for·support·of·dedicated·SIMD·data·types.·More... 
10 #include·<cassert> 
11 #include·<cstddef> 
12 #include·<type_traits> 
13 #include·<utility> 
14 #include·<dune/common/conditional.hh> 
15 #include·<dune/common/debugalign.hh> 
16 #include·<dune/common/rangeutilities.hh> 
17 #include·<dune/common/typetraits.hh> 
18 #include·<dune/common/vc.hh>10 #include·<dune/common/visibility.hh>
19 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
20 ·Classes12 ·Classes
 13 class· Dune::Singleton<_T_>
 14  ······An·adapter·to·turn·a·class·into·a·singleton.·More...
21 struct· Dune::SimdScalarTypeTraits<_T_> 
22   
23 struct· Dune::SimdScalarTypeTraits<_AlignedNumber<_T,_align_>_> 
24  ·······deduce·the·underlying·scalar·data·type·of·an·AlignedNumber·More... 
25   
26 struct· Dune::SimdIndexTypeTraits<_V,_typename_> 
27   
28 struct· Dune::SimdMaskTypeTraits<_V,_typename_> 
29  15  
30 ·Namespaces16 ·Namespaces
31 namespace· Dune17 namespace· Dune
32  ··········Dune·namespace.18  ··········Dune·namespace.
33  19  
34 ·Typedefs 
35 template<typename·T·> 
36 using Dune::SimdScalar·=·typename·SimdScalarTypeTraits<·T·>::type 
37   
38 template<typename·V·> 
39 using Dune::SimdIndex·=·typename·SimdIndexTypeTraits<·V·>::type 
40  ·····An·simd·vector·of·indices·corresponding·to·a·simd·vector·V.·More... 
41   
42 template<typename·V·> 
43 using Dune::SimdMask·=·typename·SimdMaskTypeTraits<·V·>::type 
44  ·····A·simd·vector·of·truth·values·corresponding·to·a·simd·vector·V.·More... 
45   
46 ·Functions 
47 template<class·T·> 
48 std::size_t Dune::lanes·(const·T·&) 
49  ···········get·the·number·of·lanes·of·a·simd·vector·(scalar·version)·More... 
50   
51 template<class·T·> 
52 ··········T Dune::lane·(std::size_t·l,·const·T·&v) 
53  ···········access·a·lane·of·a·simd·vector·(scalar·version)·More... 
54   
55 template<class·T·> 
56 ········T·& Dune::lane·(std::size_t·l,·T·&v) 
57  ···········access·a·lane·of·a·simd·vector·(scalar·version)·More... 
58   
59 template<class·T·> 
60 ·······void Dune::assign·(T·&dst,·const·T·&src,·bool·mask) 
61  ···········masked·Simd·assignment·(scalar·version)·More... 
62   
63 template<class·T·> 
64 ·······void Dune::swap·(T·&v1,·T·&v2,·bool·mask) 
65   
66 *****·Detailed·Description·*****20 *****·Detailed·Description·*****
 21 Useful·wrapper·for·creating·singletons.
 22 Inspired·by·the·article·CodeGuru:_A_Leak-Free_Singleton_class
67 Abstractions·for·support·of·dedicated·SIMD·data·types. 
68 Libraries·like·Vc·(https://github.com/VcDevel/Vc)·add·high-level·data·types·for 
69 SIMD·(or·vectorization)·support·in·C++.·Most·of·these·operations·mimic·the 
70 behavior·of·a·numerical·data·type.·Some·boolean·operations·can·not·be 
71 implemented·in·a·compatible·way·to·trivial·data·types. 
72 This·header·contains·additional·abstractions·to·help·writing·code·that·works 
73 with·trivial·numerical·data·types·(like·double)·and·Vc·vectorization·data 
74 types. 
75 See·also·the·conditional.hh·and·range_utils.hh·headers. 
76 ··Deprecated: 
77 ······Use·the·newer·simd·architecture·from·dune/common/simd/simd.hh·instead. 
  
78 ===============================================================================23 ===============================================================================
79 ·····Generated·by [doxygen]·1.9.424 ·····Generated·by [doxygen]·1.9.4
108 KB
./usr/share/doc/libdune-common-doc/doxygen/a00239_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·simd.hh·Source·File</title>8 <title>dune-common:·singleton.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 503 lines modifiedOffset 62, 58 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">simd.hh</div></div>68 ··<div·class="headertitle"><div·class="title">singleton.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00239.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00239.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SINGLETON_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SINGLETON_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.html">dune/common/visibility.hh</a>&gt;</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#warning·dune/common/simd.hh·is·deprecated.</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#warning·Use·the·new·infrastructure·from·dune/common/simd/simd.h·instead.</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
79 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
80 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
81 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
82 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
83 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div> 
84 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/conditional.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00188.html">dune/common/debugalign.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00245.html">dune/common/rangeutilities.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#if·HAVE_VC</span></div> 
88 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">//·include·Vc·part·of·new·simd·interface·to·provide·compatibility·for</span></div> 
89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">//·functionality·that·has·been·switched·over.</span></div> 
90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04451.html">dune/common/simd/vc.hh</a>&gt;</span></div> 
91 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">#endif</span></div> 
92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00158.html">dune/common/vc.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>80 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
96 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>{</div> 
97 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>
98 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#if·HAVE_VC</span></div> 
99 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">namespace·</span>VcImpl·{</div> 
100 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
101 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>82 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
102 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">class·</span>Proxy</div>83 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02840.html">···55</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02840.html">Singleton</a></div>
103 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{</div>84 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··{</div>
104 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">static_assert</span>(std::is_same&lt;V,·std::decay_t&lt;V&gt;·&gt;::value,·<span·class="stringliteral">&quot;Class·Proxy·&quot;</span></div> 
105 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····················<span·class="stringliteral">&quot;may·only·be·instantiated·with·unqualified·types&quot;</span>);</div>85 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">protected</span>:</div>
 86 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">/*·@brief·Protected·constructor.·*/</span></div>
 87 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a02840.html#a4c8e8068dc0d09d23e86e320e9355cc8">···59</a></span>····<a·class="code·hl_function"·href="a02840.html#a4c8e8068dc0d09d23e86e320e9355cc8">Singleton</a>()·=·<span·class="keywordflow">default</span>;</div>
 88 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
106 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">public</span>:</div>89 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keyword">public</span>:</div>
107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">using·</span>value_type·=·<span·class="keyword">typename</span>·V::value_type;</div> 
108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>90 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 91 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02840.html#a57f3c57f7f9f0fcfc08550d94e15aaf1">···63</a></span>····<a·class="code·hl_function"·href="a02840.html#a57f3c57f7f9f0fcfc08550d94e15aaf1">Singleton</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02840.html">Singleton</a>&amp;)·=·<span·class="keyword">delete</span>;</div>
 92 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02840.html#aaa5a12878e6f4ca89127990e5197898f">···64</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02840.html#aaa5a12878e6f4ca89127990e5197898f">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02840.html">Singleton</a>&amp;)·=·<span·class="keyword">delete</span>;</div>
109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">private</span>:</div>93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 94 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">···70</a></span>····<a·class="code·hl_define"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·T&amp;·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>()</div>
110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">static_assert</span>(std::is_arithmetic&lt;value_type&gt;::value,</div> 
111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····················<span·class="stringliteral">&quot;Only·arithmetic·types·are·supported&quot;</span>);</div> 
112 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······V·&amp;vec_;</div>95 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div>
 96 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">static</span>·T·instance_;</div>
113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······std::size_t·idx_;</div>97 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·instance_;</div>
114 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>98 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>
115 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">public</span>:</div> 
116 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······Proxy(std::size_t·idx,·V·&amp;vec)</div> 
117 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········:·vec_(vec),·idx_(idx)</div> 
118 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······{·}</div>99 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div>
119 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
120 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keyword">operator</span>·value_type()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·vec_[idx_];·}</div>101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}·<span·class="comment">//·namespace·Dune</span></div>
121 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>102 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
122 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<span·class="comment">//·postfix·operators</span></div> 
123 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> 
124 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div> 
125 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>···············<span·class="keyword">class·</span>=·std::enable_if_t&lt;!std::is_same&lt;T,·bool&gt;::value&gt;·&gt;</div> 
126 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······value_type·operator++(<span·class="keywordtype">int</span>)·{·<span·class="keywordflow">return</span>·vec_[idx_]++;·}</div> 
127 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div> 
128 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>···············<span·class="keyword">class·</span>=·std::enable_if_t&lt;!std::is_same&lt;T,·bool&gt;::value&gt;·&gt;</div> 
129 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······value_type·operator--(<span·class="keywordtype">int</span>)·{·<span·class="keywordflow">return</span>·vec_[idx_]--;·}</div> 
130 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
131 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="comment">//·unary·(prefix)·operators</span></div> 
132 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div> 
133 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>···············<span·class="keyword">class·</span>=·std::enable_if_t&lt;!std::is_same&lt;T,·bool&gt;::value&gt;·&gt;</div> 
134 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······Proxy·&amp;operator++()·{·++(vec_[idx_]);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
135 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div> 
136 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>···············<span·class="keyword">class·</span>=·std::enable_if_t&lt;!std::is_same&lt;T,·bool&gt;::value&gt;·&gt;</div> 
137 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······Proxy·&amp;operator--()·{·--(vec_[idx_]);·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
138 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>!()·<span·class="keyword">const</span>·{·<span·class="keywordflow">return</span>·!(vec_[idx_]);·}</div> 
139 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>+()·<span·class="keyword">const</span>·{·<span·class="keywordflow">return</span>·+(vec_[idx_]);·}</div> 
140 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>-()·<span·class="keyword">const</span>·{·<span·class="keywordflow">return</span>·-(vec_[idx_]);·}</div> 
141 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T·=·value_type,</div> 
142 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>···············<span·class="keyword">class·</span>=·std::enable_if_t&lt;std::is_integral&lt;T&gt;::value&gt;·&gt;</div> 
143 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>~()<span·class="keyword">·const·</span>{·<span·class="keywordflow">return</span>·~(vec_[idx_]);·}</div> 
144 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
145 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······<span·class="comment">//·binary·operators</span></div> 
146 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="preprocessor">#define·DUNE_SIMD_VC_BINARY_OP(OP)······································\</span></div> 
147 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="preprocessor">······template&lt;class·T&gt;·················································\</span></div> 
148 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="preprocessor">······auto·operator·OP(T·&amp;&amp;o)·const·····································\</span></div> 
149 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="preprocessor">········-&gt;·decltype(vec_[idx_]·OP·valueCast(std::forward&lt;T&gt;(o)))········\</span></div> 
150 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="preprocessor">······{·································································\</span></div> 
151 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="preprocessor">········return·vec_[idx_]·OP·valueCast(std::forward&lt;T&gt;(o));·············\</span></div> 
152 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="preprocessor">······}·································································\</span></div> 
153 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span><span·class="preprocessor">······static_assert(true,·&quot;Require·semicolon·to·unconfuse·editors&quot;</span>)</div> 
154 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div> 
155 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······DUNE_SIMD_VC_BINARY_OP(*);</div> 
156 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······DUNE_SIMD_VC_BINARY_OP(/);</div> 
157 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······DUNE_SIMD_VC_BINARY_OP(%);</div> 
158 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
159 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>······DUNE_SIMD_VC_BINARY_OP(+);</div> 
160 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······DUNE_SIMD_VC_BINARY_OP(-);</div> 
161 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> 
Max diff block lines reached; 8268/93567 bytes (8.84%) of diff not shown.
16.6 KB
html2text {}
    
Offset 4, 556 lines modifiedOffset 4, 68 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 simd.hh7 singleton.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
10 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5#ifndef·DUNE_SINGLETON_HH
 15 ·6#define·DUNE_SINGLETON_HH
 16 ·7
12 ·3#ifndef·DUNE_COMMON_SIMD_HH 
13 ·4#define·DUNE_COMMON_SIMD_HH 
14 ·5 
15 ·6#warning·dune/common/simd.hh·is·deprecated. 
16 ·7#warning·Use·the·new·infrastructure·from·dune/common/simd/simd.h·instead. 
17 ·8 
18 ·30#include·<cassert> 
19 ·31#include·<cstddef> 
20 ·32#include·<type_traits> 
21 ·33#include·<utility> 
22 ·34 
23 ·35#include·<dune/common/conditional.hh> 
24 ·36#include·<dune/common/debugalign.hh> 
25 ·37#include·<dune/common/rangeutilities.hh> 
26 ·38#if·HAVE_VC 
27 ·39//·include·Vc·part·of·new·simd·interface·to·provide·compatibility·for 
28 ·40//·functionality·that·has·been·switched·over. 
29 ·41#include·<dune/common/simd/vc.hh> 
30 ·42#endif 
31 ·43#include·<dune/common/typetraits.hh> 
32 ·44#include·<dune/common/vc.hh>17 ·8#include·<dune/common/visibility.hh>
33 ·4518 ·9
34 ·46namespace·Dune19 ·17namespace·Dune
35 ·47{ 
36 ·48 
37 ·49#if·HAVE_VC 
38 ·50·namespace·VcImpl·{ 
39 ·52 
40 ·61·template<class·V> 
41 ·62·class·Proxy 
42 ·63·{ 
43 ·64·static_assert(std::is_same<V,·std::decay_t<V>·>::value,·"Class·Proxy·" 
44 ·65·"may·only·be·instantiated·with·unqualified·types"); 
45 ·66·public: 
46 ·67·using·value_type·=·typename·V::value_type; 
47 ·68 
48 ·69·private: 
49 ·70·static_assert(std::is_arithmetic<value_type>::value, 
50 ·71·"Only·arithmetic·types·are·supported"); 
51 ·72·V·&vec_; 
52 ·73·std::size_t·idx_; 
53 ·74 
54 ·75·public: 
55 ·76·Proxy(std::size_t·idx,·V·&vec) 
56 ·77·:·vec_(vec),·idx_(idx) 
57 ·78·{·} 
58 ·79 
59 ·80·operator·value_type()·const·{·return·vec_[idx_];·} 
60 ·81 
61 ·82·//·postfix·operators 
62 ·83 
63 ·84·template<class·T·=·value_type, 
64 ·85·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·> 
65 ·86·value_type·operator++(int)·{·return·vec_[idx_]++;·} 
66 ·87·template<class·T·=·value_type, 
67 ·88·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·> 
68 ·89·value_type·operator--(int)·{·return·vec_[idx_]--;·} 
69 ·90 
70 ·91·//·unary·(prefix)·operators 
71 ·92·template<class·T·=·value_type, 
72 ·93·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·> 
73 ·94·Proxy·&operator++()·{·++(vec_[idx_]);·return·*this;·} 
74 ·95·template<class·T·=·value_type, 
75 ·96·class·=·std::enable_if_t<!std::is_same<T,·bool>::value>·> 
76 ·97·Proxy·&operator--()·{·--(vec_[idx_]);·return·*this;·} 
77 ·98·decltype(auto)·operator!()·const·{·return·!(vec_[idx_]);·} 
78 ·99·decltype(auto)·operator+()·const·{·return·+(vec_[idx_]);·} 
79 ·100·decltype(auto)·operator-()·const·{·return·-(vec_[idx_]);·} 
80 ·101·template<class·T·=·value_type, 
81 ·102·class·=·std::enable_if_t<std::is_integral<T>::value>·> 
82 ·103·decltype(auto)·operator~()·const·{·return·~(vec_[idx_]);·} 
83 ·104 
84 ·105·//·binary·operators 
85 ·106#define·DUNE_SIMD_VC_BINARY_OP(OP)·\ 
86 ·107·template<class·T>·\ 
87 ·108·auto·operator·OP(T·&&o)·const·\ 
88 ·109·->·decltype(vec_[idx_]·OP·valueCast(std::forward<T>(o)))·\ 
89 ·110·{·\ 
90 ·111·return·vec_[idx_]·OP·valueCast(std::forward<T>(o));·\ 
91 ·112·}·\ 
92 ·113·static_assert(true,·"Require·semicolon·to·unconfuse·editors") 
93 ·114 
94 ·115·DUNE_SIMD_VC_BINARY_OP(*); 
95 ·116·DUNE_SIMD_VC_BINARY_OP(/); 
96 ·117·DUNE_SIMD_VC_BINARY_OP(%); 
97 ·118 
98 ·119·DUNE_SIMD_VC_BINARY_OP(+); 
99 ·120·DUNE_SIMD_VC_BINARY_OP(-); 
100 ·121 
101 ·122·DUNE_SIMD_VC_BINARY_OP(<<); 
102 ·123·DUNE_SIMD_VC_BINARY_OP(>>); 
103 ·124 
104 ·125·DUNE_SIMD_VC_BINARY_OP(<); 
105 ·126·DUNE_SIMD_VC_BINARY_OP(>); 
106 ·127·DUNE_SIMD_VC_BINARY_OP(<=); 
107 ·128·DUNE_SIMD_VC_BINARY_OP(>=); 
108 ·129 
109 ·130·DUNE_SIMD_VC_BINARY_OP(==); 
110 ·131·DUNE_SIMD_VC_BINARY_OP(!=); 
111 ·132 
112 ·133·DUNE_SIMD_VC_BINARY_OP(&); 
113 ·134·DUNE_SIMD_VC_BINARY_OP(^); 
114 ·135·DUNE_SIMD_VC_BINARY_OP(|); 
115 ·136 
116 ·137·DUNE_SIMD_VC_BINARY_OP(&&); 
117 ·138·DUNE_SIMD_VC_BINARY_OP(||); 
118 ·139#undef·DUNE_SIMD_VC_BINARY_OP 
119 ·140 
120 ·141#define·DUNE_SIMD_VC_ASSIGNMENT(OP)·\ 
121 ·142·template<class·T>·\ 
Max diff block lines reached; 2643/16968 bytes (15.58%) of diff not shown.
12.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00242.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·diagonalmatrix.hh·File·Reference</title>8 <title>dune-common:·dynvector.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 73 lines modifiedOffset 65, 54 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>··</div>
72 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">dynvector.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.··75 <p>This·file·implements·a·dense·vector·with·a·dynamic·size.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
78 <code>#include·&lt;cassert&gt;</code><br·/> 
79 <code>#include·&lt;cmath&gt;</code><br·/> 
80 <code>#include·&lt;complex&gt;</code><br·/> 
81 <code>#include·&lt;cstddef&gt;</code><br·/>78 <code>#include·&lt;cstddef&gt;</code><br·/>
 79 <code>#include·&lt;cstdlib&gt;</code><br·/>
 80 <code>#include·&lt;complex&gt;</code><br·/>
 81 <code>#include·&lt;cstring&gt;</code><br·/>
82 <code>#include·&lt;initializer_list&gt;</code><br·/>82 <code>#include·&lt;initializer_list&gt;</code><br·/>
83 <code>#include·&lt;iostream&gt;</code><br·/>83 <code>#include·&lt;limits&gt;</code><br·/>
 84 <code>#include·&lt;utility&gt;</code><br·/>
 85 <code>#include·&quot;<a·class="el"·href="a00116_source.html">boundschecking.hh</a>&quot;</code><br·/>
 86 <code>#include·&quot;<a·class="el"·href="a00122_source.html">exceptions.hh</a>&quot;</code><br·/>
 87 <code>#include·&quot;<a·class="el"·href="a00257_source.html">genericiterator.hh</a>&quot;</code><br·/>
84 <code>#include·&lt;memory&gt;</code><br·/>88 <code>#include·&lt;vector&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>89 <code>#include·&quot;<a·class="el"·href="a00104_source.html">densevector.hh</a>&quot;</code><br·/>
90 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
92 </div>90 </div>
93 <p><a·href="a00242_source.html">Go·to·the·source·code·of·this·file.</a></p>91 <p><a·href="a00242_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">92 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
96 Classes</h2></td></tr>94 Classes</h2></td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01460.html">Dune::DiagonalMatrix&lt;·K,·n·&gt;</a></td></tr> 
98 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·diagonal·matrix·of·static·size.··<a·href="a01460.html#details">More...</a><br·/></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01464.html">Dune::FieldTraits&lt;·DiagonalMatrix&lt;·K,·n·&gt;·&gt;</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01516.html">Dune::DenseMatVecTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01452.html">Dune::DiagonalMatrixWrapper&lt;·DiagonalMatrixType·&gt;</a></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01444.html">Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;</a></td></tr> 
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01448.html">Dune::DiagonalRowVector&lt;·K,·n·&gt;</a></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01468.html">Dune::const_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;</a></td></tr> 
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01472.html">Dune::const_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;</a></td></tr> 
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01476.html">Dune::mutable_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;</a></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01480.html">Dune::mutable_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;</a></td></tr> 
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01520.html">Dune::FieldTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;</a></td></tr>
116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01456.html">Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;</a></td></tr> 
117 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Iterator·class·for·sparse·vector-like·containers.··<a·href="a01456.html#details">More...</a><br·/></td></tr> 
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01484.html">Dune::DenseMatrixAssigner&lt;·DenseMatrix,·DiagonalMatrix&lt;·field,·N·&gt;·&gt;</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01512.html">Dune::DynamicVector&lt;·K,·Allocator·&gt;</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·a·vector·with·a·dynamic·size.··<a·href="a01512.html#details">More...</a><br·/></td></tr>
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
123 Namespaces</h2></td></tr>104 Namespaces</h2></td></tr>
124 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>105 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
125 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>106 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
127 </table>108 </table>
128 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>109 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
129 <div·class="textblock"><p·>This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·</p>110 <div·class="textblock"><p·>This·file·implements·a·dense·vector·with·a·dynamic·size.·</p>
130 </div></div><!--·contents·-->111 </div></div><!--·contents·-->
131 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
132 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
133 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
134 </small></address>115 </small></address>
135 </body>116 </body>
136 </html>117 </html>
2.37 KB
html2text {}
    
Offset 5, 59 lines modifiedOffset 5, 41 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Classes·|·Namespaces8 Classes·|·Namespaces
 9 dynvector.hh·File·Reference
 10 Common·»·Dense_Matrix_and_Vector_Template_Library
 11 This·file·implements·a·dense·vector·with·a·dynamic·size.·More...
9 diagonalmatrix.hh·File·Reference 
10 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·More... 
11 #include·<algorithm> 
12 #include·<cassert> 
13 #include·<cmath>12 #include·<cmath>
14 #include·<complex> 
15 #include·<cstddef>13 #include·<cstddef>
 14 #include·<cstdlib>
 15 #include·<complex>
 16 #include·<cstring>
16 #include·<initializer_list>17 #include·<initializer_list>
17 #include·<iostream>18 #include·<limits>
 19 #include·<utility>
 20 #include·"boundschecking.hh"
 21 #include·"exceptions.hh"
 22 #include·"genericiterator.hh"
18 #include·<memory>23 #include·<vector>
 24 #include·"densevector.hh"
19 #include·<dune/common/boundschecking.hh> 
20 #include·<dune/common/densematrix.hh> 
21 #include·<dune/common/exceptions.hh> 
22 #include·<dune/common/fmatrix.hh> 
23 #include·<dune/common/fvector.hh> 
24 #include·<dune/common/genericiterator.hh> 
25 #include·<dune/common/typetraits.hh> 
26 Go_to_the_source_code_of_this_file.25 Go_to_the_source_code_of_this_file.
27 ·Classes26 ·Classes
 27 struct· Dune::DenseMatVecTraits<_DynamicVector<_K,_Allocator_>_>
28 ·class· Dune::DiagonalMatrix<_K,_n_> 
29  ·······A·diagonal·matrix·of·static·size.·More... 
30   
31 struct· Dune::FieldTraits<_DiagonalMatrix<_K,_n_>_> 
32   
33 ·class· Dune::DiagonalMatrixWrapper<_DiagonalMatrixType_> 
34   
35 ·class· Dune::DiagonalRowVectorConst<_K,_n_> 
36   
37 ·class· Dune::DiagonalRowVector<_K,_n_> 
38   
39 struct· Dune::const_reference<_DiagonalRowVector<_K,_n_>_> 
40   
41 struct· Dune::const_reference<_DiagonalRowVectorConst<_K,_n_>_> 
42   
43 struct· Dune::mutable_reference<_DiagonalRowVector<_K,_n_>_> 
44   
45 struct· Dune::mutable_reference<_DiagonalRowVectorConst<_K,_n_>_> 
46  28  
 29 struct· Dune::FieldTraits<_DynamicVector<_K,_Allocator_>_>
47 ·class· Dune::ContainerWrapperIterator<_CW,_T,_R_> 
48  ·······Iterator·class·for·sparse·vector-like·containers.·More... 
49  30  
50 struct· Dune::DenseMatrixAssigner<_DenseMatrix,_DiagonalMatrix<_field,_N_>_>31 ·class· Dune::DynamicVector<_K,_Allocator_>
 32  ·······Construct·a·vector·with·a·dynamic·size.·More...
51  33  
52 ·Namespaces34 ·Namespaces
53 namespace· Dune35 namespace· Dune
54  ··········Dune·namespace.36  ··········Dune·namespace.
55  37  
56 *****·Detailed·Description·*****38 *****·Detailed·Description·*****
57 This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.39 This·file·implements·a·dense·vector·with·a·dynamic·size.
  
58 ===============================================================================40 ===============================================================================
59 ·····Generated·by [doxygen]·1.9.441 ·····Generated·by [doxygen]·1.9.4
335 KB
./usr/share/doc/libdune-common-doc/doxygen/a00242_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·diagonalmatrix.hh·Source·File</title>8 <title>dune-common:·dynvector.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 1134 lines modifiedOffset 62, 229 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">diagonalmatrix.hh</div></div>68 ··<div·class="headertitle"><div·class="title">dynvector.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00242.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00242.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DIAGONAL_MATRIX_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNVECTOR_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DIAGONAL_MATRIX_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNVECTOR_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00116.html">boundschecking.hh</a>&quot;</span></div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00122.html">exceptions.hh</a>&quot;</span></div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00257.html">genericiterator.hh</a>&quot;</span></div>
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00104.html">dune/common/boundschecking.hh</a>&gt;</span></div> 
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00389.html">dune/common/densematrix.hh</a>&gt;</span></div> 
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00251.html">dune/common/fmatrix.hh</a>&gt;</span></div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/fvector.hh</a>&gt;</span></div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00104.html">densevector.hh</a>&quot;</span></div>
92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00365.html">dune/common/genericiterator.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
97 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n·&gt;·<span·class="keyword">class·</span>DiagonalRowVectorConst;</div>96 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·Allocator·&gt;·<span·class="keyword">class·</span>DynamicVector;</div>
99 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n·&gt;·<span·class="keyword">class·</span>DiagonalRowVector;</div> 
100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DiagonalMatrixType·&gt;·<span·class="keyword">class·</span>DiagonalMatrixWrapper;</div> 
101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·C,·<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·R&gt;·<span·class="keyword">class·</span>ContainerWrapperIterator;</div>97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·Allocator·&gt;</div>
 98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01516.html">···36</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>&lt;·<a·class="code·hl_class"·href="a01512.html">DynamicVector</a>&lt;·K,·Allocator·&gt;·&gt;</div>
102 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;</div> 
104 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01460.html">···52</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01460.html">DiagonalMatrix</a></div> 
105 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>99 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>
106 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01452.html">DiagonalMatrixWrapper&lt;·DiagonalMatrix&lt;K,n&gt;</a>·&gt;·<a·class="code·hl_class"·href="a01452.html">WrapperType</a>;</div>100 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01516.html#aaa1148eeccbfc9782c9cb2259d7b7d92">···38</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;·K,·Allocator·&gt;</a>·<a·[·...·truncated·by·diffoscope;·len:·86,·SHA:·0105d50ca6cfd05a6095faa022ef0a2848f0af0e5f744b23d7ebea99736621e9·...·]ype</a>;</div>
 101 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a01516.html#abf9c2cefdfb6ae35bc1d0bfaf6c9da19">···39</a></span>····<span·class="keyword">typedef</span>·std::vector&lt;·K,·Allocator·&gt;·<a·class="code·hl_typedef"·href="a01516.html#abf9c2cefdfb6ae35bc1d0bfaf6c9da19">container_type</a>;</div>
 102 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01516.html#a5cc47717220b490827f88e1a38271170">···40</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a01516.html#a5cc47717220b490827f88e1a38271170">value_type</a>;</div>
 103 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01516.html#af20e51465cc0a8a2644c6002a8e862f1">···41</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·container_type::size_type·<a·class="code·hl_typedef"·href="a01516.html#af20e51465cc0a8a2644c6002a8e862f1">size_type</a>;</div>
 104 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div>
 105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 106 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·Allocator·&gt;</div>
 107 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01520.html">···45</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01512.html">DynamicVector</a>&lt;·K,·Allocator·&gt;·&gt;</div>
 108 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··{</div>
 109 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a01520.html#abc5a4bc2b8bd878283c3278fe9b3560e">···47</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">FieldTraits&lt;·K·&gt;::field_type</a>·<a·class="code·hl_typedef"·href="a01520.html#abc5a4bc2b8bd878283c3278fe9b3560e">field_type</a>;</div>
 110 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01520.html#a2f99a07803a3f6151b198b7c02deec83">···48</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;·K·&gt;::real_type</a>·<a·class="code·hl_typedef"·href="a01520.html#a2f99a07803a3f6151b198b7c02deec83">real_type</a>;</div>
 111 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··};</div>
107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>112 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·Allocator·=·std::allocator&lt;·K·&gt;·&gt;</div>
 114 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a01512.html">···58</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01512.html">DynamicVector</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector</a>&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;</div>
 115 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··{</div>
 116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····std::vector&lt;·K,·Allocator·&gt;·_data;</div>
 117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 118 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01424.html">DenseVector&lt;·DynamicVector&lt;·K,·Allocator·&gt;</a>·&gt;·<a·class="code·hl_class"·href="a01424.html">Base</a>;</div>
108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</div>
 120 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01512.html#a50a7d3fa728a4b82b4407b134e347190">···64</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a67b4a65a6199d863602f152045f5a5dd">Base::size_type</a>·<a·class="code·hl_typedef"·href="a01512.html#a50a7d3fa728a4b82b4407b134e347190">size_type</a>;</div>
 121 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01512.html#a735233c2a1599812e8cd3e6f4676dd48">···65</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01424.html#a007463aa44631abffe62eb8c868ae95d">Base::value_type</a>·<a·class="code·hl_typedef"·href="a01512.html#a735233c2a1599812e8cd3e6f4676dd48">value_type</a>;</div>
109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="comment">//=====·type·definitions·and·constants</span></div> 
110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">···60</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a>;</div> 
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga87d01fed9cbade66ddcb30e6e7132a9a">···61</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga87d01fed9cbade66ddcb30e6e7132a9a">field_type</a>;</div> 
113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>122 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01512.html#a5a7bd4fc26554e6189ecc927bd1bfb4b">···67</a></span>····<span·class="keyword">typedef</span>·std::vector&lt;·K,·Allocator·&gt;·<a·class="code·hl_typedef"·href="a01512.html#a5a7bd4fc26554e6189ecc927bd1bfb4b">container_type</a>;</div>
114 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00411.html#gac9eb032eb8b34f1bc84b1e400d059ed9">···64</a></span>····<span·class="keyword">typedef</span>·K·<a·class="code·hl_typedef"·href="a00411.html#gac9eb032eb8b34f1bc84b1e400d059ed9">block_type</a>;</div> 
115 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga09481dc4c7c3f45b0579995d43476372">···67</a></span>····<span·class="keyword">typedef</span>·std::size_t·<a·class="code·hl_typedef"·href="a00411.html#ga09481dc4c7c3f45b0579995d43476372">size_type</a>;</div> 
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
118 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga2385ade168bd184398d6a347286b6bb9">···70</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="c[·...·truncated·by·diffoscope;·len:·89,·SHA:·8aabeaa823d9916a8e82d39dfdee1a79b112442e7b09dfd6fe078741eb893a22·...·];</div>125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">···69</a></span>····<span·class="keyword">typedef</span>·Allocator·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3af[·...·truncated·by·diffoscope;·len:·21,·SHA:·24517f3bd4d83bcb971385b93bd357de28532de02e7e466f5d50bf9a4c01f37e·...·];</div>
119 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>126 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
120 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a00411.html#gaf1a6e61bc81a8a9804fe0254a561ae6a">···73</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01448.html">DiagonalRowVector&lt;K,n&gt;</a>·<a·class="code·hl_typedef"·href="a00411.html#gaf1a6e61bc81a8a9804fe0254a561ae6a">row_type</a>;</div> 
121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga9b9094e6d6e43fb46710781109bfdb94">···74</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01448.html">row_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga9b9094e6d6e43fb46710781109bfdb94">reference</a>;</div> 
122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga13447d3a2908e8ad336a0eda843bfaf1">···75</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01448.html">row_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga13447d3a2908e8ad336a0eda843bfaf1">row_reference</a>;</div> 
123 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00411.html#gaf180f652fdac3be0ff7b8524113fe6a8">···76</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01444.html">DiagonalRowVectorConst&lt;K,n&gt;</a>·<a·class="code·hl_typedef"·href="a00411.html#gaf180f652fdac3be0ff7b8524113fe6a8">const_row_type</a>;</div> 
124 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga8f7c8db5c38abf29d6c1f8bd83443615">···77</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01444.html">const_row_type</a>·<a·class="code·hl_typedef"·href="a00411.html#ga8f7c8db5c38abf29d6c1f8bd83443615">const_reference</a>;</div> 
125 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga3403ca2666d15b112cf12fafd1767e8b">···78</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01444.html">const_row_type</a>·<a·class="code·hl_typede[·...·truncated·by·diffoscope;·len:·81,·SHA:·34e9aa68056cacf687b78e2035645640be01eb326f18d8a4a576862b102c6e0f·...·]</div>127 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01512.html#a7ab6b30514c24d5afa6eaf1d12349692">···72</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01512.html#a7ab6b30514c24d5afa6eaf1d12349692">Dynami[·...·truncated·by·diffoscope;·len:·259,·SHA:·2309fae0af1b000f08b16a5491d45d43a8de539e7b4828729bad2b681983cc96·...·]</div>
 128 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······_data(·a·)</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>
 131 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a01512.html#abdca3f644f1b4151eb8e8f39656b239c">···76</a></span>····<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a01512.html#abdca3f644f1b4151eb8e8f39656b239c">DynamicVector</a>(<a·class="code·hl_typedef"·href="a01512.html#a50a7d3fa728a4b82b4407b134e347190">size_type</a>·n,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>·&amp;a·=·<a·class="code·hl_typedef"·href="a01512.html#a7565d55f987adf7629660bdc919d3aff">allocator_type</a>()·)·:</div>
 132 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······_data(·n,·<a·class="code·hl_typedef"·href="a01512.html#a735233c2a1599812e8cd3e6f4676dd48">value_type</a>(),·a·)</div>
 133 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{}</div>
126 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>134 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga1aa43eebd9abc64abd17a72aa8ea8343">···81</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00411.html#ga1aa43eebd9abc64abd17a72aa8ea8343">rows</a>·=·n;</div> 
128 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga7851a5fbd197ee82d4c2c5cebc7f46e2">···83</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="co[·...·truncated·by·diffoscope;·len:·83,·SHA:·f2bc27d5908f8834ff8d12b3ff38a6a8f4254ca1a8a05ae1b7b1cec894f2e7bf·...·]</div>135 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01512.html#ae821be352676f391e19ffa70d9ca3714">···81</a></span>····<a·class="code·hl_function"·href="a01512.html#ae821be352676f391e19ffa70d9ca3714">DynamicVector</a>(·<a·class="code·hl_typedef[·...·truncated·by·diffoscope;·len:·417,·SHA:·d463b7360a561bfb379d2c7ea40d01ebccdd87d061b0369c88b3d0aae4e6c18b·...·]</div>
 136 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······_data(·n,·c,·a·)</div>
 137 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{}</div>
129 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>138 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
130 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<span·class="comment">//====·size</span></div>139 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01512.html#ac816734949044d1f94a33060fcb1da39">···86</a></span>····<a·class="code·hl_function"·href="a01512.html#ac816734949044d1f94a33060fcb1da39">DynamicVector</a>·(std::initializer_list&lt;[·...·truncated·by·diffoscope;·len:·50,·SHA:·922f2f1264481771f91fb3cf30f82b57fe6de0d5644d3333d75764934c0e3355·...·]</div>
131 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······_data(l)</div>
132 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00411.html#ga38a3734ba11bfb7fbd4732e5228e84a1">···87</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00411.html#ga09481dc4c7c3f45b0579995d43476372">size_type</a>·<a·class="code·hl_function"·href="a00411.html#ga38a3734ba11bfb7fbd4732e5228e84a1">size</a>·()</div> 
133 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div>141 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{}</div>
134 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="a00411.html#ga1aa43eebd9abc64abd17a72aa8ea8343">rows</a>;</div> 
135 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div> 
136 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>142 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
Max diff block lines reached; 238976/287261 bytes (83.19%) of diff not shown.
54.8 KB
html2text {}
    
Offset 4, 1606 lines modifiedOffset 4, 343 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 diagonalmatrix.hh7 dynvector.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DIAGONAL_MATRIX_HH 
15 ·6#define·DUNE_DIAGONAL_MATRIX_HH14 ·5#ifndef·DUNE_DYNVECTOR_HH
 15 ·6#define·DUNE_DYNVECTOR_HH
16 ·716 ·7
17 ·12#include·<algorithm> 
18 ·13#include·<cassert> 
19 ·14#include·<cmath>17 ·8#include·<cmath>
 18 ·9#include·<cstddef>
 19 ·10#include·<cstdlib>
20 ·15#include·<complex>20 ·11#include·<complex>
21 ·16#include·<cstddef>21 ·12#include·<cstring>
22 ·17#include·<initializer_list>22 ·13#include·<initializer_list>
23 ·18#include·<iostream> 
24 ·19#include·<memory>23 ·14#include·<limits>
 24 ·15#include·<utility>
 25 ·16
 26 ·17#include·"boundschecking.hh"
 27 ·18#include·"exceptions.hh"
 28 ·19#include·"genericiterator.hh"
25 ·2029 ·20
 30 ·21#include·<vector>
 31 ·22#include·"densevector.hh"
 32 ·23
26 ·21#include·<dune/common/boundschecking.hh> 
27 ·22#include·<dune/common/densematrix.hh> 
28 ·23#include·<dune/common/exceptions.hh> 
29 ·24#include·<dune/common/fmatrix.hh> 
30 ·25#include·<dune/common/fvector.hh> 
31 ·26#include·<dune/common/genericiterator.hh> 
32 ·27#include·<dune/common/typetraits.hh> 
33 ·28 
34 ·29 
35 ·30namespace·Dune·{33 ·24namespace·Dune·{
 34 ·25
 35 ·34·template<·class·K,·class·Allocator·>·class·DynamicVector;
 36 ·35·template<·class·K,·class·Allocator·>
 37 36·struct·DenseMatVecTraits<·DynamicVector<·K,·Allocator·>·>
36 ·31 
37 ·32·template<·class·K,·int·n·>·class·DiagonalRowVectorConst; 
38 ·33·template<·class·K,·int·n·>·class·DiagonalRowVector; 
39 ·34·template<·class·DiagonalMatrixType·>·class·DiagonalMatrixWrapper; 
40 ·35·template<·class·C,·class·T,·class·R>·class·ContainerWrapperIterator; 
41 ·36 
42 ·51·template<class·K,·int·n> 
43 52·class·DiagonalMatrix 
44 ·53·{38 ·37·{
 39 38·typedef·DynamicVector<_K,_Allocator_>·derived_type;
 40 39·typedef·std::vector<·K,·Allocator·>·container_type;
45 ·54·typedef·DiagonalMatrixWrapper<_DiagonalMatrix<K,n>·>·WrapperType; 
46 ·55 
47 ·56·public: 
48 ·57·//=====·type·definitions·and·constants 
49 ·58 
50 60·typedef·K·value_type;41 40·typedef·K·value_type;
51 61·typedef·value_type·field_type; 
52 ·62 
53 64·typedef·K·block_type; 
54 ·6542 41·typedef·typename·container_type::size_type·size_type;
 43 ·42·};
 44 ·43
 45 ·44·template<·class·K,·class·Allocator·>
 46 45·struct·FieldTraits<·DynamicVector<·K,·Allocator·>·>
 47 ·46·{
 48 47·typedef·typename·FieldTraits<_K_>::field_type·field_type;
 49 48·typedef·typename·FieldTraits<_K_>::real_type·real_type;
 50 ·49·};
 51 ·50
 52 ·57·template<·class·K,·class·Allocator·=·std::allocator<·K·>·>
 53 58·class·DynamicVector·:·public·DenseVector<·DynamicVector<·K,·Allocator·>·>
 54 ·59·{
 55 ·60·std::vector<·K,·Allocator·>·_data;
 56 ·61
 57 ·62·typedef·DenseVector<_DynamicVector<_K,_Allocator_>·>·Base;
 58 ·63·public:
55 67·typedef·std::size_t·size_type;59 64·typedef·typename·Base::size_type·size_type;
 60 65·typedef·typename·Base::value_type·value_type;
 61 ·66
 62 67·typedef·std::vector<·K,·Allocator·>·container_type;
56 ·6863 ·68
57 70·constexpr·static·int·blocklevel·=·1; 
58 ·71 
59 73·typedef·DiagonalRowVector<K,n>·row_type; 
60 74·typedef·row_type·reference; 
61 75·typedef·row_type·row_reference; 
62 76·typedef·DiagonalRowVectorConst<K,n>·const_row_type; 
63 77·typedef·const_row_type·const_reference; 
64 78·typedef·const_row_type·const_row_reference;64 69·typedef·Allocator·allocator_type;
 65 ·70
 66 72·explicit·DynamicVector(const·allocator_type·&a·=·allocator_type()·)·:
 67 ·73·_data(·a·)
 68 ·74·{}
 69 ·75
 70 76·explicit·DynamicVector(size_type·n,·const·allocator_type·&a·=·allocator_type
 71 ()·)·:
 72 ·77·_data(·n,·value_type(),·a·)
 73 ·78·{}
65 ·7974 ·79
66 81·constexpr·static·int·rows·=·n; 
67 83·constexpr·static·int·cols·=·n;75 81·DynamicVector(·size_type·n,·value_type·c,·const·allocator_type·&a·=
 76 allocator_type()·)·:
 77 ·82·_data(·n,·c,·a·)
 78 ·83·{}
68 ·8479 ·84
 80 86·DynamicVector·(std::initializer_list<K>·const·&l)·:
 81 ·87·_data(l)
69 ·85·//====·size 
70 ·86 
71 87·static·constexpr·size_type·size·() 
72 ·88·{82 ·88·{}
73 ·89·return·rows; 
74 ·90·} 
75 ·91 
76 ·92·//=====·constructors 
Max diff block lines reached; 49518/56076 bytes (88.31%) of diff not shown.
25.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00245.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·rangeutilities.hh·File·Reference</title>8 <title>dune-common:·timer.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 120 lines modifiedOffset 64, 39 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">timer.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
72 <a·href="#func-members">Functions</a>·&#124; 
73 <a·href="#var-members">Variables</a>··</div> 
74 ··<div·class="headertitle"><div·class="title">rangeutilities.hh·File·Reference</div></div> 
75 </div><!--header-->73 </div><!--header-->
76 <div·class="contents">74 <div·class="contents">
  
77 <p>Utilities·for·reduction·like·operations·on·ranges.··75 <p>A·simple·timing·class.··
78 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;chrono&gt;</code><br·/>
79 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;algorithm&gt;</code><br·/> 
81 <code>#include·&lt;utility&gt;</code><br·/> 
82 <code>#include·&lt;type_traits&gt;</code><br·/> 
83 <code>#include·&lt;bitset&gt;</code><br·/> 
84 </div>78 </div>
85 <p><a·href="a00245_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00245_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">80 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
88 Classes</h2></td></tr>82 Classes</h2></td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02500.html">Dune::IntegralRange&lt;·T·&gt;</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02884.html">Dune::Timer</a></td></tr>
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">dynamic·integer·range·for·use·in·range-based·for·loops··<a·href="a02500.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02504.html">Dune::StaticIntegralRange&lt;·T,·to,·from·&gt;</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">static·integer·range·for·use·in·range-based·for·loops··<a·href="a02504.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02508.html">Dune::ValueTransformationTag</a></td></tr> 
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·to·enable·value·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··<a·href="a02508.html#details">More...</a><br·/></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02512.html">Dune::IteratorTransformationTag</a></td></tr> 
99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·to·enable·iterator·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··<a·href="a02512.html#details">More...</a><br·/></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02536.html">Dune::TransformedRangeView&lt;·R,·F,·T·&gt;</a></td></tr> 
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·range·transforming·the·values·of·another·range·on-the-fly.··<a·href="a02536.html#details">More...</a><br·/></td></tr>84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·stop·watch.··<a·href="a02884.html#details">More...</a><br·/></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
106 Namespaces</h2></td></tr>88 Namespaces</h2></td></tr>
107 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>89 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
108 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>90 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table><table·class="memberdecls"> 
111 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
112 Functions</h2></td></tr> 
113 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
114 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplItemLeft"·align="right"·valign="top">T::value_type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaf05bafe739a71f1e7f30780dbae4fa05">Dune::max_value</a>·(const·T·&amp;v)</td></tr> 
115 <tr·class="memdesc:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·the·maximum·value·over·a·range··<a·href="a00401.html#gaf05bafe739a71f1e7f30780dbae4fa05">More...</a><br·/></td></tr> 
116 <tr·class="separator:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
117 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;!IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
118 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplItemLeft"·align="right"·valign="top">const·T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#gaf05bafe739a71f1e7f30780dbae4fa05">Dune::max_value</a>·(const·T·&amp;v)</td></tr> 
119 <tr·class="separator:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
121 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplItemLeft"·align="right"·valign="top">T::value_type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaa56de4535eff55ba6d5e418fd26b686c">Dune::min_value</a>·(const·T·&amp;v)</td></tr> 
122 <tr·class="memdesc:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·the·minimum·value·over·a·range··<a·href="a00401.html#gaa56de4535eff55ba6d5e418fd26b686c">More...</a><br·/></td></tr> 
123 <tr·class="separator:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;!IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
125 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplItemLeft"·align="right"·valign="top">const·T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#gaa56de4535eff55ba6d5e418fd26b686c">Dune::min_value</a>·(const·T·&amp;v)</td></tr> 
126 <tr·class="separator:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:ga19dd21ff930466597df962ae58d58c57"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
128 <tr·class="memitem:ga19dd21ff930466597df962ae58d58c57"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga19dd21ff930466597df962ae58d58c57">Dune::any_true</a>·(const·T·&amp;v)</td></tr> 
129 <tr·class="memdesc:ga19dd21ff930466597df962ae58d58c57"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">similar·to·std::bitset&lt;N&gt;::any()·return·true,·if·any·entries·is·true··<a·href="a00401.html#ga19dd21ff930466597df962ae58d58c57">More...</a><br·/></td></tr> 
130 <tr·class="separator:ga19dd21ff930466597df962ae58d58c57"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:gaaca8a2450469eb41c338d8f51231fc34"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·N&gt;·</td></tr> 
132 <tr·class="memitem:gaaca8a2450469eb41c338d8f51231fc34"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaaca8a2450469eb41c338d8f51231fc34">Dune::any_true</a>·(const·std::bitset&lt;·N·&gt;·&amp;b)</td></tr> 
133 <tr·class="separator:gaaca8a2450469eb41c338d8f51231fc34"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
134 <tr·class="memitem:ga3f11c34177907a5c592990a5f4840e92"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr> 
135 <tr·class="memitem:ga3f11c34177907a5c592990a5f4840e92"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga3f11c34177907a5c592990a5f4840e92">Dune::all_true</a>·(const·T·&amp;v)</td></tr> 
136 <tr·class="memdesc:ga3f11c34177907a5c592990a5f4840e92"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">similar·to·std::bitset&lt;N&gt;::all()·return·true,·if·any·entries·is·true··<a·href="a00401.html#ga3f11c34177907a5c592990a5f4840e92">More...</a><br·/></td></tr> 
137 <tr·class="separator:ga3f11c34177907a5c592990a5f4840e92"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
138 <tr·class="memitem:ga1782fbfe7b40a75fecb933f720357e54"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·N&gt;·</td></tr> 
139 <tr·class="memitem:ga1782fbfe7b40a75fecb933f720357e54"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga1782fbfe7b40a75fecb933f720357e54">Dune::all_true</a>·(const·std::bitset&lt;·N·&gt;·&amp;b)</td></tr> 
140 <tr·class="separator:ga1782fbfe7b40a75fecb933f720357e54"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:gae90ef519a48803f4a414eb4d643669ca"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class·U·,·std::enable_if_t&lt;·std::is_same&lt;·std::decay_t&lt;·T·&gt;,·std::decay_t&lt;·U·&gt;·&gt;::value,·int·&gt;··=·0,·std::enable_if_t&lt;·std::is_integral&lt;·std::decay_t&lt;·T·&gt;·&gt;::value,·int·&gt;··=·0&gt;·</td></tr> 
142 <tr·class="memitem:gae90ef519a48803f4a414eb4d643669ca"><td·class="memTemplItemLeft"·align="right"·valign="top">static·IntegralRange&lt;·std::decay_t&lt;·T·&gt;·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gae90ef519a48803f4a414eb4d643669ca">Dune::range</a>·(T·&amp;&amp;from,·U·&amp;&amp;to)·noexcept</td></tr> 
143 <tr·class="memdesc:gae90ef519a48803f4a414eb4d643669ca"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">free·standing·function·for·setting·up·a·range·based·for·loop·over·an·integer·range·for·(auto·i:·range(0,10))·//·0,1,2,3,4,5,6,7,8,9·or·for·(auto·i:·range(-10,10))·//·-10,-9,..,8,9·or·for·(auto·i:·range(10))·//·0,1,2,3,4,5,6,7,8,9··<a·href="a00401.html#gae90ef519a48803f4a414eb4d643669ca">More...</a><br·/></td></tr> 
144 <tr·class="separator:gae90ef519a48803f4a414eb4d643669ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
145 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·std::enable_if_t&lt;·std::is_integral&lt;·std::decay_t&lt;·T·&gt;·&gt;::value,·int·&gt;··=·0&gt;·</td></tr> 
146 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplItemLeft"·align="right"·valign="top">static·IntegralRange&lt;·std::decay_t&lt;·T·&gt;·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga50cf45a3ebc0fd2206608fe4cb15b377">Dune::range</a>·(T·&amp;&amp;to)·noexcept</td></tr> 
147 <tr·class="separator:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·std::enable_if_t&lt;·std::is_enum&lt;·std::decay_t&lt;·T·&gt;·&gt;::value,·int·&gt;··=·0&gt;·</td></tr> 
149 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplItemLeft"·align="right"·valign="top">static·IntegralRange&lt;·std::underlying_type_t&lt;·std::decay_t&lt;·T·&gt;·&gt;·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ga50cf45a3ebc0fd2206608fe4cb15b377">Dune::range</a>·(T·&amp;&amp;to)·noexcept</td></tr> 
150 <tr·class="separator:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
151 <tr·class="memitem:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·to&gt;·</td></tr> 
152 <tr·class="memitem:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memTemplItemLeft"·align="right"·valign="top">static·StaticIntegralRange&lt;·T,·to·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga949169c85f3d52bf6c7504a2d2e0e5bf">Dune::range</a>·(std::integral_constant&lt;·T,·to·&gt;)·noexcept</td></tr> 
153 <tr·class="separator:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
154 <tr·class="memitem:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memTemplParams"·colspan="2">template&lt;class·R·,·class·F·&gt;·</td></tr> 
155 <tr·class="memitem:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gae2dd8cb1fce8767381e33a5b834cf55d">Dune::transformedRangeView</a>·(R·&amp;&amp;range,·const·F·&amp;f)</td></tr> 
156 <tr·class="memdesc:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··<a·href="a00401.html#gae2dd8cb1fce8767381e33a5b834cf55d">More...</a><br·/></td></tr> 
157 <tr·class="separator:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 <tr·class="memitem:gaccf70716194b093e0d21e6da93c108f8"><td·class="memTemplParams"·colspan="2">template&lt;class·R·,·class·F·&gt;·</td></tr> 
159 <tr·class="memitem:gaccf70716194b093e0d21e6da93c108f8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaccf70716194b093e0d21e6da93c108f8">Dune::iteratorTransformedRangeView</a>·(R·&amp;&amp;range,·const·F·&amp;f)</td></tr> 
160 <tr·class="memdesc:gaccf70716194b093e0d21e6da93c108f8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>·using·an·iterator·transformation.··<a·href="a00401.html#gaccf70716194b093e0d21e6da93c108f8">More...</a><br·/></td></tr> 
161 <tr·class="separator:gaccf70716194b093e0d21e6da93c108f8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·&gt;·</td></tr> 
163 <tr·class="memitem:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaa75d4e74da1410405a33a5a62b5710e7">Dune::sparseRange</a>·(Range·&amp;&amp;range)</td></tr> 
164 <tr·class="memdesc:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Allow·structured-binding·for-loops·for·sparse·iterators.··<a·href="a00401.html#gaa75d4e74da1410405a33a5a62b5710e7">More...</a><br·/></td></tr> 
165 <tr·class="separator:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
166 </table><table·class="memberdecls"> 
167 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> 
168 Variables</h2></td></tr> 
169 <tr·class="memitem:gaf6a410eeed71fe1210f8dc847174cbc8"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·from,·T·to&gt;·</td></tr> 
170 <tr·class="memitem:gaf6a410eeed71fe1210f8dc847174cbc8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·StaticIntegralRange&lt;·T,·to,·from·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">Dune::range</a>·(std::integral_constant&lt;·T,·from·&gt;,·std::integral_constant&lt;·T,·to·&gt;)·noexcept</td></tr> 
171 <tr·class="separator:gaf6a410eeed71fe1210f8dc847174cbc8"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 603/19554 bytes (3.08%) of diff not shown.
5.97 KB
html2text {}
    
Offset 4, 137 lines modifiedOffset 4, 26 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions·|·Variables7 Classes·|·Namespaces
8 rangeutilities.hh·File·Reference8 timer.hh·File·Reference
 9 Common
 10 A·simple·timing·class.·More...
 11 #include·<chrono>
9 Utilities·for·reduction·like·operations·on·ranges.·More... 
10 #include·<dune/common/typetraits.hh> 
11 #include·<algorithm> 
12 #include·<utility> 
13 #include·<type_traits> 
14 #include·<bitset> 
15 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
16 ·Classes13 ·Classes
 14 class· Dune::Timer
 15  ······A·simple·stop·watch.·More...
17 ·class· Dune::IntegralRange<_T_> 
18  ·······dynamic·integer·range·for·use·in·range-based·for·loops·More... 
19   
20 ·class· Dune::StaticIntegralRange<_T,_to,_from_> 
21  ·······static·integer·range·for·use·in·range-based·for·loops·More... 
22   
23 struct· Dune::ValueTransformationTag 
24  ·······Tag·to·enable·value·based·transformations·in·TransformedRangeView. 
25 ·········More... 
26   
27 struct· Dune::IteratorTransformationTag 
28  ·······Tag·to·enable·iterator·based·transformations·in·TransformedRangeView. 
29 ·········More... 
30   
31 ·class· Dune::TransformedRangeView<_R,_F,_T_> 
32  ·······A·range·transforming·the·values·of·another·range·on-the-fly.·More... 
33  16  
34 ·Namespaces17 ·Namespaces
35 namespace· Dune18 namespace· Dune
36  ··········Dune·namespace.19  ··········Dune·namespace.
37  20  
38 ·Functions 
39 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>:: 
40 type·=·0> 
41 ····························T::value_type Dune::max_value·(const·T·&v) 
42  ·········································compute·the·maximum·value·over·a 
43 ···········································range·More... 
44   
45 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>:: 
46 type·=·0> 
47 ································const·T·& Dune::max_value·(const·T·&v) 
48   
49 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>:: 
50 type·=·0> 
51 ····························T::value_type Dune::min_value·(const·T·&v) 
52  ·········································compute·the·minimum·value·over·a 
53 ···········································range·More... 
54   
55 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>:: 
56 type·=·0> 
57 ································const·T·& Dune::min_value·(const·T·&v) 
58   
59 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>:: 
60 type·=·0> 
61 ·····································bool Dune::any_true·(const·T·&v) 
62 ···········································similar·to·std::bitset<N>::any() 
63  ·········································return·true,·if·any·entries·is·true 
64 ···········································More... 
65   
66 template<std::size_t·N> 
67 ·····································bool Dune::any_true·(const·std::bitset<·N 
68 ···········································>·&b) 
69   
70 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>:: 
71 type·=·0> 
72 ·····································bool Dune::all_true·(const·T·&v) 
73 ···········································similar·to·std::bitset<N>::all() 
74  ·········································return·true,·if·any·entries·is·true 
75 ···········································More... 
76   
77 template<std::size_t·N> 
78 ·····································bool Dune::all_true·(const·std::bitset<·N 
79 ···········································>·&b) 
80   
81 template<class·T·,·class·U·,·std::enable_if_t<·std::is_same<·std::decay_t<·T·>, 
82 std::decay_t<·U·>·>::value,·int·>·=·0,·std::enable_if_t<·std::is_integral< 
83 std::decay_t<·T·>·>::value,·int·>·=·0> 
84 static·IntegralRange<·std::decay_t<·T·>·> Dune::range·(T·&&from,·U·&&to) 
85 ···········································noexcept 
86 ···········································free·standing·function·for·setting 
87 ···········································up·a·range·based·for·loop·over·an 
88 ···········································integer·range·for·(auto·i:·range 
89  ·········································(0,10))·//·0,1,2,3,4,5,6,7,8,9·or 
90 ···········································for·(auto·i:·range(-10,10))·//·-10,- 
91 ···········································9,..,8,9·or·for·(auto·i:·range(10)) 
92 ···········································//·0,1,2,3,4,5,6,7,8,9·More... 
93   
94 template<class·T·,·std::enable_if_t<·std::is_integral<·std::decay_t<·T·>·>:: 
95 value,·int·>·=·0> 
96 static·IntegralRange<·std::decay_t<·T·>·> Dune::range·(T·&&to)·noexcept 
97   
98 template<class·T·,·std::enable_if_t<·std::is_enum<·std::decay_t<·T·>·>::value, 
99 int·>·=·0> 
100 ···············static·IntegralRange<·std:: 
101 ·underlying_type_t<·std::decay_t<·T·>·>·> Dune::range·(T·&&to)·noexcept 
102   
103 template<class·T·,·T·to> 
104 ······static·StaticIntegralRange<·T,·to·> Dune::range·(std::integral_constant< 
105 ···········································T,·to·>)·noexcept 
106   
107 template<class·R·,·class·F·> 
108 ·····································auto Dune::transformedRangeView·(R 
109 ···········································&&range,·const·F·&f) 
110  ·········································Create·a·TransformedRangeView. 
111 ···········································More... 
112   
113 template<class·R·,·class·F·> 
114 ·····································auto Dune::iteratorTransformedRangeView 
115 ···········································(R·&&range,·const·F·&f) 
116  ·········································Create·a·TransformedRangeView·using 
117 ···········································an·iterator·transformation.·More... 
118   
119 template<class·Range·> 
120 ·····································auto Dune::sparseRange·(Range·&&range) 
121  ·········································Allow·structured-binding·for-loops 
Max diff block lines reached; 228/6093 bytes (3.74%) of diff not shown.
176 KB
./usr/share/doc/libdune-common-doc/doxygen/a00245_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·rangeutilities.hh·Source·File</title>8 <title>dune-common:·timer.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 655 lines modifiedOffset 62, 143 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">rangeutilities.hh</div></div>68 ··<div·class="headertitle"><div·class="title">timer.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00245.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00245.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_RANGE_UTILITIES_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_TIMER_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_RANGE_UTILITIES_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_TIMER_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#ifndef·TIMER_USE_STD_CLOCK</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//·headers·for·std::chrono</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;chrono&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#else</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">//·headers·for·std::clock</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;ctime&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
84 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div> 
86 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div> 
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div> 
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>············<span·class="keyword">typename</span>·std::enable_if&lt;IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">typename</span>·T::value_type</div> 
90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00401.html#gaf05bafe739a71f1e7f30780dbae4fa05">···37</a></span>··<a·class="code·hl_function"·href="a00425.html#ae23cfd2094b38ad5889b56de92d1f019">max_value</a>(<span·class="keyword">const</span>·T·&amp;·v)·{</div> 
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">using·</span>std::max_element;</div> 
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·*max_element(v.begin(),·v.end());</div> 
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div> 
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 88 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a02884.html">···42</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02884.html">Timer</a></div>
 89 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>90 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>:</div>
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>············<span·class="keyword">typename</span>·std::enable_if&lt;!IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00425.html#gaf05bafe739a71f1e7f30780dbae4fa05">···44</a></span>··<span·class="keyword">const</span>·T·&amp;·<a·class="code·hl_function"·href="a00425.html#ae23cfd2094b38ad5889b56de92d1f019">max_value</a>(<span·class="keyword">const</span>·T·&amp;·v)·{·<span·class="keywordflow">return</span>·v;·}</div> 
98 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>91 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 92 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02884.html#a55b4e69b9e9ef128b998fb0f59f0fa63">···50</a></span>····<a·class="code·hl_function"·href="a02884.html#a55b4e69b9e9ef128b998fb0f59f0fa63">Timer</a>·(<span·class="keywordtype">bool</span>·startImmediately=<span·class="keyword">true</span>)·noexcept</div>
99 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div> 
100 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keyword">typename</span>·std::enable_if&lt;IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
101 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">typename</span>·T::value_type</div>93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····{</div>
102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00401.html#gaa56de4535eff55ba6d5e418fd26b686c">···54</a></span>··<a·class="code·hl_function"·href="a00425.html#af97af7156507b5bbb3433e3f7e5a15a7">min_value</a>(<span·class="keyword">const</span>·T·&amp;·v)·{</div> 
103 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">using·</span>std::min_element;</div>94 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······isRunning_·=·startImmediately;</div>
104 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordflow">return</span>·*min_element(v.begin(),·v.end());</div>95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<a·class="code·hl_function"·href="a02884.html#a08ea290ecdd2cb4e98b4bc22e65abff4">reset</a>();</div>
105 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··}</div>96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div>
 97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a02884.html#a08ea290ecdd2cb4e98b4bc22e65abff4">···57</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02884.html#a08ea290ecdd2cb4e98b4bc22e65abff4">reset</a>()·noexcept</div>
106 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····{</div>
107 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div> 
108 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>············<span·class="keyword">typename</span>·std::enable_if&lt;!IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
109 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00425.html#gaa56de4535eff55ba6d5e418fd26b686c">···61</a></span>··<span·class="keyword">const</span>·T·&amp;·<a·class="code·hl_function"·href="a00425.html#af97af7156507b5bbb3433e3f7e5a15a7">m[·...·truncated·by·diffoscope;·len:·105,·SHA:·d6ab61d4364b773d151c61c49dc95e39694adffc1c6f61483fb788744ead1a51·...·]</div>100 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······sumElapsed_·=·0.0;</div>
 101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······storedLastElapsed_·=·0.0;</div>
 102 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······rawReset();</div>
110 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>
 104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 106 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a02884.html#af232d81c85e04ca4ffdd2f8ead677316">···66</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02884.html#af232d81c85e04ca4ffdd2f8ead677316">start</a>()·noexcept</div>
 107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div>
111 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">if</span>·(not·(isRunning_))</div>
112 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>············<span·class="keyword">typename</span>·std::enable_if&lt;IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
113 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00401.html#ga19dd21ff930466597df962ae58d58c57">···70</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a1ed24891986fbb8fea5cfee4c23a7173">any_tr[·...·truncated·by·diffoscope;·len:·52,·SHA:·128b33d90d5fef482d00f883903d734e0c7fe9a8f27f07a7dfcf4d6b020e0a2f·...·]·{</div>109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······{</div>
 110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········rawReset();</div>
114 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordtype">bool</span>·b·=·<span·class="keyword">false</span>;</div>111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········isRunning_·=·<span·class="keyword">true</span>;</div>
115 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>·&amp;·e·:·v)</div>112 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div>
116 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······b·=·b·or·bool(e);</div>113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····}</div>
117 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·b;</div>114 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
118 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div>115 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a02884.html#ad8cce9cefec3e1aadf87c9a9896b1da2">···77</a></span>····<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a02884.html#ad8cce9cefec3e1aadf87c9a9896b1da2">elapsed</a>·()·const·noexcept</div>
119 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{</div>
 118 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="comment">//·if·timer·is·running·add·the·time·elapsed·since·last·start·to·sum</span></div>
120 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>119 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keywordflow">if</span>·(isRunning_)</div>
 120 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">return</span>·sumElapsed_·+·<a·class="code·hl_function"·href="a02884.html#adcef76c27f53655b662af3e80fdf4486">lastElapsed</a>();</div>
121 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>············<span·class="keyword">typename</span>·std::enable_if&lt;!IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
122 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a1ed24891986fbb8fea5cfee4c23a7173">any_true</a>(<span·class="keyword">const</span>·T·&amp;·v)·{·<span·class="keywordflow">return</span>·v;·}</div> 
123 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>121 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">return</span>·sumElapsed_;</div>
124 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·N&gt;</div> 
125 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00401.html#gaaca8a2450469eb41c338d8f51231fc34">···82</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a1ed24891986fbb8fea5cfee4c23a7173">any_true</a>(<span·class="keyword">const</span>·std::bitset&lt;N&gt;·&amp;·b)</div> 
126 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>123 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div>
127 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·b.any();</div> 
128 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div>124 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
129 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>125 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 126 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a02884.html#adcef76c27f53655b662af3e80fdf4486">···88</a></span>····<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a02884.html#adcef76c27f53655b662af3e80fdf4486">lastElapsed</a>·()·const·noexcept</div>
130 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div> 
131 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>············<span·class="keyword">typename</span>·std::enable_if&lt;IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
132 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a00401.html#ga3f11c34177907a5c592990a5f4840e92">···94</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a231fdc968bf4b24f6c52031edd1fca96">all_true</a>(<span·class="keyword">const</span>·T·&amp;·v)·{</div> 
133 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordtype">bool</span>·b·=·<span·class="keyword">true</span>;</div> 
134 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>·&amp;·e·:·v)</div> 
135 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······b·=·b·and·bool(e);</div>127 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····{</div>
 128 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<span·class="comment">//·if·timer·is·running·return·the·current·value</span></div>
 129 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="keywordflow">if</span>·(isRunning_)</div>
136 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·b;</div>130 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordflow">return</span>·rawElapsed();</div>
 131 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 132 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="comment">//·if·timer·is·not·running·return·stored·value·from·last·run</span></div>
 133 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="keywordflow">return</span>·storedLastElapsed_;</div>
137 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>134 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····}</div>
138 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>135 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
139 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div> 
140 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>············<span·class="keyword">typename</span>·std::enable_if&lt;!IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
141 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a231fdc968bf4b24f6c52031edd1fca96">all_true</a>(<span·class="keyword">const</span>·T·&amp;·v)·{·<span·class="keywordflow">return</span>·v;·}</div> 
142 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>136 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 137 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a02884.html#a30628558c1dd47eab76ab2d408bb6319">··100</a></span>····<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a02884.html#a30628558c1dd47eab76ab2d408bb6319">stop</a>()·noexcept</div>
143 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·N&gt;</div> 
144 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a00401.html#ga1782fbfe7b40a75fecb933f720357e54">··106</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a231fdc968bf4b24f6c52031edd1fca96">all_true</a>(<span·class="keyword">const</span>·std::bitset&lt;N&gt;·&amp;·b)</div> 
145 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··{</div>138 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div>
Max diff block lines reached; 121475/147227 bytes (82.51%) of diff not shown.
31.9 KB
html2text {}
    
Offset 4, 883 lines modifiedOffset 4, 164 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 rangeutilities.hh7 timer.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_RANGE_UTILITIES_HH 
15 ·6#define·DUNE_COMMON_RANGE_UTILITIES_HH14 ·5#ifndef·DUNE_TIMER_HH
 15 ·6#define·DUNE_TIMER_HH
16 ·716 ·7
17 ·8#include·<dune/common/typetraits.hh> 
18 ·9#include·<algorithm> 
19 ·10#include·<utility> 
20 ·11#include·<type_traits>17 ·8#ifndef·TIMER_USE_STD_CLOCK
 18 ·9//·headers·for·std::chrono
 19 ·10#include·<chrono>
 20 ·11#else
 21 ·12//·headers·for·std::clock
21 ·12#include·<bitset>22 ·13#include·<ctime>
22 ·1323 ·14#endif
 24 ·15
23 ·21namespace·Dune25 ·16namespace·Dune·{
 26 ·17
 27 42·class·Timer
 28 ·43·{
 29 ·44·public:
24 ·22{ 
25 ·23 
26 ·34·template·<typename·T, 
27 ·35·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0> 
28 ·36·typename·T::value_type 
29 37·max_value(const·T·&·v)·{ 
30 ·38·using·std::max_element; 
31 ·39·return·*max_element(v.begin(),·v.end()); 
32 ·40·} 
33 ·41 
34 ·42·template·<typename·T, 
35 ·43·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0> 
36 44·const·T·&·max_value(const·T·&·v)·{·return·v;·} 
37 ·4530 ·45
 31 50·Timer·(bool·startImmediately=true)·noexcept
 32 ·51·{
 33 ·52·isRunning_·=·startImmediately;
 34 ·53·reset();
38 ·51·template·<typename·T, 
39 ·52·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0> 
40 ·53·typename·T::value_type 
41 54·min_value(const·T·&·v)·{ 
42 ·55·using·std::min_element; 
43 ·56·return·*min_element(v.begin(),·v.end()); 
44 ·57·}35 ·54·}
 36 ·55
 37 57·void·reset()·noexcept
45 ·58 
46 ·59·template·<typename·T, 
47 ·60·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0> 
48 61·const·T·&·min_value(const·T·&·v)·{·return·v;·} 
49 ·62 
50 ·68·template·<typename·T, 
51 ·69·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0> 
52 70·bool·any_true(const·T·&·v)·{ 
53 ·71·bool·b·=·false; 
54 ·72·for·(const·auto·&·e·:·v) 
55 ·73·b·=·b·or·bool(e); 
56 ·74·return·b; 
57 ·75·} 
58 ·76 
59 ·77·template·<typename·T, 
60 ·78·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0> 
61 ·79·bool·any_true(const·T·&·v)·{·return·v;·} 
62 ·80 
63 ·81·template<std::size_t·N> 
64 82·bool·any_true(const·std::bitset<N>·&·b) 
65 ·83·{38 ·58·{
66 ·84·return·b.any();39 ·59·sumElapsed_·=·0.0;
 40 ·60·storedLastElapsed_·=·0.0;
 41 ·61·rawReset();
 42 ·62·}
 43 ·63
 44 ·64
 45 66·void·start()·noexcept
 46 ·67·{
 47 ·68·if·(not·(isRunning_))
 48 ·69·{
 49 ·70·rawReset();
 50 ·71·isRunning_·=·true;
 51 ·72·}
 52 ·73·}
 53 ·74
 54 ·75
 55 77·double·elapsed·()·const·noexcept
 56 ·78·{
 57 ·79·//·if·timer·is·running·add·the·time·elapsed·since·last·start·to·sum
 58 ·80·if·(isRunning_)
 59 ·81·return·sumElapsed_·+·lastElapsed();
 60 ·82
 61 ·83·return·sumElapsed_;
67 ·85·}62 ·84·}
 63 ·85
68 ·8664 ·86
69 ·92·template·<typename·T, 
70 ·93·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0> 
71 94·bool·all_true(const·T·&·v)·{ 
72 ·95·bool·b·=·true; 
73 ·96·for·(const·auto·&·e·:·v) 
74 ·97·b·=·b·and·bool(e); 
75 ·98·return·b;65 88·double·lastElapsed·()·const·noexcept
 66 ·89·{
 67 ·90·//·if·timer·is·running·return·the·current·value
 68 ·91·if·(isRunning_)
 69 ·92·return·rawElapsed();
 70 ·93
 71 ·94·//·if·timer·is·not·running·return·stored·value·from·last·run
 72 ·95·return·storedLastElapsed_;
76 ·99·}73 ·96·}
 74 ·97
 75 ·98
 76 100·double·stop()·noexcept
77 ·100 
Max diff block lines reached; 28811/32678 bytes (88.17%) of diff not shown.
9.57 KB
./usr/share/doc/libdune-common-doc/doxygen/a00248.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·stdthread.hh·File·Reference</title>8 <title>dune-common:·indent.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 64 lines modifiedOffset 63, 49 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#define-members">Macros</a>·&#124; 
72 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">stdthread.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">indent.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
 76 <p>Utility·class·for·handling·nested·indentation·in·output.··
 77 <a·href="#details">More...</a></p>
 78 <div·class="textblock"><code>#include·&lt;ostream&gt;</code><br·/>
 79 <code>#include·&lt;string&gt;</code><br·/>
 80 </div>
76 <p><a·href="a00248_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00248_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <table·class="memberdecls">82 <table·class="memberdecls">
 83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 84 Classes</h2></td></tr>
 85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01864.html">Dune::Indent</a></td></tr>
 86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.··<a·href="a01864.html#details">More...</a><br·/></td></tr>
 87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 </table><table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
79 Namespaces</h2></td></tr>90 Namespaces</h2></td></tr>
80 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>91 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
81 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>92 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
85 Macros</h2></td></tr> 
86 <tr·class="memitem:acbf1020c1747ea8c3dd1031d2d608557"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00248.html#acbf1020c1747ea8c3dd1031d2d608557">DUNE_ASSERT_CALL_ONCE</a>()&#160;&#160;&#160;··::Dune::assertCallOnce(__FILE__,·__LINE__,·__func__)</td></tr> 
87 <tr·class="memdesc:acbf1020c1747ea8c3dd1031d2d608557"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.··<a·href="a00248.html#acbf1020c1747ea8c3dd1031d2d608557">More...</a><br·/></td></tr> 
88 <tr·class="separator:acbf1020c1747ea8c3dd1031d2d608557"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 </table><table·class="memberdecls"> 
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
91 Functions</h2></td></tr>96 Functions</h2></td></tr>
 97 <tr·class="memitem:gace1faa2fb503952859542dbea15eb066"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gace1faa2fb503952859542dbea15eb066">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;s,·const·Indent·&amp;indent)</td></tr>
 98 <tr·class="memdesc:gace1faa2fb503952859542dbea15eb066"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">write·indentation·to·a·stream··<a·href="a00397.html#gace1faa2fb503952859542dbea15eb066">More...</a><br·/></td></tr>
92 <tr·class="memitem:aa76832a917330622cdf531c2e6375f4c"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">Dune::doAssertCallOnce</a>·(const·char·*file,·int·line,·const·char·*function)</td></tr> 
93 <tr·class="separator:aa76832a917330622cdf531c2e6375f4c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 <tr·class="memitem:a3b55a8ff91fc039845da40a86486a007"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">Dune::assertCallOnce</a>·(const·char·*file=nullptr,·int·line=-1,·const·char·*function=nullptr)</td></tr> 
95 <tr·class="memdesc:a3b55a8ff91fc039845da40a86486a007"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.··<a·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">More...</a><br·/></td></tr> 
96 <tr·class="separator:a3b55a8ff91fc039845da40a86486a007"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:gace1faa2fb503952859542dbea15eb066"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table>100 </table>
 101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 102 <div·class="textblock"><p·>Utility·class·for·handling·nested·indentation·in·output.·</p>
 103 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·</dd></dl>
98 <h2·class="groupheader">Macro·Definition·Documentation</h2> 
99 <a·id="acbf1020c1747ea8c3dd1031d2d608557"·name="acbf1020c1747ea8c3dd1031d2d608557"></a> 
100 <h2·class="memtitle"><span·class="permalink"><a·href="#acbf1020c1747ea8c3dd1031d2d608557">&#9670;&nbsp;</a></span>DUNE_ASSERT_CALL_ONCE</h2> 
  
101 <div·class="memitem"> 
102 <div·class="memproto"> 
103 ······<table·class="memname"> 
104 ········<tr> 
105 ··········<td·class="memname">#define·DUNE_ASSERT_CALL_ONCE</td> 
106 ··········<td>(</td> 
107 ··········<td·class="paramname"></td><td>)</td> 
108 ··········<td>&#160;&#160;&#160;··::Dune::assertCallOnce(__FILE__,·__LINE__,·__func__)</td> 
109 ········</tr> 
110 ······</table> 
111 </div><div·class="memdoc"> 
  
112 <p>Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.·</p> 
113 <p·>This·calls·<a·class="el"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007"·title="Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.">assertCallOnce()</a>·and·automatically·provides·information·about·the·caller·in·the·error·message.·</p> 
  
114 </div> 
115 </div> 
116 </div><!--·contents·-->104 </div></div><!--·contents·-->
117 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>108 </small></address>
121 </body>109 </body>
122 </html>110 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
1.75 KB
html2text {}
    
Offset 4, 38 lines modifiedOffset 4, 33 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Macros·|·Functions 
8 stdthread.hh·File·Reference7 Classes·|·Namespaces·|·Functions
 8 indent.hh·File·Reference
 9 Common
 10 Utility·class·for·handling·nested·indentation·in·output.·More...
 11 #include·<ostream>
 12 #include·<string>
9 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
 14 ·Classes
 15 class· Dune::Indent
 16  ······Utility·class·for·handling·nested·indentation·in·output.·More...
 17  
10 ·Namespaces18 ·Namespaces
11 namespace· Dune19 namespace· Dune
12  ··········Dune·namespace.20  ··········Dune·namespace.
13  21  
14 ·Macros 
15 #define DUNE_ASSERT_CALL_ONCE()   ·::Dune::assertCallOnce(__FILE__,·__LINE__, 
16 ·········__func__) 
17  ·······Make·sure·call_once()·works·and·provide·a·helpful·error·message 
18 ·········otherwise.·More... 
19   
20 ·Functions22 ·Functions
 23 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·Indent·&indent)
 24  ··············write·indentation·to·a·stream·More...
21 void Dune::doAssertCallOnce·(const·char·*file,·int·line,·const·char·*function) 
22   
23 void Dune::assertCallOnce·(const·char·*file=nullptr,·int·line=-1,·const·char 
24 ······*function=nullptr) 
25  ····Make·sure·call_once()·works·and·provide·a·helpful·error·message 
26 ······otherwise.·More... 
27  25  
 26 *****·Detailed·Description·*****
 27 Utility·class·for·handling·nested·indentation·in·output.
 28 ··Author
 29 ·······Fahlke
28 *****·Macro·Definition·Documentation·***** 
29 *****·◆ DUNE_ASSERT_CALL_ONCE·***** 
30 #define···············(··)·   ·::Dune::assertCallOnce(__FILE__,·__LINE__, 
31 DUNE_ASSERT_CALL_ONCE······__func__) 
32 Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise. 
33 This·calls·assertCallOnce()·and·automatically·provides·information·about·the 
34 caller·in·the·error·message. 
  
35 ===============================================================================30 ===============================================================================
36 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
27.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00248_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·stdthread.hh·Source·File</title>8 <title>dune-common:·indent.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 50 lines modifiedOffset 62, 91 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">stdthread.hh</div></div>68 ··<div·class="headertitle"><div·class="title">indent.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00248.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00248.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_INDENT_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_INDENT_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STDTHREAD_HH</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_STDTHREAD_HH</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>{</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>··<span·class="comment">//·used·internally·by·assertCallOnce·for·the·actual·check</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">doAssertCallOnce</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*file,·<span·class="keywordtype">int</span>·line,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*function);</div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">···35</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">assertCallOnce</a>(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*file·=·<span·class="keyword">nullptr</span>,·<span·class="keywordtype">int</span>·line·=·-1,</div> 
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·····························<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·*function·=·<span·class="keyword">nullptr</span>)</div> 
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div> 
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="comment">//·make·sure·to·call·this·only·the·first·time·this·function·is·invoked</span></div> 
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····[[maybe_unused]]·<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">bool</span>·works</div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······=·(<a·class="code·hl_function"·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">doAssertCallOnce</a>(file,·line,·function),·<span·class="keyword">true</span>);</div> 
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··}</div> 
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 83 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01864.html">···52</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01864.html">Indent</a></div>
94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div> 
95 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a00248.html#acbf1020c1747ea8c3dd1031d2d608557">···49</a></span><span·class="preprocessor">#define·DUNE_ASSERT_CALL_ONCE()·························\</span></div> 
96 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">··::Dune::assertCallOnce(__FILE__,·__LINE__,·__func__)</span></div> 
97 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> 
98 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}·<span·class="comment">//·namespace·Dune</span></div> 
99 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>84 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>
 85 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>*·parent;</div>
 86 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::string·basic_indent;</div>
 87 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordtype">unsigned</span>·level;</div>
 88 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 89 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">public</span>:</div>
 90 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 91 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">···63</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Indent</a>(<span·class="keyword">const</span>·std::string&amp;·basic_indent_·=·<span·class="stringliteral">&quot;··&quot;</span>,·<span·class="keywordtype">unsigned</span>·level_·=·0)</div>
 92 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······:·parent(0),·basic_indent(basic_indent_),·level(level_)</div>
 93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····{·}</div>
 94 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 95 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1f1ea564f5a91476186d98f86bc9e9c5">···68</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a00397.html#ga1f1ea564f5a91476186d98f86bc9e9c5">Indent</a>(<span·class="keywordtype">unsigned</span>·level_)</div>
 96 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······:·parent(0),·basic_indent(<span·class="stringliteral">&quot;··&quot;</span>),·level(level_)</div>
 97 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····{·}</div>
 98 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
 99 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00397.html#gae84075a0c38565df531b69c1cbba9de8">···76</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a00397.html#gae84075a0c38565df531b69c1cbba9de8">Indent</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>*·parent_,</div>
 101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··················<span·class="keyword">const</span>·std::string&amp;·basic_indent_·=·<span·class="stringliteral">&quot;··&quot;</span>,·<span·class="keywordtype">unsigned</span>·level_·=·1)</div>
 102 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······:·parent(parent_),·basic_indent(basic_indent_),·level(level_)</div>
 103 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{·}</div>
 104 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 105 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga8aa75c75f4de24c071ad32c329c4f0f1">···82</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a00397.html#ga8aa75c75f4de24c071ad32c329c4f0f1">Indent</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>*·parent_,·<span·class="keywordtype">unsigned</span>·level_)</div>
 106 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······:·parent(parent_),·basic_indent(<span·class="stringliteral">&quot;··&quot;</span>),·level(level_)</div>
 107 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{·}</div>
 108 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 109 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga0d8e2d1ad854a5768618d827269c0483">···87</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>·<a·class="code·hl_function"·href="a00397.html#ga0d8e2d1ad854a5768618d827269c0483">operator+</a>(<span·class="keyword">const</span>·std::string&amp;·newindent)<span·class="keyword">·const·</span>{</div>
 110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Indent</a>(<span·class="keyword">this</span>,·newindent);</div>
 111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····}</div>
 112 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga29e86c93b437fefa4d30687bece5a5d4">···91</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>·<a·class="code·hl_function"·href="a00397.html#ga29e86c93b437fefa4d30687bece5a5d4">operator+</a>(<span·class="keywordtype">unsigned</span>·morelevel)<span·class="keyword">·const·</span>{</div>
 113 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Indent</a>(parent,·basic_indent,·level+morelevel);</div>
 114 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div>
 115 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaaca980bf5fb4bf2cc341324b077d28a8">···95</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>&amp;·<a·class="code·hl_function"·href="a00397.html#gaaca980bf5fb4bf2cc341324b077d28a8">operator++</a>()·{·++level;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00397.html#gabf8f40e7093e2c7972f4b7a262fd05d8">···97</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>&amp;·<a·class="code·hl_function"·href="a00397.html#gabf8f40e7093e2c7972f4b7a262fd05d8">operator--</a>()·{·<span·class="keywordflow">if</span>·(·level·&gt;·0·)·--level;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div>
 117 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 118 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<span·class="keyword">friend</span>·<span·class="keyword">inline</span>·std::ostream&amp;·<a·class="code·hl_friend"·href="a00397.html#gac6f5e4de9f1e93d4523c4dbda35d935e">operator&lt;&lt;</a>(std::ostream&amp;·s,</div>
 119 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>···········································<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>&amp;·indent);</div>
 120 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··};</div>
 121 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 122 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac6f5e4de9f1e93d4523c4dbda35d935e">··105</a></span>··<span·class="keyword">inline</span>·std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream&amp;·s,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>&amp;·indent)·{</div>
 123 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">if</span>(indent.parent)</div>
 124 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······s·&lt;&lt;·*indent.parent;</div>
 125 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keywordflow">for</span>(<span·class="keywordtype">unsigned</span>·i·=·0;·i·&lt;·indent.level;·++i)</div>
 126 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······s·&lt;&lt;·indent.basic_indent;</div>
 127 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<span·class="keywordflow">return</span>·s;</div>
 128 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··}</div>
 129 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 130 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>}·<span·class="comment">//·namespace·Dune</span></div>
 131 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
100 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_STDTHREAD_HH</span></div>132 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_INDENT_HH</span></div>
 133 <div·class="ttc"·id="aa00397_html_ga0d8e2d1ad854a5768618d827269c0483"><div·class="ttname"><a·href="a00397.html#ga0d8e2d1ad854a5768618d827269c0483">Dune::Indent::operator+</a></div><div·class="ttdeci">Indent·operator+(const·std::string·&amp;newindent)·const</div><div·class="ttdoc">create·new·indentation·object·with·this·one·as·parent</div><div·class="ttdef"><b>Definition:</b>·indent.hh:87</div></div>
 134 <div·class="ttc"·id="aa00397_html_ga1f1ea564f5a91476186d98f86bc9e9c5"><div·class="ttname"><a·href="a00397.html#ga1f1ea564f5a91476186d98f86bc9e9c5">Dune::Indent::Indent</a></div><div·class="ttdeci">Indent(unsigned·level_)</div><div·class="ttdoc">setup·without·parent·and·basic_indentation·of·two·spaces</div><div·class="ttdef"><b>Definition:</b>·indent.hh:68</div></div>
 135 <div·class="ttc"·id="aa00397_html_ga29e86c93b437fefa4d30687bece5a5d4"><div·class="ttname"><a·href="a00397.html#ga29e86c93b437fefa4d30687bece5a5d4">Dune::Indent::operator+</a></div><div·class="ttdeci">Indent·operator+(unsigned·morelevel)·const</div><div·class="ttdoc">create·a·copy·of·this·indentation·object·with·raised·level</div><div·class="ttdef"><b>Definition:</b>·indent.hh:91</div></div>
 136 <div·class="ttc"·id="aa00397_html_ga8aa75c75f4de24c071ad32c329c4f0f1"><div·class="ttname"><a·href="a00397.html#ga8aa75c75f4de24c071ad32c329c4f0f1">Dune::Indent::Indent</a></div><div·class="ttdeci">Indent(const·Indent·*parent_,·unsigned·level_)</div><div·class="ttdoc">setup·with·parent</div><div·class="ttdef"><b>Definition:</b>·indent.hh:82</div></div>
 137 <div·class="ttc"·id="aa00397_html_gaaca980bf5fb4bf2cc341324b077d28a8"><div·class="ttname"><a·href="a00397.html#gaaca980bf5fb4bf2cc341324b077d28a8">Dune::Indent::operator++</a></div><div·class="ttdeci">Indent·&amp;·operator++()</div><div·class="ttdoc">raise·indentation·level</div><div·class="ttdef"><b>Definition:</b>·indent.hh:95</div></div>
 138 <div·class="ttc"·id="aa00397_html_gabb0f032ac7f93f75e8918741c6da79c5"><div·class="ttname"><a·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Dune::Indent::Indent</a></div><div·class="ttdeci">Indent(const·std::string·&amp;basic_indent_=&quot;··&quot;,·unsigned·level_=0)</div><div·class="ttdoc">setup·without·parent</div><div·class="ttdef"><b>Definition:</b>·indent.hh:63</div></div>
 139 <div·class="ttc"·id="aa00397_html_gabf8f40e7093e2c7972f4b7a262fd05d8"><div·class="ttname"><a·href="a00397.html#gabf8f40e7093e2c7972f4b7a262fd05d8">Dune::Indent::operator--</a></div><div·class="ttdeci">Indent·&amp;·operator--()</div><div·class="ttdoc">lower·indentation·level</div><div·class="ttdef"><b>Definition:</b>·indent.hh:97</div></div>
 140 <div·class="ttc"·id="aa00397_html_gac6f5e4de9f1e93d4523c4dbda35d935e"><div·class="ttname"><a·href="a00397.html#gac6f5e4de9f1e93d4523c4dbda35d935e">Dune::Indent::operator&lt;&lt;</a></div><div·class="ttdeci">friend·std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·Indent·&amp;indent)</div><div·class="ttdoc">write·indentation·to·a·stream</div><div·class="ttdef"><b>Definition:</b>·indent.hh:105</div></div>
 141 <div·class="ttc"·id="aa00397_html_gae84075a0c38565df531b69c1cbba9de8"><div·class="ttname"><a·href="a00397.html#gae84075a0c38565df531b69c1cbba9de8">Dune::Indent::Indent</a></div><div·class="ttdeci">Indent(const·Indent·*parent_,·const·std::string·&amp;basic_indent_=&quot;··&quot;,·unsigned·level_=1)</div><div·class="ttdoc">setup·with·parent</div><div·class="ttdef"><b>Definition:</b>·indent.hh:76</div></div>
 142 <div·class="ttc"·id="aa00408_html_ga49e9aab7260e82c77e7fd410ecb339c1"><div·class="ttname"><a·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a></div><div·class="ttdeci">std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:278</div></div>
101 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>143 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
 144 <div·class="ttc"·id="aa01864_html"><div·class="ttname"><a·href="a01864.html">Dune::Indent</a></div><div·class="ttdoc">Utility·class·for·handling·nested·indentation·in·output.</div><div·class="ttdef"><b>Definition:</b>·indent.hh:53</div></div>
102 <div·class="ttc"·id="aa00425_html_a3b55a8ff91fc039845da40a86486a007"><div·class="ttname"><a·href="a00425.html#a3b55a8ff91fc039845da40a86486a007">Dune::assertCallOnce</a></div><div·class="ttdeci">void·assertCallOnce(const·char·*file=nullptr,·int·line=-1,·const·char·*function=nullptr)</div><div·class="ttdoc">Make·sure·call_once()·works·and·provide·a·helpful·error·message·otherwise.</div><div·class="ttdef"><b>Definition:</b>·stdthread.hh:35</div></div> 
103 <div·class="ttc"·id="aa00425_html_aa76832a917330622cdf531c2e6375f4c"><div·class="ttname"><a·href="a00425.html#aa76832a917330622cdf531c2e6375f4c">Dune::doAssertCallOnce</a></div><div·class="ttdeci">void·doAssertCallOnce(const·char·*file,·int·line,·const·char·*function)</div><div·class="ttdef"><b>Definition:</b>·stdthread.cc:42</div></div> 
104 </div><!--·fragment·--></div><!--·contents·-->145 </div><!--·fragment·--></div><!--·contents·-->
105 <!--·start·footer·part·-->146 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>147 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4148 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>149 </small></address>
Max diff block lines reached; 9/23047 bytes (0.04%) of diff not shown.
4.66 KB
html2text {}
    
Offset 4, 54 lines modifiedOffset 4, 121 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 stdthread.hh7 indent.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5 
15 ·6#ifndef·DUNE_COMMON_STDTHREAD_HH14 ·5#ifndef·DUNE_COMMON_INDENT_HH
16 ·7#define·DUNE_COMMON_STDTHREAD_HH15 ·6#define·DUNE_COMMON_INDENT_HH
17 ·8 
18 ·9namespace·Dune16 ·7
 17 ·8#include·<ostream>
 18 ·9#include·<string>
19 ·10{19 ·10
 20 ·11namespace·Dune·{
 21 ·22
 22 52·class·Indent
 23 ·53·{
 24 ·54·const·Indent*·parent;
 25 ·55·std::string·basic_indent;
 26 ·56·unsigned·level;
 27 ·57
 28 ·58·public:
 29 ·60
 30 63·inline·Indent(const·std::string&·basic_indent_·=·"·",·unsigned·level_·=·0)
 31 ·64·:·parent(0),·basic_indent(basic_indent_),·level(level_)
 32 ·65·{·}
 33 ·66
 34 68·inline·Indent(unsigned·level_)
 35 ·69·:·parent(0),·basic_indent("·"),·level(level_)
 36 ·70·{·}
 37 ·71
 38 ·73
 39 76·inline·Indent(const·Indent*·parent_,
 40 ·77·const·std::string&·basic_indent_·=·"·",·unsigned·level_·=·1)
 41 ·78·:·parent(parent_),·basic_indent(basic_indent_),·level(level_)
 42 ·79·{·}
 43 ·80
 44 82·inline·Indent(const·Indent*·parent_,·unsigned·level_)
 45 ·83·:·parent(parent_),·basic_indent("·"),·level(level_)
 46 ·84·{·}
 47 ·85
 48 87·inline·Indent·operator+(const·std::string&·newindent)·const·{
 49 ·88·return·Indent(this,·newindent);
 50 ·89·}
 51 91·inline·Indent·operator+(unsigned·morelevel)·const·{
 52 ·92·return·Indent(parent,·basic_indent,·level+morelevel);
 53 ·93·}
 54 95·inline·Indent&·operator++()·{·++level;·return·*this;·}
 55 97·inline·Indent&·operator--()·{·if·(·level·>·0·)·--level;·return·*this;·}
 56 ·98
 57 ·100·friend·inline·std::ostream&·operator<<(std::ostream&·s,
 58 ·101·const·Indent&·indent);
 59 ·102·};
 60 ·103
 61 105·inline·std::ostream&·operator<<(std::ostream&·s,·const·Indent&·indent)·{
 62 ·106·if(indent.parent)
 63 ·107·s·<<·*indent.parent;
 64 ·108·for(unsigned·i·=·0;·i·<·indent.level;·++i)
 65 ·109·s·<<·indent.basic_indent;
 66 ·110·return·s;
 67 ·111·}
20 ·1168 ·112
21 ·12·//·used·internally·by·assertCallOnce·for·the·actual·check 
22 ·13·void·doAssertCallOnce(const·char·*file,·int·line,·const·char·*function); 
23 ·14 
24 ·17 
25 35·inline·void·assertCallOnce(const·char·*file·=·nullptr,·int·line·=·-1, 
26 ·36·const·char·*function·=·nullptr) 
27 ·37·{ 
28 ·38·//·make·sure·to·call·this·only·the·first·time·this·function·is·invoked 
29 ·39·[[maybe_unused]]·static·const·bool·works 
30 ·40·=·(doAssertCallOnce(file,·line,·function),·true); 
31 ·41·} 
32 ·42 
33 ·45 
34 49#define·DUNE_ASSERT_CALL_ONCE()·\ 
35 ·50·::Dune::assertCallOnce(__FILE__,·__LINE__,·__func__) 
36 ·51 
37 ·52}·//·namespace·Dune69 ·115}·//·namespace·Dune
38 ·5370 ·116
39 ·54#endif·//·DUNE_COMMON_STDTHREAD_HH71 ·117#endif·//·DUNE_COMMON_INDENT_HH
 72 Dune::Indent::operator+
 73 Indent·operator+(const·std::string·&newindent)·const
 74 create·new·indentation·object·with·this·one·as·parent
 75 Definition:·indent.hh:87
 76 Dune::Indent::Indent
 77 Indent(unsigned·level_)
 78 setup·without·parent·and·basic_indentation·of·two·spaces
 79 Definition:·indent.hh:68
 80 Dune::Indent::operator+
 81 Indent·operator+(unsigned·morelevel)·const
 82 create·a·copy·of·this·indentation·object·with·raised·level
 83 Definition:·indent.hh:91
 84 Dune::Indent::Indent
 85 Indent(const·Indent·*parent_,·unsigned·level_)
 86 setup·with·parent
 87 Definition:·indent.hh:82
 88 Dune::Indent::operator++
 89 Indent·&·operator++()
 90 raise·indentation·level
 91 Definition:·indent.hh:95
 92 Dune::Indent::Indent
 93 Indent(const·std::string·&basic_indent_="·",·unsigned·level_=0)
 94 setup·without·parent
 95 Definition:·indent.hh:63
 96 Dune::Indent::operator--
 97 Indent·&·operator--()
 98 lower·indentation·level
 99 Definition:·indent.hh:97
 100 Dune::Indent::operator<<
 101 friend·std::ostream·&·operator<<(std::ostream·&s,·const·Indent·&indent)
 102 write·indentation·to·a·stream
 103 Definition:·indent.hh:105
 104 Dune::Indent::Indent
 105 Indent(const·Indent·*parent_,·const·std::string·&basic_indent_="·",·unsigned
 106 level_=1)
 107 setup·with·parent
 108 Definition:·indent.hh:76
Max diff block lines reached; 613/4748 bytes (12.91%) of diff not shown.
31.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00251.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·fmatrix.hh·File·Reference</title>8 <title>dune-common:·bigunsignedint.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 104 lines modifiedOffset 65, 97 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
 72 <a·href="#define-members">Macros</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>73 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">fmatrix.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">bigunsignedint.hh·File·Reference</div></div>
74 </div><!--header-->75 </div><!--header-->
75 <div·class="contents">76 <div·class="contents">
  
76 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.··77 <p>Portable·very·large·unsigned·integers.··
77 <a·href="#details">More...</a></p>78 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
79 <code>#include·&lt;cstddef&gt;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/>80 <code>#include·&lt;iostream&gt;</code><br·/>
81 <code>#include·&lt;algorithm&gt;</code><br·/>81 <code>#include·&lt;limits&gt;</code><br·/>
82 <code>#include·&lt;initializer_list&gt;</code><br·/>82 <code>#include·&lt;cstdint&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>83 <code>#include·&lt;cstdlib&gt;</code><br·/>
 84 <code>#include·&lt;type_traits&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/hash.hh</a>&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/precision.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00233_source.html">dune/common/matrixconcepts.hh</a>&gt;</code><br·/> 
91 <code>#include·&quot;<a·class="el"·href="a00095_source.html">fmatrixev.hh</a>&quot;</code><br·/> 
92 </div>87 </div>
93 <p><a·href="a00251_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00251_source.html">Go·to·the·source·code·of·this·file.</a></p>
94 <table·class="memberdecls">89 <table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
96 Classes</h2></td></tr>91 Classes</h2></td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01732.html">Dune::DenseMatVecTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01296.html">Dune::bigunsignedint&lt;·k·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Portable·very·large·unsigned·integers.··<a·href="a01296.html#details">More...</a><br·/></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01736.html">Dune::FieldTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01304.html">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Declare·big·unsigned·int·is·a·number.··<a·href="a01304.html#details">More...</a><br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01308.html">std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&gt;</a></td></tr>
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01408.html">Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;</a></td></tr> 
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·dense·n·x·m·matrix.··<a·href="a01408.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
106 Namespaces</h2></td></tr>102 Namespaces</h2></td></tr>
107 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>103 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
108 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:a00436"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00436.html">Dune::FMatrixHelp</a></td></tr>106 <tr·class="memitem:a00424"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00424.html">std</a></td></tr>
 107 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table><table·class="memberdecls">109 </table><table·class="memberdecls">
 110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 111 Macros</h2></td></tr>
 112 <tr·class="memitem:gaf87f343423f6514fb0bea86e67539446"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">DUNE_BINOP</a>(OP)</td></tr>
 113 <tr·class="separator:gaf87f343423f6514fb0bea86e67539446"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 </table><table·class="memberdecls">
113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
114 Functions</h2></td></tr>116 Functions</h2></td></tr>
115 <tr·class="memitem:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>117 <tr·class="memitem:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 118 <tr·class="memitem:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</td></tr>
116 <tr·class="memitem:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a9f70ac3f14f482a99d4e01ada277d5c1">Dune::FMatrixHelp::invertMatrix</a>·(const·FieldMatrix&lt;·K,·1,·1·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·1,·1·&gt;·&amp;inverse)</td></tr> 
117 <tr·class="memdesc:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·scalar·without·changing·the·original·matrix··<a·href="a00436.html#a9f70ac3f14f482a99d4e01ada277d5c1">More...</a><br·/></td></tr> 
118 <tr·class="separator:a9f70ac3f14f482a99d4e01ada277d5c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:a67155815b034773129d21bfe3992f0b6"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>120 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 121 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gaa1064cddd9687941b214fd8fb438922b">Dune::operator+</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
120 <tr·class="memitem:a67155815b034773129d21bfe3992f0b6"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a67155815b034773129d21bfe3992f0b6">Dune::FMatrixHelp::invertMatrix_retTransposed</a>·(const·FieldMatrix&lt;·K,·1,·1·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·1,·1·&gt;·&amp;inverse)</td></tr> 
121 <tr·class="memdesc:a67155815b034773129d21bfe3992f0b6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·scalar·without·changing·the·original·matrix··<a·href="a00436.html#a67155815b034773129d21bfe3992f0b6">More...</a><br·/></td></tr> 
122 <tr·class="separator:a67155815b034773129d21bfe3992f0b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:gaa1064cddd9687941b214fd8fb438922b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:a27757ac69a505e206e82b5b184333f15"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr> 
124 <tr·class="memitem:a27757ac69a505e206e82b5b184333f15"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a27757ac69a505e206e82b5b184333f15">Dune::FMatrixHelp::invertMatrix</a>·(const·FieldMatrix&lt;·K,·2,·2·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·2,·2·&gt;·&amp;inverse)</td></tr> 
125 <tr·class="memdesc:a27757ac69a505e206e82b5b184333f15"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·2x2·Matrix·without·changing·the·original·matrix··<a·href="a00436.html#a27757ac69a505e206e82b5b184333f15">More...</a><br·/></td></tr> 
126 <tr·class="separator:a27757ac69a505e206e82b5b184333f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>123 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
128 <tr·class="memitem:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a4944da58b2dcefc979ea0fccf87971c4">Dune::FMatrixHelp::invertMatrix_r[·...·truncated·by·diffoscope;·len:·107,·SHA:·b2aa037193dc8415d8b16a264d546de50bbe172e4b157bce18930e2734123a2f·...·])</td></tr>124 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga80f9fd2604e395d902fb0df692cdaca4">Dune::operator[·...·truncated·by·diffoscope;·len:·63,·SHA:·e4c0e4d9e2cf447f822ed3081b2e4ae6f812df7fc73fcfea2f66415201ffc781·...·])</td></tr>
129 <tr·class="separator:a4944da58b2dcefc979ea0fccf87971c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
130 <tr·class="memitem:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>126 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 127 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga18a74c0d02300748edcf3bc9c58eaf27">Dune::operator*</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
131 <tr·class="memitem:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a8569be33ba4985b1ceda0e3bc05aadd8">Dune::FMatrixHelp::invertMatrix</a>·(const·FieldMatrix&lt;·K,·3,·3·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·3,·3·&gt;·&amp;inverse)</td></tr> 
132 <tr·class="memdesc:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·3x3·Matrix·without·changing·the·original·matrix··<a·href="a00436.html#a8569be33ba4985b1ceda0e3bc05aadd8">More...</a><br·/></td></tr> 
133 <tr·class="separator:a8569be33ba4985b1ceda0e3bc05aadd8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>128 <tr·class="separator:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
134 <tr·class="memitem:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·&gt;·</td></tr>129 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 130 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga5e2147f08b4e20eb876456a231859903">Dune::operator/</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
135 <tr·class="memitem:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memTemplItemLeft"·align="right"·valign="top">static·K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a6ae34a44709f5ad6bae281284d08bc8a">Dune::FMatrixHelp::invertMatrix_retTransposed</a>·(const·FieldMatrix&lt;·K,·3,·3·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·3,·3·&gt;·&amp;inverse)</td></tr> 
136 <tr·class="memdesc:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">invert·3x3·Matrix·without·changing·the·original·matrix··<a·href="a00436.html#a6ae34a44709f5ad6bae281284d08bc8a">More...</a><br·/></td></tr> 
137 <tr·class="separator:a6ae34a44709f5ad6bae281284d08bc8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>131 <tr·class="separator:ga5e2147f08b4e20eb876456a231859903"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 133 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gac8578d991f3565183d9abd2d808f97b9">Dune::operator%</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr>
 134 <tr·class="separator:gac8578d991f3565183d9abd2d808f97b9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 136 <tr·class="memitem:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga9901a23c0dce52758f24f6d1cade43e8">Dune::operator+</a>·(std::uintmax_t·x,·const·bigunsignedint&lt;·k·&gt;·&amp;y)</td></tr>
 137 <tr·class="separator:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:gaa560c3307467da3720ab83b11334572a"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 139 <tr·class="memitem:gaa560c3307467da3720ab83b11334572a"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gaa560c3307467da3720ab83b11334572a">Dune::operator-</a>·(std::uintmax_t·x,·const·bigunsignedint&lt;·k·&gt;·&amp;y)</td></tr>
 140 <tr·class="separator:gaa560c3307467da3720ab83b11334572a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:ga21e8f5650bf767702eb604232468e1cc"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 142 <tr·class="memitem:ga21e8f5650bf767702eb604232468e1cc"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga21e8f5650bf767702eb604232468e1cc">Dune::operator*</a>·(std::uintmax_t·x,·const·bigunsignedint&lt;·k·&gt;·&amp;y)</td></tr>
 143 <tr·class="separator:ga21e8f5650bf767702eb604232468e1cc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
138 <tr·class="memitem:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memTemplParams"·colspan="2">template&lt;class·K·,·int·m,·int·n,·int·p&gt;·</td></tr>144 <tr·class="memitem:ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 145 <tr·class="memitem:ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga5a699f8fd400fcf19a3743d60dd64fb0">Dune::operator/</a>·(std::uintmax_t·x,·const·bigunsignedint&lt;·k·&gt;·&amp;y)</td></tr>
139 <tr·class="memitem:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a95f823a566af9fca2f8f4add5bea7bc0">Dune::FMatrixHelp::multMatrix</a>·(const·FieldMatrix&lt;·K,·m,·n·&gt;·&amp;A,·const·FieldMatrix&lt;·K,·n,·p·&gt;·&amp;B,·FieldMatrix&lt;·K,·m,·p·&gt;·&amp;ret)</td></tr> 
140 <tr·class="memdesc:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·A·*·B··<a·href="a00436.html#a95f823a566af9fca2f8f4add5bea7bc0">More...</a><br·/></td></tr> 
141 <tr·class="separator:a95f823a566af9fca2f8f4add5bea7bc0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>146 <tr·class="separator:ga5a699f8fd400fcf19a3743d60dd64fb0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:ga73959b8d904c046a773200eb2a4bc020"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr>
 148 <tr·class="memitem:ga73959b8d904c046a773200eb2a4bc020"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga73959b8d904c046a773200eb2a4bc020">Dune::operator%</a>·(std::uintmax_t·x,·const·bigunsignedint&lt;·k·&gt;·&amp;y)</td></tr>
142 <tr·class="memitem:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·int·rows,·int·cols&gt;·</td></tr> 
143 <tr·class="memitem:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#aed0b39ddfc6a99aed9241609b0bbfbc0">Dune::FMatrixHelp::multTransposedMatrix</a>·(const·FieldMatrix&lt;·K,·rows,·cols·&gt;·&amp;matrix,·FieldMatrix&lt;·K,·cols,·cols·&gt;·&amp;ret)</td></tr> 
144 <tr·class="memdesc:aed0b39ddfc6a99aed9241609b0bbfbc0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret=·A_t*A··<a·href="a00436.html#aed0b39ddfc6a99aed9241609b0bbfbc0">More...</a><br·/></td></tr> 
Max diff block lines reached; 687/24803 bytes (2.77%) of diff not shown.
7.02 KB
html2text {}
    
Offset 4, 119 lines modifiedOffset 4, 90 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Classes·|·Namespaces·|·Macros·|·Functions
 8 bigunsignedint.hh·File·Reference
 9 Portable·very·large·unsigned·integers.·More...
8 fmatrix.hh·File·Reference 
9 Common·»·Dense_Matrix_and_Vector_Template_Library 
10 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and 
11 compile-time·given·number·of·rows·and·columns.·More... 
12 #include·<cmath> 
13 #include·<cstddef> 
14 #include·<iostream> 
15 #include·<algorithm>10 #include·<algorithm>
16 #include·<initializer_list> 
17 #include·<dune/common/boundschecking.hh>11 #include·<iostream>
 12 #include·<limits>
 13 #include·<cstdint>
 14 #include·<cstdlib>
 15 #include·<type_traits>
18 #include·<dune/common/exceptions.hh>16 #include·<dune/common/exceptions.hh>
19 #include·<dune/common/fvector.hh> 
20 #include·<dune/common/densematrix.hh> 
21 #include·<dune/common/precision.hh> 
22 #include·<dune/common/promotiontraits.hh> 
23 #include·<dune/common/typetraits.hh>17 #include·<dune/common/hash.hh>
24 #include·<dune/common/matrixconcepts.hh> 
25 #include·"fmatrixev.hh" 
26 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
27 ·Classes19 ·Classes
28 struct· Dune::DenseMatVecTraits<_FieldMatrix<_K,_ROWS,_COLS_>_>20 ·class· Dune::bigunsignedint<_k_>
 21  ·······Portable·very·large·unsigned·integers.·More...
29  22  
30 struct· Dune::FieldTraits<_FieldMatrix<_K,_ROWS,_COLS_>_>23 struct· Dune::IsNumber<_bigunsignedint<_k_>_>
 24  ·······Declare·big·unsigned·int·is·a·number.·More...
31  25  
 26 struct· std::numeric_limits<_Dune::bigunsignedint<_k_>_>
32 ·class· Dune::FieldMatrix<_K,_ROWS,_COLS_> 
33  ·······A·dense·n·x·m·matrix.·More... 
34  27  
35 ·Namespaces28 ·Namespaces
36 namespace· Dune29 namespace· Dune
37  ··········Dune·namespace.30  ··········Dune·namespace.
38  31  
39 namespace· Dune::FMatrixHelp32 namespace· std
 33  ··········STL·namespace.
 34  
 35 ·Macros
 36 #define DUNE_BINOP(OP)
40  37  
41 ·Functions38 ·Functions
 39 template<int·k>
 40 ·····std::ostream·& Dune::operator<<·(std::ostream·&s,·const·bigunsignedint<·k
 41 ·····················>·&x)
42 template<typename·K·> 
43 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const 
44 ·······························FieldMatrix<·K,·1,·1·>·&matrix,·FieldMatrix<·K, 
45 ·······························1,·1·>·&inverse) 
46  ·····························invert·scalar·without·changing·the·original 
47 ·······························matrix·More... 
48  42  
 43 template<int·k>
 44 bigunsignedint<·k·> Dune::operator+·(const·bigunsignedint<·k·>·&x,·std::
 45 ·····················uintmax_t·y)
49 template<typename·K·> 
50 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed 
51 ·······························(const·FieldMatrix<·K,·1,·1·>·&matrix, 
52 ·······························FieldMatrix<·K,·1,·1·>·&inverse) 
53  ·····························invert·scalar·without·changing·the·original 
54 ·······························matrix·More... 
55  46  
 47 template<int·k>
 48 bigunsignedint<·k·> Dune::operator-·(const·bigunsignedint<·k·>·&x,·std::
 49 ·····················uintmax_t·y)
56 template<typename·K·> 
57 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const 
58 ·······························FieldMatrix<·K,·2,·2·>·&matrix,·FieldMatrix<·K, 
59 ·······························2,·2·>·&inverse) 
60  ·····························invert·2x2·Matrix·without·changing·the·original 
61 ·······························matrix·More... 
62  50  
 51 template<int·k>
 52 bigunsignedint<·k·> Dune::operator*·(const·bigunsignedint<·k·>·&x,·std::
 53 ·····················uintmax_t·y)
63 template<typename·K·> 
64 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed 
65 ·······························(const·FieldMatrix<·K,·2,·2·>·&matrix, 
66 ·······························FieldMatrix<·K,·2,·2·>·&inverse) 
67  54  
 55 template<int·k>
 56 bigunsignedint<·k·> Dune::operator/·(const·bigunsignedint<·k·>·&x,·std::
 57 ·····················uintmax_t·y)
68 template<typename·K·> 
69 ·····················static·K Dune::FMatrixHelp::invertMatrix·(const 
70 ·······························FieldMatrix<·K,·3,·3·>·&matrix,·FieldMatrix<·K, 
71 ·······························3,·3·>·&inverse) 
72  ·····························invert·3x3·Matrix·without·changing·the·original 
73 ·······························matrix·More... 
74  58  
 59 template<int·k>
 60 bigunsignedint<·k·> Dune::operator%·(const·bigunsignedint<·k·>·&x,·std::
 61 ·····················uintmax_t·y)
75 template<typename·K·> 
76 ·····················static·K Dune::FMatrixHelp::invertMatrix_retTransposed 
77 ·······························(const·FieldMatrix<·K,·3,·3·>·&matrix, 
78 ·······························FieldMatrix<·K,·3,·3·>·&inverse) 
79  ·····························invert·3x3·Matrix·without·changing·the·original 
80 ·······························matrix·More... 
81  62  
 63 template<int·k>
 64 bigunsignedint<·k·> Dune::operator+·(std::uintmax_t·x,·const·bigunsignedint<·k
 65 ·····················>·&y)
82 template<class·K·,·int·m,·int·n,·int·p> 
83 ··················static·void Dune::FMatrixHelp::multMatrix·(const 
84 ·······························FieldMatrix<·K,·m,·n·>·&A,·const·FieldMatrix<·K, 
85 ·······························n,·p·>·&B,·FieldMatrix<·K,·m,·p·>·&ret) 
86  ·····························calculates·ret·=·A·*·B·More... 
87  66  
 67 template<int·k>
 68 bigunsignedint<·k·> Dune::operator-·(std::uintmax_t·x,·const·bigunsignedint<·k
 69 ·····················>·&y)
88 template<typename·K·,·int·rows,·int·cols> 
89 ··················static·void Dune::FMatrixHelp::multTransposedMatrix·(const 
Max diff block lines reached; 347/7166 bytes (4.84%) of diff not shown.
1.34 MB
./usr/share/doc/libdune-common-doc/doxygen/a00251_source.html
    
Offset 21, 10366 lines modifiedOffset 21, 9101 lines modified
00000140:·6f6e·7465·6e74·3d22·446f·7879·6765·6e20··ontent="Doxygen·00000140:·6f6e·7465·6e74·3d22·446f·7879·6765·6e20··ontent="Doxygen·
00000150:·312e·392e·3422·2f3e·0a3c·6d65·7461·206e··1.9.4"/>.<meta·n00000150:·312e·392e·3422·2f3e·0a3c·6d65·7461·206e··1.9.4"/>.<meta·n
00000160:·616d·653d·2276·6965·7770·6f72·7422·2063··ame="viewport"·c00000160:·616d·653d·2276·6965·7770·6f72·7422·2063··ame="viewport"·c
00000170:·6f6e·7465·6e74·3d22·7769·6474·683d·6465··ontent="width=de00000170:·6f6e·7465·6e74·3d22·7769·6474·683d·6465··ontent="width=de
00000180:·7669·6365·2d77·6964·7468·2c20·696e·6974··vice-width,·init00000180:·7669·6365·2d77·6964·7468·2c20·696e·6974··vice-width,·init
00000190:·6961·6c2d·7363·616c·653d·3122·2f3e·0a3c··ial-scale=1"/>.<00000190:·6961·6c2d·7363·616c·653d·3122·2f3e·0a3c··ial-scale=1"/>.<
Diff chunk too large, falling back to line-by-line diff (3351 lines added, 3351 lines removed)
000001a0:·7469·746c·653e·6475·6e65·2d63·6f6d·6d6f··title>dune-commo000001a0:·7469·746c·653e·6475·6e65·2d63·6f6d·6d6f··title>dune-commo
000001b0:·6e3a·2066·6d61·7472·6978·2e68·6820·536f··n:·fmatrix.hh·So000001b0:·6e3a·2062·6967·756e·7369·676e·6564·696e··n:·bigunsignedin
000001c0:·7572·6365·2046·696c·653c·2f74·6974·6c65··urce·File</title000001c0:·742e·6868·2053·6f75·7263·6520·4669·6c65··t.hh·Source·File
000001d0:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7461··>.<link·href="ta000001d0:·3c2f·7469·746c·653e·0a3c·6c69·6e6b·2068··</title>.<link·h
000001e0:·6273·2e63·7373·2220·7265·6c3d·2273·7479··bs.css"·rel="sty000001e0:·7265·663d·2274·6162·732e·6373·7322·2072··ref="tabs.css"·r
000001f0:·6c65·7368·6565·7422·2074·7970·653d·2274··lesheet"·type="t000001f0:·656c·3d22·7374·796c·6573·6865·6574·2220··el="stylesheet"·
00000200:·6578·742f·6373·7322·2f3e·0a3c·7363·7269··ext/css"/>.<scri00000200:·7479·7065·3d22·7465·7874·2f63·7373·222f··type="text/css"/
00000210:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja00000210:·3e0a·3c73·6372·6970·7420·7479·7065·3d22··>.<script·type="
00000220:·7661·7363·7269·7074·2220·7372·633d·226a··vascript"·src="j00000220:·7465·7874·2f6a·6176·6173·6372·6970·7422··text/javascript"
00000230:·7175·6572·792e·6a73·223e·3c2f·7363·7269··query.js"></scri00000230:·2073·7263·3d22·6a71·7565·7279·2e6a·7322···src="jquery.js"
00000240:·7074·3e0a·3c73·6372·6970·7420·7479·7065··pt>.<script·type00000240:·3e3c·2f73·6372·6970·743e·0a3c·7363·7269··></script>.<scri
00000250:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip00000250:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja
00000260:·7422·2073·7263·3d22·6479·6e73·6563·7469··t"·src="dynsecti00000260:·7661·7363·7269·7074·2220·7372·633d·2264··vascript"·src="d
00000270:·6f6e·732e·6a73·223e·3c2f·7363·7269·7074··ons.js"></script00000270:·796e·7365·6374·696f·6e73·2e6a·7322·3e3c··ynsections.js"><
00000280:·3e0a·3c6c·696e·6b20·6872·6566·3d22·7365··>.<link·href="se00000280:·2f73·6372·6970·743e·0a3c·6c69·6e6b·2068··/script>.<link·h
00000290:·6172·6368·2f73·6561·7263·682e·6373·7322··arch/search.css"00000290:·7265·663d·2273·6561·7263·682f·7365·6172··ref="search/sear
000002a0:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet000002a0:·6368·2e63·7373·2220·7265·6c3d·2273·7479··ch.css"·rel="sty
000002b0:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css000002b0:·6c65·7368·6565·7422·2074·7970·653d·2274··lesheet"·type="t
000002c0:·222f·3e0a·3c73·6372·6970·7420·7479·7065··"/>.<script·type000002c0:·6578·742f·6373·7322·2f3e·0a3c·7363·7269··ext/css"/>.<scri
000002d0:·3d22·7465·7874·2f6a·6176·6173·6372·6970··="text/javascrip000002d0:·7074·2074·7970·653d·2274·6578·742f·6a61··pt·type="text/ja
000002e0:·7422·2073·7263·3d22·7365·6172·6368·2f73··t"·src="search/s000002e0:·7661·7363·7269·7074·2220·7372·633d·2273··vascript"·src="s
000002f0:·6561·7263·6864·6174·612e·6a73·223e·3c2f··earchdata.js"></000002f0:·6561·7263·682f·7365·6172·6368·6461·7461··earch/searchdata
00000300:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·00000300:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<
00000310:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas00000310:·7363·7269·7074·2074·7970·653d·2274·6578··script·type="tex
00000320:·6372·6970·7422·2073·7263·3d22·7365·6172··cript"·src="sear00000320:·742f·6a61·7661·7363·7269·7074·2220·7372··t/javascript"·sr
00000330:·6368·2f73·6561·7263·682e·6a73·223e·3c2f··ch/search.js"></00000330:·633d·2273·6561·7263·682f·7365·6172·6368··c="search/search
00000340:·7363·7269·7074·3e0a·3c6c·696e·6b20·6872··script>.<link·hr00000340:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<
00000350:·6566·3d22·646f·7879·6765·6e2e·6373·7322··ef="doxygen.css"00000350:·6c69·6e6b·2068·7265·663d·2264·6f78·7967··link·href="doxyg
00000360:·2072·656c·3d22·7374·796c·6573·6865·6574···rel="stylesheet00000360:·656e·2e63·7373·2220·7265·6c3d·2273·7479··en.css"·rel="sty
00000370:·2220·7479·7065·3d22·7465·7874·2f63·7373··"·type="text/css00000370:·6c65·7368·6565·7422·2074·7970·653d·2274··lesheet"·type="t
00000380:·2220·2f3e·0a3c·2f68·6561·643e·0a3c·626f··"·/>.</head>.<bo00000380:·6578·742f·6373·7322·202f·3e0a·3c2f·6865··ext/css"·/>.</he
00000390:·6479·3e0a·3c64·6976·2069·643d·2274·6f70··dy>.<div·id="top00000390:·6164·3e0a·3c62·6f64·793e·0a3c·6469·7620··ad>.<body>.<div·
000003a0:·223e·3c21·2d2d·2064·6f20·6e6f·7420·7265··"><!--·do·not·re000003a0:·6964·3d22·746f·7022·3e3c·212d·2d20·646f··id="top"><!--·do
000003b0:·6d6f·7665·2074·6869·7320·6469·762c·2069··move·this·div,·i000003b0:·206e·6f74·2072·656d·6f76·6520·7468·6973···not·remove·this
000003c0:·7420·6973·2063·6c6f·7365·6420·6279·2064··t·is·closed·by·d000003c0:·2064·6976·2c20·6974·2069·7320·636c·6f73···div,·it·is·clos
000003d0:·6f78·7967·656e·2120·2d2d·3e0a·3c64·6976··oxygen!·-->.<div000003d0:·6564·2062·7920·646f·7879·6765·6e21·202d··ed·by·doxygen!·-
000003e0:·2069·643d·2274·6974·6c65·6172·6561·223e···id="titlearea">000003e0:·2d3e·0a3c·6469·7620·6964·3d22·7469·746c··->.<div·id="titl
000003f0:·0a3c·7461·626c·6520·6365·6c6c·7370·6163··.<table·cellspac000003f0:·6561·7265·6122·3e0a·3c74·6162·6c65·2063··earea">.<table·c
00000400:·696e·673d·2230·2220·6365·6c6c·7061·6464··ing="0"·cellpadd00000400:·656c·6c73·7061·6369·6e67·3d22·3022·2063··ellspacing="0"·c
00000410:·696e·673d·2230·223e·0a20·3c74·626f·6479··ing="0">.·<tbody00000410:·656c·6c70·6164·6469·6e67·3d22·3022·3e0a··ellpadding="0">.
00000420:·3e0a·203c·7472·2069·643d·2270·726f·6a65··>.·<tr·id="proje00000420:·203c·7462·6f64·793e·0a20·3c74·7220·6964···<tbody>.·<tr·id
00000430:·6374·726f·7722·3e0a·2020·3c74·6420·6964··ctrow">.··<td·id00000430:·3d22·7072·6f6a·6563·7472·6f77·223e·0a20··="projectrow">.·
00000440:·3d22·7072·6f6a·6563·7461·6c69·676e·223e··="projectalign">00000440:·203c·7464·2069·643d·2270·726f·6a65·6374···<td·id="project
00000450:·0a20·2020·3c64·6976·2069·643d·2270·726f··.···<div·id="pro00000450:·616c·6967·6e22·3e0a·2020·203c·6469·7620··align">.···<div·
00000460:·6a65·6374·6e61·6d65·223e·6475·6e65·2d63··jectname">dune-c00000460:·6964·3d22·7072·6f6a·6563·746e·616d·6522··id="projectname"
00000470:·6f6d·6d6f·6e3c·7370·616e·2069·643d·2270··ommon<span·id="p00000470:·3e64·756e·652d·636f·6d6d·6f6e·3c73·7061··>dune-common<spa
00000480:·726f·6a65·6374·6e75·6d62·6572·223e·2623··rojectnumber">&#00000480:·6e20·6964·3d22·7072·6f6a·6563·746e·756d··n·id="projectnum
00000490:·3136·303b·322e·392e·303c·2f73·7061·6e3e··160;2.9.0</span>00000490:·6265·7222·3e26·2331·3630·3b32·2e39·2e30··ber">&#160;2.9.0
000004a0:·0a20·2020·3c2f·6469·763e·0a20·203c·2f74··.···</div>.··</t000004a0:·3c2f·7370·616e·3e0a·2020·203c·2f64·6976··</span>.···</div
000004b0:·643e·0a20·3c2f·7472·3e0a·203c·2f74·626f··d>.·</tr>.·</tbo000004b0:·3e0a·2020·3c2f·7464·3e0a·203c·2f74·723e··>.··</td>.·</tr>
000004c0:·6479·3e0a·3c2f·7461·626c·653e·0a3c·2f64··dy>.</table>.</d000004c0:·0a20·3c2f·7462·6f64·793e·0a3c·2f74·6162··.·</tbody>.</tab
000004d0:·6976·3e0a·3c21·2d2d·2065·6e64·2068·6561··iv>.<!--·end·hea000004d0:·6c65·3e0a·3c2f·6469·763e·0a3c·212d·2d20··le>.</div>.<!--·
000004e0:·6465·7220·7061·7274·202d·2d3e·0a3c·212d··der·part·-->.<!-000004e0:·656e·6420·6865·6164·6572·2070·6172·7420··end·header·part·
000004f0:·2d20·4765·6e65·7261·7465·6420·6279·2044··-·Generated·by·D000004f0:·2d2d·3e0a·3c21·2d2d·2047·656e·6572·6174··-->.<!--·Generat
00000500:·6f78·7967·656e·2031·2e39·2e34·202d·2d3e··oxygen·1.9.4·-->00000500:·6564·2062·7920·446f·7879·6765·6e20·312e··ed·by·Doxygen·1.
00000510:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000510:·392e·3420·2d2d·3e0a·3c73·6372·6970·7420··9.4·-->.<script·
00000520:·6578·742f·6a61·7661·7363·7269·7074·223e··ext/javascript">00000520:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000530:·0a2f·2a20·406c·6963·656e·7365·206d·6167··./*·@license·mag00000530:·6372·6970·7422·3e0a·2f2a·2040·6c69·6365··cript">./*·@lice
00000540:·6e65·743a·3f78·743d·7572·6e3a·6274·6968··net:?xt=urn:btih00000540:·6e73·6520·6d61·676e·6574·3a3f·7874·3d75··nse·magnet:?xt=u
00000550:·3a64·3364·3961·3961·3635·3935·3532·3166··:d3d9a9a6595521f00000550:·726e·3a62·7469·683a·6433·6439·6139·6136··rn:btih:d3d9a9a6
00000560:·3936·3636·6135·6539·3463·6338·3330·6461··9666a5e94cc830da00000560:·3539·3535·3231·6639·3636·3661·3565·3934··595521f9666a5e94
00000570:·6238·3362·3635·3639·3926·616d·703b·646e··b83b65699&amp;dn00000570:·6363·3833·3064·6162·3833·6236·3536·3939··cc830dab83b65699
00000580:·3d65·7870·6174·2e74·7874·204d·4954·202a··=expat.txt·MIT·*00000580:·2661·6d70·3b64·6e3d·6578·7061·742e·7478··&amp;dn=expat.tx
00000590:·2f0a·7661·7220·7365·6172·6368·426f·7820··/.var·searchBox·00000590:·7420·4d49·5420·2a2f·0a76·6172·2073·6561··t·MIT·*/.var·sea
000005a0:·3d20·6e65·7720·5365·6172·6368·426f·7828··=·new·SearchBox(000005a0:·7263·6842·6f78·203d·206e·6577·2053·6561··rchBox·=·new·Sea
000005b0:·2273·6561·7263·6842·6f78·222c·2022·7365··"searchBox",·"se000005b0:·7263·6842·6f78·2822·7365·6172·6368·426f··rchBox("searchBo
000005c0:·6172·6368·222c·2753·6561·7263·6827·2c27··arch",'Search','000005c0:·7822·2c20·2273·6561·7263·6822·2c27·5365··x",·"search",'Se
000005d0:·2e68·746d·6c27·293b·0a2f·2a20·406c·6963··.html');./*·@lic000005d0:·6172·6368·272c·272e·6874·6d6c·2729·3b0a··arch','.html');.
000005e0:·656e·7365·2d65·6e64·202a·2f0a·3c2f·7363··ense-end·*/.</sc000005e0:·2f2a·2040·6c69·6365·6e73·652d·656e·6420··/*·@license-end·
000005f0:·7269·7074·3e0a·3c73·6372·6970·7420·7479··ript>.<script·ty000005f0:·2a2f·0a3c·2f73·6372·6970·743e·0a3c·7363··*/.</script>.<sc
00000600:·7065·3d22·7465·7874·2f6a·6176·6173·6372··pe="text/javascr00000600:·7269·7074·2074·7970·653d·2274·6578·742f··ript·type="text/
00000610:·6970·7422·2073·7263·3d22·6d65·6e75·6461··ipt"·src="menuda00000610:·6a61·7661·7363·7269·7074·2220·7372·633d··javascript"·src=
00000620:·7461·2e6a·7322·3e3c·2f73·6372·6970·743e··ta.js"></script>00000620:·226d·656e·7564·6174·612e·6a73·223e·3c2f··"menudata.js"></
00000630:·0a3c·7363·7269·7074·2074·7970·653d·2274··.<script·type="t00000630:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·
00000640:·6578·742f·6a61·7661·7363·7269·7074·2220··ext/javascript"·00000640:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas
00000650:·7372·633d·226d·656e·752e·6a73·223e·3c2f··src="menu.js"></00000650:·6372·6970·7422·2073·7263·3d22·6d65·6e75··cript"·src="menu
00000660:·7363·7269·7074·3e0a·3c73·6372·6970·7420··script>.<script·00000660:·2e6a·7322·3e3c·2f73·6372·6970·743e·0a3c··.js"></script>.<
00000670:·7479·7065·3d22·7465·7874·2f6a·6176·6173··type="text/javas00000670:·7363·7269·7074·2074·7970·653d·2274·6578··script·type="tex
00000680:·6372·6970·7422·3e0a·2f2a·2040·6c69·6365··cript">./*·@lice00000680:·742f·6a61·7661·7363·7269·7074·223e·0a2f··t/javascript">./
00000690:·6e73·6520·6d61·676e·6574·3a3f·7874·3d75··nse·magnet:?xt=u00000690:·2a20·406c·6963·656e·7365·206d·6167·6e65··*·@license·magne
000006a0:·726e·3a62·7469·683a·6433·6439·6139·6136··rn:btih:d3d9a9a6000006a0:·743a·3f78·743d·7572·6e3a·6274·6968·3a64··t:?xt=urn:btih:d
000006b0:·3539·3535·3231·6639·3636·3661·3565·3934··595521f9666a5e94000006b0:·3364·3961·3961·3635·3935·3532·3166·3936··3d9a9a6595521f96
000006c0:·6363·3833·3064·6162·3833·6236·3536·3939··cc830dab83b65699000006c0:·3636·6135·6539·3463·6338·3330·6461·6238··66a5e94cc830dab8
000006d0:·2661·6d70·3b64·6e3d·6578·7061·742e·7478··&amp;dn=expat.tx000006d0:·3362·3635·3639·3926·616d·703b·646e·3d65··3b65699&amp;dn=e
000006e0:·7420·4d49·5420·2a2f·0a24·2866·756e·6374··t·MIT·*/.$(funct000006e0:·7870·6174·2e74·7874·204d·4954·202a·2f0a··xpat.txt·MIT·*/.
000006f0:·696f·6e28·2920·7b0a·2020·696e·6974·4d65··ion()·{.··initMe000006f0:·2428·6675·6e63·7469·6f6e·2829·207b·0a20··$(function()·{.·
00000700:·6e75·2827·272c·7472·7565·2c66·616c·7365··nu('',true,false00000700:·2069·6e69·744d·656e·7528·2727·2c74·7275···initMenu('',tru
00000710:·2c27·7365·6172·6368·2e70·6870·272c·2753··,'search.php','S00000710:·652c·6661·6c73·652c·2773·6561·7263·682e··e,false,'search.
00000720:·6561·7263·6827·293b·0a20·2024·2864·6f63··earch');.··$(doc00000720:·7068·7027·2c27·5365·6172·6368·2729·3b0a··php','Search');.
00000730:·756d·656e·7429·2e72·6561·6479·2866·756e··ument).ready(fun00000730:·2020·2428·646f·6375·6d65·6e74·292e·7265····$(document).re
00000740:·6374·696f·6e28·2920·7b20·696e·6974·5f73··ction()·{·init_s00000740:·6164·7928·6675·6e63·7469·6f6e·2829·207b··ady(function()·{
00000750:·6561·7263·6828·293b·207d·293b·0a7d·293b··earch();·});.});00000750:·2069·6e69·745f·7365·6172·6368·2829·3b20···init_search();·
00000760:·0a2f·2a20·406c·6963·656e·7365·2d65·6e64··./*·@license-end00000760:·7d29·3b0a·7d29·3b0a·2f2a·2040·6c69·6365··});.});./*·@lice
00000770:·202a·2f0a·3c2f·7363·7269·7074·3e0a·3c64···*/.</script>.<d00000770:·6e73·652d·656e·6420·2a2f·0a3c·2f73·6372··nse-end·*/.</scr
00000780:·6976·2069·643d·226d·6169·6e2d·6e61·7622··iv·id="main-nav"00000780:·6970·743e·0a3c·6469·7620·6964·3d22·6d61··ipt>.<div·id="ma
00000790:·3e3c·2f64·6976·3e0a·3c21·2d2d·2077·696e··></div>.<!--·win00000790:·696e·2d6e·6176·223e·3c2f·6469·763e·0a3c··in-nav"></div>.<
000007a0:·646f·7720·7368·6f77·696e·6720·7468·6520··dow·showing·the·000007a0:·212d·2d20·7769·6e64·6f77·2073·686f·7769··!--·window·showi
000007b0:·6669·6c74·6572·206f·7074·696f·6e73·202d··filter·options·-000007b0:·6e67·2074·6865·2066·696c·7465·7220·6f70··ng·the·filter·op
000007c0:·2d3e·0a3c·6469·7620·6964·3d22·4d53·6561··->.<div·id="MSea000007c0:·7469·6f6e·7320·2d2d·3e0a·3c64·6976·2069··tions·-->.<div·i
000007d0:·7263·6853·656c·6563·7457·696e·646f·7722··rchSelectWindow"000007d0:·643d·224d·5365·6172·6368·5365·6c65·6374··d="MSearchSelect
000007e0:·0a20·2020·2020·6f6e·6d6f·7573·656f·7665··.·····onmouseove000007e0:·5769·6e64·6f77·220a·2020·2020·206f·6e6d··Window".·····onm
000007f0:·723d·2272·6574·7572·6e20·7365·6172·6368··r="return·search000007f0:·6f75·7365·6f76·6572·3d22·7265·7475·726e··ouseover="return
00000800:·426f·782e·4f6e·5365·6172·6368·5365·6c65··Box.OnSearchSele00000800:·2073·6561·7263·6842·6f78·2e4f·6e53·6561···searchBox.OnSea
00000810:·6374·5368·6f77·2829·220a·2020·2020·206f··ctShow()".·····o00000810:·7263·6853·656c·6563·7453·686f·7728·2922··rchSelectShow()"
00000820:·6e6d·6f75·7365·6f75·743d·2272·6574·7572··nmouseout="retur00000820:·0a20·2020·2020·6f6e·6d6f·7573·656f·7574··.·····onmouseout
00000830:·6e20·7365·6172·6368·426f·782e·4f6e·5365··n·searchBox.OnSe00000830:·3d22·7265·7475·726e·2073·6561·7263·6842··="return·searchB
00000840:·6172·6368·5365·6c65·6374·4869·6465·2829··archSelectHide()00000840:·6f78·2e4f·6e53·6561·7263·6853·656c·6563··ox.OnSearchSelec
00000850:·220a·2020·2020·206f·6e6b·6579·646f·776e··".·····onkeydown00000850:·7448·6964·6528·2922·0a20·2020·2020·6f6e··tHide()".·····on
00000860:·3d22·7265·7475·726e·2073·6561·7263·6842··="return·searchB00000860:·6b65·7964·6f77·6e3d·2272·6574·7572·6e20··keydown="return·
00000870:·6f78·2e4f·6e53·6561·7263·6853·656c·6563··ox.OnSearchSelec00000870:·7365·6172·6368·426f·782e·4f6e·5365·6172··searchBox.OnSear
00000880:·744b·6579·2865·7665·6e74·2922·3e0a·3c2f··tKey(event)">.</00000880:·6368·5365·6c65·6374·4b65·7928·6576·656e··chSelectKey(even
00000890:·6469·763e·0a0a·3c21·2d2d·2069·6672·616d··div>..<!--·ifram00000890:·7429·223e·0a3c·2f64·6976·3e0a·0a3c·212d··t)">.</div>..<!-
000008a0:·6520·7368·6f77·696e·6720·7468·6520·7365··e·showing·the·se000008a0:·2d20·6966·7261·6d65·2073·686f·7769·6e67··-·iframe·showing
000008b0:·6172·6368·2072·6573·756c·7473·2028·636c··arch·results·(cl000008b0:·2074·6865·2073·6561·7263·6820·7265·7375···the·search·resu
000008c0:·6f73·6564·2062·7920·6465·6661·756c·7429··osed·by·default)000008c0:·6c74·7320·2863·6c6f·7365·6420·6279·2064··lts·(closed·by·d
000008d0:·202d·2d3e·0a3c·6469·7620·6964·3d22·4d53···-->.<div·id="MS000008d0:·6566·6175·6c74·2920·2d2d·3e0a·3c64·6976··efault)·-->.<div
000008e0:·6561·7263·6852·6573·756c·7473·5769·6e64··earchResultsWind000008e0:·2069·643d·224d·5365·6172·6368·5265·7375···id="MSearchResu
000008f0:·6f77·223e·0a3c·6966·7261·6d65·2073·7263··ow">.<iframe·src000008f0:·6c74·7357·696e·646f·7722·3e0a·3c69·6672··ltsWindow">.<ifr
00000900:·3d22·6a61·7661·7363·7269·7074·3a76·6f69··="javascript:voi00000900:·616d·6520·7372·633d·226a·6176·6173·6372··ame·src="javascr
00000910:·6428·3029·2220·6672·616d·6562·6f72·6465··d(0)"·frameborde00000910:·6970·743a·766f·6964·2830·2922·2066·7261··ipt:void(0)"·fra
Max diff block lines reached; 878700/1341715 bytes (65.49%) of diff not shown.
59.4 KB
html2text {}
    
Offset 4, 1065 lines modifiedOffset 4, 923 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 fmatrix.hh7 bigunsignedint.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_FMATRIX_HH 
15 ·6#define·DUNE_FMATRIX_HH 
16 ·714 ·5
 15 ·6#ifndef·DUNE_BIGUNSIGNEDINT_HH
 16 ·7#define·DUNE_BIGUNSIGNEDINT_HH
 17 ·8
17 ·8#include·<cmath>18 ·9#include·<algorithm>
18 ·9#include·<cstddef> 
19 ·10#include·<iostream>19 ·10#include·<iostream>
20 ·11#include·<algorithm>20 ·11#include·<limits>
21 ·12#include·<initializer_list> 
22 ·13 
23 ·14#include·<dune/common/boundschecking.hh>21 ·12#include·<cstdint>
 22 ·13#include·<cstdlib>
 23 ·14#include·<type_traits>
24 ·15#include·<dune/common/exceptions.hh>24 ·15#include·<dune/common/exceptions.hh>
25 ·16#include·<dune/common/fvector.hh>25 ·16#include·<dune/common/hash.hh>
 26 ·17
26 ·17#include·<dune/common/densematrix.hh> 
27 ·18#include·<dune/common/precision.hh> 
28 ·19#include·<dune/common/promotiontraits.hh> 
29 ·20#include·<dune/common/typetraits.hh> 
30 ·21#include·<dune/common/matrixconcepts.hh> 
31 ·22 
32 ·23namespace·Dune27 ·24namespace·Dune
33 ·24{ 
34 ·2528 ·25{
 29 ·26#if·HAVE_MPI
35 ·26·namespace·Impl 
36 ·27·{ 
37 ·28 
38 ·29·template<class·M>30 ·27·template<class·K>
39 ·30·class·ColumnVectorView 
40 ·31·{ 
41 ·32·public: 
42 ·33 
43 ·34·using·value_type·=·typename·M::value_type; 
44 ·35·using·size_type·=·typename·M::size_type; 
45 ·36 
46 ·37·constexpr·ColumnVectorView(M&·matrix,·size_type·col)·: 
47 ·38·matrix_(matrix), 
48 ·39·col_(col) 
49 ·40·{} 
50 ·41 
51 ·42·constexpr·size_type·N·()·const·{ 
52 ·43·return·matrix_.N(); 
53 ·44·} 
54 ·45 
55 ·46·template<class·M_·=·M, 
56 ·47·std::enable_if_t<std::is_same_v<M_,M>·and·not·std::is_const_v<M_>,·int>·= 
57 0> 
58 ·48·constexpr·value_type&·operator[]·(size_type·row)·{ 
59 ·49·return·matrix_[row][col_];31 ·28·struct·MPITraits;
 32 ·29#endif
 33 ·30
 34 ·36·namespace·Impl·{
 35 ·37
 36 ·38·//·numeric_limits_helper·provides·std::numeric_limits·access·to·the
 37 internals
 38 ·39·//·of·bigunsignedint.·Previously,·the·correct·specialization·of·std::
 39 numeric_limits
 40 ·40·//·was·a·friend·of·bigunsignedint,·but·that·creates·problems·on·recent
 41 versions
 42 ·41·//·of·clang·with·the·alternative·libc++·library,·because·that·library
 43 declares·the
 44 ·42·//·base·template·of·std::numeric_limits·as·a·class·and·clang·subsequently
 45 complains
 46 ·43·//·if·the·friend·declaration·uses·'struct'.·Unfortunately,·libstdc++·uses·a
 47 struct,
 48 ·44·//·making·it·impossible·to·keep·clang·happy·for·both·standard·libraries.
 49 ·45·//·So·we·move·the·access·helper·functionality·into·a·custom·struct·and
 50 simply·let
 51 ·46·//·the·numeric_limits·specialization·inherit·from·the·helper.
 52 ·47
 53 ·48·template<typename·T>
 54 ·49·struct·numeric_limits_helper
60 ·50·}55 ·50·{
61 ·5156 ·51
62 ·52·constexpr·const·value_type&·operator[]·(size_type·row)·const·{ 
63 ·53·return·matrix_[row][col_]; 
64 ·54·} 
65 ·55 
66 ·56·protected:57 ·52·protected:
67 ·57·M&·matrix_; 
68 ·58·const·size_type·col_;58 ·53
 59 ·54·static·std::uint16_t&·digit(T&·big_unsigned_int,·std::size_t·i)
 60 ·55·{
 61 ·56·return·big_unsigned_int.digit[i];
 62 ·57·}
 63 ·58
69 ·59·};64 ·59·};
70 ·6065 ·60
71 ·61·}66 ·61·}
72 ·6267 ·62
73 ·63·template<typename·M> 
74 ·64·struct·FieldTraits<·Impl::ColumnVectorView<M>·> 
75 ·65·{ 
76 ·66·using·field_type·=·typename·FieldTraits<M>::field_type; 
77 ·67·using·real_type·=·typename·FieldTraits<M>::real_type; 
78 ·68·}; 
79 ·69 
80 ·81·template<·class·K,·int·ROWS,·int·COLS·=·ROWS·>·class·FieldMatrix; 
81 ·8268 ·72·template<int·k>
 69 73·class·bigunsignedint·{
 70 ·74·public:
 71 ·75
 72 ·76·//·unsigned·short·is·16·bits·wide,·n·is·the·number·of·digits·needed
 73 77·constexpr·static·int·bits·=·std::numeric_limits<std::uint16_t>::digits;
 74 78·constexpr·static·int·n·=·k/bits+(k%bits!=0);
 75 79·constexpr·static·int·hexdigits·=·4;
 76 80·constexpr·static·int·bitmask·=·0xFFFF;
 77 81·constexpr·static·int·compbitmask·=·0xFFFF0000;
 78 82·constexpr·static·int·overflowmask·=·0x1;
Max diff block lines reached; 56972/60852 bytes (93.62%) of diff not shown.
5.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00254.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·matvectraits.hh·File·Reference</title>8 <title>dune-common:·precision.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 36 lines modifiedOffset 65, 38 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>··</div>
72 ··<div·class="headertitle"><div·class="title">matvectraits.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">precision.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.··75 <p>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;stdlib.h&gt;</code><br·/>
 78 </div>
77 <p><a·href="a00254_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00254_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <table·class="memberdecls">80 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
80 Classes</h2></td></tr>82 Classes</h2></td></tr>
81 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01968.html">Dune::DenseMatVecTraits&lt;·T·&gt;</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02428.html">Dune::FMatrixPrecision&lt;·ctype·&gt;</a></td></tr>
 84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Precisions·for·calculations·with·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·and·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a>.··<a·href="a02428.html#details">More...</a><br·/></td></tr>
82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
85 Namespaces</h2></td></tr>88 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>89 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>90 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table>92 </table>
90 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>93 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
91 <div·class="textblock"><p·>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.·</p>94 <div·class="textblock"><p·>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.·</p>
92 </div></div><!--·contents·-->95 </div></div><!--·contents·-->
93 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>97 <hr·class="footer"/><address·class="footer"><small>
95 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.498 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
96 </small></address>99 </small></address>
97 </body>100 </body>
98 </html>101 </html>
1010 B
html2text {}
    
Offset 5, 24 lines modifiedOffset 5, 25 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Classes·|·Namespaces8 Classes·|·Namespaces
9 matvectraits.hh·File·Reference9 precision.hh·File·Reference
10 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation 
11 of·DenseVector·or·DenseMatrix.·More...10 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.
 11 More...
 12 #include·<stdlib.h>
12 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
13 ·Classes14 ·Classes
14 struct· Dune::DenseMatVecTraits<_T_>15 class· Dune::FMatrixPrecision<_ctype_>
 16  ······Precisions·for·calculations·with·FieldMatrix·and·FieldVector.·More...
15  17  
16 ·Namespaces18 ·Namespaces
17 namespace· Dune19 namespace· Dune
18  ··········Dune·namespace.20  ··········Dune·namespace.
19  21  
20 *****·Detailed·Description·*****22 *****·Detailed·Description·*****
 23 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.
21 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation 
22 of·DenseVector·or·DenseMatrix. 
  
23 ===============================================================================24 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.425 ·····Generated·by [doxygen]·1.9.4
11.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00254_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·matvectraits.hh·Source·File</title>8 <title>dune-common:·precision.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 37 lines modifiedOffset 62, 56 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">matvectraits.hh</div></div>68 ··<div·class="headertitle"><div·class="title">precision.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00254.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00254.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATVECTRAITS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PRECISION_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATVECTRAITS_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PRECISION_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;stdlib.h&gt;</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 82 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·ctype·=·<span·class="keywordtype">double</span>&gt;</div>
 83 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02428.html">···25</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02428.html">FMatrixPrecision</a>·{</div>
 84 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">public</span>:</div>
 85 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02428.html#a554b13677982d46917bb1bd05f831aec">···28</a></span>····<span·class="keyword">static</span>·ctype·<a·class="code·hl_function"·href="a02428.html#a554b13677982d46917bb1bd05f831aec">absolute_limit</a>·()</div>
80 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>86 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>
 87 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······<span·class="keywordflow">return</span>·_absolute;</div>
81 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>88 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div>
82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01968.html">···31</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>·{};</div> 
85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>89 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02428.html#aae2188f98a4cc65afa86fc2e5d334b58">···34</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02428.html#aae2188f98a4cc65afa86fc2e5d334b58">set_absolute_limit</a>·(ctype·absthres)</div>
86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}·<span·class="comment">//·end·namespace·Dune</span></div>91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div>
 92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······_absolute·=·absthres;</div>
 93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····}</div>
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">private</span>:</div>
 96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="comment">//·just·to·demonstrate·some·state·information</span></div>
 97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">static</span>·ctype·_absolute;</div>
 98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div>
 99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·ctype&gt;</div>
 101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··ctype·FMatrixPrecision&lt;ctype&gt;::_absolute·=·1E-80;</div>
 102 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 103 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}·<span·class="comment">//·end·namespace</span></div>
 104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FTRAITS_HH</span></div>105 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#endif</span></div>
89 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>106 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
90 <div·class="ttc"·id="aa01968_html"><div·class="ttname"><a·href="a01968.html">Dune::DenseMatVecTraits</a></div><div·class="ttdef"><b>Definition:</b>·matvectraits.hh:31</div></div>107 <div·class="ttc"·id="aa02428_html"><div·class="ttname"><a·href="a02428.html">Dune::FMatrixPrecision</a></div><div·class="ttdoc">Precisions·for·calculations·with·FieldMatrix·and·FieldVector.</div><div·class="ttdef"><b>Definition:</b>·precision.hh:25</div></div>
 108 <div·class="ttc"·id="aa02428_html_a554b13677982d46917bb1bd05f831aec"><div·class="ttname"><a·href="a02428.html#a554b13677982d46917bb1bd05f831aec">Dune::FMatrixPrecision::absolute_limit</a></div><div·class="ttdeci">static·ctype·absolute_limit()</div><div·class="ttdoc">return·threshold·to·declare·matrix·singular</div><div·class="ttdef"><b>Definition:</b>·precision.hh:28</div></div>
 109 <div·class="ttc"·id="aa02428_html_aae2188f98a4cc65afa86fc2e5d334b58"><div·class="ttname"><a·href="a02428.html#aae2188f98a4cc65afa86fc2e5d334b58">Dune::FMatrixPrecision::set_absolute_limit</a></div><div·class="ttdeci">static·void·set_absolute_limit(ctype·absthres)</div><div·class="ttdoc">set·singular·threshold</div><div·class="ttdef"><b>Definition:</b>·precision.hh:34</div></div>
91 </div><!--·fragment·--></div><!--·contents·-->110 </div><!--·fragment·--></div><!--·contents·-->
92 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>114 </small></address>
96 </body>115 </body>
97 </html>116 </html>
1.87 KB
html2text {}
    
Offset 4, 36 lines modifiedOffset 4, 62 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 matvectraits.hh7 precision.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_MATVECTRAITS_HH14 ·5#ifndef·DUNE_PRECISION_HH
15 ·6#define·DUNE_MATVECTRAITS_HH15 ·6#define·DUNE_PRECISION_HH
16 ·716 ·7
17 ·12namespace·Dune·{17 ·12#include·<stdlib.h>
18 ·1318 ·13
19 ·22 
20 ·24 
21 ·26 
22 ·30·template<class·T> 
23 31·struct·DenseMatVecTraits·{};19 ·14namespace·Dune·{
 20 ·15
 21 ·24·template·<class·ctype·=·double>
 22 25·class·FMatrixPrecision·{
 23 ·26·public:
 24 28·static·ctype·absolute_limit·()
 25 ·29·{
 26 ·30·return·_absolute;
 27 ·31·}
24 ·3228 ·32
 29 34·static·void·set_absolute_limit·(ctype·absthres)
 30 ·35·{
 31 ·36·_absolute·=·absthres;
 32 ·37·}
 33 ·38
 34 ·39·private:
 35 ·40·//·just·to·demonstrate·some·state·information
 36 ·41·static·ctype·_absolute;
 37 ·42·};
 38 ·43
 39 ·44·template·<class·ctype>
 40 ·45·ctype·FMatrixPrecision<ctype>::_absolute·=·1E-80;
 41 ·46
25 ·33}·//·end·namespace·Dune42 ·49}·//·end·namespace
26 ·34 
27 ·35#endif·//·DUNE_FTRAITS_HH43 ·50
 44 ·51#endif
28 Dune45 Dune
29 Dune·namespace.46 Dune·namespace.
30 Definition:·alignedallocator.hh:1347 Definition:·alignedallocator.hh:13
31 Dune::DenseMatVecTraits 
32 Definition:·matvectraits.hh:3148 Dune::FMatrixPrecision
 49 Precisions·for·calculations·with·FieldMatrix·and·FieldVector.
 50 Definition:·precision.hh:25
 51 Dune::FMatrixPrecision::absolute_limit
 52 static·ctype·absolute_limit()
 53 return·threshold·to·declare·matrix·singular
 54 Definition:·precision.hh:28
 55 Dune::FMatrixPrecision::set_absolute_limit
 56 static·void·set_absolute_limit(ctype·absthres)
 57 set·singular·threshold
 58 Definition:·precision.hh:34
  
33 ===============================================================================59 ===============================================================================
34 ·····Generated·by [doxygen]·1.9.460 ·····Generated·by [doxygen]·1.9.4
10.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00257.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·dynmatrixev.hh·File·Reference</title>8 <title>dune-common:·genericiterator.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 46 lines modifiedOffset 63, 60 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">genericiterator.hh·File·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>utility·functions·to·compute·eigenvalues·for·dense·matrices.··75 <p>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>
78 <code>#include·&lt;memory&gt;</code><br·/>78 <code>#include·&lt;cassert&gt;</code><br·/>
79 <code>#include·&quot;<a·class="el"·href="a00197_source.html">dynmatrix.hh</a>&quot;</code><br·/> 
80 <code>#include·&quot;<a·class="el"·href="a00095_source.html">fmatrixev.hh</a>&quot;</code><br·/> 
81 </div>79 </div>
82 <p><a·href="a00257_source.html">Go·to·the·source·code·of·this·file.</a></p>80 <p><a·href="a00257_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">81 <table·class="memberdecls">
 82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 83 Classes</h2></td></tr>
 84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01796.html">Dune::const_reference&lt;·R·&gt;</a></td></tr>
 85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·'const'·version·of·a·reference·to·a·mutable·object.··<a·href="a01796.html#details">More...</a><br·/></td></tr>
 86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01800.html">Dune::const_reference&lt;·const·R·&gt;</a></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01804.html">Dune::const_reference&lt;·R·&amp;·&gt;</a></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01808.html">Dune::const_reference&lt;·const·R·&amp;·&gt;</a></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01812.html">Dune::mutable_reference&lt;·R·&gt;</a></td></tr>
 94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·'mutable'·version·of·a·reference·to·a·const·object··<a·href="a01812.html#details">More...</a><br·/></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01816.html">Dune::mutable_reference&lt;·const·R·&gt;</a></td></tr>
 97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01820.html">Dune::mutable_reference&lt;·R·&amp;·&gt;</a></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01824.html">Dune::mutable_reference&lt;·const·R·&amp;·&gt;</a></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01828.html">Dune::GenericIterator&lt;·C,·T,·R,·D,·IteratorFacade·&gt;</a></td></tr>
 103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·class·for·stl-conforming·iterators·for·container·classes·with·operator[].··<a·href="a01828.html#details">More...</a><br·/></td></tr>
 104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 </table><table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
85 Namespaces</h2></td></tr>107 Namespaces</h2></td></tr>
86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>108 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>109 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a00433"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00433.html">Dune::DynamicMatrixHelp</a></td></tr> 
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 </table><table·class="memberdecls"> 
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
93 Functions</h2></td></tr> 
94 <tr·class="memitem:a3a886253fd1bce66e013df6cf7548749"><td·class="memTemplParams"·colspan="2">template&lt;typename·K·,·class·C·&gt;·</td></tr> 
95 <tr·class="memitem:a3a886253fd1bce66e013df6cf7548749"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">Dune::DynamicMatrixHelp::eigenValuesNonSym</a>·(const·DynamicMatrix&lt;·K·&gt;·&amp;matrix,·DynamicVector&lt;·C·&gt;·&amp;eigenValues,·std::vector&lt;·DynamicVector&lt;·K·&gt;·&gt;·*eigenVectors=nullptr)</td></tr> 
96 <tr·class="memdesc:a3a886253fd1bce66e013df6cf7548749"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<a·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">More...</a><br·/></td></tr> 
97 <tr·class="separator:a3a886253fd1bce66e013df6cf7548749"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 </table>111 </table>
99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>112 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
100 <div·class="textblock"><p·>utility·functions·to·compute·eigenvalues·for·dense·matrices.·</p>113 <div·class="textblock"><p·>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.·</p>
 114 <p·>Using·this·generic·iterator·writing·iterators·for·containers·that·implement·operator[]·is·only·a·matter·of·seconds.·</p>
101 </div></div><!--·contents·-->115 </div></div><!--·contents·-->
102 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>117 <hr·class="footer"/><address·class="footer"><small>
104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
105 </small></address>119 </small></address>
106 </body>120 </body>
107 </html>121 </html>
2.03 KB
html2text {}
    
Offset 4, 33 lines modifiedOffset 4, 48 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces
 8 genericiterator.hh·File·Reference
 9 Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.
 10 More...
 11 #include·<dune/common/iteratorfacades.hh>
 12 #include·<cassert>
7 Namespaces·|·Functions 
8 dynmatrixev.hh·File·Reference 
9 utility·functions·to·compute·eigenvalues·for·dense·matrices.·More... 
10 #include·<algorithm> 
11 #include·<memory> 
12 #include·"dynmatrix.hh" 
13 #include·"fmatrixev.hh" 
14 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
 14 ·Classes
 15 struct· Dune::const_reference<_R_>
 16  ·······Get·the·'const'·version·of·a·reference·to·a·mutable·object.·More...
 17  
 18 struct· Dune::const_reference<_const_R_>
 19  
 20 struct· Dune::const_reference<_R_&_>
 21  
 22 struct· Dune::const_reference<_const_R_&_>
 23  
 24 struct· Dune::mutable_reference<_R_>
 25  ·······get·the·'mutable'·version·of·a·reference·to·a·const·object·More...
 26  
 27 struct· Dune::mutable_reference<_const_R_>
 28  
 29 struct· Dune::mutable_reference<_R_&_>
 30  
 31 struct· Dune::mutable_reference<_const_R_&_>
 32  
 33 ·class· Dune::GenericIterator<_C,_T,_R,_D,_IteratorFacade_>
 34  ·······Generic·class·for·stl-conforming·iterators·for·container·classes·with
 35 ·········operator[].·More...
 36  
15 ·Namespaces37 ·Namespaces
16 namespace· Dune38 namespace· Dune
17  ··········Dune·namespace.39  ··········Dune·namespace.
18  40  
19 namespace· Dune::DynamicMatrixHelp 
20   
21 ·Functions 
22 template<typename·K·,·class·C·> 
23 static·void Dune::DynamicMatrixHelp::eigenValuesNonSym·(const·DynamicMatrix<·K 
24 ·············>·&matrix,·DynamicVector<·C·>·&eigenValues,·std::vector< 
25 ·············DynamicVector<·K·>·>·*eigenVectors=nullptr) 
26  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix·More... 
27   
28 *****·Detailed·Description·*****41 *****·Detailed·Description·*****
29 utility·functions·to·compute·eigenvalues·for·dense·matrices.42 Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.
 43 Using·this·generic·iterator·writing·iterators·for·containers·that·implement
 44 operator[]·is·only·a·matter·of·seconds.
  
30 ===============================================================================45 ===============================================================================
31 ·····Generated·by [doxygen]·1.9.446 ·····Generated·by [doxygen]·1.9.4
64.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00257_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·dynmatrixev.hh·Source·File</title>8 <title>dune-common:·genericiterator.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 119 lines modifiedOffset 62, 195 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">dynmatrixev.hh</div></div>68 ··<div·class="headertitle"><div·class="title">genericiterator.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00257.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00257.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DYNMATRIXEIGENVALUES_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GENERICITERATOR_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DYNMATRIXEIGENVALUES_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GENERICITERATOR_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00137.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00197.html">dynmatrix.hh</a>&quot;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00095.html">fmatrixev.hh</a>&quot;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
84 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a00433.html">···24</a></span>··<span·class="keyword">namespace·</span>DynamicMatrixHelp·{</div> 
87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div> 
88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div> 
89 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">using·</span>Dune::FMatrixHelp::eigenValuesNonsymLapackCall;</div> 
90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div> 
91 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div> 
92 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·K,·<span·class="keyword">class</span>·C&gt;</div>83 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div>
 84 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01796.html">···86</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01796.html">const_reference</a></div>
93 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">···39</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00433.html#a3a886253fd1bce66e013df6cf7548749">eigenValuesNonSym</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01500.html">DynamicMatrix&lt;K&gt;</a>&amp;·matrix,</div> 
94 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··································<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;C&gt;</a>&amp;·<a·class="code·hl_function"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>,</div> 
95 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··································std::vector&lt;<a·class="code·hl_class"·href="a01512.html">DynamicVector&lt;K&gt;</a>&gt;*·eigenVectors·=·<span·class="keyword">nullptr</span></div> 
96 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······)</div> 
97 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div> 
98 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
99 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div> 
100 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······{</div> 
101 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·N·=·matrix.<a·class="code·hl_function"·href="a01400.html#a87d6a39a8a05460bf6c23bb79203de06">rows</a>();</div> 
102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·jobvl·=·<span·class="charliteral">&#39;n&#39;</span>;</div> 
103 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keyword">const</span>·<span·class="keywordtype">char</span>·jobvr·=·eigenVectors·?·<span·class="charliteral">&#39;v&#39;</span>·:·<span·class="charliteral">&#39;n&#39;</span>;</div> 
104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</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>········<span·class="comment">//·matrix·to·put·into·dgeev</span></div> 
107 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········<span·class="keyword">auto</span>·matrixVector·=·std::make_unique&lt;double[]&gt;(N*N);</div> 
108 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
109 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="comment">//·copy·matrix</span></div> 
110 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordtype">int</span>·row·=·0;</div> 
111 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">for</span>(<span·class="keywordtype">int</span>·i=0;·i&lt;N;·++i)</div> 
112 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········{</div> 
113 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··········<span·class="keywordflow">for</span>(<span·class="keywordtype">int</span>·j=0;·j&lt;N;·++j,·++row)</div> 
114 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··········{</div> 
115 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>············matrixVector[·row·]·=·matrix[·i·][·j·];</div> 
116 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··········}</div> 
117 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········}</div> 
118 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
119 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="comment">//·working·memory</span></div> 
120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keyword">auto</span>·eigenR·=·std::make_unique&lt;double[]&gt;(N);</div> 
121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>········<span·class="keyword">auto</span>·eigenI·=·std::make_unique&lt;double[]&gt;(N);</div> 
122 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>85 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>
 86 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">···88</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R·<a·class="code·hl_typedef"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">type</a>;</div>
123 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>········<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·lwork·=·eigenVectors·?·4*N·:·3*N;</div> 
124 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········<span·class="keyword">auto</span>·work·=·std::make_unique&lt;double[]&gt;(lwork);</div> 
125 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">auto</span>·vr·=·eigenVectors·?·std::make_unique&lt;double[]&gt;(N*N)·:·std::unique_ptr&lt;double[]&gt;{};</div> 
126 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
127 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>········<span·class="comment">//·return·value·information</span></div> 
128 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·info·=·0;</div> 
129 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
130 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="comment">//·call·LAPACK·routine·(see·fmatrixev_ext.cc)</span></div> 
131 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········eigenValuesNonsymLapackCall(&amp;jobvl,·&amp;jobvr,·&amp;N,·matrixVector.get(),·&amp;N,</div> 
132 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····································eigenR.get(),·eigenI.get(),·<span·class="keyword">nullptr</span>,·&amp;N,·vr.get(),·&amp;N,·work.get(),</div> 
133 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····································&amp;lwork,·&amp;info);</div> 
134 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>87 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
135 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">if</span>(·info·!=·0·)</div> 
136 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········{</div> 
137 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;For·matrix·&quot;</span>·&lt;&lt;·matrix·&lt;&lt;·<span·class="stringliteral">&quot;·eigenvalue·calculation·failed!·&quot;</span>·&lt;&lt;·std::endl;</div> 
138 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··········<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01580.html">InvalidStateException</a>,<span·class="stringliteral">&quot;eigenValues:·Eigenvalue·calculation·failed!&quot;</span>);</div> 
139 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div> 
140 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
141 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_function"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>.resize(N);</div> 
142 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=0;·i&lt;N;·++i)</div> 
143 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··········<a·class="code·hl_function"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">eigenValues</a>[i]·=·std::complex&lt;double&gt;(eigenR[i],·eigenI[i]);</div> 
144 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>88 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
145 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keywordflow">if</span>·(eigenVectors)·{</div> 
146 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··········eigenVectors-&gt;resize(N);</div> 
147 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··········<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i·=·0;·i·&lt;·N;·++i)·{</div>89 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div>
 90 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01800.html">···92</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01796.html">const_reference</a>&lt;const·R&gt;</div>
148 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>············<span·class="keyword">auto</span>&amp;·v·=·(*eigenVectors)[i];</div> 
149 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>············v.resize(N);</div> 
150 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>············std::copy(vr.get()·+·N*i,·vr.get()·+·N*(i+1),·&amp;v[0]);</div> 
151 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··········}</div>91 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div>
 92 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01800.html#a74cee274ffbf5dc02b9d9ca6a82b1543">···94</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R·<a·class="code·hl_typedef"·href="a01800.html#a74cee274ffbf5dc02b9d9ca6a82b1543">type</a>;</div>
152 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>········}</div>93 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··};</div>
 94 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 95 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div>
 96 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01804.html">···98</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01796.html">const_reference</a>&lt;R&amp;&gt;</div>
153 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······}</div>97 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div>
 98 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01804.html#a98aab38fc38bbacd88751805f3a0e1c9">··100</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R&amp;·<a·class="code·hl_typedef"·href="a01804.html#a98aab38fc38bbacd88751805f3a0e1c9">type</a>;</div>
154 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="preprocessor">#else·</span><span·class="comment">//·#if·HAVE_LAPACK</span></div> 
155 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01568.html">NotImplemented</a>,<span·class="stringliteral">&quot;LAPACK·not·found!&quot;</span>);</div> 
156 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="preprocessor">#endif</span></div> 
157 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····}</div> 
158 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··}</div>99 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··};</div>
 100 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 101 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div>
 102 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01808.html">··104</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01796.html">const_reference</a>&lt;const·R&amp;&gt;</div>
159 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>103 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div>
 104 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01808.html#af0e679b203aebaf86f048da9bcd4912e">··106</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R&amp;·<a·class="code·hl_typedef"·href="a01808.html#af0e679b203aebaf86f048da9bcd4912e">type</a>;</div>
Max diff block lines reached; 11530/54647 bytes (21.10%) of diff not shown.
11.1 KB
html2text {}
    
Offset 4, 144 lines modifiedOffset 4, 269 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 dynmatrixev.hh7 genericiterator.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DYNMATRIXEIGENVALUES_HH 
15 ·6#define·DUNE_DYNMATRIXEIGENVALUES_HH14 ·5#ifndef·DUNE_GENERICITERATOR_HH
 15 ·6#define·DUNE_GENERICITERATOR_HH
16 ·716 ·7
17 ·8#include·<algorithm>17 ·8#include·<dune/common/iteratorfacades.hh>
18 ·9#include·<memory>18 ·9#include·<cassert>
19 ·1019 ·10
20 ·11#include·"dynmatrix.hh" 
21 ·12#include·"fmatrixev.hh" 
22 ·13 
23 ·22namespace·Dune·{20 ·11namespace·Dune·{
 21 ·12
 22 ·85·template<class·R>
 23 86·struct·const_reference
24 ·23 
25 24·namespace·DynamicMatrixHelp·{ 
26 ·25 
27 ·26#if·HAVE_LAPACK 
28 ·27·using·Dune::FMatrixHelp::eigenValuesNonsymLapackCall; 
29 ·28#endif 
30 ·29 
31 ·38·template·<typename·K,·class·C> 
32 39·static·void·eigenValuesNonSym(const·DynamicMatrix<K>&·matrix, 
33 ·40·DynamicVector<C>&·eigenValues, 
34 ·41·std::vector<DynamicVector<K>>*·eigenVectors·=·nullptr 
35 ·42·) 
36 ·43·{ 
37 ·44 
38 ·45#if·HAVE_LAPACK 
39 ·46·{ 
40 ·47·const·long·int·N·=·matrix.rows(); 
41 ·48·const·char·jobvl·=·'n'; 
42 ·49·const·char·jobvr·=·eigenVectors·?·'v'·:·'n'; 
43 ·50 
44 ·51 
45 ·52·//·matrix·to·put·into·dgeev 
46 ·53·auto·matrixVector·=·std::make_unique<double[]>(N*N); 
47 ·54 
48 ·55·//·copy·matrix 
49 ·56·int·row·=·0; 
50 ·57·for(int·i=0;·i<N;·++i) 
51 ·58·{24 ·87·{
 25 88·typedef·const·R·type;
 26 ·89·};
52 ·59·for(int·j=0;·j<N;·++j,·++row) 
53 ·60·{ 
54 ·61·matrixVector[·row·]·=·matrix[·i·][·j·]; 
55 ·62·} 
56 ·63·} 
57 ·64 
58 ·65·//·working·memory 
59 ·66·auto·eigenR·=·std::make_unique<double[]>(N); 
60 ·67·auto·eigenI·=·std::make_unique<double[]>(N); 
61 ·68 
62 ·69·const·long·int·lwork·=·eigenVectors·?·4*N·:·3*N; 
63 ·70·auto·work·=·std::make_unique<double[]>(lwork); 
64 ·71·auto·vr·=·eigenVectors·?·std::make_unique<double[]>(N*N)·:·std:: 
65 unique_ptr<double[]>{}; 
66 ·72 
67 ·73·//·return·value·information 
68 ·74·long·int·info·=·0; 
69 ·75 
70 ·76·//·call·LAPACK·routine·(see·fmatrixev_ext.cc) 
71 ·77·eigenValuesNonsymLapackCall(&jobvl,·&jobvr,·&N,·matrixVector.get(),·&N, 
72 ·78·eigenR.get(),·eigenI.get(),·nullptr,·&N,·vr.get(),·&N,·work.get(), 
73 ·79·&lwork,·&info); 
74 ·80 
75 ·81·if(·info·!=·0·) 
76 ·82·{ 
77 ·83·std::cerr·<<·"For·matrix·"·<<·matrix·<<·"·eigenvalue·calculation·failed!·" 
78 <<·std::endl; 
79 ·84·DUNE_THROW(InvalidStateException,"eigenValues:·Eigenvalue·calculation 
80 failed!"); 
81 ·85·} 
82 ·86 
83 ·87·eigenValues.resize(N); 
84 ·88·for·(int·i=0;·i<N;·++i) 
85 ·89·eigenValues[i]·=·std::complex<double>(eigenR[i],·eigenI[i]); 
86 ·9027 ·90
87 ·91·if·(eigenVectors)·{ 
88 ·92·eigenVectors->resize(N); 
89 ·93·for·(int·i·=·0;·i·<·N;·++i)·{ 
90 ·94·auto&·v·=·(*eigenVectors)[i]; 
91 ·95·v.resize(N); 
92 ·96·std::copy(vr.get()·+·N*i,·vr.get()·+·N*(i+1),·&v[0]); 
93 ·97·} 
94 ·98·}28 ·91·template<class·R>
 29 92·struct·const_reference<const·R>
 30 ·93·{
 31 94·typedef·const·R·type;
 32 ·95·};
 33 ·96
 34 ·97·template<class·R>
 35 98·struct·const_reference<R&>
95 ·99·}36 ·99·{
 37 100·typedef·const·R&·type;
96 ·100#else·//·#if·HAVE_LAPACK 
97 ·101·DUNE_THROW(NotImplemented,"LAPACK·not·found!"); 
98 ·102#endif 
99 ·103·}38 ·101·};
100 ·104·}39 ·102
 40 ·103·template<class·R>
 41 104·struct·const_reference<const·R&>
101 ·10542 ·105·{
102 ·106}43 106·typedef·const·R&·type;
 44 ·107·};
 45 ·108
 46 ·114·template<class·R>
 47 115·struct·mutable_reference
 48 ·116·{
 49 117·typedef·R·type;
 50 ·118·};
 51 ·119
Max diff block lines reached; 4265/11380 bytes (37.48%) of diff not shown.
26.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00260.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·bigunsignedint.hh·File·Reference</title>8 <title>dune-common:·stdstreams.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 99 lines modifiedOffset 63, 84 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#define-members">Macros</a>·&#124;71 <a·href="#define-members">Macros</a>·&#124;
 72 <a·href="#typedef-members">Typedefs</a>·&#124;
73 <a·href="#func-members">Functions</a>··</div>73 <a·href="#var-members">Variables</a>··</div>
74 ··<div·class="headertitle"><div·class="title">bigunsignedint.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">stdstreams.hh·File·Reference</div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Portable·very·large·unsigned·integers.··77 <p>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.··
78 <a·href="#details">More...</a></p>78 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/> 
81 <code>#include·&lt;limits&gt;</code><br·/> 
82 <code>#include·&lt;cstdint&gt;</code><br·/> 
83 <code>#include·&lt;cstdlib&gt;</code><br·/> 
84 <code>#include·&lt;type_traits&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/hash.hh</a>&gt;</code><br·/>79 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00185_source.html">debugstream.hh</a>&quot;</code><br·/>
87 </div>80 </div>
88 <p><a·href="a00260_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00260_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">82 <table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
91 Classes</h2></td></tr> 
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01296.html">Dune::bigunsignedint&lt;·k·&gt;</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Portable·very·large·unsigned·integers.··<a·href="a01296.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01304.html">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</a></td></tr> 
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Declare·big·unsigned·int·is·a·number.··<a·href="a01304.html#details">More...</a><br·/></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01308.html">std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 </table><table·class="memberdecls"> 
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
102 Namespaces</h2></td></tr>84 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>85 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>86 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00424"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00424.html">std</a></td></tr> 
107 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></td></tr> 
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 </table><table·class="memberdecls">88 </table><table·class="memberdecls">
110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
111 Macros</h2></td></tr>90 Macros</h2></td></tr>
112 <tr·class="memitem:gaf87f343423f6514fb0bea86e67539446"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">DUNE_BINOP</a>(OP)</td></tr>91 <tr·class="memitem:ga3a5303f96d33ae7299d9acd71b736998"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">DUNE_MINIMAL_DEBUG_LEVEL</a>&#160;&#160;&#16[·...·truncated·by·diffoscope;·len:·3,·SHA:·0c5aebaeaad18e1d61fc9baec15f323e37bb289583a9df82fc4119378603f378·...·]</td></tr>
 92 <tr·class="memdesc:ga3a5303f96d33ae7299d9acd71b736998"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·default·minimum·debug·level.··<a·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">More...</a><br·/></td></tr>
 93 <tr·class="separator:ga3a5303f96d33ae7299d9acd71b736998"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 </table><table·class="memberdecls">
 95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 96 Typedefs</h2></td></tr>
 97 <tr·class="memitem:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·VERY_VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">Dune::DVVerbType</a></td></tr>
 98 <tr·class="memdesc:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·very·verbose·debug·stream.··<a·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">More...</a><br·/></td></tr>
113 <tr·class="separator:gaf87f343423f6514fb0bea86e67539446"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">Dune::DVerbType</a></td></tr>
 101 <tr·class="memdesc:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·more·verbose·debug·stream.··<a·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">More...</a><br·/></td></tr>
 102 <tr·class="separator:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:gab41f4590c73d6408c89475e28bf18a8e"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·INFO_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">Dune::DInfoType</a></td></tr>
 104 <tr·class="memdesc:gab41f4590c73d6408c89475e28bf18a8e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·with·info·level.··<a·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">More...</a><br·/></td></tr>
 105 <tr·class="separator:gab41f4590c73d6408c89475e28bf18a8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:ga20379ab9c4472509d420e98659683fe6"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·WARN_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">Dune::DWarnType</a></td></tr>
 107 <tr·class="memdesc:ga20379ab9c4472509d420e98659683fe6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·with·warn·level.··<a·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">More...</a><br·/></td></tr>
 108 <tr·class="separator:ga20379ab9c4472509d420e98659683fe6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·GRAVE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">Dune::DGraveType</a></td></tr>
 110 <tr·class="memdesc:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·for·fatal·errors.··<a·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">More...</a><br·/></td></tr>
 111 <tr·class="separator:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:ga768c0b513889d713fd0017ef7ae35056"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·1·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">Dune::DErrType</a></td></tr>
 113 <tr·class="memdesc:ga768c0b513889d713fd0017ef7ae35056"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·stream·used·for·error·messages.··<a·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">More...</a><br·/></td></tr>
 114 <tr·class="separator:ga768c0b513889d713fd0017ef7ae35056"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table><table·class="memberdecls">115 </table><table·class="memberdecls">
115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 117 Variables</h2></td></tr>
 118 <tr·class="memitem:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">Dune::MINIMAL_DEBUG_LEVEL</a>·=·<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">DUNE_MINIMAL_DEBUG_LEVEL</a></td></tr>
116 Functions</h2></td></tr> 
117 <tr·class="memitem:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
118 <tr·class="memitem:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</td></tr> 
119 <tr·class="separator:ga49e9aab7260e82c77e7fd410ecb339c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
121 <tr·class="memitem:gaa1064cddd9687941b214fd8fb438922b"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gaa1064cddd9687941b214fd8fb438922b">Dune::operator+</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr> 
122 <tr·class="separator:gaa1064cddd9687941b214fd8fb438922b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
124 <tr·class="memitem:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga80f9fd2604e395d902fb0df692cdaca4">Dune::operator-</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr> 
125 <tr·class="separator:ga80f9fd2604e395d902fb0df692cdaca4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
127 <tr·class="memitem:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga18a74c0d02300748edcf3bc9c58eaf27">Dune::operator*</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr> 
128 <tr·class="separator:ga18a74c0d02300748edcf3bc9c58eaf27"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
130 <tr·class="memitem:ga5e2147f08b4e20eb876456a231859903"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga5e2147f08b4e20eb876456a231859903">Dune::operator/</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr> 
131 <tr·class="separator:ga5e2147f08b4e20eb876456a231859903"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
133 <tr·class="memitem:gac8578d991f3565183d9abd2d808f97b9"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gac8578d991f3565183d9abd2d808f97b9">Dune::operator%</a>·(const·bigunsignedint&lt;·k·&gt;·&amp;x,·std::uintmax_t·y)</td></tr> 
134 <tr·class="separator:gac8578d991f3565183d9abd2d808f97b9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
136 <tr·class="memitem:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga9901a23c0dce52758f24f6d1cade43e8">Dune::operator+</a>·(std::uintmax_t·x,·const·bigunsignedint&lt;·k·&gt;·&amp;y)</td></tr> 
137 <tr·class="separator:ga9901a23c0dce52758f24f6d1cade43e8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>119 <tr·class="separator:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
138 <tr·class="memitem:gaa560c3307467da3720ab83b11334572a"><td·class="memTemplParams"·colspan="2">template&lt;int·k&gt;·</td></tr> 
139 <tr·class="memitem:gaa560c3307467da3720ab83b11334572a"><td·class="memTemplItemLeft"·align="right"·valign="top">bigunsignedint&lt;·k·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00408.html#gaa560c3307467da3720ab83b11334572a">Dune::operator-<[·...·truncated·by·diffoscope;·len:·62,·SHA:·7cecb5bcb68f7774ca916094694e05375a15b9399569197f875ce170b40d42bb·...·]</td></tr>120 <tr·class="memitem:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">Dune::VERY_VERBOSE_DEBUG_LEV[·...·truncated·by·diffoscope;·len:·10,·SHA:·305fc03ae4e381bec382b2c80aeca9a8a038f4f79f4eafde06edef6decf9d0d3·...·]</td></tr>
 121 <tr·class="memdesc:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·very·verbose·debug·stream.··<a·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">More...</a><br·/></td></tr>
 122 <tr·class="separator:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">Dune::VERBOSE_DEBUG_LEVEL</a>·=·2</td></tr>
 124 <tr·class="memdesc:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·verbose·debug·stream.··<a·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">More...</a><br·/></td></tr>
 125 <tr·class="separator:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">Dune::INFO_DEBUG_LEVEL</a>·=·3</td></tr>
 127 <tr·class="memdesc:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·informative·debug·stream.··<a·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">More...</a><br·/></td></tr>
140 <tr·class="separator:gaa560c3307467da3720ab83b11334572a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>128 <tr·class="separator:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 801/21887 bytes (3.66%) of diff not shown.
5.02 KB
html2text {}
    
Offset 4, 90 lines modifiedOffset 4, 78 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Macros·|·Typedefs·|·Variables
 8 stdstreams.hh·File·Reference
 9 Standard·Dune·debug·streams.·More...
 10 #include·"debugstream.hh"
7 Classes·|·Namespaces·|·Macros·|·Functions 
8 bigunsignedint.hh·File·Reference 
9 Portable·very·large·unsigned·integers.·More... 
10 #include·<algorithm> 
11 #include·<iostream> 
12 #include·<limits> 
13 #include·<cstdint> 
14 #include·<cstdlib> 
15 #include·<type_traits> 
16 #include·<dune/common/exceptions.hh> 
17 #include·<dune/common/hash.hh> 
18 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
19 ·Classes 
20 ·class· Dune::bigunsignedint<_k_> 
21  ·······Portable·very·large·unsigned·integers.·More... 
22   
23 struct· Dune::IsNumber<_bigunsignedint<_k_>_> 
24  ·······Declare·big·unsigned·int·is·a·number.·More... 
25   
26 struct· std::numeric_limits<_Dune::bigunsignedint<_k_>_> 
27   
28 ·Namespaces12 ·Namespaces
29 namespace· Dune13 namespace· Dune
30  ··········Dune·namespace.14  ··········Dune·namespace.
31  15  
32 namespace· std 
33  ··········STL·namespace. 
34   
35 ·Macros16 ·Macros
36 #define DUNE_BINOP(OP)17 #define DUNE_MINIMAL_DEBUG_LEVEL   4
 18  ·······The·default·minimum·debug·level.·More...
37  19  
38 ·Functions 
39 template<int·k> 
40 ·····std::ostream·& Dune::operator<<·(std::ostream·&s,·const·bigunsignedint<·k 
41 ·····················>·&x)20 ·Typedefs
 21 ····················typedef·DebugStream<
 22 ···············VERY_VERBOSE_DEBUG_LEVEL,
 23 ··················MINIMAL_DEBUG_LEVEL·> Dune::DVVerbType
 24  ·······································Type·of·very·verbose·debug·stream.
 25 ·········································More...
42  26  
43 template<int·k> 
44 bigunsignedint<·k·> Dune::operator+·(const·bigunsignedint<·k·>·&x,·std:: 
45 ·····················uintmax_t·y)27 ····················typedef·DebugStream<
 28 VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL
 29 ······································> Dune::DVerbType
 30  ·······································Type·of·more·verbose·debug·stream.
 31 ·········································More...
46  32  
47 template<int·k> 
48 bigunsignedint<·k·> Dune::operator-·(const·bigunsignedint<·k·>·&x,·std:: 
49 ·····················uintmax_t·y)33 ··typedef·DebugStream<·INFO_DEBUG_LEVEL,
 34 ··················MINIMAL_DEBUG_LEVEL·> Dune::DInfoType
 35  ·······································Type·of·debug·stream·with·info·level.
 36 ·········································More...
50  37  
51 template<int·k> 
52 bigunsignedint<·k·> Dune::operator*·(const·bigunsignedint<·k·>·&x,·std:: 
53 ·····················uintmax_t·y)38 ··typedef·DebugStream<·WARN_DEBUG_LEVEL,
 39 ··················MINIMAL_DEBUG_LEVEL·> Dune::DWarnType
 40  ·······································Type·of·debug·stream·with·warn·level.
 41 ·········································More...
54  42  
55 template<int·k> 
56 bigunsignedint<·k·> Dune::operator/·(const·bigunsignedint<·k·>·&x,·std:: 
57 ·····················uintmax_t·y)43 ·typedef·DebugStream<·GRAVE_DEBUG_LEVEL,
 44 ··················MINIMAL_DEBUG_LEVEL·> Dune::DGraveType
 45  ·······································Type·of·debug·stream·for·fatal·errors.
 46 ·········································More...
58  47  
59 template<int·k> 
60 bigunsignedint<·k·> Dune::operator%·(const·bigunsignedint<·k·>·&x,·std:: 
61 ·····················uintmax_t·y)48 ···············typedef·DebugStream<·1·> Dune::DErrType
 49  ·······································The·type·of·the·stream·used·for·error
 50 ·········································messages.·More...
62  51  
 52 ·Variables
 53 static·const·DebugLevel Dune::MINIMAL_DEBUG_LEVEL·=·DUNE_MINIMAL_DEBUG_LEVEL
63 template<int·k> 
64 bigunsignedint<·k·> Dune::operator+·(std::uintmax_t·x,·const·bigunsignedint<·k 
65 ·····················>·&y) 
66  54  
 55 static·const·DebugLevel Dune::VERY_VERBOSE_DEBUG_LEVEL·=·1
 56  ·······················The·level·of·the·very·verbose·debug·stream.·More...
67 template<int·k> 
68 bigunsignedint<·k·> Dune::operator-·(std::uintmax_t·x,·const·bigunsignedint<·k 
69 ·····················>·&y) 
70  57  
 58 static·const·DebugLevel Dune::VERBOSE_DEBUG_LEVEL·=·2
 59  ·······················The·level·of·the·verbose·debug·stream.·More...
71 template<int·k> 
72 bigunsignedint<·k·> Dune::operator*·(std::uintmax_t·x,·const·bigunsignedint<·k 
73 ·····················>·&y) 
74  60  
 61 static·const·DebugLevel Dune::INFO_DEBUG_LEVEL·=·3
 62  ·······················The·level·of·the·informative·debug·stream.·More...
75 template<int·k> 
76 bigunsignedint<·k·> Dune::operator/·(std::uintmax_t·x,·const·bigunsignedint<·k 
77 ·····················>·&y) 
78  63  
79 template<int·k> 
80 bigunsignedint<·k·Dune::operator%·(std::uintmax_t·x,·const·bigunsignedint<·k64 static·const·DebugLevel Dune::WARN_DEBUG_LEVEL·=·4
 65  ·······················The·level·of·the·debug·stream·for·warnings.·More...
 66  
 67 static·const·DebugLevel Dune::GRAVE_DEBUG_LEVEL·=·5
 68  ·······················The·level·of·the·debug·stream·for·fatal·errors.
81 ·····················>·&y)69 ·························More...
82  70  
83 *****·Detailed·Description·*****71 *****·Detailed·Description·*****
84 Portable·very·large·unsigned·integers. 
85 ··Author 
86 ······Peter·Bastian72 Standard·Dune·debug·streams.
 73 The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This
 74 file·declares·the·stream·types·and·the·global·debug·level.
  
Max diff block lines reached; 35/5116 bytes (0.68%) of diff not shown.
190 KB
./usr/share/doc/libdune-common-doc/doxygen/a00260_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·bigunsignedint.hh·Source·File</title>8 <title>dune-common:·stdstreams.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 734 lines modifiedOffset 62, 94 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">bigunsignedint.hh</div></div>68 ··<div·class="headertitle"><div·class="title">stdstreams.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00260.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00260.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_BIGUNSIGNEDINT_HH</span></div>76 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STDSTREAMS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_BIGUNSIGNEDINT_HH</span></div>77 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#define·DUNE_COMMON_STDSTREAMS_HH</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/hash.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>78 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 79 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00185.html">debugstream.hh</a>&quot;</span></div>
 80 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div> 
90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#if·HAVE_MPI</span></div> 
91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K&gt;</div> 
92 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">struct·</span>MPITraits;</div> 
93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div> 
94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div> 
95 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">namespace·</span>Impl·{</div> 
96 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
97 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="comment">//·numeric_limits_helper·provides·std::numeric_limits·access·to·the·internals</span></div> 
98 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·of·bigunsignedint.·Previously,·the·correct·specialization·of·std::numeric_limits</span></div> 
99 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="comment">//·was·a·friend·of·bigunsignedint,·but·that·creates·problems·on·recent·versions</span></div> 
100 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="comment">//·of·clang·with·the·alternative·libc++·library,·because·that·library·declares·the</span></div> 
101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="comment">//·base·template·of·std::numeric_limits·as·a·class·and·clang·subsequently·complains</span></div> 
102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="comment">//·if·the·friend·declaration·uses·&#39;struct&#39;.·Unfortunately,·libstdc++·uses·a·struct,</span></div> 
103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="comment">//·making·it·impossible·to·keep·clang·happy·for·both·standard·libraries.</span></div> 
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="comment">//·So·we·move·the·access·helper·functionality·into·a·custom·struct·and·simply·let</span></div> 
105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="comment">//·the·numeric_limits·specialization·inherit·from·the·helper.</span></div> 
106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">struct·</span>numeric_limits_helper</div> 
109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····{</div> 
110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 83 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#ifndef·DUNE_MINIMAL_DEBUG_LEVEL</span></div>
 84 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">···67</a></span><span·class="preprocessor">#define·DUNE_MINIMAL_DEBUG_LEVEL·4</span></div>
111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">protected</span>:</div>85 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#endif</span></div>
 86 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">···69</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·<a·class="code·hl_variable"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">MINIMAL_DEBUG_LEVEL</a>·=·<a·class="code·hl_define"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">DUNE_MINIMAL_DEBUG_LEVEL</a>;</div>
112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
113 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keyword">static</span>·std::uint16_t&amp;·digit(T&amp;·big_unsigned_int,·std::size_t·i)</div> 
114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······{</div> 
115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········<span·class="keywordflow">return</span>·big_unsigned_int.digit[i];</div> 
116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······}</div> 
117 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
118 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····};</div> 
119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>87 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
120 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··}</div>88 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">···75</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef5[·...·truncated·by·diffoscope;·len:·157,·SHA:·bc7fa8380e68fe260e1bdfe2a8e8a2639a9ed83e05b5f68b3d8087c847f0526e·...·]</div>
121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>89 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 90 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">···81</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;VERY_VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL&gt;</a>·<a·class="code·hl_typedef"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">DVVerbType</a>;</div>
122 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keyword">template</span>&lt;<span·class="keywordtype">int</span>·k&gt;</div> 
123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a01296.html">···73</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01296.html">bigunsignedint</a>·{</div> 
124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">public</span>:</div> 
125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> 
126 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····<span·class="comment">//·unsigned·short·is·16·bits·wide,·n·is·the·number·of·digits·needed</span></div> 
127 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a01296.html#ad92384acdc78896bdc897f00950be8d7">···77</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01296.html#ad92384acdc78896bdc897f00950be8d7">bits</a>·=·std::numeric_limits&lt;std::uint16_t&gt;::digits;</div> 
128 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a01296.html#a7184b2d791289cc3d0bc1b3c46c9f3e2">···78</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01296.html#a7184b2d791289cc3d0bc1b3c46c9f3e2">n</a>·=·k/<a·class="code·hl_variable"·href="a01296.html#ad92384acdc78896bdc897f00950be8d7">bits</a>+(k%<a·class="code·hl_variable"·href="a01296.html#ad92384acdc78896bdc897f00950be8d7">bits</a>!=0);</div> 
129 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01296.html#a3eebe5bdb3b59072f2545e7b8b61337b">···79</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01296.html#a3eebe5bdb3b59072f2545e7b8b61337b">hexdigits</a>·=·4;</div> 
130 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01296.html#af1c512e1d5578e686238390c04f84e1a">···80</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01296.html#af1c512e1d5578e686238390c04f84e1a">bitmask</a>·=·0xFFFF;</div> 
131 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a01296.html#ac21b986c6c2058137a1de409dc148c40">···81</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01296.html#ac21b986c6c2058137a1de409dc148c40">compbitmask</a>·=·0xFFFF0000;</div> 
132 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01296.html#a2030e8eedc1a014851e36262adcacc2f">···82</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01296.html#a2030e8eedc1a014851e36262adcacc2f">overflowmask</a>·=·0x1;</div> 
133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>91 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>
 92 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">···95</a></span>··<span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01396.html">DVVerbType</a>·<a·class="code·hl_variable"·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">dvverb</a>;</div>
134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·();</div> 
135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
136 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Signed&gt;</div> 
137 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·(Signed·x,·<span·class="keyword">typename</span>·std::enable_if&lt;std::is_integral&lt;Signed&gt;::value·&amp;&amp;·std::is_signed&lt;Signed&gt;::value&gt;::type*·=·0);</div> 
138 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div> 
139 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<a·class="code·hl_function"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·(std::uintmax_t·x);</div> 
140 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00408.html#ga588c20d32be8eda48a3755baba464dd3">print</a>·(std::ostream&amp;·s)·<span·class="keyword">const</span>·;</div> 
142 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>93 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 94 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">··101</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·<a·class="code·hl_variable"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">VERBOSE_DEBUG_LEVEL</a>·=·2;</div>
143 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01296.html#adf824f5ffaa474c95aafc39e8406d078">···98</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#adf824f5ffaa474c95aafc39e8406d078">operator+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div> 
144 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#ga33d7cece1203eab3cdbbb982fcacd608">operator+=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div> 
145 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>95 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>
 96 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">··107</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL&gt;</a>·<a·class="code·hl_typedef"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">DVerbType</a>;</div>
146 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a01296.html#ab38f155c5dbfa9ebc3ab0b6f30f995de">··102</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#ab38f155c5dbfa9ebc3ab0b6f30f995de">operator-·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div> 
147 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gae07a08fd0165093a4a120ab5ab30e3f8">operator-=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div> 
148 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div> 
149 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01296.html#a598625d1f6adb74f518806bcc4c607d0">··106</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#a598625d1f6adb74f518806bcc4c607d0">operator*·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div> 
150 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gaea1b22b024fc727899cb356c8301df10">operator*=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div> 
151 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>97 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 98 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">··116</a></span>··<span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01396.html">DVerbType</a>·<a·class="code·hl_variable"·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">dverb</a>;</div>
152 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gabca7e8dbfe73be43c64c517621f5177e">operator++·</a>();</div> 
153 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> 
154 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="a01296.html#adac7b98831fb677414b075cda13a638a">··115</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#adac7b98831fb677414b075cda13a638a">operator/·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div> 
155 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#ga060fc6f6318d3631ac5a033cb8138458">operator/=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div> 
156 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>99 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 100 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">··122</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·<a·class="code·hl_variable"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">INFO_DEBUG_LEVEL</a>·=·3;</div>
157 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a01296.html#a65d9548bb0b1d081a5aaca032078554b">··121</a></span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>·<a·class="code·hl_function"·href="a01296.html#a65d9548bb0b1d081a5aaca032078554b">operator%·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x)·<span·class="keyword">const</span>;</div> 
158 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>····<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·<a·class="code·hl_function"·href="a00408.html#gacb3b8f598053bbbde7cdfe60fe2ef879">operator%=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01296.html">bigunsignedint&lt;k&gt;</a>&amp;·x);</div> 
159 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>101 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 102 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">··128</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;INFO_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL&gt;</a>·<a·class="code·hl_typedef"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">DInfoType</a>;</div>
Max diff block lines reached; 124691/163450 bytes (76.29%) of diff not shown.
30.8 KB
html2text {}
    
Offset 4, 923 lines modifiedOffset 4, 155 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 bigunsignedint.hh7 stdstreams.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·514 ·5
 15 ·15#ifndef·DUNE_COMMON_STDSTREAMS_HH
 16 ·16#define·DUNE_COMMON_STDSTREAMS_HH
15 ·6#ifndef·DUNE_BIGUNSIGNEDINT_HH 
16 ·7#define·DUNE_BIGUNSIGNEDINT_HH 
17 ·8 
18 ·9#include·<algorithm> 
19 ·10#include·<iostream> 
20 ·11#include·<limits> 
21 ·12#include·<cstdint> 
22 ·13#include·<cstdlib> 
23 ·14#include·<type_traits> 
24 ·15#include·<dune/common/exceptions.hh> 
25 ·16#include·<dune/common/hash.hh> 
26 ·1717 ·17
 18 ·18#include·"debugstream.hh"
 19 ·19
27 ·24namespace·Dune20 ·20namespace·Dune·{
 21 ·21
 22 ·66#ifndef·DUNE_MINIMAL_DEBUG_LEVEL
 23 67#define·DUNE_MINIMAL_DEBUG_LEVEL·4
28 ·25{ 
29 ·26#if·HAVE_MPI 
30 ·27·template<class·K> 
31 ·28·struct·MPITraits; 
32 ·29#endif24 ·68#endif
 25 69·static·const·DebugLevel·MINIMAL_DEBUG_LEVEL·=·DUNE_MINIMAL_DEBUG_LEVEL;
 26 ·70
 27 75·static·const·DebugLevel·VERY_VERBOSE_DEBUG_LEVEL·=·1;
 28 ·76
 29 81·typedef·DebugStream<VERY_VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>
 30 DVVerbType;
 31 ·82
 32 95·extern·DVVerbType·dvverb;
33 ·30 
34 ·36·namespace·Impl·{ 
35 ·37 
36 ·38·//·numeric_limits_helper·provides·std::numeric_limits·access·to·the 
37 internals 
38 ·39·//·of·bigunsignedint.·Previously,·the·correct·specialization·of·std:: 
39 numeric_limits 
40 ·40·//·was·a·friend·of·bigunsignedint,·but·that·creates·problems·on·recent 
41 versions 
42 ·41·//·of·clang·with·the·alternative·libc++·library,·because·that·library 
43 declares·the 
44 ·42·//·base·template·of·std::numeric_limits·as·a·class·and·clang·subsequently 
45 complains 
46 ·43·//·if·the·friend·declaration·uses·'struct'.·Unfortunately,·libstdc++·uses·a 
47 struct, 
48 ·44·//·making·it·impossible·to·keep·clang·happy·for·both·standard·libraries. 
49 ·45·//·So·we·move·the·access·helper·functionality·into·a·custom·struct·and 
50 simply·let 
51 ·46·//·the·numeric_limits·specialization·inherit·from·the·helper. 
52 ·47 
53 ·48·template<typename·T> 
54 ·49·struct·numeric_limits_helper 
55 ·50·{ 
56 ·51 
57 ·52·protected: 
58 ·53 
59 ·54·static·std::uint16_t&·digit(T&·big_unsigned_int,·std::size_t·i) 
60 ·55·{ 
61 ·56·return·big_unsigned_int.digit[i]; 
62 ·57·} 
63 ·58 
64 ·59·}; 
65 ·60 
66 ·61·} 
67 ·62 
68 ·72·template<int·k> 
69 73·class·bigunsignedint·{ 
70 ·74·public: 
71 ·75 
72 ·76·//·unsigned·short·is·16·bits·wide,·n·is·the·number·of·digits·needed 
73 77·constexpr·static·int·bits·=·std::numeric_limits<std::uint16_t>::digits; 
74 78·constexpr·static·int·n·=·k/bits+(k%bits!=0); 
75 79·constexpr·static·int·hexdigits·=·4; 
76 80·constexpr·static·int·bitmask·=·0xFFFF; 
77 81·constexpr·static·int·compbitmask·=·0xFFFF0000; 
78 82·constexpr·static·int·overflowmask·=·0x1; 
79 ·83 
80 ·85·bigunsignedint·(); 
81 ·86 
82 ·88·template<typename·Signed> 
83 ·89·bigunsignedint·(Signed·x,·typename·std::enable_if<std:: 
84 is_integral<Signed>::value·&&·std::is_signed<Signed>::value>::type*·=·0); 
85 ·90 
86 ·92·bigunsignedint·(std::uintmax_t·x); 
87 ·93 
88 ·95·void·print·(std::ostream&·s)·const·; 
89 ·9633 ·96
 34 101·static·const·DebugLevel·VERBOSE_DEBUG_LEVEL·=·2;
90 98·bigunsignedint<k>·operator+(const·bigunsignedint<k>&·x)·const; 
91 ·99·bigunsignedint<k>&·operator+=(const·bigunsignedint<k>&·x); 
92 ·10035 ·102
 36 107·typedef·DebugStream<VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DVerbType;
93 102·bigunsignedint<k>·operator-(const·bigunsignedint<k>&·x)·const; 
94 ·103·bigunsignedint<k>&·operator-=(const·bigunsignedint<k>&·x); 
95 ·104 
96 106·bigunsignedint<k>·operator*(const·bigunsignedint<k>&·x)·const; 
97 ·107·bigunsignedint<k>&·operator*=(const·bigunsignedint<k>&·x); 
98 ·10837 ·108
 38 116·extern·DVerbType·dverb;
99 ·110·bigunsignedint<k>&·operator++(); 
100 ·111 
101 115·bigunsignedint<k>·operator/(const·bigunsignedint<k>&·x)·const; 
102 ·116·bigunsignedint<k>&·operator/=(const·bigunsignedint<k>&·x); 
103 ·11739 ·117
 40 122·static·const·DebugLevel·INFO_DEBUG_LEVEL·=·3;
104 121·bigunsignedint<k>·operator%(const·bigunsignedint<k>&·x)·const; 
105 ·122·bigunsignedint<k>&·operator%=(const·bigunsignedint<k>&·x); 
106 ·12341 ·123
 42 128·typedef·DebugStream<INFO_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DInfoType;
Max diff block lines reached; 25557/31470 bytes (81.21%) of diff not shown.
89.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00263.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·loop.hh·File·Reference</title>8 <title>dune-common:·power.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 680 lines modifiedOffset 58, 48 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
71 <a·href="#define-members">Macros</a>·&#124; 
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">loop.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">power.hh·File·Reference</div></div>
74 </div><!--header-->72 </div><!--header-->
75 <div·class="contents">73 <div·class="contents">
  
 74 <p>Various·implementations·of·the·power·function·for·run-time·and·static·arguments.··
 75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/> 
77 <code>#include·&lt;cmath&gt;</code><br·/> 
78 <code>#include·&lt;cstddef&gt;</code><br·/> 
79 <code>#include·&lt;cstdlib&gt;</code><br·/> 
80 <code>#include·&lt;ostream&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
83 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
84 </div>77 </div>
85 <p><a·href="a00263_source.html">Go·to·the·source·code·of·this·file.</a></p>78 <p><a·href="a00263_source.html">Go·to·the·source·code·of·this·file.</a></p>
86 <table·class="memberdecls">79 <table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
88 Classes</h2></td></tr>81 Classes</h2></td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02636.html">Dune::LoopSIMD&lt;·T,·S,·A·&gt;</a></td></tr>82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02420.html">Dune::StaticPower&lt;·b,·p·&gt;</a></td></tr>
 83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·b^p·at·compile·time.··<a·href="a02420.html#details">More...</a><br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02640.html">Dune::Simd::Overloads::ScalarType&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02644.html">Dune::Simd::Overloads::RebindType&lt;·U,·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02648.html">Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr> 
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02652.html">Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02424.html">Dune::Power&lt;·p·&gt;</a></td></tr>
 86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.··<a·href="a02424.html#details">More...</a><br·/></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">88 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
101 Namespaces</h2></td></tr>90 Namespaces</h2></td></tr>
102 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>91 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
103 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>92 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr> 
106 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
108 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr> 
109 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr> 
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:a00438"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html">Dune::MathOverloads</a></td></tr> 
112 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 </table><table·class="memberdecls"> 
115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
116 Macros</h2></td></tr> 
117 <tr·class="memitem:acb2192556fb08c1550c78d0db36245d5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#acb2192556fb08c1550c78d0db36245d5">DUNE_PRAGMA_OMP_SIMD</a></td></tr> 
118 <tr·class="separator:acb2192556fb08c1550c78d0db36245d5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:ab2eb0e852e28f54bf511377690ba664a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#ab2eb0e852e28f54bf511377690ba664a">DUNE_SIMD_LOOP_PREFIX_OP</a>(SYMBOL)</td></tr> 
120 <tr·class="separator:ab2eb0e852e28f54bf511377690ba664a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:ad0a3db4ac4d313e5df2f650176a7f47a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#ad0a3db4ac4d313e5df2f650176a7f47a">DUNE_SIMD_LOOP_UNARY_OP</a>(SYMBOL)</td></tr> 
122 <tr·class="separator:ad0a3db4ac4d313e5df2f650176a7f47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:a5d85dc28387ccfb44c53064ad236c22c"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#a5d85dc28387ccfb44c53064ad236c22c">DUNE_SIMD_LOOP_POSTFIX_OP</a>(SYMBOL)</td></tr> 
124 <tr·class="separator:a5d85dc28387ccfb44c53064ad236c22c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:ad721241fb510adc8e57604f6b9d6db18"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#ad721241fb510adc8e57604f6b9d6db18">DUNE_SIMD_LOOP_ASSIGNMENT_OP</a>(SYMBOL)</td></tr> 
126 <tr·class="separator:ad721241fb510adc8e57604f6b9d6db18"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:a0302b46e03078ba45bebdde05a538fa1"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#a0302b46e03078ba45bebdde05a538fa1">DUNE_SIMD_LOOP_BINARY_OP</a>(SYMBOL)</td></tr> 
128 <tr·class="separator:a0302b46e03078ba45bebdde05a538fa1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:aa267e22530058c5e240294d1fe9b72c5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#aa267e22530058c5e240294d1fe9b72c5">DUNE_SIMD_LOOP_BITSHIFT_OP</a>(SYMBOL)</td></tr> 
130 <tr·class="separator:aa267e22530058c5e240294d1fe9b72c5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:a8b0fe90d07a9419c0c5fa7edf441cc98"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#a8b0fe90d07a9419c0c5fa7edf441cc98">DUNE_SIMD_LOOP_COMPARISON_OP</a>(SYMBOL)</td></tr> 
132 <tr·class="separator:a8b0fe90d07a9419c0c5fa7edf441cc98"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 <tr·class="memitem:a4edb401d8c39ee4047c4157062238926"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#a4edb401d8c39ee4047c4157062238926">DUNE_SIMD_LOOP_BOOLEAN_OP</a>(SYMBOL)</td></tr> 
134 <tr·class="separator:a4edb401d8c39ee4047c4157062238926"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:ab733fd44275677e226938c6366d0e1dc"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#ab733fd44275677e226938c6366d0e1dc">DUNE_SIMD_LOOP_CMATH_UNARY_OP</a>(expr)</td></tr> 
136 <tr·class="separator:ab733fd44275677e226938c6366d0e1dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
137 <tr·class="memitem:acd61d806a793ead4a570ab5edf47857a"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#acd61d806a793ead4a570ab5edf47857a">DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN</a>(expr,··returnType)</td></tr> 
138 <tr·class="separator:acd61d806a793ead4a570ab5edf47857a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
139 <tr·class="memitem:a811ee59270233c3c40d1e4c52d3ee310"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#a811ee59270233c3c40d1e4c52d3ee310">DUNE_SIMD_LOOP_STD_UNARY_OP</a>(expr)</td></tr> 
140 <tr·class="separator:a811ee59270233c3c40d1e4c52d3ee310"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
141 <tr·class="memitem:a7f745d4f9480ed07bfe69af914816b22"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html#a7f745d4f9480ed07bfe69af914816b22">DUNE_SIMD_LOOP_STD_BINARY_OP</a>(expr)</td></tr> 
142 <tr·class="separator:a7f745d4f9480ed07bfe69af914816b22"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 </table><table·class="memberdecls"> 
144 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
145 Functions</h2></td></tr> 
146 <tr·class="memitem:a87b977cae5e0e694b4b108bc1cab9434"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a87b977cae5e0e694b4b108bc1cab9434">Dune::DUNE_SIMD_LOOP_BINARY_OP</a>·(+)</td></tr> 
147 <tr·class="separator:a87b977cae5e0e694b4b108bc1cab9434"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
148 <tr·class="memitem:aa97415d63ec08e63ea87832efe86ddb4"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa97415d63ec08e63ea87832efe86ddb4">Dune::DUNE_SIMD_LOOP_BINARY_OP</a>·(-)</td></tr> 
149 <tr·class="separator:aa97415d63ec08e63ea87832efe86ddb4"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
150 <tr·class="memitem:a971fdb1c4fc3a2045834643c0b3ac41d"><td·class="memItemLeft"·align="right"·valign="top">DUNE_SIMD_LOOP_BINARY_OP·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a971fdb1c4fc3a2045834643c0b3ac41d">Dune::DUNE_SIMD_LOOP_BINARY_OP</a>·(/);DUNE_SIMD_LOOP_BINARY_OP(%</td></tr> 
151 <tr·class="separator:a971fdb1c4fc3a2045834643c0b3ac41d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
152 <tr·class="memitem:affe0a8a108f83afdc111db9843ac6e66"><td·class="memItemLeft"·align="right"·valign="top">DUNE_SIMD_LOOP_BINARY_OP·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#affe0a8a108f83afdc111db9843ac6e66">Dune::DUNE_SIMD_LOOP_BINARY_OP</a>·(|);DUNE_SIMD_LOOP_BINARY_OP(^</td></tr> 
153 <tr·class="separator:affe0a8a108f83afdc111db9843ac6e66"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
154 <tr·class="memitem:ab1786e12e4c3efe8a6117ddd99a8724a"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab1786e12e4c3efe8a6117ddd99a8724a">Dune::DUNE_SIMD_LOOP_BITSHIFT_OP</a>·(&lt;&lt;)</td></tr> 
155 <tr·class="separator:ab1786e12e4c3efe8a6117ddd99a8724a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
156 <tr·class="memitem:a5146d4e5a65562d14d000c78019ec6dd"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a5146d4e5a65562d14d000c78019ec6dd">Dune::DUNE_SIMD_LOOP_BITSHIFT_OP</a>·(&gt;·&gt;)</td></tr> 
157 <tr·class="separator:a5146d4e5a65562d14d000c78019ec6dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
158 <tr·class="memitem:aae72f618cfe280b17a988b83395f8927"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aae72f618cfe280b17a988b83395f8927">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(&lt;)</td></tr> 
159 <tr·class="separator:aae72f618cfe280b17a988b83395f8927"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
160 <tr·class="memitem:a86b3da3ac3b884cf28ba5dc3dfee5652"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a86b3da3ac3b884cf28ba5dc3dfee5652">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(&lt;=)</td></tr> 
161 <tr·class="separator:a86b3da3ac3b884cf28ba5dc3dfee5652"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
162 <tr·class="memitem:a16bec43001a47bb4b3d6a78aec88476b"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a16bec43001a47bb4b3d6a78aec88476b">Dune::DUNE_SIMD_LOOP_COMPARISON_OP</a>·(&gt;=)</td></tr> 
Max diff block lines reached; 31425/74009 bytes (42.46%) of diff not shown.
16.6 KB
html2text {}
    
Offset 4, 490 lines modifiedOffset 4, 31 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces
7 ····*·simd 
8 Classes·|·Namespaces·|·Macros·|·Functions 
9 loop.hh·File·Reference8 power.hh·File·Reference
 9 Various·implementations·of·the·power·function·for·run-time·and·static
 10 arguments.·More...
10 #include·<array> 
11 #include·<cmath> 
12 #include·<cstddef> 
13 #include·<cstdlib> 
14 #include·<ostream> 
15 #include·<dune/common/math.hh>11 #include·<dune/common/math.hh>
16 #include·<dune/common/simd/simd.hh> 
17 #include·<dune/common/typetraits.hh> 
18 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
19 ·Classes13 ·Classes
20 ·class· Dune::LoopSIMD<_T,_S,_A_>14 struct· Dune::StaticPower<_b,_p_>
 15  ·······Calculates·b^p·at·compile·time.·More...
21  16  
 17 struct· Dune::Power<_p_>
 18  ·······Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.
 19 ·········More...
22 struct· Dune::Simd::Overloads::ScalarType<_LoopSIMD<_T,_S,_A_>_> 
23   
24 struct· Dune::Simd::Overloads::RebindType<_U,_LoopSIMD<_T,_S,_A_>_> 
25   
26 struct· Dune::Simd::Overloads::LaneCount<_LoopSIMD<_T,_S,_A_>_> 
27   
28 struct· Dune::IsNumber<_LoopSIMD<_T,_S,_A_>_> 
29  20  
30 ·Namespaces21 ·Namespaces
31 namespace· Dune22 namespace· Dune
32  ··········Dune·namespace.23  ··········Dune·namespace.
33  24  
 25 *****·Detailed·Description·*****
 26 Various·implementations·of·the·power·function·for·run-time·and·static
 27 arguments.
34 namespace· Dune::Simd 
35  ··········Namespace·for·vectorization·interface·functions·used·by·library 
36 ············developers. 
37   
38 namespace· Dune::Simd::Overloads 
39  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
40 ············implementation. 
41   
42 namespace· Dune::MathOverloads 
43  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics 
44   
45 ·Macros 
46 #define DUNE_PRAGMA_OMP_SIMD 
47   
48 #define DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL) 
49   
50 #define DUNE_SIMD_LOOP_UNARY_OP(SYMBOL) 
51   
52 #define DUNE_SIMD_LOOP_POSTFIX_OP(SYMBOL) 
53   
54 #define DUNE_SIMD_LOOP_ASSIGNMENT_OP(SYMBOL) 
55   
56 #define DUNE_SIMD_LOOP_BINARY_OP(SYMBOL) 
57   
58 #define DUNE_SIMD_LOOP_BITSHIFT_OP(SYMBOL) 
59   
60 #define DUNE_SIMD_LOOP_COMPARISON_OP(SYMBOL) 
61   
62 #define DUNE_SIMD_LOOP_BOOLEAN_OP(SYMBOL) 
63   
64 #define DUNE_SIMD_LOOP_CMATH_UNARY_OP(expr) 
65   
66 #define DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN(expr,·returnType) 
67   
68 #define DUNE_SIMD_LOOP_STD_UNARY_OP(expr) 
69   
70 #define DUNE_SIMD_LOOP_STD_BINARY_OP(expr) 
71   
72 ·Functions 
73 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(+) 
74   
75 ···························· Dune::DUNE_SIMD_LOOP_BINARY_OP·(-) 
76   
77 ··DUNE_SIMD_LOOP_BINARY_OP·* Dune::DUNE_SIMD_LOOP_BINARY_OP·(/ 
78 ······························);DUNE_SIMD_LOOP_BINARY_OP(% 
79   
80 ··DUNE_SIMD_LOOP_BINARY_OP·& Dune::DUNE_SIMD_LOOP_BINARY_OP 
81 ······························(|);DUNE_SIMD_LOOP_BINARY_OP(^ 
82   
83 ···························· Dune::DUNE_SIMD_LOOP_BITSHIFT_OP·(<<) 
84   
85 ···························· Dune::DUNE_SIMD_LOOP_BITSHIFT_OP·(>·>) 
86   
87 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(<) 
88   
89 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(<=) 
90   
91 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(>=) 
92   
93 ···························· Dune::DUNE_SIMD_LOOP_COMPARISON_OP·(!=) 
94   
95 DUNE_SIMD_LOOP_BOOLEAN_OP·&& Dune::DUNE_SIMD_LOOP_BOOLEAN_OP·(||);template< 
96 ······························class·T,·std::size_t·S,·std::size_t·A·>·std:: 
97 ······························ostream·&operator<<(std::ostream·&os,·const 
98 ······························LoopSIMD<·T,·S,·A·>·&v 
99   
100 template<class·T·,·std::size_t·S,·std::size_t·A> 
101 ························auto Dune::Simd::Overloads::lane·(ADLTag<·5·>,·std:: 
102 ······························size_t·l,·LoopSIMD<·T,·S,·A·>·&&v)·->·decltype 
103 ······························(std::move(Simd::lane(l%lanes<·T·>(),·v[l/lanes< 
104 ······························T·>()]))) 
105   
106 template<class·T·,·std::size_t·S,·std::size_t·A> 
107 ························auto Dune::Simd::Overloads::lane·(ADLTag<·5·>,·std:: 
108 ······························size_t·l,·const·LoopSIMD<·T,·S,·A·>·&v)·- 
109 ······························>·decltype(Simd::lane(l%lanes<·T·>(),·v[l/lanes< 
110 ······························T·>()])) 
111   
112 template<class·T·,·std::size_t·S,·std::size_t·A> 
113 ························auto Dune::Simd::Overloads::lane·(ADLTag<·5·>,·std:: 
114 ······························size_t·l,·LoopSIMD<·T,·S,·A·>·&v)·->·decltype 
115 ······························(Simd::lane(l%lanes<·T·>(),·v[l/lanes<·T·>()])) 
116   
Max diff block lines reached; 116/16972 bytes (0.68%) of diff not shown.
176 KB
./usr/share/doc/libdune-common-doc/doxygen/a00263_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·loop.hh·Source·File</title>8 <title>dune-common:·power.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 705 lines modifiedOffset 58, 61 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">loop.hh</div></div>68 ··<div·class="headertitle"><div·class="title">power.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00263.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00263.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_LOOP_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_POWER_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_LOOP_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_POWER_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;array&gt;</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead.</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00119.html">dune/common/math.hh</a>&gt;</span></div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00281.html">dune/common/math.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 84 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·b,·<span·class="keywordtype">int</span>·p&gt;</div>
 85 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a02420.html">···27</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02420.html">StaticPower</a></div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>86 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··{</div>
 87 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">···30</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">power</a>·=·<a·class="code·hl_function"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">Dune::power</a>(b,p);</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">/*</span></div>88 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··};</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">·*·silence·warnings·from·GCC·about·using·integer·operands·on·a·bool</span></div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="comment">·*·(when·instantiated·for·T=bool)</span></div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="comment">·*/</span></div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#if·__GNUC__·&gt;=·7</span></div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#··pragma·GCC·diagnostic·push</span></div> 
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#··pragma·GCC·diagnostic·ignored·&quot;-Wbool-operation&quot;</span></div> 
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#··pragma·GCC·diagnostic·ignored·&quot;-Wint-in-bool-context&quot;</span></div> 
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#··define·GCC_WARNING_DISABLED</span></div> 
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#endif</span></div> 
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>89 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="comment">/*</span></div> 
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="comment">·*·silence·warnings·from·Clang·about·using·bitwise·operands·on</span></div> 
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="comment">·*·a·bool·(when·instantiated·for·T=bool)</span></div> 
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">·*/</span></div>90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·p&gt;</div>
 92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02424.html">···41</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02424.html">Power</a></div>
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#ifdef·__clang__</span></div> 
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#if·__has_warning(&quot;-Wbitwise-instead-of-logical&quot;</span>)</div> 
106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#··pragma·clang·diagnostic·push</span></div> 
107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#··pragma·clang·diagnostic·ignored·&quot;-Wbitwise-instead-of-logical&quot;</span></div> 
108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#··define·CLANG_WARNING_DISABLED</span></div> 
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#endif</span></div> 
110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#endif</span></div>93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>
 94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T&gt;</div>
 95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga71e044edf267e984da3cb61e61a9d886">···44</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00397.html#ga71e044edf267e984da3cb61e61a9d886">eval</a>(<span·class="keyword">const</span>·T·&amp;·a)</div>
 96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div>
 97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">power</a>(a,p);</div>
 98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····}</div>
 99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div>
111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">/*</span></div> 
113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·&gt;=·4</span></div> 
114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">·*/</span></div> 
115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#if·_OPENMP·&gt;=·201307</span></div> 
116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">··#define·DUNE_PRAGMA_OMP_SIMD·_Pragma(&quot;omp·simd&quot;</span>)</div> 
117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">#else</span></div> 
118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00263.html#acb2192556fb08c1550c78d0db36245d5">···48</a></span><span·class="preprocessor">··#define·DUNE_PRAGMA_OMP_SIMD</span></div> 
119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#endif</span></div> 
120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div>
121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·S,·std::<span·class="keywordtype">size_t</span>·A·=·0&gt;</div> 
123 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02636.html">···64</a></span>··<span·class="keyword">class·</span><span·class="keyword">alignas</span>(A==0?alignof(T):A)·<a·class="code·hl_class"·href="a02636.html">LoopSIMD</a>·:·<span·class="keyword">public</span>·std::array&lt;T,S&gt;·{</div> 
124 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
125 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">public</span>:</div> 
126 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
127 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="comment">//default·constructor</span></div> 
128 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02636.html#aa7b761d44fdf729db83c8c2ad943c4ba">···69</a></span>····<a·class="code·hl_function"·href="a02636.html#aa7b761d44fdf729db83c8c2ad943c4ba">LoopSIMD</a>()·{</div> 
129 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······assert(<span·class="keyword">reinterpret_cast&lt;</span>uintptr_t<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)·%·<a·class="code·hl_function"·href="a00428.html#a10f66b4d8465c253379031564e8ba250">std::min</a>(<span·class="keyword">alignof</span>(<a·class="code·hl_class"·href="a02636.html">LoopSIMD&lt;T,S,A&gt;</a>),<span·class="keyword">alignof</span>(std::max_align_t))·==·0);</div> 
130 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div> 
131 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
132 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="comment">//·broadcast·constructor·initializing·the·content·with·a·given·value</span></div> 
133 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a02636.html#a072ca848e458658de03c506a9d2408b1">···74</a></span>····<a·class="code·hl_function"·href="a02636.html#a072ca848e458658de03c506a9d2408b1">LoopSIMD</a>(<a·class="code·hl_typedef"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar&lt;T&gt;</a>·i)·:·<a·class="code·hl_class"·href="a02636.html">LoopSIMD</a>()·{</div> 
134 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······this-&gt;fill(i);</div> 
135 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····}</div> 
136 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
137 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·OA&gt;</div> 
138 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a02636.html#aa66bb88d1bb61a611d0ebe555e9e6f07">···79</a></span>······<span·class="keyword">explicit</span>·<a·class="code·hl_function"·href="a02636.html#aa66bb88d1bb61a611d0ebe555e9e6f07">LoopSIMD</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02636.html">LoopSIMD&lt;T,S,OA&gt;</a>&amp;·other)</div> 
139 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······:·<a·class="code·hl_namespace"·href="a00424.html">std</a>::array&lt;T,S&gt;(other)</div> 
140 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····{</div> 
141 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······assert(<span·class="keyword">reinterpret_cast&lt;</span>uintptr_t<span·class="keyword">&gt;</span>(<span·class="keyword">this</span>)·%·<a·class="code·hl_function"·href="a00428.html#a10f66b4d8465c253379031564e8ba250">std::min</a>(<span·class="keyword">alignof</span>(<a·class="code·hl_class"·href="a02636.html">LoopSIMD&lt;T,S,A&gt;</a>),<span·class="keyword">alignof</span>(std::max_align_t))·==·0);</div> 
142 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</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">/*</span></div> 
145 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">·····*··Definition·of·basic·operators</span></div> 
146 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">·····*/</span></div> 
147 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
148 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<span·class="comment">//Prefix·operators</span></div> 
149 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00263.html#ab2eb0e852e28f54bf511377690ba664a">···90</a></span><span·class="preprocessor">#define·DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)·········\</span></div> 
150 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">····auto·operator·SYMBOL()·{·····················\</span></div> 
151 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="preprocessor">······DUNE_PRAGMA_OMP_SIMD·······················\</span></div> 
152 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="preprocessor">······for(std::size_t·i=0;·i&lt;S;·i++){············\</span></div> 
153 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="preprocessor">········SYMBOL(*this)[i];························\</span></div> 
154 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="preprocessor">······}··········································\</span></div> 
Max diff block lines reached; 14778/151614 bytes (9.75%) of diff not shown.
27.7 KB
html2text {}
    
Offset 4, 844 lines modifiedOffset 4, 68 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 power.hh
7 ····*·simd 
8 loop.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
13 ·3#ifndef·DUNE_COMMON_SIMD_LOOP_HH14 ·5#ifndef·DUNE_COMMON_POWER_HH
14 ·4#define·DUNE_COMMON_SIMD_LOOP_HH15 ·6#define·DUNE_COMMON_POWER_HH
 16 ·7
 17 ·8#warning·The·header·power.hh·is·deprecated.·Use·power·from·math.hh·instead.
 18 ·9
15 ·5 
16 ·6#include·<array> 
17 ·7#include·<cmath> 
18 ·8#include·<cstddef> 
19 ·9#include·<cstdlib> 
20 ·10#include·<ostream> 
21 ·11 
22 ·12#include·<dune/common/math.hh>19 ·14#include·<dune/common/math.hh>
23 ·13#include·<dune/common/simd/simd.hh> 
24 ·14#include·<dune/common/typetraits.hh> 
25 ·1520 ·15
26 ·16namespace·Dune·{21 ·16namespace·Dune·{
27 ·1722 ·17
 23 ·26·template·<int·b,·int·p>
 24 27·struct·StaticPower
 25 ·28·{
 26 30·static·constexpr·int·power·=·Dune::power(b,p);
 27 ·31·};
 28 ·32
 29 ·33
 30 ·40·template·<int·p>
 31 41·struct·Power
 32 ·42·{
 33 ·43·template·<typename·T>
 34 44·static·constexpr·auto·eval(const·T·&·a)
 35 ·45·{
 36 ·46·return·power(a,p);
 37 ·47·}
 38 ·48·};
 39 ·49
28 ·18 
29 ·19/* 
30 ·20·*·silence·warnings·from·GCC·about·using·integer·operands·on·a·bool 
31 ·21·*·(when·instantiated·for·T=bool) 
32 ·22·*/ 
33 ·23#if·__GNUC__·>=·7 
34 ·24#·pragma·GCC·diagnostic·push 
35 ·25#·pragma·GCC·diagnostic·ignored·"-Wbool-operation" 
36 ·26#·pragma·GCC·diagnostic·ignored·"-Wint-in-bool-context" 
37 ·27#·define·GCC_WARNING_DISABLED 
38 ·28#endif 
39 ·29 
40 ·30/* 
41 ·31·*·silence·warnings·from·Clang·about·using·bitwise·operands·on 
42 ·32·*·a·bool·(when·instantiated·for·T=bool) 
43 ·33·*/ 
44 ·34#ifdef·__clang__ 
45 ·35#if·__has_warning("-Wbitwise-instead-of-logical") 
46 ·36#·pragma·clang·diagnostic·push 
47 ·37#·pragma·clang·diagnostic·ignored·"-Wbitwise-instead-of-logical" 
48 ·38#·define·CLANG_WARNING_DISABLED 
49 ·39#endif 
50 ·40#endif 
51 ·41 
52 ·42/* 
53 ·43·*·Introduce·a·simd·pragma·if·OpenMP·is·available·in·standard·version·>=·4 
54 ·44·*/ 
55 ·45#if·_OPENMP·>=·201307 
56 ·46·#define·DUNE_PRAGMA_OMP_SIMD·_Pragma("omp·simd") 
57 ·47#else 
58 48·#define·DUNE_PRAGMA_OMP_SIMD 
59 ·49#endif 
60 ·5040 ·50}
61 ·5141 ·51
62 ·63·template<class·T,·std::size_t·S,·std::size_t·A·=·0> 
63 64·class·alignas(A==0?alignof(T):A)·LoopSIMD·:·public·std::array<T,S>·{ 
64 ·65 
65 ·66·public: 
66 ·67 
67 ·68·//default·constructor 
68 69·LoopSIMD()·{ 
69 ·70·assert(reinterpret_cast<uintptr_t>(this)·%·std::min(alignof 
70 (LoopSIMD<T,S,A>),alignof(std::max_align_t))·==·0); 
71 ·71·} 
72 ·72 
73 ·73·//·broadcast·constructor·initializing·the·content·with·a·given·value 
74 74·LoopSIMD(Simd::Scalar<T>·i)·:·LoopSIMD()·{ 
75 ·75·this->fill(i); 
76 ·76·} 
77 ·77 
78 ·78·template<std::size_t·OA> 
79 79·explicit·LoopSIMD(const·LoopSIMD<T,S,OA>&·other) 
80 ·80·:·std::array<T,S>(other) 
81 ·81·{ 
82 ·82·assert(reinterpret_cast<uintptr_t>(this)·%·std::min(alignof 
83 (LoopSIMD<T,S,A>),alignof(std::max_align_t))·==·0); 
84 ·83·} 
85 ·84 
86 ·85·/* 
87 ·86·*·Definition·of·basic·operators 
88 ·87·*/ 
89 ·88 
90 ·89·//Prefix·operators 
91 90#define·DUNE_SIMD_LOOP_PREFIX_OP(SYMBOL)·\ 
92 ·91·auto·operator·SYMBOL()·{·\ 
93 ·92·DUNE_PRAGMA_OMP_SIMD·\ 
94 ·93·for(std::size_t·i=0;·i<S;·i++){·\ 
95 ·94·SYMBOL(*this)[i];·\ 
96 ·95·}·\ 
97 ·96·return·*this;·\ 
98 ·97·}·\ 
99 ·98·static_assert(true,·"expecting·;") 
100 ·99 
101 100·DUNE_SIMD_LOOP_PREFIX_OP(++); 
102 101·DUNE_SIMD_LOOP_PREFIX_OP(--); 
103 ·102#undef·DUNE_SIMD_LOOP_PREFIX_OP 
Max diff block lines reached; 7971/28298 bytes (28.17%) of diff not shown.
45.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00266.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·test.hh·File·Reference</title>8 <title>dune-common:·propertymap.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 496 lines modifiedOffset 58, 84 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#func-members">Functions</a>··</div>
71 <a·href="#define-members">Macros</a>·&#124; 
72 <a·href="#typedef-members">Typedefs</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">test.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">propertymap.hh·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Common·tests·for·simd·abstraction·implementations.·· 
77 <a·href="#details">More...</a></p> 
78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>75 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
79 <code>#include·&lt;cstddef&gt;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/> 
81 <code>#include·&lt;sstream&gt;</code><br·/>76 <code>#include·&lt;iterator&gt;</code><br·/>
82 <code>#include·&lt;string&gt;</code><br·/> 
83 <code>#include·&lt;type_traits&gt;</code><br·/>77 <code>#include·&lt;type_traits&gt;</code><br·/>
84 <code>#include·&lt;typeindex&gt;</code><br·/> 
85 <code>#include·&lt;typeinfo&gt;</code><br·/> 
86 <code>#include·&lt;unordered_set&gt;</code><br·/> 
87 <code>#include·&lt;utility&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
89 <code>#include·&lt;<a·class="el"·href="a00191_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/simd/io.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/> 
93 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
94 <code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/> 
95 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
96 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
97 </div>78 </div>
98 <p><a·href="a00266_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00266_source.html">Go·to·the·source·code·of·this·file.</a></p>
99 <table·class="memberdecls">80 <table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
101 Classes</h2></td></tr>82 Classes</h2></td></tr>
 83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02440.html">Dune::PropertyMapTraits&lt;·PM·&gt;</a></td></tr>
 84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02444.html">Dune::ReadablePropertyMapTag</a></td></tr>
 86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·readable·property·maps.··<a·href="a02444.html#details">More...</a><br·/></td></tr>
 87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02448.html">Dune::WritablePropertyMapTag</a></td></tr>
 89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·writable·property·maps.··<a·href="a02448.html#details">More...</a><br·/></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02452.html">Dune::ReadWritePropertyMapTag</a></td></tr>
 92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·readable·and·writable·property·maps.··<a·href="a02452.html#details">More...</a><br·/></td></tr>
 93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02724.html">Dune::Simd::EndMark</a></td></tr>94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02456.html">Dune::LvaluePropertyMapTag</a></td></tr>
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">final·element·marker·for·<code>RebindList</code>··<a·href="a02724.html#details">More...</a><br·/></td></tr>95 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·for·the·category·of·lvalue·property·maps.··<a·href="a02456.html#details">More...</a><br·/></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02460.html">Dune::PropertyMapTraits&lt;·T·*·&gt;</a></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02464.html">Dune::PropertyMapTraits&lt;·const·T·*·&gt;</a></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02468.html">Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;</a></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02472.html">Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;</a></td></tr>
 104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Adapter·to·turn·a·random·access·iterator·into·a·property·map.··<a·href="a02472.html#details">More...</a><br·/></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02476.html">Dune::AssociativePropertyMap&lt;·T·&gt;</a></td></tr>
 107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·adapter·to·turn·an·unique·associative·container·into·a·property·map.··<a·href="a02476.html#details">More...</a><br·/></td></tr>
 108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02480.html">Dune::ConstAssociativePropertyMap&lt;·T·&gt;</a></td></tr>
 110 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.··<a·href="a02480.html#details">More...</a><br·/></td></tr>
 111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02728.html">Dune::Simd::UnitTest</a></td></tr>112 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02484.html">Dune::IdentityMap</a></td></tr>
 113 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·property·map·that·applies·the·identity·function·to·integers.··<a·href="a02484.html#details">More...</a><br·/></td></tr>
 114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02488.html">Dune::PropertyMapTypeSelector&lt;·T,·C·&gt;</a></td></tr>
 116 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Selector·for·the·property·map·type.··<a·href="a02488.html#details">More...</a><br·/></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">118 </table><table·class="memberdecls">
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>119 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
109 Namespaces</h2></td></tr>120 Namespaces</h2></td></tr>
110 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>121 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
111 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>122 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr> 
114 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr> 
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 </table><table·class="memberdecls"> 
117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
118 Macros</h2></td></tr> 
119 <tr·class="memitem:a597f9d11a82f392a91b8bc12bd49a595"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#a597f9d11a82f392a91b8bc12bd49a595">DUNE_SIMD_CHECK</a>(expr)&#160;&#160;&#160;······((expr)·?·void()·:·complain(__FILE__,·__LINE__,·__func__,·#expr))</td></tr> 
120 <tr·class="separator:a597f9d11a82f392a91b8bc12bd49a595"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:a48b2df30d98156457f001562d4bd5270"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#a48b2df30d98156457f001562d4bd5270">DUNE_SIMD_CHECK_OP</a>(expr)</td></tr> 
122 <tr·class="separator:a48b2df30d98156457f001562d4bd5270"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:a09facb8a8a5240120cca8ec1d1605959"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#a09facb8a8a5240120cca8ec1d1605959">DUNE_SIMD_POSTFIX_OP</a>(NAME,··SYMBOL)</td></tr> 
124 <tr·class="separator:a09facb8a8a5240120cca8ec1d1605959"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 <tr·class="memitem:aeb2257e86dd590d0f724653136732d17"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#aeb2257e86dd590d0f724653136732d17">DUNE_SIMD_PREFIX_OP</a>(NAME,··SYMBOL)</td></tr> 
126 <tr·class="separator:aeb2257e86dd590d0f724653136732d17"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;Op(V)&gt;())</td></tr> 
128 <tr·class="separator:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:a20f7280cead2264697f74b1deebc17e5"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#a20f7280cead2264697f74b1deebc17e5">DUNE_SIMD_INFIX_OP</a>(NAME,··SYMBOL)</td></tr> 
130 <tr·class="separator:a20f7280cead2264697f74b1deebc17e5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:ad379032c70061c8e4d7d292356c9381c"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#ad379032c70061c8e4d7d292356c9381c">DUNE_SIMD_ASSIGN_OP</a>(NAME,··SYMBOL)</td></tr> 
132 <tr·class="separator:ad379032c70061c8e4d7d292356c9381c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 <tr·class="memitem:acf66af48cb08cc1bc5334b44dfd6e016"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#acf66af48cb08cc1bc5334b44dfd6e016">DUNE_SIMD_REPL_OP</a>(NAME,··REPLFN,··SYMBOL)</td></tr> 
134 <tr·class="separator:acf66af48cb08cc1bc5334b44dfd6e016"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:a125e4c3f5620741cca9cc19974d8fc51"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html#a125e4c3f5620741cca9cc19974d8fc51">DUNE_SIMD_OPNAME</a>&#160;&#160;&#160;(className&lt;OpInfixComma(T1,·T2)&gt;())</td></tr> 
Max diff block lines reached; 21176/38491 bytes (55.02%) of diff not shown.
7.64 KB
html2text {}
    
Offset 4, 205 lines modifiedOffset 4, 67 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Functions
 8 propertymap.hh·File·Reference
7 ····*·simd 
8 Classes·|·Namespaces·|·Macros·|·Typedefs 
9 test.hh·File·Reference 
10 Common·tests·for·simd·abstraction·implementations.·More... 
11 #include·<algorithm> 
12 #include·<cstddef>9 #include·<cstddef>
13 #include·<iostream> 
14 #include·<sstream>10 #include·<iterator>
15 #include·<string> 
16 #include·<type_traits>11 #include·<type_traits>
17 #include·<typeindex> 
18 #include·<typeinfo> 
19 #include·<unordered_set> 
20 #include·<utility> 
21 #include·<dune/common/classname.hh> 
22 #include·<dune/common/hybridutilities.hh> 
23 #include·<dune/common/rangeutilities.hh> 
24 #include·<dune/common/simd/io.hh> 
25 #include·<dune/common/simd/loop.hh> 
26 #include·<dune/common/simd/simd.hh> 
27 #include·<dune/common/std/type_traits.hh> 
28 #include·<dune/common/typelist.hh> 
29 #include·<dune/common/typetraits.hh> 
30 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
31 ·Classes13 ·Classes
 14 struct· Dune::PropertyMapTraits<_PM_>
32 struct· Dune::Simd::EndMark 
33  ·······final·element·marker·for·RebindList·More... 
34  15  
35 ·class· Dune::Simd::UnitTest16 struct· Dune::ReadablePropertyMapTag
 17  ·······Tag·for·the·category·of·readable·property·maps.·More...
 18  
 19 struct· Dune::WritablePropertyMapTag
 20  ·······Tag·for·the·category·of·writable·property·maps.·More...
 21  
 22 struct· Dune::ReadWritePropertyMapTag
 23  ·······Tag·for·the·category·of·readable·and·writable·property·maps.·More...
 24  
 25 struct· Dune::LvaluePropertyMapTag
 26  ·······Tag·for·the·category·of·lvalue·property·maps.·More...
 27  
 28 struct· Dune::PropertyMapTraits<_T_*_>
 29  
 30 struct· Dune::PropertyMapTraits<_const_T_*_>
 31  
 32 struct· Dune::RAPropertyMapHelper<_Reference,_PropertyMap_>
 33  
 34 ·class· Dune::IteratorPropertyMap<_RAI,_IM,_T,_R_>
 35  ·······Adapter·to·turn·a·random·access·iterator·into·a·property·map.·More...
 36  
 37 ·class· Dune::AssociativePropertyMap<_T_>
 38  ·······An·adapter·to·turn·an·unique·associative·container·into·a·property
 39 ·········map.·More...
 40  
 41 ·class· Dune::ConstAssociativePropertyMap<_T_>
 42  ·······An·adaptor·to·turn·an·unique·associative·container·into·a·property
 43 ·········map.·More...
 44  
 45 struct· Dune::IdentityMap
 46  ·······A·property·map·that·applies·the·identity·function·to·integers.·More...
 47  
 48 struct· Dune::PropertyMapTypeSelector<_T,_C_>
 49  ·······Selector·for·the·property·map·type.·More...
36  50  
37 ·Namespaces51 ·Namespaces
38 namespace· Dune52 namespace· Dune
39  ··········Dune·namespace.53  ··········Dune·namespace.
40  54  
41 namespace· Dune::Simd 
42  ··········Namespace·for·vectorization·interface·functions·used·by·library 
43 ············developers.55 ·Functions
 56 template<class·Reference·,·class·PropertyMap·,·class·Key·>
 57 Reference Dune::get·(const·RAPropertyMapHelper<·Reference,·PropertyMap·>
 58 ···········&pmap,·const·Key·&key)
44  59  
45 ·Macros 
46 #define DUNE_SIMD_CHECK(expr)   ·((expr)·?·void()·:·complain(__FILE__,·__LINE__, 
47 ·········__func__,·#expr))60 template<class·Reference·,·class·PropertyMap·,·class·Key·,·class·Value·>
 61 ·····void Dune::put·(const·RAPropertyMapHelper<·Reference,·PropertyMap·>
 62 ···········&pmap,·const·Key·&key,·const·Value·&value)
48  63  
49 #define DUNE_SIMD_CHECK_OP(expr) 
50   
51 #define DUNE_SIMD_POSTFIX_OP(NAME,·SYMBOL) 
52   
53 #define DUNE_SIMD_PREFIX_OP(NAME,·SYMBOL) 
54   
55 #define DUNE_SIMD_OPNAME   (className<Op(V)>()) 
56   
57 #define DUNE_SIMD_INFIX_OP(NAME,·SYMBOL) 
58   
59 #define DUNE_SIMD_ASSIGN_OP(NAME,·SYMBOL) 
60   
61 #define DUNE_SIMD_REPL_OP(NAME,·REPLFN,·SYMBOL) 
62   
63 #define DUNE_SIMD_OPNAME   (className<OpInfixComma(T1,·T2)>()) 
64   
65 #define DUNE_SIMD_OPNAME   (className<Op(V1,·V2)>()) 
66   
67 #define DUNE_SIMD_OPNAME   (className<Op(V1,·T2)>()) 
68   
69 #define DUNE_SIMD_OPNAME   (className<Op(V1,·T2)>()) 
70   
71 #define DUNE_SIMD_OPNAME   (className<Op(V1,·P2)>()) 
72   
73 #define DUNE_SIMD_DO(M1,·M2,·M3,·V1,·V2,·V3,·NAME) 
74   
75 ·Typedefs 
76 template<class...·Types> 
77 using Dune::Simd::RebindList·=·typename·Impl::RemoveEnd<·EndMark,·TypeList< 
78 ·······Types...·>·>::type 
79  ·····A·list·of·types·with·the·final·element·removed.·More... 
80   
81 template<class·T·> 
82 using Dune::Simd::IsLoop·=·typename·Impl::IsLoop<·T·>::type 
83  ·····check·whether·a·type·is·an·instance·of·LoopSIMD·More... 
84   
85 *****·Detailed·Description·***** 
Max diff block lines reached; 116/7802 bytes (1.49%) of diff not shown.
475 KB
./usr/share/doc/libdune-common-doc/doxygen/a00266_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·test.hh·Source·File</title>8 <title>dune-common:·propertymap.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 1985 lines modifiedOffset 58, 273 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">test.hh</div></div>68 ··<div·class="headertitle"><div·class="title">propertymap.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00266.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00266.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_TEST_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PROPERTYMAP_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_TEST_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PROPERTYMAP_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
77 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;sstream&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;string&gt;</span></div> 
81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;typeindex&gt;</span></div> 
83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div> 
84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;unordered_set&gt;</span></div> 
85 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
86 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00383.html">dune/common/classname.hh</a>&gt;</span></div> 
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00191.html">dune/common/hybridutilities.hh</a>&gt;</span></div> 
89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00245.html">dune/common/rangeutilities.hh</a>&gt;</span></div> 
90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00281.html">dune/common/simd/io.hh</a>&gt;</span></div> 
91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00263.html">dune/common/simd/loop.hh</a>&gt;</span></div> 
92 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00335.html">dune/common/std/type_traits.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00347.html">dune/common/typelist.hh</a>&gt;</span></div> 
95 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div> 
97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>{</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·PM&gt;</div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno"><a·class="line"·href="a02440.html">···16</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02440.html">PropertyMapTraits</a></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··{</div>
 88 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a02440.html#aefa8f676ee021f8ea1115671ffc2151a">···21</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PM::KeyType·<a·class="code·hl_typedef"·href="a02440.html#aefa8f676ee021f8ea1115671ffc2151a">KeyType</a>;</div>
 89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02440.html#a3bb5afe09fc0319fa3a2dc95c47438cd">···25</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PM::ValueType·<a·class="code·hl_typedef"·href="a02440.html#a3bb5afe09fc0319fa3a2dc95c47438cd">ValueType</a>;</div>
 90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a02440.html#a7b34064119ee04a9b27de25c1ba18c50">···29</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PM::Reference·<a·class="code·hl_typedef"·href="a02440.html#a7b34064119ee04a9b27de25c1ba18c50">Reference</a>;</div>
 91 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a02440.html#a6523572f0459d768d9923e84dc0c5d32">···33</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·PM::Category·<a·class="code·hl_typedef"·href="a02440.html#a6523572f0459d768d9923e84dc0c5d32">Category</a>;</div>
98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">namespace·</span>Simd·{</div>92 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··};</div>
99 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>93 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 94 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02444.html">···37</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02444.html">ReadablePropertyMapTag</a></div>
100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">namespace·</span>Impl·{</div>95 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{};</div>
101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>96 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02448.html">···41</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02448.html">WritablePropertyMapTag</a></div>
102 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·SFINAE·=·<span·class="keywordtype">void</span>&gt;</div> 
103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keyword">struct·</span>LessThenComparable·:·std::false_type·{};</div> 
104 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
105 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">struct·</span>LessThenComparable&lt;T,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::<a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">void_t</a>&lt;decltype(std::declval&lt;T&gt;()</div> 
106 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>···················································&lt;·std::declval&lt;T&gt;())&gt;·&gt;·:</div> 
107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>········std::true_type</div> 
108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······{};</div>98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{};</div>
109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02452.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02452.html">ReadWritePropertyMapTag</a></div>
 101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a02444.html">ReadablePropertyMapTag</a>,·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a02448.html">WritablePropertyMapTag</a></div>
110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div> 
111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">struct·</span>CopyConstHelper</div> 
112 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······{</div> 
113 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="keyword">using·</span>type·=·Dst;</div> 
114 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······};</div>102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{};</div>
115 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div> 
116 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keyword">struct·</span>CopyConstHelper&lt;Dst,·const·Src&gt;</div> 
117 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div> 
118 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keyword">using·</span>type·=·std::add_const_t&lt;Dst&gt;;</div> 
119 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······};</div> 
120 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
121 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div> 
122 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keyword">struct·</span>CopyVolatileHelper</div>104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02456.html">···55</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02456.html">LvaluePropertyMapTag</a></div>
 105 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a02452.html">ReadWritePropertyMapTag</a></div>
123 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······{</div>106 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{};</div>
 107 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
124 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keyword">using·</span>type·=·Dst;</div>108 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 109 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02460.html">···60</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02440.html">PropertyMapTraits</a>&lt;T*&gt;</div>
125 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······};</div>110 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>
126 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div> 
127 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">struct·</span>CopyVolatileHelper&lt;Dst,·volatile·Src&gt;</div> 
128 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······{</div> 
129 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········<span·class="keyword">using·</span>type·=·std::add_volatile_t&lt;Dst&gt;;</div>111 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">···62</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">ValueT[·...·truncated·by·diffoscope;·len:·7,·SHA:·4625b436b5aa8a818a3c89c3a5a4b6800da53d723a8b6f0878fd12801183fe17·...·];</div>
 112 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02460.html#a07802b26da42da291623626023a7cb29">···63</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_typedef"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">ValueType</a>&amp;·<a·class="code·hl_typedef"·href="a02460.html#a07802b26da42da291623626023a7cb29">Reference</a>;</div>
 113 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02460.html#a9ee803228ffc5eac14a6436786687756">···64</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a02460.html#a9ee803228ffc5eac14a6436786687756">KeyType</a>;</div>
 114 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02460.html#af7a412576ce736043f2951499b3ff4ea">···65</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a02456.html">LvaluePropertyMapTag</a>·<a·class="code·hl_typedef"·href="a02460.html#af7a412576ce736043f2951499b3ff4ea">Category</a>;</div>
130 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······};</div>115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··};</div>
131 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
132 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div> 
133 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keyword">struct·</span>CopyReferenceHelper</div> 
134 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div> 
135 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keyword">using·</span>type·=·Dst;</div> 
136 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······};</div> 
137 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Dst,·<span·class="keyword">class</span>·Src&gt;</div> 
138 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<span·class="keyword">struct·</span>CopyReferenceHelper&lt;Dst,·Src&amp;&gt;</div> 
139 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······{</div> 
140 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">using·</span>type·=·std::add_lvalue_reference_t&lt;Dst&gt;;</div> 
141 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······};</div> 
142 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02464.html">···70</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02440.html">PropertyMapTraits</a>&lt;const·T*&gt;</div>
 120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··{</div>
 121 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">···72</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">ValueType</a>;</div>
Max diff block lines reached; 359768/402374 bytes (89.41%) of diff not shown.
82.1 KB
html2text {}
    
Offset 4, 2091 lines modifiedOffset 4, 369 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 propertymap.hh
7 ····*·simd 
8 test.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5#ifndef·DUNE_PROPERTYMAP_HH
 15 ·6#define·DUNE_PROPERTYMAP_HH
 16 ·7
13 ·3#ifndef·DUNE_COMMON_SIMD_TEST_HH 
14 ·4#define·DUNE_COMMON_SIMD_TEST_HH 
15 ·5 
16 ·12#include·<algorithm> 
17 ·13#include·<cstddef>17 ·8#include·<cstddef>
 18 ·9#include·<iterator>
18 ·14#include·<iostream> 
19 ·15#include·<sstream> 
20 ·16#include·<string> 
21 ·17#include·<type_traits>19 ·10#include·<type_traits>
 20 ·11
22 ·18#include·<typeindex> 
23 ·19#include·<typeinfo> 
24 ·20#include·<unordered_set> 
25 ·21#include·<utility> 
26 ·22 
27 ·23#include·<dune/common/classname.hh> 
28 ·24#include·<dune/common/hybridutilities.hh> 
29 ·25#include·<dune/common/rangeutilities.hh> 
30 ·26#include·<dune/common/simd/io.hh> 
31 ·27#include·<dune/common/simd/loop.hh> 
32 ·28#include·<dune/common/simd/simd.hh> 
33 ·29#include·<dune/common/std/type_traits.hh> 
34 ·30#include·<dune/common/typelist.hh> 
35 ·31#include·<dune/common/typetraits.hh> 
36 ·32 
37 ·33namespace·Dune·{21 ·12namespace·Dune
38 ·34·namespace·Simd·{22 ·13{
 23 ·14
 24 ·15·template<class·PM>
 25 16·struct·PropertyMapTraits
 26 ·17·{
 27 21·typedef·typename·PM::KeyType·KeyType;
 28 25·typedef·typename·PM::ValueType·ValueType;
 29 29·typedef·typename·PM::Reference·Reference;
 30 33·typedef·typename·PM::Category·Category;
 31 ·34·};
39 ·3532 ·35
 33 37·struct·ReadablePropertyMapTag
 34 ·38·{};
 35 ·39
 36 41·struct·WritablePropertyMapTag
40 ·36·namespace·Impl·{ 
41 ·37 
42 ·38·template<class·T,·class·SFINAE·=·void> 
43 ·39·struct·LessThenComparable·:·std::false_type·{}; 
44 ·40·template<class·T> 
45 ·41·struct·LessThenComparable<T,·std::void_t<decltype(std::declval<T>() 
46 ·42·<·std::declval<T>())>·>·: 
47 ·43·std::true_type 
48 ·44·{};37 ·42·{};
 38 ·43
 39 48·struct·ReadWritePropertyMapTag
 40 ·49·:·public·ReadablePropertyMapTag,·public·WritablePropertyMapTag
49 ·45 
50 ·46·template<class·Dst,·class·Src> 
51 ·47·struct·CopyConstHelper 
52 ·48·{ 
53 ·49·using·type·=·Dst; 
54 ·50·};41 ·50·{};
 42 ·51
 43 55·struct·LvaluePropertyMapTag
 44 ·56·:·public·ReadWritePropertyMapTag
55 ·51·template<class·Dst,·class·Src> 
56 ·52·struct·CopyConstHelper<Dst,·const·Src> 
57 ·53·{ 
58 ·54·using·type·=·std::add_const_t<Dst>; 
59 ·55·};45 ·57·{};
 46 ·58
 47 ·59·template<class·T>
 48 60·struct·PropertyMapTraits<T*>
60 ·56 
61 ·57·template<class·Dst,·class·Src> 
62 ·58·struct·CopyVolatileHelper 
63 ·59·{ 
64 ·60·using·type·=·Dst; 
65 ·61·}; 
66 ·62·template<class·Dst,·class·Src> 
67 ·63·struct·CopyVolatileHelper<Dst,·volatile·Src> 
68 ·64·{49 ·61·{
69 ·65·using·type·=·std::add_volatile_t<Dst>;50 62·typedef·T·ValueType;
 51 63·typedef·ValueType&·Reference;
 52 64·typedef·std::ptrdiff_t·KeyType;
 53 65·typedef·LvaluePropertyMapTag·Category;
70 ·66·};54 ·66·};
71 ·6755 ·67
 56 ·68
72 ·68·template<class·Dst,·class·Src> 
73 ·69·struct·CopyReferenceHelper 
74 ·70·{ 
75 ·71·using·type·=·Dst; 
76 ·72·}; 
77 ·73·template<class·Dst,·class·Src> 
78 ·74·struct·CopyReferenceHelper<Dst,·Src&> 
79 ·75·{ 
80 ·76·using·type·=·std::add_lvalue_reference_t<Dst>; 
81 ·77·}; 
82 ·78 
83 ·79·template<class·Dst,·class·Src> 
84 ·80·struct·CopyReferenceHelper<Dst,·Src&&> 
85 ·81·{ 
86 ·82·using·type·=·std::add_rvalue_reference_t<Dst>; 
87 ·83·}; 
88 ·84 
89 ·85·template<class·Dst,·class·Src> 
90 ·86·using·CopyRefQual·=·typename·CopyReferenceHelper< 
91 ·87·typename·CopyVolatileHelper< 
92 ·88·typename·CopyConstHelper< 
Max diff block lines reached; 77123/84090 bytes (91.71%) of diff not shown.
6.75 KB
./usr/share/doc/libdune-common-doc/doxygen/a00269.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·base.hh·File·Reference</title>8 <title>dune-common:·debugallocator.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 53 lines modifiedOffset 58, 23 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
 68 ··<div·class="headertitle"><div·class="title">debugallocator.hh·File·Reference</div></div>
68 ··<div·class="summary"> 
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>··</div> 
71 ··<div·class="headertitle"><div·class="title">base.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div> 
72 </div><!--header-->69 </div><!--header-->
73 <div·class="contents">70 <div·class="contents">
  
74 <p>Basic·definitions·for·SIMD·Implementations.·· 
75 <a·href="#details">More...</a></p> 
  
76 <p><a·href="a00269_source.html">Go·to·the·source·code·of·this·file.</a></p>71 <p><a·href="a00269_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <table·class="memberdecls"> 
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
79 Classes</h2></td></tr> 
80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02612.html">Dune::Simd::Overloads::ADLTag&lt;·i·&gt;</a></td></tr> 
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02616.html">Dune::Simd::Overloads::ADLTag&lt;·0·&gt;</a></td></tr> 
83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
84 </table><table·class="memberdecls"> 
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
86 Namespaces</h2></td></tr> 
87 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
88 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr> 
91 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr> 
94 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 </table> 
97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
98 <div·class="textblock"><p·>Basic·definitions·for·SIMD·Implementations.·</p> 
99 <p·>This·file·provides·basic·definitions·and·template·declarations·that·are·used·to·write·SIMD·abstraction·layers.</p> 
100 <p·>This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include·&lt;<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>&gt;·instead.·</p> 
101 </div></div><!--·contents·-->72 </div><!--·contents·-->
102 <!--·start·footer·part·-->73 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>74 <hr·class="footer"/><address·class="footer"><small>
104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.475 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
105 </small></address>76 </small></address>
106 </body>77 </body>
107 </html>78 </html>
1.17 KB
html2text {}
    
Offset 4, 39 lines modifiedOffset 4, 12 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 debugallocator.hh·File·Reference
7 ····*·simd 
8 Classes·|·Namespaces 
9 base.hh·File·Reference 
10 Common·»·Vectorization·»·Abstraction_Developer's_Interface 
11 Basic·definitions·for·SIMD·Implementations.·More... 
12 Go_to_the_source_code_of_this_file.8 Go_to_the_source_code_of_this_file.
13 ·Classes 
14 struct· Dune::Simd::Overloads::ADLTag<_i_> 
15   
16 struct· Dune::Simd::Overloads::ADLTag<_0_> 
17   
18 ·Namespaces 
19 namespace· Dune 
20  ··········Dune·namespace. 
21   
22 namespace· Dune::Simd 
23  ··········Namespace·for·vectorization·interface·functions·used·by·library 
24 ············developers. 
25   
26 namespace· Dune::Simd::Overloads 
27  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
28 ············implementation. 
29   
30 *****·Detailed·Description·***** 
31 Basic·definitions·for·SIMD·Implementations. 
32 This·file·provides·basic·definitions·and·template·declarations·that·are·used·to 
33 write·SIMD·abstraction·layers. 
34 This·file·should·never·be·included·by·users·of·the·SIMD·abstraction.·Include 
35 <dune/common/simd/simd.hh>·instead. 
  
36 ===============================================================================9 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.410 ·····Generated·by [doxygen]·1.9.4
67.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00269_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·base.hh·Source·File</title>8 <title>dune-common:·debugallocator.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 66 lines modifiedOffset 58, 349 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">base.hh</div></div>68 ··<div·class="headertitle"><div·class="title">debugallocator.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00269.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00269.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_BASE_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEBUG_ALLOCATOR_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_BASE_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEBUG_ALLOCATOR_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·__has_include(&lt;sys/mman.h&gt;)</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;sys/mman.h&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#define·HAVE_SYS_MMAN_H·1</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#define·HAVE_MPROTECT·1</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstring&gt;</span></div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00023.html">mallocallocator.hh</a>&quot;</span></div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
76 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#ifndef·DOXYGEN·</span><span·class="comment">//·hide·implementation·details·from·doxygen</span></div>
77 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">namespace·</span>Simd·{</div>99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>DebugMemory</div>
 100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div>
 101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">extern</span>·<span·class="keyword">const</span>·std::ptrdiff_t·page_size;</div>
 103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">struct·</span>AllocationManager</div>
 105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div>
 106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keyword">typedef</span>·std::size_t·size_type;</div>
 107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······<span·class="keyword">typedef</span>·std::ptrdiff_t·difference_type;</div>
 108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······<span·class="keyword">typedef</span>·<span·class="keywordtype">void</span>*·pointer;</div>
 109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">protected</span>:</div>
 111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·allocation_error(<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·msg);</div>
 112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······<span·class="keyword">struct·</span>AllocationInfo;</div>
 114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······<span·class="keyword">friend</span>·<span·class="keyword">struct·</span>AllocationInfo;</div>
 115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#define·ALLOCATION_ASSERT(A)·{·if·(!(A))····························\</span></div>
 117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">·······························{·allocation_error(&quot;Assertion·&quot;</span>·#·A·&quot;·failed&quot;);\</div>
 118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·······························}\</div>
 119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>};</div>
 120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">struct·</span>AllocationInfo</div>
 122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{</div>
 123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········AllocationInfo(<span·class="keyword">const</span>·std::type_info·&amp;·t)·:·type(&amp;t)·{}</div>
 124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keyword">const</span>·std::type_info·*·type;</div>
 125 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 126 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········pointer·page_ptr;</div>
 127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········pointer·ptr;</div>
 128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········size_type·pages;</div>
 129 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········size_type·capacity;</div>
 130 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········size_type·size;</div>
 131 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········<span·class="keywordtype">bool</span>·not_free;</div>
 132 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······};</div>
 133 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 134 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keyword">typedef</span>·MallocAllocator&lt;AllocationInfo&gt;·Alloc;</div>
 135 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keyword">typedef</span>·std::vector&lt;AllocationInfo,·Alloc&gt;·AllocationList;</div>
 136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······AllocationList·allocation_list;</div>
 137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">private</span>:</div>
 139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordtype">void</span>·memprotect([[maybe_unused]]·<span·class="keywordtype">void</span>*·from,</div>
 140 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······················[[maybe_unused]]·difference_type·len,</div>
 141 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······················[[maybe_unused]]·<span·class="keywordtype">int</span>·prot)</div>
 142 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······{</div>
 143 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="preprocessor">#if·HAVE_SYS_MMAN_H·&amp;&amp;·HAVE_MPROTECT</span></div>
 144 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordtype">int</span>·result·=·mprotect(from,·len,·prot);</div>
 145 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keywordflow">if</span>·(result·==·-1)</div>
 146 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········{</div>
 147 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>
 148 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;ERROR:·(&quot;</span>·&lt;&lt;·result·&lt;&lt;·<span·class="stringliteral">&quot;:·&quot;</span>·&lt;&lt;·strerror(result)·&lt;&lt;·<span·class="stringliteral">&quot;)&quot;</span>·&lt;&lt;·std::endl;</div>
 149 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;·Failed·to·&quot;</span>;</div>
 150 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··········<span·class="keywordflow">if</span>·(prot·==·PROT_NONE)</div>
 151 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>············std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;protect·&quot;</span>;</div>
 152 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········<span·class="keywordflow">else</span></div>
 153 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;unprotect·&quot;</span>;</div>
 154 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;memory·range:·&quot;</span></div>
 155 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····················&lt;&lt;·from·&lt;&lt;·<span·class="stringliteral">&quot;,·&quot;</span></div>
 156 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····················&lt;&lt;·<span·class="keyword">static_cast&lt;</span><span·class="keywordtype">void</span>*<span·class="keyword">&gt;</span>(</div>
 157 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>············<span·class="keyword">static_cast&lt;</span><span·class="keywordtype">char</span>*<span·class="keyword">&gt;</span>(from)·+·len)</div>
 158 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····················&lt;&lt;·std::endl;</div>
 159 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··········abort();</div>
 160 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········}</div>
 161 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">#else</span></div>
 162 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;WARNING:·memory·protection·not·available&quot;</span>·&lt;&lt;·std::endl;</div>
 163 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="preprocessor">#endif</span></div>
78 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>164 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······}</div>
 165 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 166 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">public</span>:</div>
79 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>167 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
Max diff block lines reached; 23275/57901 bytes (40.20%) of diff not shown.
10.5 KB
html2text {}
    
Offset 4, 69 lines modifiedOffset 4, 356 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 debugallocator.hh
7 ····*·simd 
8 base.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
13 ·3#ifndef·DUNE_COMMON_SIMD_BASE_HH 
14 ·4#define·DUNE_COMMON_SIMD_BASE_HH 
15 ·514 ·5#ifndef·DUNE_DEBUG_ALLOCATOR_HH
 15 ·6#define·DUNE_DEBUG_ALLOCATOR_HH
 16 ·7
 17 ·8#if·__has_include(<sys/mman.h>)
 18 ·9
 19 ·10#include·<sys/mman.h>
 20 ·11#define·HAVE_SYS_MMAN_H·1
 21 ·12#define·HAVE_MPROTECT·1
 22 ·13
 23 ·14#include·<exception>
 24 ·15#include·<typeinfo>
 25 ·16#include·<vector>
 26 ·17#include·<iostream>
 27 ·18#include·<cstring>
 28 ·19#include·<cstdint>
 29 ·20#include·<cstdlib>
 30 ·21#include·<new>
 31 ·22
 32 ·23#include·"mallocallocator.hh"
 33 ·24
16 ·92namespace·Dune·{34 ·25namespace·Dune
17 ·93·namespace·Simd·{35 ·26{
 36 ·27
 37 ·28#ifndef·DOXYGEN·//·hide·implementation·details·from·doxygen
 38 ·29·namespace·DebugMemory
 39 ·30·{
 40 ·31
 41 ·32·extern·const·std::ptrdiff_t·page_size;
 42 ·33
 43 ·34·struct·AllocationManager
 44 ·35·{
 45 ·36·typedef·std::size_t·size_type;
 46 ·37·typedef·std::ptrdiff_t·difference_type;
 47 ·38·typedef·void*·pointer;
 48 ·39
 49 ·40·protected:
 50 ·41·static·void·allocation_error(const·char*·msg);
 51 ·42
 52 ·43·struct·AllocationInfo;
 53 ·44·friend·struct·AllocationInfo;
 54 ·45
 55 ·46#define·ALLOCATION_ASSERT(A)·{·if·(!(A))·\
 56 ·47·{·allocation_error("Assertion·"·#·A·"·failed");\
 57 ·48·}\
 58 ·49};
 59 ·50
 60 ·51·struct·AllocationInfo
 61 ·52·{
 62 ·53·AllocationInfo(const·std::type_info·&·t)·:·type(&t)·{}
 63 ·54·const·std::type_info·*·type;
 64 ·55
 65 ·56·pointer·page_ptr;
 66 ·57·pointer·ptr;
 67 ·58·size_type·pages;
 68 ·59·size_type·capacity;
 69 ·60·size_type·size;
 70 ·61·bool·not_free;
 71 ·62·};
 72 ·63
 73 ·64·typedef·MallocAllocator<AllocationInfo>·Alloc;
 74 ·65·typedef·std::vector<AllocationInfo,·Alloc>·AllocationList;
 75 ·66·AllocationList·allocation_list;
 76 ·67
 77 ·68·private:
 78 ·69·void·memprotect([[maybe_unused]]·void*·from,
 79 ·70·[[maybe_unused]]·difference_type·len,
 80 ·71·[[maybe_unused]]·int·prot)
 81 ·72·{
 82 ·73#if·HAVE_SYS_MMAN_H·&&·HAVE_MPROTECT
 83 ·74·int·result·=·mprotect(from,·len,·prot);
 84 ·75·if·(result·==·-1)
 85 ·76·{
 86 ·77
 87 ·78·std::cerr·<<·"ERROR:·("·<<·result·<<·":·"·<<·strerror(result)·<<·")"·<<
 88 std::endl;
 89 ·79·std::cerr·<<·"·Failed·to·";
 90 ·80·if·(prot·==·PROT_NONE)
 91 ·81·std::cerr·<<·"protect·";
 92 ·82·else
 93 ·83·std::cerr·<<·"unprotect·";
 94 ·84·std::cerr·<<·"memory·range:·"
 95 ·85·<<·from·<<·",·"
 96 ·86·<<·static_cast<void*>(
 97 ·87·static_cast<char*>(from)·+·len)
 98 ·88·<<·std::endl;
 99 ·89·abort();
 100 ·90·}
 101 ·91#else
 102 ·92·std::cerr·<<·"WARNING:·memory·protection·not·available"·<<·std::endl;
 103 ·93#endif
18 ·94104 ·94·}
 105 ·95
 106 ·96·public:
19 ·97107 ·97
20 ·112·namespace·Overloads·{108 ·98·~AllocationManager·()
 109 ·99·{
 110 ·100·AllocationList::iterator·it;
 111 ·101·bool·error·=·false;
 112 ·102·for·(it=allocation_list.begin();·it!=allocation_list.end();·it++)
 113 ·103·{
 114 ·104·if·(it->not_free)
 115 ·105·{
 116 ·106·std::cerr·<<·"ERROR:·found·memory·chunk·still·in·use:·"·<<
 117 ·107·it->capacity·<<·"·bytes·at·"·<<·it->ptr·<<·std::endl;
 118 ·108·error·=·true;
 119 ·109·}
 120 ·110·munmap(it->page_ptr,·it->pages·*·page_size);
 121 ·111·}
 122 ·112·if·(error)
Max diff block lines reached; 4586/10742 bytes (42.69%) of diff not shown.
29.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00272.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·defaults.hh·File·Reference</title>8 <title>dune-common:·sllist.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 127 lines modifiedOffset 58, 65 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
69 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
70 ··<div·class="headertitle"><div·class="title">defaults.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Develo[·...·truncated·by·diffoscope;·len:·31,·SHA:·bd2946422c107ab9066a5e7cff650d0b4fd18ea1e9e5be623914ef29f5738faa·...·]</div>71 <a·href="#func-members">Functions</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">sllist.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
71 </div><!--header-->73 </div><!--header-->
72 <div·class="contents">74 <div·class="contents">
  
73 <p>Default·implementations·for·SIMD·Implementations.··75 <p>Implements·a·singly·linked·list·together·with·the·necessary·iterators.··
74 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
75 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
76 <code>#include·&lt;cstddef&gt;</code><br·/>78 <code>#include·&lt;cassert&gt;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00137_source.html">iteratorfacades.hh</a>&quot;</code><br·/>
77 <code>#include·&lt;type_traits&gt;</code><br·/>80 <code>#include·&lt;ostream&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/> 
79 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
80 <code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
83 </div>81 </div>
84 <p><a·href="a00272_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00272_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">83 <table·class="memberdecls">
 84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 85 Classes</h2></td></tr>
 86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02856.html">Dune::SLList&lt;·T,·A·&gt;</a></td></tr>
 87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·single·linked·list.··<a·href="a02856.html#details">More...</a><br·/></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02844.html">Dune::SLListIterator&lt;·T,·A·&gt;</a></td></tr>
 90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··<a·href="a02844.html#details">More...</a><br·/></td></tr>
 91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02848.html">Dune::SLListConstIterator&lt;·T,·A·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·constant·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··<a·href="a02848.html#details">More...</a><br·/></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02852.html">Dune::SLListModifyIterator&lt;·T,·A·&gt;</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··<a·href="a02852.html#details">More...</a><br·/></td></tr>
 97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 </table><table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
87 Namespaces</h2></td></tr>100 Namespaces</h2></td></tr>
88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>101 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>102 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr> 
92 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr> 
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr> 
95 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr> 
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
99 Functions</h2></td></tr>106 Functions</h2></td></tr>
100 <tr><td·colspan="2"><div·class="groupHeader">Overloadable·and·default·functions</div></td></tr> 
101 <tr><td·colspan="2"><div·class="groupText"><p·>This·group·contains·functions·that·you,·as·an·abstraction·developer,·must·implement.·All·functions·that·are·deleted·must·be·provided,·functions·that·have·a·default·implementation·may·be·left·unimplemented·if·the·default·behaviour·is·satisfactory.·</p> 
102 </div></td></tr> 
103 <tr·class="memitem:ga172c6bee6a07fdaf412ca0771084d117"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
104 <tr·class="memitem:ga172c6bee6a07fdaf412ca0771084d117"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga172c6bee6a07fdaf412ca0771084d117">Dune::Simd::Overloads::lane</a>·(ADLTag&lt;·0·&gt;,·std::size_t·l,·V·v)=delete</td></tr> 
105 <tr·class="memdesc:ga172c6bee6a07fdaf412ca0771084d117"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaca5433c99a350b973623f94491e43a86"·title="Extract·an·element·of·a·SIMD·type.">Simd::lane()</a>··<a·href="a00420.html#ga172c6bee6a07fdaf412ca0771084d117">More...</a><br·/></td></tr> 
106 <tr·class="separator:ga172c6bee6a07fdaf412ca0771084d117"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 <tr·class="memitem:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
108 <tr·class="memitem:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">Dune::Simd::Overloads::implCast</a>·(ADLTag&lt;·0·&gt;,·MetaType&lt;·V·&gt;,·const·V·&amp;u)</td></tr> 
109 <tr·class="memdesc:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::implCast&lt;V&gt;(V)··<a·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">More...</a><br·/></td></tr> 
110 <tr·class="separator:ga2d92cc23bb0b95ca627fa2560c2f9006"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
111 <tr·class="memitem:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·U·&gt;·</td></tr> 
112 <tr·class="memitem:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gaacc1dbc07ddc0fd6b237ca18e213c3be">Dune::Simd::Overloads::implCast</a>·(ADLTag&lt;·0·&gt;,·MetaType&lt;·V·&gt;,·const·U·&amp;u)</td></tr> 
113 <tr·class="memdesc:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·Simd::implCast&lt;V&gt;(U)··<a·href="a00420.html#gaacc1dbc07ddc0fd6b237ca18e213c3be">More...</a><br·/></td></tr> 
114 <tr·class="separator:gaacc1dbc07ddc0fd6b237ca18e213c3be"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:gac82cb295f767f7aece888fd9216db1b3"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·S·&gt;·</td></tr> 
116 <tr·class="memitem:gac82cb295f767f7aece888fd9216db1b3"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gac82cb295f767f7aece888fd9216db1b3">Dune::Simd::Overloads::broadcast</a>·(ADLTag&lt;·0·&gt;,·MetaType&lt;·V·&gt;,·S·s)</td></tr> 
117 <tr·class="memdesc:gac82cb295f767f7aece888fd9216db1b3"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f"·title="Broadcast·a·scalar·to·a·vector·explicitly.">Simd::broadcast&lt;V&gt;()</a>··<a·href="a00420.html#gac82cb295f767f7aece888fd9216db1b3">More...</a><br·/></td></tr> 
118 <tr·class="separator:gac82cb295f767f7aece888fd9216db1b3"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
120 <tr·class="memitem:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memTemplItemLeft"·align="right"·valign="top">V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gacd3b3b8cae27c30aa73e855afbe904d7">Dune::Simd::Overloads::cond</a>·(ADLTag&lt;·0·&gt;,·const·Mask&lt;·V·&gt;·&amp;mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)=delete</td></tr> 
121 <tr·class="memdesc:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8"·title="Like·the·?:·operator.">Simd::cond()</a>··<a·href="a00420.html#gacd3b3b8cae27c30aa73e855afbe904d7">More...</a><br·/></td></tr> 
122 <tr·class="separator:gacd3b3b8cae27c30aa73e855afbe904d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:gafb35651a7a1777d932462357552bb90c"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
124 <tr·class="memitem:gafb35651a7a1777d932462357552bb90c"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gafb35651a7a1777d932462357552bb90c">Dune::Simd::Overloads::max</a>·(ADLTag&lt;·0·&gt;,·const·V·&amp;v1,·const·V·&amp;v2)</td></tr> 
125 <tr·class="memdesc:gafb35651a7a1777d932462357552bb90c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·binary·<a·class="el"·href="a00419.html#gaa6c890aa2ed0432984358e6e0b487b3f"·title="The·binary·maximum·value·over·two·simd·objects.">Simd::max()</a>··<a·href="a00420.html#gafb35651a7a1777d932462357552bb90c">More...</a><br·/></td></tr> 
126 <tr·class="separator:gafb35651a7a1777d932462357552bb90c"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:gab9dde84db30133b70a28c0b89399bc71"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
128 <tr·class="memitem:gab9dde84db30133b70a28c0b89399bc71"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">Dune::Simd::Overloads::min</a>·(ADLTag&lt;·0·&gt;,·const·V·&amp;v1,·const·V·&amp;v2)</td></tr> 
129 <tr·class="memdesc:gab9dde84db30133b70a28c0b89399bc71"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·binary·<a·class="el"·href="a00419.html#gafa18ecd1517a0f3c3ae83c6a6b5e1559"·title="The·binary·minimum·value·over·two·simd·objects.">Simd::min()</a>··<a·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">More...</a><br·/></td></tr> 
130 <tr·class="separator:gab9dde84db30133b70a28c0b89399bc71"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr> 
132 <tr·class="memitem:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gae87036ad8322cb0064cdd3bfad16ca69">Dune::Simd::Overloads::anyTrue</a>·(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)=delete</td></tr> 
133 <tr·class="memdesc:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4"·title="Whether·any·entry·is·true">Simd::anyTrue()</a>··<a·href="a00420.html#gae87036ad8322cb0064cdd3bfad16ca69">More...</a><br·/></td></tr> 
134 <tr·class="separator:gae87036ad8322cb0064cdd3bfad16ca69"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 <tr·class="memitem:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr> 
136 <tr·class="memitem:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">Dune::Simd::Overloads::allTrue</a>·(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</td></tr> 
137 <tr·class="memdesc:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24"·title="Whether·all·entries·are·true">Simd::allTrue()</a>··<a·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">More...</a><br·/></td></tr> 
138 <tr·class="separator:ga6850149b7bbe8eff67835ecfd8471f7d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
139 <tr·class="memitem:gaa272813526339482ae077b1a0e52a01e"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr>107 <tr·class="memitem:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·&gt;·</td></tr>
 108 <tr·class="memitem:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab672fc0e72d7d5c69943bbf2a0bdb421">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·SLList&lt;·T,·A·&gt;·&amp;sllist)</td></tr>
140 <tr·class="memitem:gaa272813526339482ae077b1a0e52a01e"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#gaa272813526339482ae077b1a0e52a01e">Dune::Simd::Overloads::anyFalse</a>·(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</td></tr> 
141 <tr·class="memdesc:gaa272813526339482ae077b1a0e52a01e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaaee5c9c3caa23996397af767ca52845e"·title="Whether·any·entry·is·false">Simd::anyFalse()</a>··<a·href="a00420.html#gaa272813526339482ae077b1a0e52a01e">More...</a><br·/></td></tr> 
142 <tr·class="separator:gaa272813526339482ae077b1a0e52a01e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:gab672fc0e72d7d5c69943bbf2a0bdb421"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
143 <tr·class="memitem:ga537e92d4cfd4637707852c7f93c73c74"><td·class="memTemplParams"·colspan="2">template&lt;class·Mask·&gt;·</td></tr> 
144 <tr·class="memitem:ga537e92d4cfd4637707852c7f93c73c74"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00420.html#ga537e92d4cfd4637707852c7f93c73c74">Dune::Simd::Overloads::allFalse</a>·(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</td></tr> 
145 <tr·class="memdesc:ga537e92d4cfd4637707852c7f93c73c74"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaf404687904c5a04c3ab453b9b19c1562"·title="Whether·all·entries·are·false">Simd::allFalse()</a>··<a·href="a00420.html#ga537e92d4cfd4637707852c7f93c73c74">More...</a><br·/></td></tr> 
146 <tr·class="separator:ga537e92d4cfd4637707852c7f93c73c74"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
147 <tr·class="memitem:ga6be36412c4ee50b1e5023f43e85a53ec"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
Max diff block lines reached; 1024/24991 bytes (4.10%) of diff not shown.
5.39 KB
html2text {}
    
Offset 4, 128 lines modifiedOffset 4, 45 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Functions
7 ····*·simd 
8 Namespaces 
9 defaults.hh·File·Reference8 sllist.hh·File·Reference
10 Common·»·Vectorization·»·Abstraction_Developer's_Interface 
11 Default·implementations·for·SIMD·Implementations.·More... 
12 #include·<algorithm>9 Common
 10 Implements·a·singly·linked·list·together·with·the·necessary·iterators.·More...
 11 #include·<memory>
13 #include·<cstddef>12 #include·<cassert>
 13 #include·"iteratorfacades.hh"
 14 #include·<ostream>
14 #include·<type_traits> 
15 #include·<dune/common/rangeutilities.hh> 
16 #include·<dune/common/simd/base.hh> 
17 #include·<dune/common/simd/interface.hh> 
18 #include·<dune/common/typelist.hh> 
19 #include·<dune/common/typetraits.hh> 
20 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
 16 ·Classes
 17 class· Dune::SLList<_T,_A_>
 18  ······A·single·linked·list.·More...
 19  
 20 class· Dune::SLListIterator<_T,_A_>
 21  ······A·mutable·iterator·for·the·SLList.·More...
 22  
 23 class· Dune::SLListConstIterator<_T,_A_>
 24  ······A·constant·iterator·for·the·SLList.·More...
 25  
 26 class· Dune::SLListModifyIterator<_T,_A_>
 27  ······A·mutable·iterator·for·the·SLList.·More...
 28  
21 ·Namespaces29 ·Namespaces
22 namespace· Dune30 namespace· Dune
23  ··········Dune·namespace.31  ··········Dune·namespace.
24  32  
25 namespace· Dune::Simd 
26  ··········Namespace·for·vectorization·interface·functions·used·by·library 
27 ············developers. 
28   
29 namespace· Dune::Simd::Overloads 
30  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
31 ············implementation. 
32   
33 ·Functions33 ·Functions
 34 template<typename·T·,·typename·A·>
 35 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·SLList<·T,·A·>
34 Overloadable·and·default·functions 
35 This·group·contains·functions·that·you,·as·an·abstraction·developer,·must 
36 implement.·All·functions·that·are·deleted·must·be·provided,·functions·that·have 
37 a·default·implementation·may·be·left·unimplemented·if·the·default·behaviour·is 
38 satisfactory. 
39 template<class·V·> 
40 decltype(auto) Dune::Simd::Overloads::lane·(ADLTag<·0·>,·std::size_t·l,·V 
41 ················v)=delete 
42  ··············implements·Simd::lane()·More... 
43   
44 template<class·V·> 
45 ···constexpr·V Dune::Simd::Overloads::implCast·(ADLTag<·0·>,·MetaType<·V·>, 
46 ················const·V·&u) 
47  ··············implements·Simd::implCast<V>(V)·More... 
48   
49 template<class·V·,·class·U·> 
50 ···constexpr·V Dune::Simd::Overloads::implCast·(ADLTag<·0·>,·MetaType<·V·>, 
51 ················const·U·&u) 
52  ··············implements·Simd::implCast<V>(U)·More... 
53   
54 template<class·V·,·class·S·> 
55 ··········auto Dune::Simd::Overloads::broadcast·(ADLTag<·0·>,·MetaType<·V·>,·S 
56 ················s)36 ················&sllist)
57  ··············implements·Simd::broadcast<V>()·More... 
58   
59 template<class·V·> 
60 ·············V Dune::Simd::Overloads::cond·(ADLTag<·0·>,·const·Mask<·V·> 
61 ················&mask,·const·V·&ifTrue,·const·V·&ifFalse)=delete 
62  ··············implements·Simd::cond()·More... 
63   
64 template<class·V·> 
65 ··········auto Dune::Simd::Overloads::max·(ADLTag<·0·>,·const·V·&v1,·const·V 
66 ················&v2) 
67  ··············implements·binary·Simd::max()·More... 
68   
69 template<class·V·> 
70 ··········auto Dune::Simd::Overloads::min·(ADLTag<·0·>,·const·V·&v1,·const·V 
71 ················&v2) 
72  ··············implements·binary·Simd::min()·More... 
73   
74 template<class·Mask·> 
75 ··········bool Dune::Simd::Overloads::anyTrue·(ADLTag<·0·>,·const·Mask 
76 ················&mask)=delete 
77  ··············implements·Simd::anyTrue()·More... 
78   
79 template<class·Mask·> 
80 ··········bool Dune::Simd::Overloads::allTrue·(ADLTag<·0·>,·const·Mask·&mask) 
81  ··············implements·Simd::allTrue()·More... 
82   
83 template<class·Mask·> 
84 ··········bool Dune::Simd::Overloads::anyFalse·(ADLTag<·0·>,·const·Mask·&mask) 
85  ··············implements·Simd::anyFalse()·More... 
86   
87 template<class·Mask·> 
88 ··········bool Dune::Simd::Overloads::allFalse·(ADLTag<·0·>,·const·Mask·&mask) 
89  ··············implements·Simd::allFalse()·More... 
90   
91 template<class·V·> 
92 ··········auto Dune::Simd::Overloads::max·(ADLTag<·0·>,·const·V·&v) 
93  ··············implements·Simd::maxValue()·More... 
94   
95 template<class·V·> 
96 ··········auto Dune::Simd::Overloads::min·(ADLTag<·0·>,·const·V·&v) 
97  ··············implements·Simd::minValue()·More... 
98   
99 template<class·V·> 
100 ·····Mask<·V·> Dune::Simd::Overloads::mask·(ADLTag<·0,·std::is_same<·V,·Mask< 
101 ················V·>·>::value·>,·const·V·&v) 
102  ··············implements·Simd::mask()·More... 
103   
104 template<class·V·> 
105 ··········auto Dune::Simd::Overloads::mask·(ADLTag<·0,·!std::is_same<·V,·Mask< 
106 ················V·>·>::value·>,·const·V·&v) 
Max diff block lines reached; 563/5495 bytes (10.25%) of diff not shown.
183 KB
./usr/share/doc/libdune-common-doc/doxygen/a00272_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·defaults.hh·Source·File</title>8 <title>dune-common:·sllist.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 190 lines modifiedOffset 58, 634 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">defaults.hh</div></div>68 ··<div·class="headertitle"><div·class="title">sllist.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00272.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00272.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_DEFAULTS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SLLIST_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_DEFAULTS_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SLLIST_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
76 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00137.html">iteratorfacades.hh</a>&quot;</span></div>
77 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
78 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
79 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
 85 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">class</span>·A&gt;</div>
 86 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">class·</span>SLListIterator;</div>
80 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00245.html">dune/common/rangeutilities.hh</a>&gt;</span></div> 
81 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/simd/base.hh</a>&gt;</span></div> 
82 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04445.html">dune/common/simd/interface.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00347.html">dune/common/typelist.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>87 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
86 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>88 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">class</span>·A&gt;</div>
87 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">namespace·</span>Simd·{</div>89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">class·</span>SLListConstIterator;</div>
88 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">namespace·</span>Overloads·{</div> 
89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>90 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 91 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">class</span>·A&gt;</div>
90 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>92 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="keyword">class·</span>SLListModifyIterator;</div>
91 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00420.html#ga172c6bee6a07fdaf412ca0771084d117">···48</a></span>······<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00430.html#ae0b09f360e2832ce7df95ac0ded0dbcf">lane</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·std::size_t·l,·V·v)·=·<span·class="keyword">delete</span>;</div> 
92 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>93 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 94 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">class</span>·A=std::allocator&lt;T&gt;·&gt;</div>
 95 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02856.html">···43</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02856.html">SLList</a></div>
 96 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>
93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>97 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">struct·</span>Element;</div>
94 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">···52</a></span>······<span·class="keyword">constexpr</span>·V·<a·class="code·hl_function"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006[·...·truncated·by·diffoscope;·len:·193,·SHA:·4ef2c02bc308fc64754b06a279b52b94f09a1fd1af1f9aefc5231e6b3d5a535c·...·]</div>98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02844.html">SLListIterator</a>&lt;T,A&gt;;</div>
 99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02848.html">SLListConstIterator</a>&lt;T,A&gt;;</div>
 100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">public</span>:</div>
95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······{</div>102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>········<span·class="keywordflow">return</span>·u;</div>103 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00397.html#gadefacd67926b31f38dcc996d275ff1e7">···54</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·A::size_type·<a·class="code·hl_typedef"·href="a00397.html#gadefacd67926b31f38dcc996d275ff1e[·...·truncated·by·diffoscope;·len:·16,·SHA:·f2230fb49ae9da3d2844eb4c1da62ba4f79b399291929e5bb21812879e2b232f·...·];</div>
97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······}</div>104 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 105 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">···59</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a00397.html#ga9548258d3f4de56a110c6f549780ec2a">MemberType</a>;</div>
98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> 
99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·U&gt;</div> 
100 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00420.html#gaacc1dbc07ddc0fd6b237ca18e213c3be">···59</a></span>······<span·class="keyword">constexpr</span>·V·<a·class="code·hl_function"·href="a00420.html#ga2d92cc23bb0b95ca627fa2560c2f9006">implCast</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<a·class="code·hl_struct"·href="a03028.html">MetaType&lt;V&gt;</a>,·<span·class="keyword">const</span>·U·&amp;u)</div> 
101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······{</div>106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 107 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga4871529deceba9839fa6cb5640d0e1b0">···64</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00397.html#ga4871529deceba9839fa6cb5640d0e1b0">Allocator</a>·=·<span·class="keyword">typename</span>·std::allocator_traits&lt;A&gt;::template·rebind_alloc&lt;Element&gt;;</div>
102 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>········V·result(<a·class="code·hl_typedef"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar&lt;V&gt;</a>(0));</div> 
103 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">for</span>(<span·class="keyword">auto</span>·l·:·<a·class="code·hl_variable"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">range</a>(<a·class="code·hl_function"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305">Simd::lanes</a>(u)))</div> 
104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··········<a·class="code·hl_function"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">Simd::lane</a>(l,·result)·=·<a·class="code·hl_function"·href="a00419.html#gaca5433c99a350b973623f94491e43a86">Simd::lane</a>(l,·u);</div> 
105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········<span·class="keywordflow">return</span>·result;</div> 
106 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······}</div>108 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga543a8c5a50d30cd488550f5e99161754">···69</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02844.html">SLListIterator&lt;T,A&gt;</a>·<a·class="code·hl_typedef"·href="a00397.html#ga543a8c5a50d30cd488550f5e99161754">iterator</a>;</div>
107 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·S&gt;</div> 
109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00420.html#gac82cb295f767f7aece888fd9216db1b3">···69</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00420.html#gac82cb295f767f7aece888fd9216db1b3">broadcast</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<a·class="code·hl_struct"·href="a03028.html">MetaType&lt;V&gt;</a>,·S·s)</div> 
110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······{</div>110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 111 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaa026efcc562ed6ef620e4a96f26a393e">···74</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02848.html">SLListConstIterator&lt;T,A&gt;</a>·<a·class="code·hl_typedef"·href="a00397.html#gaa026efcc562ed6ef620e4a96f26a393e">const_iterator</a>;</div>
111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········<span·class="keywordflow">return</span>·V(<a·class="code·hl_typedef"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar&lt;V&gt;</a>(s));</div> 
112 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div> 
113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>112 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 113 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab097c05f186dacbbdd11361de5b2500f">···79</a></span>····<a·class="code·hl_function"·href="a00397.html#gab097c05f186dacbbdd11361de5b2500f">SLList</a>();</div>
114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
115 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00420.html#gacd3b3b8cae27c30aa73e855afbe904d7">···76</a></span>······V·<a·class="code·hl_function"·href="a00430.html#a77658e4512d07012336867414f63722a">cond</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask&lt;V&gt;</a>·&amp;<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>,</div> 
116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·············<span·class="keyword">const</span>·V·&amp;ifTrue,·<span·class="keyword">const</span>·V·&amp;ifFalse)·=·<span·class="keyword">delete</span>;</div> 
117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>114 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
118 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>115 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·A1&gt;</div>
 116 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga9519c3673afc2d76f4bc76ef35181225">···85</a></span>····<a·class="code·hl_function"·href="a00397.html#ga9519c3673afc2d76f4bc76ef35181225">SLList</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02856.html">SLList&lt;T1,A1&gt;</a>&amp;·other);</div>
119 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00420.html#gafb35651a7a1777d932462357552bb90c">···81</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00420.html#gafb35651a7a1777d932462357552bb90c">max</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·V·&amp;v1,·<span·class="keyword">const</span>·V·&amp;v2)</div> 
120 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······{</div> 
121 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>········<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00420.html#ga6be36412c4ee50b1e5023f43e85a53ec">std::max</a>;</div> 
122 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00420.html#gafb35651a7a1777d932462357552bb90c">max</a>(v1,·v2);</div> 
123 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······}</div> 
124 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>117 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 118 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga72a901265ef5d3658dceb0f7bd6a0782">···90</a></span>····<a·class="code·hl_function"·href="a00397.html#ga72a901265ef5d3658dceb0f7bd6a0782">SLList</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02856.html">SLList&lt;T,A&gt;</a>&amp;·other);</div>
125 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
126 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">···89</a></span>······<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">min</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·V·&amp;v1,·<span·class="keyword">const</span>·V·&amp;v2)</div> 
127 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······{</div> 
128 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00420.html#ga45f575aad94606a1a2afa3698abcee72">std::min</a>;</div> 
129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00420.html#gab9dde84db30133b70a28c0b89399bc71">min</a>(v1,·v2);</div> 
130 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div> 
131 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>119 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 120 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00397.html#gafa3231a07e56ae81cc6334e19d603a23">···97</a></span>····<a·class="code·hl_function"·href="a00397.html#gafa3231a07e56ae81cc6334e19d603a23">~SLList</a>();</div>
132 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Mask&gt;</div> 
133 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00420.html#gae87036ad8322cb0064cdd3bfad16ca69">···97</a></span>······<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00430.html#a19296f860eb9fda0a58ab8c43747370d">anyTrue</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)·=·<span·class="keyword">delete</span>;</div> 
134 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>121 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 122 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaac398614c243228cc0f7678b6c70007b">··103</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02852.html">SLListModifyIterator&lt;T,A&gt;</a>·<a·class="code·hl_typedef"·href="a00397.html#gaac398614c243228cc0f7678b6c70007b">ModifyIterator</a>;</div>
135 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>123 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 124 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga9f0eb5f84602ae9120178e2e9659bc41">··108</a></span>····<a·class="code·hl_class"·href="a02856.html">SLList&lt;T,A&gt;</a>&amp;·<a·class="code·hl_function"·href="a00397.html#ga9f0eb5f84602ae9120178e2e9659bc41">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02856.html">SLList&lt;T,A&gt;</a>&amp;·other);</div>
136 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Mask&gt;</div> 
137 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">··104</a></span>······<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00420.html#ga6850149b7bbe8eff67835ecfd8471f7d">allTrue</a>(<a·class="code·hl_struct"·href="a02616.html">ADLTag&lt;0&gt;</a>,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Mask</a>·&amp;<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)</div> 
138 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······{</div> 
139 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········<span·class="keywordflow">return</span>·!<a·class="code·hl_function"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">Dune::Simd::anyTrue</a>(!<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>);</div> 
140 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······}</div> 
141 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>125 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
142 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>126 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
Max diff block lines reached; 123600/157569 bytes (78.44%) of diff not shown.
28.9 KB
html2text {}
    
Offset 4, 262 lines modifiedOffset 4, 806 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 sllist.hh
7 ····*·simd 
8 defaults.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
13 ·3#ifndef·DUNE_COMMON_SIMD_DEFAULTS_HH 
14 ·4#define·DUNE_COMMON_SIMD_DEFAULTS_HH 
15 ·5 
16 ·17#include·<algorithm>14 ·5#ifndef·DUNE_SLLIST_HH
 15 ·6#define·DUNE_SLLIST_HH
 16 ·7
 17 ·8#include·<memory>
 18 ·9#include·<cassert>
 19 ·10#include·"iteratorfacades.hh"
17 ·18#include·<cstddef>20 ·11#include·<ostream>
 21 ·12
18 ·19#include·<type_traits> 
19 ·20 
20 ·21#include·<dune/common/rangeutilities.hh> 
21 ·22#include·<dune/common/simd/base.hh> 
22 ·23#include·<dune/common/simd/interface.hh> 
23 ·24#include·<dune/common/typelist.hh> 
24 ·25#include·<dune/common/typetraits.hh> 
25 ·26 
26 ·27namespace·Dune·{22 ·13namespace·Dune
27 ·28·namespace·Simd·{ 
28 ·29·namespace·Overloads·{ 
29 ·30 
30 ·47·template<class·V> 
31 48·decltype(auto)·lane(ADLTag<0>,·std::size_t·l,·V·v)·=·delete; 
32 ·49 
33 ·51·template<class·V> 
34 52·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·V·&u) 
35 ·53·{ 
36 ·54·return·u;23 ·14{
 24 ·26·template<typename·T,·class·A>
 25 ·27·class·SLListIterator;
 26 ·28
 27 ·29·template<typename·T,·class·A>
 28 ·30·class·SLListConstIterator;
 29 ·31
 30 ·32·template<typename·T,·class·A>
 31 ·33·class·SLListModifyIterator;
 32 ·34
 33 ·42·template<typename·T,·class·A=std::allocator<T>·>
 34 43·class·SLList
 35 ·44·{
 36 ·45·struct·Element;
 37 ·46·friend·class·SLListIterator<T,A>;
 38 ·47·friend·class·SLListConstIterator<T,A>;
 39 ·48
 40 ·49·public:
 41 ·50
 42 54·typedef·typename·A::size_type·size_type;
37 ·55·}43 ·55
 44 59·typedef·T·MemberType;
38 ·56 
39 ·58·template<class·V,·class·U> 
40 59·constexpr·V·implCast(ADLTag<0>,·MetaType<V>,·const·U·&u) 
41 ·60·{45 ·60
 46 64·using·Allocator·=·typename·std::allocator_traits<A>::template
 47 rebind_alloc<Element>;
42 ·61·V·result(Simd::Scalar<V>(0)); 
43 ·62·for(auto·l·:·range(Simd::lanes(u))) 
44 ·63·Simd::lane(l,·result)·=·Simd::lane(l,·u); 
45 ·64·return·result; 
46 ·65·}48 ·65
 49 69·typedef·SLListIterator<T,A>·iterator;
47 ·66 
48 ·68·template<class·V,·class·S> 
49 69·auto·broadcast(ADLTag<0>,·MetaType<V>,·S·s) 
50 ·70·{50 ·70
 51 74·typedef·SLListConstIterator<T,A>·const_iterator;
 52 ·75
 53 79·SLList();
 54 ·80
 55 ·84·template<typename·T1,·typename·A1>
 56 85·SLList(const·SLList<T1,A1>&·other);
51 ·71·return·V(Simd::Scalar<V>(s)); 
52 ·72·} 
53 ·73 
54 ·75·template<class·V> 
55 76·V·cond(ADLTag<0>,·const·Mask<V>·&mask, 
56 ·77·const·V·&ifTrue,·const·V·&ifFalse)·=·delete; 
57 ·78 
58 ·80·template<class·V> 
59 81·auto·max(ADLTag<0>,·const·V·&v1,·const·V·&v2) 
60 ·82·{ 
61 ·83·using·std::max; 
62 ·84·return·max(v1,·v2); 
63 ·85·} 
64 ·8657 ·86
 58 90·SLList(const·SLList<T,A>&·other);
 59 ·91
 60 97·~SLList();
65 ·88·template<class·V> 
66 89·auto·min(ADLTag<0>,·const·V·&v1,·const·V·&v2) 
67 ·90·{ 
68 ·91·using·std::min; 
69 ·92·return·min(v1,·v2); 
70 ·93·} 
71 ·94 
72 ·96·template<class·Mask> 
73 97·bool·anyTrue(ADLTag<0>,·const·Mask·&mask)·=·delete; 
74 ·9861 ·98
 62 103·typedef·SLListModifyIterator<T,A>·ModifyIterator;
75 ·10063 ·104
 64 108·SLList<T,A>&·operator=(const·SLList<T,A>&·other);
76 ·103·template<class·Mask> 
77 104·bool·allTrue(ADLTag<0>,·const·Mask·&mask) 
78 ·105·{ 
79 ·106·return·!Dune::Simd::anyTrue(!mask); 
80 ·107·} 
81 ·10865 ·109
82 ·11066 ·110
 67 115·inline·void·push_back(const·MemberType&·item);
Max diff block lines reached; 25335/29521 bytes (85.82%) of diff not shown.
33.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00275.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·standard.hh·File·Reference</title>8 <title>dune-common:·indices.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 86 lines modifiedOffset 58, 119 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>··</div>69 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">standard.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00418.html">Application·Develo[·...·truncated·by·diffoscope;·len:·133,·SHA:·f4379c6e8d19553306b31354e30d49cceb0ab90bea81680815cf6b0c9fbb87b9·...·]70 <a·href="#typedef-members">Typedefs</a>·&#124;
 71 <a·href="#func-members">Functions</a>·&#124;
 72 <a·href="#var-members">Variables</a>··</div>
 73 ··<div·class="headertitle"><div·class="title">indices.hh·File·Reference</div></div>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
  
74 <p>SIMD·abstractions·for·the·standard·built-in·types.·· 
75 <a·href="#details">More...</a></p> 
76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
77 <code>#include·&lt;type_traits&gt;</code><br·/>77 <code>#include·&lt;type_traits&gt;</code><br·/>
78 <code>#include·&lt;utility&gt;</code><br·/>78 <code>#include·&lt;utility&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/indices.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00308_source.html">dune/common/keywords.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/> 
82 </div>80 </div>
83 <p><a·href="a00275_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00275_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">82 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
86 Classes</h2></td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02620.html">Dune::Simd::Overloads::ScalarType&lt;·V,·class·&gt;</a></td></tr> 
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">should·have·a·member·type·<code>type</code>··<a·href="a02620.html#details">More...</a><br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02624.html">Dune::Simd::Overloads::RebindType&lt;·S,·class,·class·&gt;</a></td></tr> 
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">should·have·a·member·type·<code>type</code>··<a·href="a02624.html#details">More...</a><br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02628.html">Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;</a></td></tr> 
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">should·be·derived·from·a·<code><a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467"·title="An·index·constant·with·value·i.">Dune::index_constant</a></code>··<a·href="a02628.html#details">More...</a><br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 </table><table·class="memberdecls"> 
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>84 Namespaces</h2></td></tr>
99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>85 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>86 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>88 <tr·class="memitem:a00441"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00441.html">Dune::Indices</a></td></tr>
 89 <tr·class="memdesc:a00441"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·with·predefined·compile·time·indices·for·the·range·[0,19].·<br·/></td></tr>
103 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr> 
106 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr> 
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
 92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 93 Typedefs</h2></td></tr>
 94 <tr·class="memitem:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i&gt;·</td></tr>
 95 <tr·class="memitem:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant</a>·=·std::integral_constant&lt;·std::size_t,·i·&gt;</td></tr>
 96 <tr·class="memdesc:gacf764509e6dae37477f5ad09b5ca3467"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·index·constant·with·value·i.··<a·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">More...</a><br·/></td></tr>
 97 <tr·class="separator:gacf764509e6dae37477f5ad09b5ca3467"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 </table><table·class="memberdecls">
109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
110 Functions</h2></td></tr>100 Functions</h2></td></tr>
111 <tr><td·colspan="2"><div·class="groupHeader">Specialized·classes·and·overloaded·functions</div></td></tr> 
112 <tr·class="memitem:ad329da4d6c881c0c53b63c01f576e6df"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
113 <tr·class="memitem:ad329da4d6c881c0c53b63c01f576e6df"><td·class="memTemplItemLeft"·align="right"·valign="top">V&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00430.html#ad329da4d6c881c0c53b63c01f576e6df">Dune::Simd::Overloads::lane</a>·(ADLTag&lt;·2·&gt;,·std::size_t,·V·v)</td></tr> 
114 <tr·class="memdesc:ad329da4d6c881c0c53b63c01f576e6df"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#gaca5433c99a350b973623f94491e43a86"·title="Extract·an·element·of·a·SIMD·type.">Simd::lane()</a>··<a·href="a00430.html#ad329da4d6c881c0c53b63c01f576e6df">More...</a><br·/></td></tr> 
115 <tr·class="separator:ad329da4d6c881c0c53b63c01f576e6df"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr> 
117 <tr·class="memitem:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memTemplItemLeft"·align="right"·valign="top">V·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00430.html#a3d3cefa72e95b1abb7a235b4511d9794">Dune::Simd::Overloads::lane</a>·(A[·...·truncated·by·diffoscope;·len:·40,·SHA:·91a7d1d4b869d3caa81a9bd1d2127ae19752d287d2b042523f38b7fe8fc09535·...·]</td></tr>101 <tr·class="memitem:ga72824809a31d81d07517c1e903c3dab1"><td·class="memTemplParams"·colspan="2">template&lt;class·F·,·class·I·,·I...·i&gt;·</td></tr>
 102 <tr·class="memitem:ga72824809a31d81d07517c1e903c3dab1"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)·constexpr&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">Dune::unpackIntegerSequence</a>·(F·&amp;&amp;f,·std::integer_sequence&lt;·I,·i...·&gt;·sequence)</td></tr>
 103 <tr·class="memdesc:ga72824809a31d81d07517c1e903c3dab1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Unpack·an·std::integer_sequence&lt;I,i...&gt;·to·std::integral_constant&lt;I,i&gt;...··<a·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">More...</a><br·/></td></tr>
 104 <tr·class="separator:ga72824809a31d81d07517c1e903c3dab1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 </table><table·class="memberdecls">
 106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 107 Variables</h2></td></tr>
 108 <tr·class="memitem:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·0·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">Dune::Indices::_0</a>·=·{}</td></tr>
 109 <tr·class="memdesc:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·0.··<a·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">More...</a><br·/></td></tr>
118 <tr·class="separator:a3d3cefa72e95b1abb7a235b4511d9794"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:ga2f3de78a2872dfc7652b48b42c537eb8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:a4da440a9db2b315f531d5412174982af"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html#a4da440a9db2b315f531d5412174982af">Dune::Simd::Overloads::anyTrue</a>·(ADLTag&lt;·2·&gt;,·bool·mask)</td></tr> 
120 <tr·class="memdesc:a4da440a9db2b315f531d5412174982af"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4"·title="Whether·any·entry·is·true">Simd::anyTrue()</a>··<a·href="a00430.html#a4da4[·...·truncated·by·diffoscope;·len:·47,·SHA:·e4633a1a2abc9a828a7ced181cb32d8c457b509449486d59a83cf82329385ff8·...·]</td></tr>111 <tr·class="memitem:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·1·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">Dune::Ind[·...·truncated·by·diffoscope;·len:·17,·SHA:·a81e02b14b8e6426469e883db59e3b3e75871e0fa6fe7ea4ce7301b237ca1e0f·...·]</td></tr>
 112 <tr·class="memdesc:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·1.··<a·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">More...</a><br·/></td></tr>
 113 <tr·class="separator:ga50d06c69be6f5a74e319d34064d8bc3c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·2·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">Dune::Indices::_2</a>·=·{}</td></tr>
 115 <tr·class="memdesc:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·2.··<a·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">More...</a><br·/></td></tr>
 116 <tr·class="separator:gac405682eeaf6a8a64648dd85af7e84fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·3·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">Dune::Indices::_3</a>·=·{}</td></tr>
 118 <tr·class="memdesc:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·3.··<a·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">More...</a><br·/></td></tr>
 119 <tr·class="separator:ga6b1d6527c4b8dcf500d6c7c34d5eeb79"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·4·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">Dune::Indices::_4</a>·=·{}</td></tr>
 121 <tr·class="memdesc:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·4.··<a·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">More...</a><br·/></td></tr>
 122 <tr·class="separator:gaf50cd5ff4b29a43100a00a6e7cc9b4fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:gab875313e016428e2498da7fd90f1949d"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·5·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">Dune::Indices::_5</a>·=·{}</td></tr>
 124 <tr·class="memdesc:gab875313e016428e2498da7fd90f1949d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·5.··<a·href="a00397.html#gab875313e016428e2498da7fd90f1949d">More...</a><br·/></td></tr>
121 <tr·class="separator:a4da440a9db2b315f531d5412174982af"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:gab875313e016428e2498da7fd90f1949d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 <tr·class="memitem:aef12678a4fbb543b66e9a92eb85d9877"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html#aef12678a4fbb543b66e9a92eb85d9877">Dune::Simd::Overloads::allTrue</a>·(ADLTag&lt;·2·&gt;,·bool·mask)</td></tr> 
123 <tr·class="memdesc:aef12678a4fbb543b66e9a92eb85d9877"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·<a·class="el"·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24"·title="Whether·all·entries·are·true">Simd::allTrue()</a>··<a·href="a00430.html#ae[·...·truncated·by·diffoscope;·len:·50,·SHA:·4f3b8144e5c3788ee487604c39b7df4ec91cd262feca0e8e096966ba353babcf·...·]</td></tr>126 <tr·class="memitem:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·6·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">Dune::Ind[·...·truncated·by·diffoscope;·len:·17,·SHA:·8df1cab93a4e819e0181bdd4cb3cbcf972cdb45a27fdfefa407eb24304a39c7e·...·]</td></tr>
 127 <tr·class="memdesc:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·6.··<a·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">More...</a><br·/></td></tr>
 128 <tr·class="separator:gaf220e1bb42d603f557cbc9a9331830b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·7·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">Dune::Indices::_7</a>·=·{}</td></tr>
 130 <tr·class="memdesc:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·7.··<a·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">More...</a><br·/></td></tr>
 131 <tr·class="separator:ga2ca75d1d25482664a74ee83e8ce0b5fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:ga1c19945beef1b5f54065de84e7a8641f"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·8·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">Dune::Indices::_8</a>·=·{}</td></tr>
 133 <tr·class="memdesc:ga1c19945beef1b5f54065de84e7a8641f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·8.··<a·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">More...</a><br·/></td></tr>
 134 <tr·class="separator:ga1c19945beef1b5f54065de84e7a8641f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="memItemLeft"·align="right"·valign="top">constexpr·index_constant&lt;·9·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">Dune::Indices::_9</a>·=·{}</td></tr>
 136 <tr·class="memdesc:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Compile·time·index·with·value·9.··<a·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">More...</a><br·/></td></tr>
 137 <tr·class="separator:ga3419af1bbd8440b0e54d041f2a8c2b80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 1268/27948 bytes (4.54%) of diff not shown.
5.88 KB
html2text {}
    
Offset 4, 75 lines modifiedOffset 4, 98 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Typedefs·|·Functions·|·Variables
7 ····*·simd 
8 Classes·|·Namespaces 
9 standard.hh·File·Reference8 indices.hh·File·Reference
10 Common·»·Vectorization·»·Application_Developer's_Interface·»·SIMD_Abstraction 
11 Implementation_for_standard_types 
12 SIMD·abstractions·for·the·standard·built-in·types.·More... 
13 #include·<cstddef>9 #include·<cstddef>
14 #include·<type_traits>10 #include·<type_traits>
15 #include·<utility>11 #include·<utility>
16 #include·<dune/common/indices.hh>12 #include·<dune/common/keywords.hh>
17 #include·<dune/common/simd/base.hh> 
18 #include·<dune/common/simd/defaults.hh> 
19 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
20 ·Classes 
21 struct· Dune::Simd::Overloads::ScalarType<_V,_class_> 
22  ·······should·have·a·member·type·type·More... 
23   
24 struct· Dune::Simd::Overloads::RebindType<_S,_class,_class_> 
25  ·······should·have·a·member·type·type·More... 
26   
27 struct· Dune::Simd::Overloads::LaneCount<_class,_class_> 
28  ·······should·be·derived·from·a·Dune::index_constant·More... 
29   
30 ·Namespaces14 ·Namespaces
31 namespace· Dune15 namespace· Dune
32  ··········Dune·namespace.16  ··········Dune·namespace.
33  17  
34 namespace· Dune::Simd18 namespace· Dune::Indices
35  ··········Namespace·for·vectorization·interface·functions·used·by·library 
36 ············developers.19  ··········Namespace·with·predefined·compile·time·indices·for·the·range
 20 ············[0,19].
37  21  
38 namespace· Dune::Simd::Overloads 
39  ··········Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD 
40 ············implementation.22 ·Typedefs
 23 template<std::size_t·i>
 24 using Dune::index_constant·=·std::integral_constant<·std::size_t,·i·>
 25  ·····An·index·constant·with·value·i.·More...
41  26  
42 ·Functions27 ·Functions
43 Specialized·classes·and·overloaded·functions 
44 template<class·V·> 
45 ···V Dune::Simd::Overloads::lane·(ADLTag<·2·>,·std::size_t,·V·v) 
46  ····implements·Simd::lane()·More...28 template<class·F·,·class·I·,·I...·i>
 29 decltype(auto)·constexpr Dune::unpackIntegerSequence·(F·&&f,·std::
 30 ··························integer_sequence<·I,·i...·>·sequence)
 31  ························Unpack·an·std::integer_sequence<I,i...>·to·std::
 32 ··························integral_constant<I,i>...·More...
47  33  
48 template<class·V·> 
49 ·V·& Dune::Simd::Overloads::lane·(ADLTag<·3·>,·std::size_t,·V·&v)34 ·Variables
 35 ·constexpr·index_constant<·0·> Dune::Indices::_0·=·{}
 36  ······························Compile·time·index·with·value·0.·More...
50  37  
51 bool Dune::Simd::Overloads::anyTrue·(ADLTag<·2·>,·bool·mask) 
52  ····implements·Simd::anyTrue()·More...38 ·constexpr·index_constant<·1·Dune::Indices::_1·=·{}
 39  ······························Compile·time·index·with·value·1.·More...
53  40  
54 bool Dune::Simd::Overloads::allTrue·(ADLTag<·2·>,·bool·mask) 
55  ····implements·Simd::allTrue()·More...41 ·constexpr·index_constant<·2·> Dune::Indices::_2·=·{}
 42  ······························Compile·time·index·with·value·2.·More...
56  43  
57 bool Dune::Simd::Overloads::anyFalse·(ADLTag<·2·>,·bool·mask) 
58  ····implements·Simd::anyFalse()·More...44 ·constexpr·index_constant<·3·Dune::Indices::_3·=·{}
 45  ······························Compile·time·index·with·value·3.·More...
59  46  
60 bool Dune::Simd::Overloads::allFalse·(ADLTag<·2·>,·bool·mask) 
61  ····implements·Simd::allFalse()·More...47 ·constexpr·index_constant<·4·> Dune::Indices::_4·=·{}
 48  ······························Compile·time·index·with·value·4.·More...
62  49  
63 *****·Detailed·Description·***** 
64 SIMD·abstractions·for·the·standard·built-in·types. 
65 This·file·should·not·normally·be·included·by·users·of·the·SIMD·abstraction 
66 (i.e.·other·Dune·headers).·Neither·should·it·be·included·by·the·translation 
67 units·passing·built-in·types·to·Dune·headers·that·in·turn·support·SIMD·types 
68 through·the·SIMD·abstraction.·Dune-functionality·always·supports·built-in 
69 types.·Either·because·that·functionality·does·not·support·SIMD·types·and·so 
70 only·supports·built-in·types,·or·if·it·does·support·SIMD·types·it·must·include 
71 <dune/common/simd/simd.hh>,·which·in·turn·includes·this·header.50 ·constexpr·index_constant<·5·> Dune::Indices::_5·=·{}
 51  ······························Compile·time·index·with·value·5.·More...
 52  
 53 ·constexpr·index_constant<·6·> Dune::Indices::_6·=·{}
 54  ······························Compile·time·index·with·value·6.·More...
 55  
 56 ·constexpr·index_constant<·7·> Dune::Indices::_7·=·{}
 57  ······························Compile·time·index·with·value·7.·More...
 58  
 59 ·constexpr·index_constant<·8·> Dune::Indices::_8·=·{}
 60  ······························Compile·time·index·with·value·8.·More...
 61  
 62 ·constexpr·index_constant<·9·> Dune::Indices::_9·=·{}
 63  ······························Compile·time·index·with·value·9.·More...
 64  
 65 constexpr·index_constant<·10·> Dune::Indices::_10·=·{}
 66  ······························Compile·time·index·with·value·10.·More...
 67  
 68 constexpr·index_constant<·11·> Dune::Indices::_11·=·{}
 69  ······························Compile·time·index·with·value·11.·More...
 70  
 71 constexpr·index_constant<·12·> Dune::Indices::_12·=·{}
 72  ······························Compile·time·index·with·value·12.·More...
 73  
 74 constexpr·index_constant<·13·> Dune::Indices::_13·=·{}
 75  ······························Compile·time·index·with·value·13.·More...
 76  
 77 constexpr·index_constant<·14·> Dune::Indices::_14·=·{}
 78  ······························Compile·time·index·with·value·14.·More...
 79  
 80 constexpr·index_constant<·15·> Dune::Indices::_15·=·{}
 81  ······························Compile·time·index·with·value·15.·More...
 82  
 83 constexpr·index_constant<·16·> Dune::Indices::_16·=·{}
 84  ······························Compile·time·index·with·value·16.·More...
 85  
 86 constexpr·index_constant<·17·> Dune::Indices::_17·=·{}
 87  ······························Compile·time·index·with·value·17.·More...
 88  
 89 constexpr·index_constant<·18·> Dune::Indices::_18·=·{}
 90  ······························Compile·time·index·with·value·18.·More...
Max diff block lines reached; 116/5992 bytes (1.94%) of diff not shown.
51.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00275_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·standard.hh·Source·File</title>8 <title>dune-common:·indices.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 98 lines modifiedOffset 58, 120 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">standard.hh</div></div>68 ··<div·class="headertitle"><div·class="title">indices.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00275.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00275.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_STANDARD_HH</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_STANDARD_HH</span></div> 
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_INDICES_HH</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_INDICES_HH</span></div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
76 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
77 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
78 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
79 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00308.html">dune/common/keywords.hh</a>&gt;</span></div>
80 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00173.html">dune/common/indices.hh</a>&gt;</span></div> 
81 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/simd/base.hh</a>&gt;</span></div> 
82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00272.html">dune/common/simd/defaults.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
84 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
85 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>Simd·{</div> 
86 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
87 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">namespace·</span>Overloads·{</div> 
88 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
89 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>
90 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>&gt;</div>87 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·i&gt;</div>
91 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02620.html#ab4f6f38e2c9e3272e5146799d512d978">···60</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02620.html">ScalarType</a>·{·<span·class="keyword">us[·...·truncated·by·diffoscope;·len:·106,·SHA:·0ab891227ebff2ec370cb1416195985087567557238f7b3b0f276c5464d12d6d·...·];</div>88 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">···30</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_con[·...·truncated·by·diffoscope;·len:·56,·SHA:·83079a124af3d2b2300eefa0a0a1e351252461401719a935bcf9abb0cb48443b·...·];</div>
92 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>89 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
 90 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 91 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 92 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a00441.html">···50</a></span>··<span·class="keyword">namespace·</span>Indices</div>
 93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··{</div>
 94 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">···53</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·0&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga2f3de78a2872dfc7652b48b42c537eb8">_0</a>·=·{};</div>
 95 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">···56</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·1&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga50d06c69be6f5a74e319d34064d8bc3c">_1</a>·=·{};</div>
 97 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 98 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">···59</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·2&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gac405682eeaf6a8a64648dd85af7e84fb">_2</a>·=·{};</div>
 99 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 100 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">···62</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·3&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga6b1d6527c4b8dcf500d6c7c34d5eeb79">_3</a>·=·{};</div>
93 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>101 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 102 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">···65</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·4&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gaf50cd5ff4b29a43100a00a6e7cc9b4fb">_4</a>·=·{};</div>
94 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·S,·<span·class="keyword">class</span>,·<span·class="keyword">class</span>&gt;</div> 
95 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a02624.html#a36ba8db89c385f576f383a984ef8c286">···67</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02624.html">RebindType</a>·{·<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02624.html#a36ba8db89c385f576f383a984ef8c286">type</a>·=·S;·};</div> 
96 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>103 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 104 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">···68</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·5&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gab875313e016428e2498da7fd90f1949d">_5</a>·=·{};</div>
 105 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 106 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">···71</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·6&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#gaf220e1bb42d603f557cbc9a9331830b2">_6</a>·=·{};</div>
97 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>107 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 108 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">···74</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·7&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga2ca75d1d25482664a74ee83e8ce0b5fe">_7</a>·=·{};</div>
98 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>,·<span·class="keyword">class</span>&gt;</div> 
99 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a02628.html">···74</a></span>······<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02628.html">LaneCount</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant</a>&lt;1&gt;·{·};</div> 
100 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>109 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 110 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">···77</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·8&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga1c19945beef1b5f54065de84e7a8641f">_8</a>·=·{};</div>
101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div>111 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 112 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">···80</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;·9&gt;</a>··<a·class="code·hl_variable"·href="a00397.html#ga3419af1bbd8440b0e54d041f2a8c2b80">_9</a>·=·{};</div>
102 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
103 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00430.html#ad329da4d6c881c0c53b63c01f576e6df">···87</a></span>······V·<a·class="code·hl_function"·href="a00430.html#ae0b09f360e2832ce7df95ac0ded0dbcf">lane</a>(<a·class="code·hl_struct"·href="a02608.html">ADLTag&lt;2&gt;</a>,·std::size_t,·V·v)</div> 
104 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······{</div>113 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 114 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">···83</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;10&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gac31c1f8aded673ba67174158bd5fa33b">_10</a>·=·{};</div>
105 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keywordflow">return</span>·v;</div>115 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 116 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">···86</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;11&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gaac852bc693ac4fbdebac5196bcdc9a64">_11</a>·=·{};</div>
 117 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 118 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">···89</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;12&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga70c227071a19ea12597ebde7abc8d373">_12</a>·=·{};</div>
106 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······}</div>119 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 120 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">···92</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;13&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gab861b496b29bb9d1f32b4010434e003d">_13</a>·=·{};</div>
107 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>121 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 122 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">···95</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;14&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga46aedfe3d5090a00cffcb7a652013a7f">_14</a>·=·{};</div>
108 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div> 
109 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a00430.html#a3d3cefa72e95b1abb7a235b4511d9794">···93</a></span>······V·&amp;<a·class="code·hl_function"·href="a00430.html#ae0b09f360e2832ce7df95ac0ded0dbcf">lane</a>(<a·class="code·hl_struct"·href="a02608.html">ADLTag&lt;3&gt;</a>,·std::size_t,·V·&amp;v)</div> 
110 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······{</div> 
111 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········<span·class="keywordflow">return</span>·v;</div> 
112 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······}</div>123 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 124 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">···98</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;15&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga1a8ff2bb0e356684b14a2c5e3c4d60bc">_15</a>·=·{};</div>
113 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>125 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 126 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga16898b601989e869b270c43c173de953">··101</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;16&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#ga16898b601989e869b270c43c173de953">_16</a>·=·{};</div>
114 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<span·class="comment">//·No·Simd::cond()·implementation,·the·overload·for·bool·masks·in·the</span></div> 
115 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>······<span·class="comment">//·interface·is·sufficient</span></div> 
116 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>127 <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"><a·class="line"·href="a00430.html#a4da440a9db2b315f531d5412174982af">··102</a></span>······<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00430.html#a19[·...·truncated·by·diffoscope;·len:·375,·SHA:·a9f52eae8aff750027f2c08ba05c47df1f31a03ec70acceaa66a65ac78499d86·...·]</div>128 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac1f450218a4ab129a04ae59bac7c57a1">··104</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword[·...·truncated·by·diffoscope;·len:·224,·SHA:·835dd2a44ff55cbc8a60f5f848ff7494fa915c7a5eda678a79270645a1b1e45a·...·]</div>
118 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>129 <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"><a·class="line"·href="a00430.html#aef12678a4fbb543b66e9a92eb85d9877">··105</a></span>······<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00420.html#ga6[·...·truncated·by·diffoscope;·len:·376,·SHA:·883588ffc52d9e718b0ab719483599d73406e34d9f983c2f0c7aad52795707d6·...·]</div>130 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00397.html#gab50e00b1160125118d3a3f36f0d82654">··107</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword[·...·truncated·by·diffoscope;·len:·224,·SHA:·76b1388516965bee997e39e3452c305e32088db8bc2fed013b67494f7b2a9086·...·]</div>
120 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>131 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 132 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">··110</a></span>····<a·class="code·hl_define"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>·<span·class="keyword">constexpr</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">index_constant&lt;19&gt;</a>·<a·class="code·hl_variable"·href="a00397.html#gae846500876d7d06fe7f53c03b5c23fbf">_19</a>·=·{};</div>
121 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="a00430.html#a8d635dd0e81111cb047adf5c28dfb781">··108</a></span>······<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00420.html#gaa272813526339482ae077b1a0e52a01e">anyFalse</a>(<a·class="code·hl_struct"·href="a02608.html">ADLTag&lt;2&gt;</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)·{·<span·class="keywordflow">return</span>·!<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>;·}</div> 
122 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> 
123 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a00430.html#ab3e2ff7938d3f9d0a691ee30924caee0">··111</a></span>······<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00420.html#ga537e92d4cfd4637707852c7f93c73c74">allFalse</a>(<a·class="code·hl_struct"·href="a02608.html">ADLTag&lt;2&gt;</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>)·{·<span·class="keywordflow">return</span>·!<a·class="code·hl_function"·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">mask</a>;·}</div> 
124 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>133 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 134 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··}·<span·class="comment">//·namespace·Indices</span></div>
125 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>135 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
126 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····}·<span·class="comment">//·namespace·Overloads</span></div>136 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>I,·I...·i&gt;</div>
 137 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">··125</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a00397.html#ga72824809a31d81d07517c1e903c3dab1">unpackIntegerSequence</a>(F&amp;&amp;·f,·std::integer_sequence&lt;I,·i...&gt;·sequence)</div>
127 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}·<span·class="comment">//·namespace·Simd</span></div>138 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··{</div>
 139 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····<span·class="keywordflow">return</span>·f(std::integral_constant&lt;I,·i&gt;()...);</div>
 140 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··}</div>
 141 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div>
128 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}·<span·class="comment">//·namespace·Dune</span></div>142 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>}·<span·class="comment">//namespace·Dune</span></div>
129 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>143 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
Max diff block lines reached; 5510/44282 bytes (12.44%) of diff not shown.
8.4 KB
html2text {}
    
Offset 4, 126 lines modifiedOffset 4, 185 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 indices.hh
7 ····*·simd 
8 standard.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
13 ·3#ifndef·DUNE_COMMON_SIMD_STANDARD_HH 
14 ·4#define·DUNE_COMMON_SIMD_STANDARD_HH 
15 ·514 ·5
 15 ·6#ifndef·DUNE_COMMON_INDICES_HH
 16 ·7#define·DUNE_COMMON_INDICES_HH
 17 ·8
16 ·20#include·<cstddef>18 ·9#include·<cstddef>
17 ·21#include·<type_traits>19 ·10#include·<type_traits>
18 ·22#include·<utility>20 ·11#include·<utility>
19 ·2321 ·12
20 ·24#include·<dune/common/indices.hh>22 ·13#include·<dune/common/keywords.hh>
 23 ·14
21 ·25#include·<dune/common/simd/base.hh> 
22 ·26#include·<dune/common/simd/defaults.hh> 
23 ·27 
24 ·45namespace·Dune·{24 ·15namespace·Dune
25 ·46·namespace·Simd·{ 
26 ·47 
27 ·48·namespace·Overloads·{ 
28 ·49 
29 ·56 
30 ·59·template<class·V,·class> 
31 60·struct·ScalarType·{·using·type·=·V;·}; 
32 ·6125 ·16{
 26 ·29·template<std::size_t·i>
 27 30·using·index_constant·=·std::integral_constant<std::size_t,·i>;
 28 ·31
 29 ·32
 30 ·33
 31 50·namespace·Indices
 32 ·51·{
 33 53·DUNE_INLINE_VARIABLE·constexpr·index_constant<_0>·_0·=·{};
 34 ·54
 35 56·DUNE_INLINE_VARIABLE·constexpr·index_constant<_1>·_1·=·{};
 36 ·57
 37 59·DUNE_INLINE_VARIABLE·constexpr·index_constant<_2>·_2·=·{};
 38 ·60
 39 62·DUNE_INLINE_VARIABLE·constexpr·index_constant<_3>·_3·=·{};
33 ·6340 ·63
34 ·66·template<class·S,·class,·class> 
35 67·struct·RebindType·{·using·type·=·S;·}; 
36 ·68 
37 ·70 
38 ·73·template<class,·class> 
39 74·struct·LaneCount·:·public·index_constant<1>·{·};41 65·DUNE_INLINE_VARIABLE·constexpr·index_constant<_4>·_4·=·{};
 42 ·66
 43 68·DUNE_INLINE_VARIABLE·constexpr·index_constant<_5>·_5·=·{};
 44 ·69
 45 71·DUNE_INLINE_VARIABLE·constexpr·index_constant<_6>·_6·=·{};
 46 ·72
 47 74·DUNE_INLINE_VARIABLE·constexpr·index_constant<_7>·_7·=·{};
40 ·7548 ·75
41 ·77 
42 ·86·template<class·V> 
43 87·V·lane(ADLTag<2>,·std::size_t,·V·v) 
44 ·88·{ 
45 ·89·return·v;49 77·DUNE_INLINE_VARIABLE·constexpr·index_constant<_8>·_8·=·{};
 50 ·78
 51 80·DUNE_INLINE_VARIABLE·constexpr·index_constant<_9>·_9·=·{};
 52 ·81
 53 83·DUNE_INLINE_VARIABLE·constexpr·index_constant<10>·_10·=·{};
 54 ·84
 55 86·DUNE_INLINE_VARIABLE·constexpr·index_constant<11>·_11·=·{};
 56 ·87
 57 89·DUNE_INLINE_VARIABLE·constexpr·index_constant<12>·_12·=·{};
46 ·90·}58 ·90
 59 92·DUNE_INLINE_VARIABLE·constexpr·index_constant<13>·_13·=·{};
 60 ·93
 61 95·DUNE_INLINE_VARIABLE·constexpr·index_constant<14>·_14·=·{};
47 ·91 
48 ·92·template<class·V> 
49 93·V·&lane(ADLTag<3>,·std::size_t,·V·&v) 
50 ·94·{ 
51 ·95·return·v; 
52 ·96·}62 ·96
53 ·97 
54 ·98·//·No·Simd::cond()·implementation,·the·overload·for·bool·masks·in·the 
55 ·99·//·interface·is·sufficient63 98·DUNE_INLINE_VARIABLE·constexpr·index_constant<15>·_15·=·{};
 64 ·99
 65 101·DUNE_INLINE_VARIABLE·constexpr·index_constant<16>·_16·=·{};
56 ·10066 ·102
57 102·inline·bool·anyTrue(ADLTag<2>,·bool·mask)·{·return·mask;·}67 104·DUNE_INLINE_VARIABLE·constexpr·index_constant<17>·_17·=·{};
58 ·10368 ·105
59 105·inline·bool·allTrue(ADLTag<2>,·bool·mask)·{·return·mask;·}69 107·DUNE_INLINE_VARIABLE·constexpr·index_constant<18>·_18·=·{};
60 ·10670 ·108
 71 110·DUNE_INLINE_VARIABLE·constexpr·index_constant<19>·_19·=·{};
61 108·inline·bool·anyFalse(ADLTag<2>,·bool·mask)·{·return·!mask;·} 
62 ·109 
63 111·inline·bool·allFalse(ADLTag<2>,·bool·mask)·{·return·!mask;·} 
64 ·11272 ·111
65 ·114 
66 ·115·}·//·namespace·Overloads 
67 ·116·}·//·namespace·Simd73 ·112·}·//·namespace·Indices
 74 ·113
 75 ·124·template<class·F,·class·I,·I...·i>
 76 125·decltype(auto)·constexpr·unpackIntegerSequence(F&&·f,·std::
 77 integer_sequence<I,·i...>·sequence)
 78 ·126·{
 79 ·127·return·f(std::integral_constant<I,·i>()...);
 80 ·128·}
 81 ·129
68 ·117}·//·namespace·Dune82 ·130}·//namespace·Dune
69 ·11883 ·131
70 ·119#endif·//·DUNE_COMMON_SIMD_STANDARD_HH84 ·132#endif·//·DUNE_COMMON_INDICES_HH
71 indices.hh 
72 base.hh 
73 Basic·definitions·for·SIMD·Implementations. 
74 defaults.hh 
75 Default·implementations·for·SIMD·Implementations.85 keywords.hh
 86 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.
 87 DUNE_INLINE_VARIABLE
Max diff block lines reached; 2044/8577 bytes (23.83%) of diff not shown.
11.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00278.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·test.cc·File·Reference</title>8 <title>dune-common:·enumset.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 25 lines modifiedOffset 58, 77 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
 68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
 70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#func-members">Functions</a>··</div>
68 ··<div·class="headertitle"><div·class="title">test.cc·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">enumset.hh·File·Reference</div></div>
69 </div><!--header-->73 </div><!--header-->
70 <div·class="contents">74 <div·class="contents">
  
 75 <p>Classes·for·building·sets·out·of·enumeration·values.··
 76 <a·href="#details">More...</a></p>
71 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
72 <code>#include·&lt;ostream&gt;</code><br·/> 
73 <code>#include·&lt;string&gt;</code><br·/> 
74 <code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/simd/test.hh</a>&gt;</code><br·/>78 </div>
 79 <p><a·href="a00278_source.html">Go·to·the·source·code·of·this·file.</a></p>
 80 <table·class="memberdecls">
 81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 82 Classes</h2></td></tr>
 83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01524.html">Dune::EmptySet&lt;·TA·&gt;</a></td></tr>
 84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·empty·set.··<a·href="a01524.html#details">More...</a><br·/></td></tr>
 85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01528.html">Dune::AllSet&lt;·TA·&gt;</a></td></tr>
 87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·set·containing·everything.··<a·href="a01528.html#details">More...</a><br·/></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01532.html">Dune::EnumItem&lt;·TA,·item·&gt;</a></td></tr>
 90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·set·consisting·only·of·one·item.··<a·href="a01532.html#details">More...</a><br·/></td></tr>
 91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01536.html">Dune::EnumRange&lt;·TA,·from,·end·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·set·representing·a·range·including·the·borders.··<a·href="a01536.html#details">More...</a><br·/></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01540.html">Dune::NegateSet&lt;·S·&gt;</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·negation·of·a·set.·An·item·is·contained·in·the·set·if·and·only·if·it·is·not·contained·in·the·negated·set.··<a·href="a01540.html#details">More...</a><br·/></td></tr>
 97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01544.html">Dune::Combine&lt;·TI1,·TI2,·TA·&gt;</a></td></tr>
 99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·set·combining·two·other·sets.··<a·href="a01544.html#details">More...</a><br·/></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table><table·class="memberdecls">
 102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 103 Namespaces</h2></td></tr>
 104 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 105 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 </table><table·class="memberdecls">
 108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 109 Functions</h2></td></tr>
 110 <tr·class="memitem:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memTemplParams"·colspan="2">template&lt;typename·TA·,·int·i&gt;·</td></tr>
 111 <tr·class="memitem:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga6b888d5c77aa3559f4d8b92e175b4ac7">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·EnumItem&lt;·TA,·i·&gt;·&amp;)</td></tr>
 112 <tr·class="separator:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:gabce1ed7f894e6d1d841dd328689c0752"><td·class="memTemplParams"·colspan="2">template&lt;typename·TA·,·int·from,·int·to&gt;·</td></tr>
 114 <tr·class="memitem:gabce1ed7f894e6d1d841dd328689c0752"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gabce1ed7f894e6d1d841dd328689c0752">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·EnumRange&lt;·TA,·from,·to·&gt;·&amp;)</td></tr>
 115 <tr·class="separator:gabce1ed7f894e6d1d841dd328689c0752"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:gadef896cfc4c6002054c082927fe08385"><td·class="memTemplParams"·colspan="2">template&lt;class·TI1·,·class·TI2·&gt;·</td></tr>
 117 <tr·class="memitem:gadef896cfc4c6002054c082927fe08385"><td·class="memTemplItemLeft"·align="right"·valign="top">Combine&lt;·TI1,·TI2,·typename·TI1::Type·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gadef896cfc4c6002054c082927fe08385">Dune::combine</a>·(const·TI1·&amp;set1,·const·TI2·&amp;set2)</td></tr>
 118 <tr·class="separator:gadef896cfc4c6002054c082927fe08385"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:ga07c45a5e1b2738eb3034f9186de33058"><td·class="memTemplParams"·colspan="2">template&lt;class·TI1·,·class·TI2·,·class·T·&gt;·</td></tr>
 120 <tr·class="memitem:ga07c45a5e1b2738eb3034f9186de33058"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga07c45a5e1b2738eb3034f9186de33058">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·Combine&lt;·TI1,·TI2,·T·&gt;·&amp;)</td></tr>
 121 <tr·class="separator:ga07c45a5e1b2738eb3034f9186de33058"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 </table>
 123 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 124 <div·class="textblock"><p·>Classes·for·building·sets·out·of·enumeration·values.·</p>
 125 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
75 </div></div><!--·contents·-->126 </div></div><!--·contents·-->
76 <!--·start·footer·part·-->127 <!--·start·footer·part·-->
77 <hr·class="footer"/><address·class="footer"><small>128 <hr·class="footer"/><address·class="footer"><small>
78 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
79 </small></address>130 </small></address>
80 </body>131 </body>
81 </html>132 </html>
2.02 KB
html2text {}
    
Offset 4, 16 lines modifiedOffset 4, 60 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd7 Classes·|·Namespaces·|·Functions
8 test.cc·File·Reference8 enumset.hh·File·Reference
9 #include·<config.h>9 Classes·for·building·sets·out·of·enumeration·values.·More...
10 #include·<ostream>10 #include·<iostream>
11 #include·<string> 
12 #include·<dune/common/simd/test.hh>11 Go_to_the_source_code_of_this_file.
 12 ·Classes
 13 class· Dune::EmptySet<_TA_>
 14  ······An·empty·set.·More...
 15  
 16 class· Dune::AllSet<_TA_>
 17  ······A·set·containing·everything.·More...
 18  
 19 class· Dune::EnumItem<_TA,_item_>
 20  ······A·set·consisting·only·of·one·item.·More...
 21  
 22 class· Dune::EnumRange<_TA,_from,_end_>
 23  ······A·set·representing·a·range·including·the·borders.·More...
 24  
 25 class· Dune::NegateSet<_S_>
 26  ······The·negation·of·a·set.·An·item·is·contained·in·the·set·if·and·only·if
 27 ········it·is·not·contained·in·the·negated·set.·More...
 28  
 29 class· Dune::Combine<_TI1,_TI2,_TA_>
 30  ······A·set·combining·two·other·sets.·More...
 31  
 32 ·Namespaces
 33 namespace· Dune
 34  ··········Dune·namespace.
 35  
 36 ·Functions
 37 template<typename·TA·,·int·i>
 38 ·························std::ostream·& Dune::operator<<·(std::ostream·&os,
 39 ·········································const·EnumItem<·TA,·i·>·&)
 40  
 41 template<typename·TA·,·int·from,·int·to>
 42 ·························std::ostream·& Dune::operator<<·(std::ostream·&os,
 43 ·········································const·EnumRange<·TA,·from,·to·>·&)
 44  
 45 template<class·TI1·,·class·TI2·>
 46 Combine<·TI1,·TI2,·typename·TI1::Type·> Dune::combine·(const·TI1·&set1,·const
 47 ·········································TI2·&set2)
 48  
 49 template<class·TI1·,·class·TI2·,·class·T·>
 50 ·························std::ostream·& Dune::operator<<·(std::ostream·&os,
 51 ·········································const·Combine<·TI1,·TI2,·T·>·&)
 52  
 53 *****·Detailed·Description·*****
 54 Classes·for·building·sets·out·of·enumeration·values.
 55 ··Author
 56 ······Markus·Blatt
  
13 ===============================================================================57 ===============================================================================
14 ·····Generated·by [doxygen]·1.9.458 ·····Generated·by [doxygen]·1.9.4
35.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00281.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·io.hh·File·Reference</title>8 <title>dune-common:·math.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 76 lines modifiedOffset 58, 202 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
 71 <a·href="#define-members">Macros</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">io.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00419.html">Library·Developer's·Interface</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">math.hh·File·Reference</div></div>
73 </div><!--header-->74 </div><!--header-->
74 <div·class="contents">75 <div·class="contents">
  
75 <p>IO·interface·of·the·SIMD·abstraction.··76 <p>Some·useful·basic·math·stuff.··
76 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
 79 <code>#include·&lt;complex&gt;</code><br·/>
 80 <code>#include·&lt;limits&gt;</code><br·/>
78 <code>#include·&lt;type_traits&gt;</code><br·/>81 <code>#include·&lt;type_traits&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
82 </div>83 </div>
83 <p><a·href="a00281_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00281_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">85 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>87 Classes</h2></td></tr>
 88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01908.html">Dune::StandardMathematicalConstants&lt;·T·&gt;</a></td></tr>
 89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Standard·implementation·of·<a·class="el"·href="a01912.html"·title="Provides·commonly·used·mathematical·constants.">MathematicalConstants</a>.··<a·href="a01908.html#details">More...</a><br·/></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01912.html">Dune::MathematicalConstants&lt;·Field·&gt;</a></td></tr>
 92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·commonly·used·mathematical·constants.··<a·href="a01912.html#details">More...</a><br·/></td></tr>
 93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02632.html">Dune::SimdImpl::Inserter&lt;·T·&gt;</a></td></tr>94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01916.html">Dune::Factorial&lt;·m·&gt;</a></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01920.html">Dune::Factorial&lt;·0·&gt;</a></td></tr>
 97 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">end·of·recursion·of·factorial·via·specialization··<a·href="a01920.html#details">More...</a><br·/></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01928.html">Dune::MathOverloads::ADLTag</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.··<a·href="a01928.html#details">More...</a><br·/></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01932.html">Dune::MathImpl::isUnorderedImpl</a></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>106 Namespaces</h2></td></tr>
92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>107 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>108 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:a00447"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00447.html">Dune::SimdImpl</a></td></tr>110 <tr·class="memitem:a00438"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html">Dune::MathOverloads</a></td></tr>
 111 <tr·class="memdesc:a00438"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">namespace·for·customization·of·math·functions·with·Dune-Semantics·<br·/></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>113 <tr·class="memitem:a00443"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00443.html">Dune::MathImpl</a></td></tr>
98 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table><table·class="memberdecls">115 </table><table·class="memberdecls">
 116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 117 Macros</h2></td></tr>
 118 <tr·class="memitem:ad9142ad3167567a3fdc4e29c7996ec95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00281.html#ad9142ad3167567a3fdc4e29c7996ec95">DUNE_COMMON_MATH_ISFUNCTION</a>(function,··stdfunction)</td></tr>
 119 <tr·class="separator:ad9142ad3167567a3fdc4e29c7996ec95"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00281.html#a8a492f8cc06481d5f3b0d514e344dcfa">DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR</a>(function)</td></tr>
 121 <tr·class="separator:a8a492f8cc06481d5f3b0d514e344dcfa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 </table><table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
102 Functions</h2></td></tr>124 Functions</h2></td></tr>
103 <tr·class="memitem:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class··=·std::enable_if_t&lt;Simd::lanes&lt;V&gt;()·!=·1&gt;&gt;·</td></tr> 
104 <tr·class="memitem:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memTemplItemLeft"·align="right"·valign="top">Inserter&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00447.html#ae447d4ba0de956891f38d9ae1ab14271">Dune::SimdImpl::io</a>·[·...·truncated·by·diffoscope;·len:·16,·SHA:·7d73f5b0d3b8bb5daf74d9c4a2c82a6d57c770af0b42a5e738a58f37367a8281·...·]</td></tr>125 <tr·class="memitem:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memTemplParams"·colspan="2">template&lt;class·Base·,·class·Exponent·&gt;·</td></tr>
 126 <tr·class="memitem:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·Base&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">Dune::power</a>·(Base·m,·Exponent·p)</td></tr>
 127 <tr·class="memdesc:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a02424.html"·title="Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.">Power</a>·method·for·integer·exponents.··<a·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">More...</a><br·/></td></tr>
 128 <tr·class="separator:a3e1ea51d0034cae5c0f206c0bdae2c9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 130 <tr·class="memitem:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·T&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">Dune::factorial</a>·(const·T·&amp;n)·noexcept</td></tr>
 131 <tr·class="memdesc:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·factorial·of·n·as·a·constexpr··<a·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">More...</a><br·/></td></tr>
 132 <tr·class="separator:aa0f928c6a2ac6fc64c2ff624ffbc8fcb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 133 <tr·class="memitem:a76c0d28bee57c3a25005f55d790dad03"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n&gt;·</td></tr>
 134 <tr·class="memitem:a76c0d28bee57c3a25005f55d790dad03"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a76c0d28bee57c3a25005f55d790dad03">Dune::factorial</a>·(std::integral_constant&lt;·T,·n·&gt;)·noexcept</td></tr>
 135 <tr·class="memdesc:a76c0d28bee57c3a25005f55d790dad03"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·factorial·of·n·as·a·constexpr··<a·href="a00425.html#a76c0d28bee57c3a25005f55d790dad03">More...</a><br·/></td></tr>
 136 <tr·class="separator:a76c0d28bee57c3a25005f55d790dad03"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 137 <tr·class="memitem:a2dd634f0f1043459fc810cb763999214"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 138 <tr·class="memitem:a2dd634f0f1043459fc810cb763999214"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·T&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a2dd634f0f1043459fc810cb763999214">Dune::binomial</a>·(const·T·&amp;n,·const·T·&amp;k)·noexcept</td></tr>
 139 <tr·class="memdesc:a2dd634f0f1043459fc810cb763999214"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·binomial·coefficient·n·over·k·as·a·constexpr··<a·href="a00425.html#a2dd634f0f1043459fc810cb763999214">More...</a><br·/></td></tr>
 140 <tr·class="separator:a2dd634f0f1043459fc810cb763999214"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n,·T·k&gt;·</td></tr>
 142 <tr·class="memitem:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0f831857d19b4b3fdbfb49eed8872e22">Dune::binomial</a>·(std::integral_constant&lt;·T,·n·&gt;,·std::integral_constant&lt;·T,·k·&gt;)·noexcept</td></tr>
 143 <tr·class="memdesc:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculate·the·binomial·coefficient·n·over·k·as·a·constexpr··<a·href="a00425.html#a0f831857d19b4b3fdbfb49eed8872e22">More...</a><br·/></td></tr>
 144 <tr·class="separator:a0f831857d19b4b3fdbfb49eed8872e22"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·n&gt;·</td></tr>
 146 <tr·class="memitem:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ad23b1e7dff795bbdcd86389aeab065ba">Dune::binomial</a>·(std::integral_constant&lt;·T,·n·&gt;,·std::integral_constant&lt;·T,·n·&gt;)·noexcept</td></tr>
105 <tr·class="separator:ae447d4ba0de956891f38d9ae1ab14271"><td·class="memSeparator"·colspan="2">&#160;</td></tr>147 <tr·class="separator:ad23b1e7dff795bbdcd86389aeab065ba"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a30f9b97082aee4177ff947a63ae6deea"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class··=·std::enable_if_t&lt;Simd::lanes&lt;V&gt;()·==·1&gt;&gt;·</td></tr> 
107 <tr·class="memitem:a30f9b97082aee4177ff947a63ae6deea"><td·class="memTemplItemLeft"·align="right"·valign="top">Simd::Scalar&lt;·V·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00447.html#a30f9b97082aee4177ff947a63ae6deea">Dune::SimdImpl::io<[·...·truncated·by·diffoscope;·len:·20,·SHA:·17d3ea9c65324ff3d8885a6a62cb12940869ff3daa786369dcc3cbc6a49599c4·...·]</td></tr>148 <tr·class="memitem:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memTemplParams"·colspan="2">template&lt;class·K·&gt;·</td></tr>
 149 <tr·class="memitem:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memTemplItemLeft"·align="right"·valign="top">K&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae6ef69fa70938d4aa93d8e30d3813c13">Dune::conjugateComplex</a>·(const·K·&amp;x)</td></tr>
 150 <tr·class="memdesc:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·conjugate·complex·of·x··<a·href="a00425.html#ae6ef69fa70938d4aa93d8e30d3813c13">More...</a><br·/></td></tr>
 151 <tr·class="separator:ae6ef69fa70938d4aa93d8e30d3813c13"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 152 <tr·class="memitem:ac1712a3bb38c829a2c339355cdb28133"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 153 <tr·class="memitem:ac1712a3bb38c829a2c339355cdb28133"><td·class="memTemplItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ac1712a3bb38c829a2c339355cdb28133">Dune::sign</a>·(const·T·&amp;val)</td></tr>
 154 <tr·class="memdesc:ac1712a3bb38c829a2c339355cdb28133"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Return·the·sign·of·the·value.··<a·href="a00425.html#ac1712a3bb38c829a2c339355cdb28133">More...</a><br·/></td></tr>
 155 <tr·class="separator:ac1712a3bb38c829a2c339355cdb28133"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:a52c04e77b813dd109ca59f9ded3a3515"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a52c04e77b813dd109ca59f9ded3a3515">Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION</a>·(isNaN,·isnan)</td></tr>
 157 <tr·class="separator:a52c04e77b813dd109ca59f9ded3a3515"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 158 <tr·class="memitem:a132229e4e1f87c4ea645b92e5ce316e2"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a132229e4e1f87c4ea645b92e5ce316e2">Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION</a>·(isInf,·isinf)</td></tr>
108 <tr·class="separator:a30f9b97082aee4177ff947a63ae6deea"><td·class="memSeparator"·colspan="2">&#160;</td></tr>159 <tr·class="separator:a132229e4e1f87c4ea645b92e5ce316e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 160 <tr·class="memitem:a826fe50216822399903f37a0b901a9d4"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00438.html#a826fe50216822399903f37a0b901a9d4">Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION</a>·(isFinite,·isfinite)</td></tr>
109 <tr><td·colspan="2"><div·class="groupHeader">IO·interface</div></td></tr> 
Max diff block lines reached; 4617/28965 bytes (15.94%) of diff not shown.
6.7 KB
html2text {}
    
Offset 4, 58 lines modifiedOffset 4, 156 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·simd 
8 Classes·|·Namespaces·|·Functions7 Classes·|·Namespaces·|·Macros·|·Functions
9 io.hh·File·Reference8 math.hh·File·Reference
10 Common·»·Vectorization·»·Library_Developer's_Interface 
11 IO·interface·of·the·SIMD·abstraction.·More...9 Some·useful·basic·math·stuff.·More...
 10 #include·<cmath>
 11 #include·<complex>
12 #include·<ios>12 #include·<limits>
13 #include·<type_traits>13 #include·<type_traits>
14 #include·<dune/common/rangeutilities.hh>14 #include·<dune/common/typeutilities.hh>
15 #include·<dune/common/simd/simd.hh> 
16 #include·<dune/common/typetraits.hh> 
17 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
18 ·Classes16 ·Classes
19 class· Dune::SimdImpl::Inserter<_T_>17 struct· Dune::StandardMathematicalConstants<_T_>
 18  ·······Standard·implementation·of·MathematicalConstants.·More...
 19  
 20 struct· Dune::MathematicalConstants<_Field_>
 21  ·······Provides·commonly·used·mathematical·constants.·More...
 22  
 23 struct· Dune::Factorial<_m_>
 24  
 25 struct· Dune::Factorial<_0_>
 26  ·······end·of·recursion·of·factorial·via·specialization·More...
 27  
 28 struct· Dune::MathOverloads::ADLTag
 29  ·······Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.
 30 ·········More...
 31  
 32 struct· Dune::MathImpl::isUnorderedImpl
20  33  
21 ·Namespaces34 ·Namespaces
22 namespace· Dune35 namespace· Dune
23  ··········Dune·namespace.36  ··········Dune·namespace.
24  37  
25 namespace· Dune::SimdImpl38 namespace· Dune::MathOverloads
 39  ··········namespace·for·customization·of·math·functions·with·Dune-Semantics
26  40  
27 namespace· Dune::Simd41 namespace· Dune::MathImpl
28  ··········Namespace·for·vectorization·interface·functions·used·by·library 
29 ············developers. 
30  42  
 43 ·Macros
 44 #define DUNE_COMMON_MATH_ISFUNCTION(function,·stdfunction)
31 ·Functions 
32 template<class·V·,·class·=·std::enable_if_t<Simd::lanes<V>()·!=·1>> 
33 ····Inserter<·V·> Dune::SimdImpl::io·(const·V·&v) 
34  45  
 46 #define DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR(function)
35 template<class·V·,·class·=·std::enable_if_t<Simd::lanes<V>()·==·1>> 
36 Simd::Scalar<·V·> Dune::SimdImpl::io·(const·V·&v) 
37  47  
 48 ·Functions
 49 template<class·Base·,·class·Exponent·>
 50 ·······constexpr·Base Dune::power·(Base·m,·Exponent·p)
 51  ·····················Power·method·for·integer·exponents.·More...
38 IO·interface 
39 Templates·and·functions·in·this·group·provide·syntactic·sugar·for·IO.·They·are 
40 implemented·using·the·functionality·from·SimdInterfaceBase,·and·are·not 
41 customizable·by·implementations. 
42 template<class·V·> 
43 ·············auto Dune::Simd::vio·(const·V·&v) 
44  ·················construct·a·stream·inserter·More... 
45  52  
46 template<class·V·>53 template<class·T·>
47 ·············auto Dune::Simd::io·(const·V·&v) 
48  ·················construct·a·stream·inserter·More...54 ···static·constexpr·T Dune::factorial·(const·T·&n)·noexcept
 55  ·····················calculate·the·factorial·of·n·as·a·constexpr·More...
 56  
 57 template<class·T·,·T·n>
 58 static·constexpr·auto Dune::factorial·(std::integral_constant<·T,·n·>)
 59 ·······················noexcept
 60  ·····················calculate·the·factorial·of·n·as·a·constexpr·More...
 61  
 62 template<class·T·>
 63 ···static·constexpr·T Dune::binomial·(const·T·&n,·const·T·&k)·noexcept
 64  ·····················calculate·the·binomial·coefficient·n·over·k·as·a
 65 ·······················constexpr·More...
 66  
 67 template<class·T·,·T·n,·T·k>
 68 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std::
 69 ·······················integral_constant<·T,·k·>)·noexcept
 70  ·····················calculate·the·binomial·coefficient·n·over·k·as·a
 71 ·······················constexpr·More...
 72  
 73 template<class·T·,·T·n>
 74 static·constexpr·auto Dune::binomial·(std::integral_constant<·T,·n·>,·std::
 75 ·······················integral_constant<·T,·n·>)·noexcept
 76  
 77 template<class·K·>
 78 ····················K Dune::conjugateComplex·(const·K·&x)
 79  ·····················compute·conjugate·complex·of·x·More...
 80  
 81 template<class·T·>
 82 ··················int Dune::sign·(const·T·&val)
 83  ·····················Return·the·sign·of·the·value.·More...
 84  
 85 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION·(isNaN,
 86 ·······················isnan)
 87  
 88 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION·(isInf,
 89 ·······················isinf)
 90  
 91 ····················· Dune::MathOverloads::DUNE_COMMON_MATH_ISFUNCTION
 92 ·······················(isFinite,·isfinite)
 93  
 94 template<class·T·>
 95 ·················auto Dune::MathOverloads::isUnordered·(const·T·&t1,·const·T
 96 ·······················&t2,·PriorityTag<·1·>,·ADLTag)·->·decltype(isUnordered
 97 ·······················(t1,·t2))
 98  
 99 template<class·T·>
 100 ·················auto Dune::MathOverloads::isUnordered·(const·T·&t1,·const·T
 101 ·······················&t2,·PriorityTag<·0·>,·ADLTag)
 102  
 103 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR
 104 ·······················(isNaN)
 105  
 106 ····················· Dune::MathImpl::DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR
 107 ·······················(isInf)
Max diff block lines reached; 1305/6839 bytes (19.08%) of diff not shown.
89.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00281_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·io.hh·Source·File</title>8 <title>dune-common:·math.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 107 lines modifiedOffset 58, 334 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">io.hh</div></div>68 ··<div·class="headertitle"><div·class="title">math.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00281.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00281.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_IO_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATH_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_IO_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATH_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
 79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
76 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
77 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00092.html">dune/common/typeutilities.hh</a>&gt;</span></div>
78 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
79 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00245.html">dune/common/rangeutilities.hh</a>&gt;</span></div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>{</div>
80 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div> 
81 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
83 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
84 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div> 
85 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00447.html">···25</a></span>··<span·class="keyword">namespace·</span>SimdImpl·{</div> 
86 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
87 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·T·&gt;</div>
88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02632.html">···28</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02632.html">Inserter</a>·{</div>89 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01908.html">···33</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01908.html">StandardMathematicalConstants</a></div>
 90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>
 91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01908.html#aae17c7e397f4e52c0994a070a589b568">···38</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·T·<a·class="code·hl_function"·href="a01908.html#aae17c7e397f4e52c0994a070a589b568">e</a>·()</div>
89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>······T·value_;</div>92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{</div>
 93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keyword">using·</span>std::exp;</div>
 94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·T·<a·class="code·hl_function"·href="a01908.html#aae17c7e397f4e52c0994a070a589b568">e</a>·=·exp(·T(·1·)·);</div>
 95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01908.html#aae17c7e397f4e52c0994a070a589b568">e</a>;</div>
 96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····}</div>
 97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 98 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01908.html#ab18fe71b10625774844be9b726c8c313">···48</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·T·<a·class="code·hl_function"·href="a01908.html#ab18fe71b10625774844be9b726c8c313">pi</a>·()</div>
 99 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div>
 100 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">using·</span>std::acos;</div>
 101 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keyword">static</span>·<span·class="keyword">const</span>·T·<a·class="code·hl_function"·href="a01908.html#ab18fe71b10625774844be9b726c8c313">pi</a>·=·acos(·T(·-1·)·);</div>
 102 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a01908.html#ab18fe71b10625774844be9b726c8c313">pi</a>;</div>
 103 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····}</div>
 104 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>
 105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 106 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 107 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·Field·&gt;</div>
 108 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01912.html">···65</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01912.html">MathematicalConstants</a></div>
 109 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a01908.html">StandardMathematicalConstants</a>&lt;Field&gt;</div>
 110 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··{};</div>
 111 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 112 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 113 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·Base,·<span·class="keyword">class</span>·Exponent&gt;</div>
 114 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">···75</a></span>··<span·class="keyword">constexpr</span>·Base·<a·class="code·hl_function"·href="a00425.html#a3e1ea51d0034cae5c0f206c0bdae2c9d">power</a>(Base·m,·Exponent·p)</div>
 115 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>
 116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">static_assert</span>(std::numeric_limits&lt;Exponent&gt;::is_integer,·<span·class="stringliteral">&quot;Exponent·must·be·an·integer·type!&quot;</span>);</div>
 117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 118 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">auto</span>·result·=·Base(1);</div>
 119 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keyword">auto</span>·absp·=·(p&lt;0)·?·-p·:·p;···<span·class="comment">//·This·is·simply·abs,·but·std::abs·is·not·constexpr</span></div>
 120 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keywordflow">for</span>·(Exponent·i·=·Exponent(0);·i&lt;absp;·i++)</div>
 121 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······result·*=·m;</div>
90 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 123 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">if</span>·(p&lt;0)</div>
 124 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······result·=·Base(1)/result;</div>
 125 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 126 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keywordflow">return</span>·result;</div>
 127 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div>
 128 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 129 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·m&gt;</div>
 130 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01916.html">···93</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01916.html">Factorial</a></div>
 131 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div>
 132 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">···96</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">factorial</a>·=·m·*·<a·class="code·hl_struct"·href="a01916.html">Factorial</a>&lt;m-1&gt;<a·class="code·hl_variable"·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">::factorial</a>;</div>
 133 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··};</div>
 134 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 135 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span>·&lt;&gt;</div>
 136 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01920.html">··101</a></span>··<span·class="keyword">struct·</span>[[deprecated(&quot;Use·function·<a·class="code·hl_function"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">factorial</a>·instead!·Will·be·removed·after·<a·class="code·hl_namespace"·href="a00425.html">Dune</a>·2.9&quot;)]]·<a·class="code·hl_struct"·href="a01916.html">Factorial</a>&lt;0&gt;</div>
 137 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··{</div>
 138 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<span·class="comment">//·0!·=·1</span></div>
 139 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01920.html#a99ca49c05e13fcd5502c745b69b55e6d">··104</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">factorial</a>·=·1;</div>
 140 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··};</div>
 141 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 142 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 143 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="comment">//·T·has·to·be·an·integral·type</span></div>
 144 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 145 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">··111</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">static</span>·T·<a·class="code·hl_function"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">factorial</a>(<span·class="keyword">const</span>·T&amp;·n)·<span·class="keyword">noexcept</span></div>
 146 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··{</div>
 147 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="keyword">static_assert</span>(std::numeric_limits&lt;T&gt;::is_integer,·<span·class="stringliteral">&quot;`factorial(n)`·has·to·be·called·with·an·integer·type.&quot;</span>);</div>
 148 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····T·fac·=·1;</div>
 149 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordflow">for</span>(T·k·=·0;·k·&lt;·n;·++k)</div>
 150 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······fac·*=·k+1;</div>
 151 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keywordflow">return</span>·fac;</div>
 152 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··}</div>
 153 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
 154 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·T·n&gt;</div>
 155 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a00425.html#a76c0d28bee57c3a25005f55d790dad03">··122</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">inline</span>·<span·class="keyword">static</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">factorial</a>·(std::integral_constant&lt;T,·n&gt;)·<span·class="keyword">noexcept</span></div>
 156 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··{</div>
 157 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>····<span·class="keywordflow">return</span>·std::integral_constant&lt;T,·<a·class="code·hl_function"·href="a00425.html#aa0f928c6a2ac6fc64c2ff624ffbc8fcb">factorial</a>(n)&gt;{};</div>
 158 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··}</div>
 159 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>
 160 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div>
 161 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··<span·class="comment">//·T·has·to·be·an·integral·type</span></div>
Max diff block lines reached; 9546/76639 bytes (12.46%) of diff not shown.
14.1 KB
html2text {}
    
Offset 4, 122 lines modifiedOffset 4, 400 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 math.hh
7 ····*·simd 
8 io.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
13 ·3#ifndef·DUNE_COMMON_SIMD_IO_HH 
14 ·4#define·DUNE_COMMON_SIMD_IO_HH 
15 ·514 ·5#ifndef·DUNE_MATH_HH
 15 ·6#define·DUNE_MATH_HH
 16 ·7
 17 ·12#include·<cmath>
 18 ·13#include·<complex>
16 ·16#include·<ios>19 ·14#include·<limits>
17 ·17#include·<type_traits>20 ·15#include·<type_traits>
 21 ·16
 22 ·17#include·<dune/common/typeutilities.hh>
18 ·1823 ·18
19 ·19#include·<dune/common/rangeutilities.hh> 
20 ·20#include·<dune/common/simd/simd.hh> 
21 ·21#include·<dune/common/typetraits.hh> 
22 ·22 
23 ·23namespace·Dune·{24 ·19namespace·Dune
 25 ·20{
 26 ·21
24 ·24 
25 25·namespace·SimdImpl·{ 
26 ·26 
27 ·27·template<class·T>27 ·32·template<·class·T·>
 28 33·struct·StandardMathematicalConstants
28 28·class·Inserter·{ 
29 ·29·T·value_; 
30 ·30 
31 ·31·public: 
32 32·Inserter(const·T·&value)·:·value_(value)·{} 
33 ·33 
34 ·34·template<class·Stream, 
35 ·35·class·=·std::enable_if_t<std::is_base_of<std::ios_base, 
36 ·36·Stream>::value>·> 
37 37·friend·Stream&·operator<<(Stream·&out,·const·Inserter·&ins) 
38 ·38·{29 ·34·{
39 ·39·const·char·*sep·=·"<"; 
40 ·40·for(auto·l·:·range(Simd::lanes(ins.value_))) 
41 ·41·{ 
42 ·42·out·<<·sep·<<·autoCopy(Simd::lane(l,·ins.value_)); 
43 ·43·sep·=·",·";30 38·static·const·T·e·()
 31 ·39·{
 32 ·40·using·std::exp;
 33 ·41·static·const·T·e·=·exp(·T(·1·)·);
 34 ·42·return·e;
44 ·44·}35 ·43·}
 36 ·44
 37 48·static·const·T·pi·()
45 ·45·out·<<·'>'; 
46 ·46·return·out; 
47 ·47·} 
48 ·48·}; 
49 ·4938 ·49·{
50 ·50·template<class·V,·class·=·std::enable_if_t<Simd::lanes<V>()·!=·1>·> 
51 51·Inserter<V>·io(const·V·&v) 
52 ·52·{ 
53 ·53·return·{·v·};39 ·50·using·std::acos;
 40 ·51·static·const·T·pi·=·acos(·T(·-1·)·);
 41 ·52·return·pi;
 42 ·53·}
54 ·54·}43 ·54·};
55 ·5544 ·55
56 ·56·template<class·V,·class·=·std::enable_if_t<Simd::lanes<V>()·==·1>·> 
57 57·Simd::Scalar<V>·io(const·V·&v) 
58 ·58·{ 
59 ·59·return·Simd::lane(0,·v); 
60 ·60·} 
61 ·61 
62 ·62·} 
63 ·6345 ·56
 46 ·64·template<·class·Field·>
 47 65·struct·MathematicalConstants
 48 ·66·:·public·StandardMathematicalConstants<Field>
 49 ·67·{};
 50 ·68
 51 ·69
 52 ·74·template·<class·Base,·class·Exponent>
 53 75·constexpr·Base·power(Base·m,·Exponent·p)
 54 ·76·{
 55 ·77·static_assert(std::numeric_limits<Exponent>::is_integer,·"Exponent·must·be
 56 an·integer·type!");
 57 ·78
 58 ·79·auto·result·=·Base(1);
 59 ·80·auto·absp·=·(p<0)·?·-p·:·p;·//·This·is·simply·abs,·but·std::abs·is·not
 60 constexpr
 61 ·81·for·(Exponent·i·=·Exponent(0);·i<absp;·i++)
 62 ·82·result·*=·m;
 63 ·83
 64 ·84·if·(p<0)
 65 ·85·result·=·Base(1)/result;
 66 ·86
 67 ·87·return·result;
 68 ·88·}
 69 ·89
 70 ·92·template·<int·m>
 71 93·struct·Factorial
 72 ·94·{
 73 96·static·constexpr·int·factorial·=·m·*·Factorial<m-1>::factorial;
 74 ·97·};
 75 ·98
 76 ·100·template·<>
 77 101·struct·[[deprecated("Use·function·factorial·instead!·Will·be·removed·after
 78 Dune·2.9")]]·Factorial<0>
 79 ·102·{
 80 ·103·//·0!·=·1
 81 104·static·constexpr·int·factorial·=·1;
 82 ·105·};
 83 ·106
 84 ·107
 85 ·109·//·T·has·to·be·an·integral·type
 86 ·110·template<class·T>
 87 111·constexpr·inline·static·T·factorial(const·T&·n)·noexcept
Max diff block lines reached; 3365/14463 bytes (23.27%) of diff not shown.
23.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00284.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·shared_ptr.hh·File·Reference</title>8 <title>dune-common:·tupleutility.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 66, 55 lines modifiedOffset 66, 115 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">shared_ptr.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">tupleutility.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>This·file·implements·several·utilities·related·to·std::shared_ptr.··76 <p>Contains·utility·classes·which·can·be·used·with·std::tuple.··
77 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
 79 <code>#include·&lt;tuple&gt;</code><br·/>
 80 <code>#include·&lt;type_traits&gt;</code><br·/>
 81 <code>#include·&lt;utility&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00392_source.html">dune/common/hybridutilities.hh</a>&gt;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
80 </div>84 </div>
81 <p><a·href="a00284_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00284_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">86 <table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
84 Classes</h2></td></tr>88 Classes</h2></td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02916.html">Dune::TupleAccessTraits&lt;·T·&gt;</a></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02920.html">Dune::TupleAccessTraits&lt;·T·*·&gt;</a></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02924.html">Dune::TupleAccessTraits&lt;·T·&amp;·&gt;</a></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02932.html">Dune::NullPointerInitialiser&lt;·std::tuple&lt;·Args...·&gt;·&gt;</a></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02940.html">Dune::ForEachType&lt;·TE,·std::tuple&lt;·Args...·&gt;·&gt;</a></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02944.html">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;</a></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02948.html">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&gt;</a></td></tr>
 102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02952.html">Dune::AddRefTypeEvaluator&lt;·T·&gt;</a></td></tr>
 104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·reference·to·<code>T</code>··<a·href="a02952.html#details">More...</a><br·/></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02956.html">Dune::AddPtrTypeEvaluator&lt;·T·&gt;</a></td></tr>
 107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·pointer·to·<code>T</code>··<a·href="a02956.html#details">More...</a><br·/></td></tr>
 108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02960.html">Dune::AddPtrTypeEvaluator&lt;·T·&amp;·&gt;</a></td></tr>
 110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02964.html">Dune::AtType&lt;·N,·Tuple·&gt;</a></td></tr>
 112 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·for·reverse·element·access.··<a·href="a02964.html#details">More...</a><br·/></td></tr>
 113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02588.html">Dune::null_deleter&lt;·T·&gt;</a></td></tr>114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02968.html">Dune::At&lt;·N·&gt;</a></td></tr>
 115 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Reverse·element·access.··<a·href="a02968.html#details">More...</a><br·/></td></tr>
 116 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02972.html">Dune::PointerPairDeletor&lt;·Tuple·&gt;</a></td></tr>
 118 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.··<a·href="a02972.html#details">More...</a><br·/></td></tr>
 119 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02976.html">Dune::FirstPredicateIndex&lt;·Tuple,·Predicate,·start,·size·&gt;</a></td></tr>
 121 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Finding·the·index·of·a·certain·type·in·a·std::tuple.··<a·href="a02976.html#details">More...</a><br·/></td></tr>
 122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02980.html">Dune::IsType&lt;·T·&gt;</a></td></tr>
 124 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generator·for·predicates·accepting·one·particular·type.··<a·href="a02980.html#details">More...</a><br·/></td></tr>
 125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 126 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02984.html">Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;</a></td></tr>
86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything··<a·href="a02588.html#details">More...</a><br·/></td></tr>127 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·actual·predicate.··<a·href="a02984.html#details">More...</a><br·/></td></tr>
 128 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02988.html">Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;</a></td></tr>
 130 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Find·the·first·occurrence·of·a·type·in·a·std::tuple.··<a·href="a02988.html#details">More...</a><br·/></td></tr>
 131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02996.html">Dune::PushBackTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;</a></td></tr>
 133 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03004.html">Dune::PushFrontTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;</a></td></tr>
 135 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03008.html">Dune::ReduceTuple&lt;·F,·Tuple,·Seed,·N·&gt;</a></td></tr>
 137 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Apply·reduce·with·meta·binary·function·to·template.··<a·href="a03008.html#details">More...</a><br·/></td></tr>
 138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03012.html">Dune::ReduceTuple&lt;·F,·Tuple,·Seed,·0·&gt;</a></td></tr>
 140 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Apply·reduce·with·meta·binary·function·to·template.··<a·href="a03012.html#details">More...</a><br·/></td></tr>
 141 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 142 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03016.html">Dune::JoinTuples&lt;·Head,·Tail·&gt;</a></td></tr>
 143 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Join·two·std::tuple's.··<a·href="a03016.html#details">More...</a><br·/></td></tr>
 144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03020.html">Dune::FlattenTuple&lt;·Tuple·&gt;</a></td></tr>
 146 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Flatten·a·std::tuple·of·std::tuple's.··<a·href="a03020.html#details">More...</a><br·/></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>147 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table><table·class="memberdecls">148 </table><table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>149 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
90 Namespaces</h2></td></tr>150 Namespaces</h2></td></tr>
91 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>151 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
92 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>152 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>153 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">154 </table><table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>155 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
96 Functions</h2></td></tr>156 Functions</h2></td></tr>
97 <tr·class="memitem:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
98 <tr·class="memitem:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memTemplItemLeft"·align="right"·valign="top">std::shared_ptr&lt;·T·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">Dune::stackobject_to_shared_ptr</a>·(T·&amp;t)</td></tr> 
99 <tr·class="memdesc:a0ee36ec1f6416afa0487a8a224376e34"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·shared_ptr·for·a·stack-allocated·object.··<a·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">More...</a><br·/></td></tr>157 <tr·class="memitem:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memTemplParams"·colspan="2">template&lt;class·F·,·class·ArgTuple·,·class·I·,·I...·i&gt;·</td></tr>
 158 <tr·class="memitem:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaeeffbe0f382283c9a2314a3947e54be9">Dune::applyPartial</a>·(F·&amp;&amp;f,·ArgTuple·&amp;&amp;args,·std::integer_sequence&lt;·I,·i...·&gt;)</td></tr>
 159 <tr·class="memdesc:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Apply·function·with·arguments·from·a·given·tuple.··<a·href="a00403.html#gaeeffbe0f382283c9a2314a3947e54be9">More...</a><br·/></td></tr>
100 <tr·class="separator:a0ee36ec1f6416afa0487a8a224376e34"><td·class="memSeparator"·colspan="2">&#160;</td></tr>160 <tr·class="separator:gaeeffbe0f382283c9a2314a3947e54be9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 161 <tr·class="memitem:gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memTemplParams"·colspan="2">template&lt;class·Tuple·,·class·Functor·&gt;·</td></tr>
 162 <tr·class="memitem:gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaee981bf99011a9bc2dd496a7d486e4ab">Dune::genericTransformTuple</a>·(Tuple·&amp;&amp;t,·Functor·&amp;&amp;f)·-&gt;·decltype(genericTransformTupleBackend(t,·f))</td></tr>
 163 <tr·class="separator:gaee981bf99011a9bc2dd496a7d486e4ab"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 164 <tr·class="memitem:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class·&gt;·class·TE,·class...·Args&gt;·</td></tr>
 165 <tr·class="memitem:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memTemplItemLeft"·align="right"·valign="top">TransformTupleFunctor&lt;·TE,·Args...·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gafdcf54abf95c1fbd29eb7317d4db1240">Dune::makeTransformTupleFunctor</a>·(Args·&amp;&amp;...·args)</td></tr>
101 <tr·class="memitem:abc8b6bf5f8910e34829136293000c29e"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
102 <tr·class="memitem:abc8b6bf5f8910e34829136293000c29e"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">Dune::wrap_or_move</a>·(T·&amp;&amp;t)</td></tr> 
103 <tr·class="memdesc:abc8b6bf5f8910e34829136293000c29e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Capture·R-value·reference·to·shared_ptr.··<a·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">More...</a><br·/></td></tr> 
104 <tr·class="separator:abc8b6bf5f8910e34829136293000c29e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 <tr·class="memitem:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
106 <tr·class="memitem:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab3669cc3fbff695e5ae793ab49f1ca8a">Dune::wrap_or_move</a>·(T·&amp;t)</td></tr> 
107 <tr·class="memdesc:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Capture·L-value·reference·to·std::shared_ptr.··<a·href="a00425.html#ab3669cc3fbff695e5ae793ab49f1ca8a">More...</a><br·/></td></tr> 
108 <tr·class="separator:ab3669cc3fbff695e5ae793ab49f1ca8a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>166 <tr·class="separator:gafdcf54abf95c1fbd29eb7317d4db1240"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 652/19152 bytes (3.40%) of diff not shown.
4.61 KB
html2text {}
    
Offset 5, 41 lines modifiedOffset 5, 109 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Classes·|·Namespaces·|·Functions8 Classes·|·Namespaces·|·Functions
9 shared_ptr.hh·File·Reference 
10 This·file·implements·several·utilities·related·to·std::shared_ptr.·More... 
11 #include·<memory>9 tupleutility.hh·File·Reference
 10 Common·»·Utilities·»·Tuple_Utilities
 11 Contains·utility·classes·which·can·be·used·with·std::tuple.·More...
 12 #include·<cstddef>
 13 #include·<tuple>
 14 #include·<type_traits>
 15 #include·<utility>
 16 #include·<dune/common/hybridutilities.hh>
12 #include·<dune/common/typetraits.hh>17 #include·<dune/common/typetraits.hh>
13 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
14 ·Classes19 ·Classes
15 struct· Dune::null_deleter<_T_> 
16  ·······implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything 
17 ·········More...20 struct· Dune::TupleAccessTraits<_T_>
 21  
 22 struct· Dune::TupleAccessTraits<_T_*_>
 23  
 24 struct· Dune::TupleAccessTraits<_T_&_>
 25  
 26 struct· Dune::NullPointerInitialiser<_std::tuple<_Args..._>_>
 27  
 28 struct· Dune::ForEachType<_TE,_std::tuple<_Args..._>_>
 29  
 30 ·class· Dune::TransformTupleFunctor<_TE,_Args_>
 31  
 32 struct· Dune::TransformTupleFunctor<_TE,_Args_>::TypeEvaluator<_T_>
 33  
 34 struct· Dune::AddRefTypeEvaluator<_T_>
 35  ·······TypeEvaluator·to·turn·a·type·T·into·a·reference·to·T·More...
 36  
 37 struct· Dune::AddPtrTypeEvaluator<_T_>
 38  ·······TypeEvaluator·to·turn·a·type·T·into·a·pointer·to·T·More...
 39  
 40 struct· Dune::AddPtrTypeEvaluator<_T_&_>
 41  
 42 struct· Dune::AtType<_N,_Tuple_>
 43  ·······Type·for·reverse·element·access.·More...
 44  
 45 struct· Dune::At<_N_>
 46  ·······Reverse·element·access.·More...
 47  
 48 struct· Dune::PointerPairDeletor<_Tuple_>
 49  ·······Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.·More...
 50  
 51 ·class· Dune::FirstPredicateIndex<_Tuple,_Predicate,_start,_size_>
 52  ·······Finding·the·index·of·a·certain·type·in·a·std::tuple.·More...
 53  
 54 struct· Dune::IsType<_T_>
 55  ·······Generator·for·predicates·accepting·one·particular·type.·More...
 56  
 57 struct· Dune::IsType<_T_>::Predicate<_U_>
 58  ·······The·actual·predicate.·More...
 59  
 60 struct· Dune::FirstTypeIndex<_Tuple,_T,_start_>
 61  ·······Find·the·first·occurrence·of·a·type·in·a·std::tuple.·More...
 62  
 63 struct· Dune::PushBackTuple<_typename_std::tuple<_Args..._>,_T_>
 64  
 65 struct· Dune::PushFrontTuple<_typename_std::tuple<_Args..._>,_T_>
 66  
 67 struct· Dune::ReduceTuple<_F,_Tuple,_Seed,_N_>
 68  ·······Apply·reduce·with·meta·binary·function·to·template.·More...
 69  
 70 struct· Dune::ReduceTuple<_F,_Tuple,_Seed,_0_>
 71  ·······Apply·reduce·with·meta·binary·function·to·template.·More...
 72  
 73 struct· Dune::JoinTuples<_Head,_Tail_>
 74  ·······Join·two·std::tuple's.·More...
 75  
 76 struct· Dune::FlattenTuple<_Tuple_>
 77  ·······Flatten·a·std::tuple·of·std::tuple's.·More...
18  78  
19 ·Namespaces79 ·Namespaces
20 namespace· Dune80 namespace· Dune
21  ··········Dune·namespace.81  ··········Dune·namespace.
22  82  
23 ·Functions83 ·Functions
24 template<typename·T·> 
25 std::shared_ptr<·T·> Dune::stackobject_to_shared_ptr·(T·&t) 
26  ····················Create·a·shared_ptr·for·a·stack-allocated·object.·More...84 template<class·F·,·class·ArgTuple·,·class·I·,·I...·i>
 85 ······················decltype(auto) Dune::applyPartial·(F·&&f,·ArgTuple
 86 ······································&&args,·std::integer_sequence<·I,·i...·>)
 87  ····································Apply·function·with·arguments·from·a
 88 ······································given·tuple.·More...
27  89  
28 template<class·T·> 
29 ················auto Dune::wrap_or_move·(T·&&t) 
30  ····················Capture·R-value·reference·to·shared_ptr.·More...90 template<class·Tuple·,·class·Functor·>
 91 ································auto Dune::genericTransformTuple·(Tuple·&&t,
 92 ······································Functor·&&f)·->·decltype
 93 ······································(genericTransformTupleBackend(t,·f))
31  94  
32 template<class·T·> 
33 ················auto Dune::wrap_or_move·(T·&t) 
34  ····················Capture·L-value·reference·to·std::shared_ptr.·More...95 template<template<·class·>·class·TE,·class...·Args>
 96 TransformTupleFunctor<·TE,·Args...·> Dune::makeTransformTupleFunctor·(Args
 97 ······································&&...·args)
 98  
 99 template<template<·class·>·class·TypeEvaluator,·class·Tuple·,·class...·Args>
 100 ································auto Dune::transformTuple·(Tuple·&&orig,·Args
 101 ······································&&...·args)·->·decltype
 102 ······································(genericTransformTuple(orig,
 103 ······································makeTransformTupleFunctor<·TypeEvaluator
 104 ······································>(args...)))
35  105  
36 *****·Detailed·Description·*****106 *****·Detailed·Description·*****
 107 Contains·utility·classes·which·can·be·used·with·std::tuple.
37 This·file·implements·several·utilities·related·to·std::shared_ptr. 
38 ··Author 
39 ······Markus·Blatt 
  
40 ===============================================================================108 ===============================================================================
41 ·····Generated·by [doxygen]·1.9.4109 ·····Generated·by [doxygen]·1.9.4
96.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00284_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·shared_ptr.hh·Source·File</title>8 <title>dune-common:·tupleutility.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 64 lines modifiedOffset 62, 377 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">shared_ptr.hh</div></div>68 ··<div·class="headertitle"><div·class="title">tupleutility.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00284.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00284.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_SHARED_PTR_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_TUPLE_UTILITY_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_SHARED_PTR_HH</span></div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_TUPLE_UTILITY_HH</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00392.html">dune/common/hybridutilities.hh</a>&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
82 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
83 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 89 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>F,·<span·class="keyword">class·</span>ArgTuple,·<span·class="keyword">class·</span>I,·I...·i&gt;</div>
 90 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a00403.html#gaeeffbe0f382283c9a2314a3947e54be9">···42</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00403.html#gaeeffbe0f382283c9a2314a3947e54be9">applyPartial</a>(F&amp;&amp;·f,·ArgTuple&amp;&amp;·args,·std::integer_sequence&lt;I,·i...&gt;·<span·class="comment">/*indices*/</span>)</div>
 91 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>
 92 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·f(std::get&lt;i&gt;(args)...);</div>
 93 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div>
 94 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
84 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>95 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
85 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02588.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02588.html">null_deleter</a></div>96 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02916.html">···48</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02916.html">TupleAccessTraits</a></div>
86 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>97 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>
87 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02588.html#a3f1c97c83e9a406bab22a317a51056fb">···50</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02588.html#a3f1c97c83e9a406bab22a317a51056fb">operator()·</a>(T*)<span·class="keyword">·const·</span>{}</div>98 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga041f1e2352cf960c2cdabcc24b63810b">···50</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::add_const&lt;T&gt;::type&amp;·<a·class="code·hl_typedef"·href="a00403.html#ga041f1e2352cf960c2cdabcc24b63810b"[·...·truncated·by·diffoscope;·len:·15,·SHA:·b7960667e23cdc5665f26a751a3373a614680491a1d705f40c96b591f0678487·...·]</div>
 99 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga7ac7c737f08242dabc75d211dffb4573">···51</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a00403.html#ga7ac7c737f08242dabc75d211dffb4573">NonConstType</a>;</div>
 100 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00403.html#gaf3eb742968041769424b84691408fb73">···52</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<span·class="keyword">typename</span>·std::remove_const&lt;T&gt;::type&amp;·<a·class="code·hl_typedef"·href="a00403.html#gaf3eb742968041769424b84691408fb73">ParameterType</a>;</div>
88 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··};</div>101 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··};</div>
89 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
90 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
91 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02588.html#a0ee36ec1f6416afa0487a8a224376e34">···72</a></span>··<span·class="keyword">inline</span>·std::shared_ptr&lt;T&gt;·<a·class="code·hl_function"·href="a02588.html#a0ee36ec1f6416afa0487a8a224376e34">stackobject_to_shared_ptr</a>(T·&amp;·t)</div> 
92 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div> 
93 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·std::shared_ptr&lt;T&gt;(&amp;t,·<a·class="code·hl_struct"·href="a02588.html">null_deleter&lt;T&gt;</a>());</div> 
94 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div> 
95 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> 
96 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
97 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>103 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
98 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">···96</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">wrap_or_mov[·...·truncated·by·diffoscope;·len:·20,·SHA:·8ffdac0b07f1e8c5f81e9eb9092a404588dd9d0500eb9e2b5242223f90f48093·...·]</div>104 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a02920.html">···56</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02916.html">TupleAccessTraits</a>&lt;T*&gt;</div>
99 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div>105 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{</div>
100 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·std::make_shared&lt;std::decay_t&lt;T&gt;&gt;(std::forward&lt;T&gt;(t));</div>106 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a00403.html#gaf5d4dd28478959589b3ea38408a58c8e">···58</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::add_const&lt;T&gt;::type*·<a·class="code·hl[·...·truncated·by·diffoscope;·len:·77,·SHA:·a0f7da3dd0bb6daec1e609503ca100b96a39091201428347cee1c734390e8281·...·];</div>
 107 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga340eaa6d59fbad9efa50f39495267dde">···59</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a00403.html#ga340eaa6d59fbad9efa50f39495267dde">NonConstType</a>;</div>
 108 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga12185fab48344d079604e6357fe83025">···60</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a00403.html#ga12185fab48344d079604e6357fe83025">ParameterType</a>;</div>
 109 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··};</div>
 110 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 111 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 112 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02924.html">···64</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02916.html">TupleAccessTraits</a>&lt;T&amp;&gt;</div>
 113 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··{</div>
 114 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga2613d7a17e0204d5184be226f62c528d">···66</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a00403.html#ga2613d7a17e0204d5184be226f62c528d">ConstType</a>;</div>
 115 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga7642b9a2b63fc07ad3adcbfa7742bc71">···67</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a00403.html#ga7642b9a2b63fc07ad3adcbfa7742bc71">NonConstType</a>;</div>
 116 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00403.html#gaef361574ba7087d6324f129026b13d3d">···68</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a00403.html#gaef361574ba7087d6324f129026b13d3d">ParameterType</a>;</div>
101 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>117 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··};</div>
102 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>118 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
103 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>119 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
104 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a00425.html#ab3669cc3fbff695e5ae793ab49f1ca8a">··119</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#abc8b6bf5f8910e34829136293000c29e">wrap_or_mo[·...·truncated·by·diffoscope;·len:·16,·SHA:·64300e1ca88b43ee5ba773d7a903fe8d449d8aeee2dbe5de3b17dd57ce55c87d·...·]</div>120 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a02928.html">···79</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02928.html">NullPointerInitialiser</a>;</div>
 121 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 122 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·Args&gt;</div>
 123 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a02932.html">···82</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02928.html">NullPointerInitialiser</a>&lt;<a·class="code·hl_namespace"·href="a00424.html">std</a>::tuple&lt;Args...&gt;·&gt;</div>
 124 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>
 125 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">···84</a></span>····<span·class="keyword">typedef</span>·std::tuple&lt;Args...&gt;·<a·class="code·hl_typedef"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a>;</div>
 126 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a00403.html#ga4eee92ad122054a54cbb68659499f090">···85</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_typedef"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a>·<a·class="code·hl_function"·href="a00403.html#ga4eee92ad122054a54cbb68659499f090">apply</a>()</div>
 127 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{</div>
 128 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a>(<span·class="keyword">static_cast&lt;</span>Args<span·class="keyword">&gt;</span>(<span·class="keyword">nullptr</span>)...);</div>
 129 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div>
 130 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
 131 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 132 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>&gt;·<span·class="keyword">class·</span>TE,·<span·class="keyword">class·</span>T&gt;</div>
 133 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a02936.html">··116</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02936.html">ForEachType</a>;</div>
 134 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 135 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>&gt;·<span·class="keyword">class·</span>TE,·<span·class="keyword">class</span>...·Args&gt;</div>
 136 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno"><a·class="line"·href="a02940.html">··119</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02936.html">ForEachType</a>&lt;TE,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::tuple&lt;Args...&gt;·&gt;</div>
105 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··{</div>137 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··{</div>
106 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">stackobject_to_shared_ptr</a>(t);</div>138 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a00403.html#gae36d1b293a8e0e6a505be040434331e9">··121</a></span>····<span·class="keyword">typedef</span>·std::tuple&lt;typename·TE&lt;Args&gt;::Type...&gt;·<a·class="code·hl_typedef"·href="a00403.html#gae36d1b293a8e0e6a505be040434331e[·...·truncated·by·diffoscope;·len:·11,·SHA:·4001f5fd487c5c77f383fdc0b398d4ab62a343827bb61d6d6173d0f3880d4ff2·...·];</div>
107 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··}</div>139 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··};</div>
108 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>140 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div>
 141 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 142 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>Tuple,·<span·class="keyword">class·</span>Functor,·std::size_t...·I&gt;</div>
 143 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keyword">inline</span>·<span·class="keyword">auto</span>·genericTransformTupleBackendImpl(Tuple&amp;·t,·Functor&amp;·f,·<span·class="keyword">const</span>·std::index_sequence&lt;I...&gt;&amp;·)</div>
 144 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····-&gt;·std::tuple&lt;decltype(f(std::get&lt;I&gt;(t)))...&gt;</div>
 145 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div>
 146 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>····<span·class="keywordflow">return</span>·std::tuple&lt;decltype(f(std::get&lt;I&gt;(t)))...&gt;(f(std::get&lt;I&gt;(t))...);</div>
 147 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··}</div>
 148 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
 149 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·Args,·<span·class="keyword">class·</span>Functor&gt;</div>
 150 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keyword">auto</span>·genericTransformTupleBackend(std::tuple&lt;Args...&gt;&amp;·t,·Functor&amp;·f)·-&gt;</div>
 151 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>····<span·class="keyword">decltype</span>(genericTransformTupleBackendImpl(t,·f,std::index_sequence_for&lt;Args...&gt;{}))</div>
 152 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··{</div>
 153 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····<span·class="keywordflow">return</span>·genericTransformTupleBackendImpl(t,·f,std::index_sequence_for&lt;Args...&gt;{});</div>
 154 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··}</div>
 155 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div>
 156 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·Args,·<span·class="keyword">class·</span>Functor&gt;</div>
 157 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··<span·class="keyword">auto</span>·genericTransformTupleBackend(<span·class="keyword">const</span>·std::tuple&lt;Args...&gt;&amp;·t,·Functor&amp;·f)·-&gt;</div>
 158 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····<span·class="keyword">decltype</span>(genericTransformTupleBackendImpl(t,·f,·std::index_sequence_for&lt;Args...&gt;{}))</div>
 159 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··{</div>
 160 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="keywordflow">return</span>·genericTransformTupleBackendImpl(t,·f,·std::index_sequence_for&lt;Args...&gt;{});</div>
109 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>}</div>161 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··}</div>
110 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="preprocessor">#endif</span></div>162 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span><span·class="preprocessor">#endif</span></div>
 163 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div>
 164 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Tuple,·<span·class="keyword">class</span>·Functor&gt;</div>
Max diff block lines reached; 6934/82022 bytes (8.45%) of diff not shown.
16.7 KB
html2text {}
    
Offset 4, 76 lines modifiedOffset 4, 517 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 shared_ptr.hh7 tupleutility.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·514 ·5
15 ·6#ifndef·DUNE_SHARED_PTR_HH 
16 ·7#define·DUNE_SHARED_PTR_HH15 ·6#ifndef·DUNE_TUPLE_UTILITY_HH
 16 ·7#define·DUNE_TUPLE_UTILITY_HH
17 ·817 ·8
18 ·9#include·<memory> 
19 ·1018 ·9#include·<cstddef>
 19 ·10#include·<tuple>
 20 ·11#include·<type_traits>
 21 ·12#include·<utility>
 22 ·13
 23 ·14#include·<dune/common/hybridutilities.hh>
20 ·11#include·<dune/common/typetraits.hh>24 ·15#include·<dune/common/typetraits.hh>
 25 ·16
21 ·17namespace·Dune26 ·17namespace·Dune·{
22 ·18{27 ·18
 28 ·41·template<class·F,·class·ArgTuple,·class·I,·I...·i>
 29 42·decltype(auto)·applyPartial(F&&·f,·ArgTuple&&·args,·std::integer_sequence<I,
 30 i...>·/*indices*/)
 31 ·43·{
 32 ·44·return·f(std::get<i>(args)...);
 33 ·45·}
 34 ·46
23 ·47·template<class·T>35 ·47·template<class·T>
24 48·struct·null_deleter36 48·struct·TupleAccessTraits
25 ·49·{37 ·49·{
26 50·void·operator()(T*)·const·{}38 50·typedef·typename·std::add_const<T>::type&·ConstType;
 39 51·typedef·T&·NonConstType;
 40 52·typedef·const·typename·std::remove_const<T>::type&·ParameterType;
27 ·51·};41 ·53·};
 42 ·54
28 ·52 
29 ·71·template<typename·T> 
30 72·inline·std::shared_ptr<T>·stackobject_to_shared_ptr(T·&·t) 
31 ·73·{ 
32 ·74·return·std::shared_ptr<T>(&t,·null_deleter<T>()); 
33 ·75·} 
34 ·76 
35 ·77 
36 ·95·template<class·T>43 ·55·template<class·T>
37 96·auto·wrap_or_move(T&&·t)44 56·struct·TupleAccessTraits<T*>
38 ·97·{45 ·57·{
39 ·98·return·std::make_shared<std::decay_t<T>>(std::forward<T>(t)); 
40 ·99·} 
41 ·10046 58·typedef·typename·std::add_const<T>::type*·ConstType;
 47 59·typedef·T*·NonConstType;
 48 60·typedef·T*·ParameterType;
 49 ·61·};
 50 ·62
 51 ·63·template<class·T>
 52 64·struct·TupleAccessTraits<T&>
 53 ·65·{
 54 66·typedef·T&·ConstType;
 55 67·typedef·T&·NonConstType;
 56 68·typedef·T&·ParameterType;
 57 ·69·};
 58 ·70
42 ·118·template<class·T>59 ·78·template<class·T>
43 119·auto·wrap_or_move(T&·t)60 79·struct·NullPointerInitialiser;
 61 ·80
 62 ·81·template<class...·Args>
 63 82·struct·NullPointerInitialiser<std::tuple<Args...>·>
 64 ·83·{
 65 84·typedef·std::tuple<Args...>·ResultType;
 66 85·static·ResultType·apply()
 67 ·86·{
 68 ·87·return·ResultType(static_cast<Args>(nullptr)...);
 69 ·88·}
 70 ·89·};
 71 ·90
 72 ·115·template<template·<class>·class·TE,·class·T>
 73 116·struct·ForEachType;
 74 ·117
 75 ·118·template<template·<class>·class·TE,·class...·Args>
 76 119·struct·ForEachType<TE,·std::tuple<Args...>·>
44 ·120·{77 ·120·{
45 ·121·return·stackobject_to_shared_ptr(t);78 121·typedef·std::tuple<typename·TE<Args>::Type...>·Type;
46 ·122·}79 ·122·};
47 ·12380 ·123
48 ·124}81 ·124#ifndef·DOXYGEN
 82 ·125·template<class·Tuple,·class·Functor,·std::size_t...·I>
 83 ·126·inline·auto·genericTransformTupleBackendImpl(Tuple&·t,·Functor&·f,·const
 84 std::index_sequence<I...>&·)
 85 ·127·->·std::tuple<decltype(f(std::get<I>(t)))...>
 86 ·128·{
 87 ·129·return·std::tuple<decltype(f(std::get<I>(t)))...>(f(std::get<I>(t))...);
 88 ·130·}
 89 ·131
 90 ·132·template<class...·Args,·class·Functor>
 91 ·133·auto·genericTransformTupleBackend(std::tuple<Args...>&·t,·Functor&·f)·->
 92 ·134·decltype(genericTransformTupleBackendImpl(t,·f,std::
 93 index_sequence_for<Args...>{}))
 94 ·135·{
 95 ·136·return·genericTransformTupleBackendImpl(t,·f,std::
 96 index_sequence_for<Args...>{});
 97 ·137·}
 98 ·138
 99 ·139·template<class...·Args,·class·Functor>
 100 ·140·auto·genericTransformTupleBackend(const·std::tuple<Args...>&·t,·Functor&
 101 f)·->
 102 ·141·decltype(genericTransformTupleBackendImpl(t,·f,·std::
 103 index_sequence_for<Args...>{}))
 104 ·142·{
 105 ·143·return·genericTransformTupleBackendImpl(t,·f,·std::
 106 index_sequence_for<Args...>{});
 107 ·144·}
49 ·125#endif108 ·145#endif
 109 ·146
 110 ·185·template<class·Tuple,·class·Functor>
 111 186·auto·genericTransformTuple(Tuple&&·t,·Functor&&·f)·->
 112 ·187·decltype(genericTransformTupleBackend(t,·f))
 113 ·188·{
 114 ·189·return·genericTransformTupleBackend(t,·f);
Max diff block lines reached; 7477/17069 bytes (43.80%) of diff not shown.
11.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00287.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mallocallocator.hh·File·Reference</title>8 <title>dune-common:·dotproduct.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 66, 54 lines modifiedOffset 66, 52 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">mallocallocator.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">dotproduct.hh·File·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Allocators·that·use·malloc/free.··76 <p>Provides·the·functions·dot(a,b)·:=·<img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/>·and·dotT(a,b)·:=·<img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/>.··
77 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
 78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00101_source.html">ftraits.hh</a>&quot;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00083_source.html">typetraits.hh</a>&quot;</code><br·/>
78 <div·class="textblock"><code>#include·&lt;exception&gt;</code><br·/> 
79 <code>#include·&lt;cstdlib&gt;</code><br·/> 
80 <code>#include·&lt;new&gt;</code><br·/> 
81 <code>#include·&lt;utility&gt;</code><br·/> 
82 </div>80 </div>
83 <p><a·href="a00287_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00287_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">82 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>84 Classes</h2></td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01900.html">Dune::MallocAllocator&lt;·T·&gt;</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01492.html">Dune::IsVector&lt;·T,·class·&gt;</a></td></tr>
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Allocators·implementation·which·simply·calls·malloc/free.··<a·href="a01900.html#details">More...</a><br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01904.html">Dune::MallocAllocator&lt;·T·&gt;::rebind&lt;·U·&gt;</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01496.html">Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;</a></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>91 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
100 Functions</h2></td></tr>97 Functions</h2></td></tr>
 98 <tr·class="memitem:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr>
 99 <tr·class="memitem:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">Dune::dot</a>·(const·A·&amp;a,·const·B·&amp;b)·-&gt;·typename·std::enable_if&lt;·IsNumber&lt;·A·&gt;::value·&amp;&amp;!IsVector&lt;·A·&gt;::value·&amp;&amp;!std::is_same&lt;·typename·FieldTraits&lt;·A·&gt;::field_type,·typename·FieldTraits&lt;·A·&gt;::real_type·&gt;·::value,·decltype(conj(a)·*b)&gt;::type</td></tr>
 100 <tr·class="memdesc:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's·VectDot·function:·dot(a,b)·:=·std::conj(a)*b··<a·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">More...</a><br·/></td></tr>
 101 <tr·class="separator:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 <tr·class="memitem:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>102 <tr·class="memitem:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr>
102 <tr·class="memitem:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a0b225faa806a6ba0744fd93ce17b447a">Dune::operator==</a>·(const·MallocAllocator&lt;·T·&gt;·&amp;,·const·MallocAllocator&lt;·T·&gt;·&amp;)</td></tr> 
103 <tr·class="memdesc:a0b225faa806a6ba0744fd93ce17b447a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·allocators·are·equivalent··<a·href="a00425.html#a0b225faa806a6ba0744fd93ce17b447a">More...</a><br·/></td></tr>103 <tr·class="memitem:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">Dune::dotT</a>·(const·A·&amp;a,·[·...·truncated·by·diffoscope;·len:·36,·SHA:·c7fe9856e1a42343d7204fe634a648ff7e75ef3e5ec444a72811333146d32db0·...·]</td></tr>
 104 <tr·class="memdesc:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Computes·an·indefinite·vector·dot·product·for·fundamental·data·types·according·to·Petsc's·VectTDot·function:·dotT(a,b)·:=·a*b.··<a·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">More...</a><br·/></td></tr>
104 <tr·class="separator:a0b225faa806a6ba0744fd93ce17b447a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:a336418ea10c30e25ece655d63bdf3d84"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
106 <tr·class="memitem:a336418ea10c30e25ece655d63bdf3d84"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a336418ea10c30e25ece655d63bdf3d84">Dune::operator!=</a>·(const·MallocAllocator&lt;·T·&gt;·&amp;,·const·MallocAllocator&lt;·T·&gt;·&amp;)</td></tr> 
107 <tr·class="memdesc:a336418ea10c30e25ece655d63bdf3d84"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·allocators·are·not·equivalent··<a·href="a00425.html#a336418ea10c30e25ece655d63bdf3d84">More...</a><br·/></td></tr> 
108 <tr·class="separator:a336418ea10c30e25ece655d63bdf3d84"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 </table>106 </table>
110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>107 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
111 <div·class="textblock"><p·>Allocators·that·use·malloc/free.·</p>108 <div·class="textblock"><p·>Provides·the·functions·dot(a,b)·:=·<img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/>·and·dotT(a,b)·:=·<img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/>.·</p>
 109 <p·>The·provided·dot·products·dot,dotT·are·used·to·compute·(indefinite)·dot·products·for·fundamental·types·as·well·as·DUNE·vector·types,·such·as·DenseVector,·FieldVector,·ISTLVector.·Note·that·the·definition·of·dot(a,b)·conjugates·the·first·argument.·This·agrees·with·the·behaviour·of·Matlab·and·Petsc,·but·not·with·BLAS.·</p><dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke,·Matthias·Wohlmuth·</dd></dl>
112 </div></div><!--·contents·-->110 </div></div><!--·contents·-->
113 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
114 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
116 </small></address>114 </small></address>
117 </body>115 </body>
118 </html>116 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
2.51 KB
html2text {}
    
Offset 5, 40 lines modifiedOffset 5, 49 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Classes·|·Namespaces·|·Functions8 Classes·|·Namespaces·|·Functions
 9 dotproduct.hh·File·Reference
 10 Provides·the·functions·dot(a,b)·:=·[$a^H·\cdot·b·$]·and·dotT(a,b)·:=·[$a^T
 11 \cdot·b·$].·More...
 12 #include·"ftraits.hh"
 13 #include·"typetraits.hh"
9 mallocallocator.hh·File·Reference 
10 Allocators·that·use·malloc/free.·More... 
11 #include·<exception> 
12 #include·<cstdlib> 
13 #include·<new> 
14 #include·<utility> 
15 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
16 ·Classes15 ·Classes
 16 struct· Dune::IsVector<_T,_class_>
17 ·class· Dune::MallocAllocator<_T_> 
18  ·······Allocators·implementation·which·simply·calls·malloc/free.·More... 
19  17  
20 struct· Dune::MallocAllocator<_T_>::rebind<_U_>18 struct· Dune::IsVector<_T,_std::void_t<_typename_T::field_type_>_>
21  19  
22 ·Namespaces20 ·Namespaces
23 namespace· Dune21 namespace· Dune
24  ··········Dune·namespace.22  ··········Dune·namespace.
25  23  
26 ·Functions24 ·Functions
27 template<class·T·> 
28 constexpr·bool Dune::operator==·(const·MallocAllocator<·T·>·&,·const 
29 ················MallocAllocator<·T·>·&) 
30  ··············check·whether·allocators·are·equivalent·More...25 template<class·A·,·class·B·>
 26 auto Dune::dot·(const·A·&a,·const·B·&b)·->·typename·std::enable_if<·IsNumber<
 27 ······A·>::value·&&!IsVector<·A·>::value·&&!std::is_same<·typename·FieldTraits<
 28 ······A·>::field_type,·typename·FieldTraits<·A·>::real_type·>·::value,·decltype
 29 ······(conj(a)·*b)>::type
 30  ····computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's
 31 ······VectDot·function:·dot(a,b)·:=·std::conj(a)*b·More...
31  32  
32 template<class·T·> 
33 constexpr·bool Dune::operator!=·(const·MallocAllocator<·T·>·&,·const 
34 ················MallocAllocator<·T·>·&) 
35  ··············check·whether·allocators·are·not·equivalent·More...33 template<class·A·,·class·B·>
 34 auto Dune::dotT·(const·A·&a,·const·B·&b)·->·decltype(a·*b)
 35  ····Computes·an·indefinite·vector·dot·product·for·fundamental·data·types
 36 ······according·to·Petsc's·VectTDot·function:·dotT(a,b)·:=·a*b.·More...
36  37  
37 *****·Detailed·Description·*****38 *****·Detailed·Description·*****
38 Allocators·that·use·malloc/free.39 Provides·the·functions·dot(a,b)·:=·[$a^H·\cdot·b·$]·and·dotT(a,b)·:=·[$a^T
 40 \cdot·b·$].
 41 The·provided·dot·products·dot,dotT·are·used·to·compute·(indefinite)·dot
 42 products·for·fundamental·types·as·well·as·DUNE·vector·types,·such·as
 43 DenseVector,·FieldVector,·ISTLVector.·Note·that·the·definition·of·dot(a,b)
 44 conjugates·the·first·argument.·This·agrees·with·the·behaviour·of·Matlab·and
 45 Petsc,·but·not·with·BLAS.
 46 ··Author
 47 ·······Fahlke,·Matthias·Wohlmuth
  
39 ===============================================================================48 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.449 ·····Generated·by [doxygen]·1.9.4
47.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00287_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·mallocallocator.hh·Source·File</title>8 <title>dune-common:·dotproduct.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 138 lines modifiedOffset 62, 75 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">mallocallocator.hh</div></div>68 ··<div·class="headertitle"><div·class="title">dotproduct.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00287.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00287.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MALLOC_ALLOCATOR_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DOTPRODUCT_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MALLOC_ALLOCATOR_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DOTPRODUCT_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;exception&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00101.html">ftraits.hh</a>&quot;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstdlib&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00083.html">typetraits.hh</a>&quot;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;new&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·=·<span·class="keywordtype">void</span>&gt;</div>
 83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01492.html">···27</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01492.html">IsVector</a>·:·std::false_type·{};</div>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01496.html">···30</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01492.html">IsVector</a>&lt;T,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::<a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">void_t</a>&lt;typename·T::field_type&gt;·&gt;</div>
86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno"><a·class="line"·href="a01900.html">···24</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01900.html">MallocAllocator</a>·{</div> 
87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">public</span>:</div> 
88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">···26</a></span>····<span·class="keyword">typedef</span>·std::size_t·<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">size_type</a>;</div> 
89 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01900.html#a5bd412902e78278cfc4ae87b18914203">···27</a></span>····<span·class="keyword">typedef</span>·std::ptrdiff_t·<a·class="code·hl_typedef"·href="a01900.html#a5bd412902e78278cfc4ae87b18914203">difference_type</a>;</div> 
90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a01900.html#a1602721e262656858b3238da474046b5">···28</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>;</div> 
91 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a01900.html#af6eae134970cf98f7a838ab3534f046e">···29</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T*·<a·class="code·hl_typedef"·href="a01900.html#af6eae134970cf98f7a838ab3534f046e">const_pointer</a>;</div> 
92 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01900.html#ace628b73f1b9be04006069bf1a19e6bc">···30</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a01900.html#ace628b73f1b9be04006069bf1a19e6bc">reference</a>;</div> 
93 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01900.html#a8f6131f08be1676b2184d42e5a66291c">···31</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T&amp;·<a·class="code·hl_typedef"·href="a01900.html#a8f6131f08be1676b2184d42e5a66291c">const_reference</a>;</div> 
94 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01900.html#a6b7e7f4763a686cb502ec965c6fc5510">···32</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01900.html#a6b7e7f4763a686cb502ec965c6fc5510">value_type</a>;</div> 
95 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01904.html">···33</a></span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·U&gt;·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01904.html">rebind</a>·{</div> 
96 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01904.html#ac7be9e590b210d8694a19e329048982c">···34</a></span>······<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01900.html">MallocAllocator&lt;U&gt;</a>·<a·class="code·hl_typedef"·href="a01904.html#ac7be9e590b210d8694a19e329048982c">other</a>;</div> 
97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····};</div>87 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····:·std::true_type·{};</div>
98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01900.html#a35ebf90590908c206d9844e8d9355f7f">···38</a></span>····<a·class="code·hl_function"·href="a01900.html#a35ebf90590908c206d9844e8d9355f7f">MallocAllocator</a>()·noexcept·{}</div> 
100 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·U&gt;</div>89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·A,·<span·class="keyword">class</span>·B&gt;</div>
101 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01900.html#a38af96ea5e917601570241b50c6ae099">···41</a></span>····<a·class="code·hl_function"·href="a01900.html#a38af96ea5e917601570241b50c6ae099">MallocAllocator</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01900.html">MallocAllocator&lt;U&gt;</a>&amp;)·<span·class="keyword">noexcept</span>·{}</div> 
102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01900.html#a1053835e7c61170dc70b48d420e51bbe">···43</a></span>····<a·class="code·hl_function"·href="a01900.html#a1053835e7c61170dc70b48d420e51bbe">~MallocAllocator</a>()·noexcept·{}</div>90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">auto</span></div>
 91 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">···42</a></span>··<a·class="code·hl_function"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">dot</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;IsNumber&lt;A&gt;::value·&amp;&amp;·!<a·class="code·hl_struct"·href="a01492.html">IsVector&lt;A&gt;::value</a>·&amp;&amp;·!std::is_same&lt;typename·FieldTraits&lt;A&gt;::field_type,<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;A&gt;::real_type</a>&gt;·::value,·<span·class="keyword">decltype</span>(conj(a)*b)&gt;::type</div>
 92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>
 93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·conj(a)*b;</div>
 94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div>
103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01900.html#ab469170e893476617e6bfb8849232e25">···45</a></span>····<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·<a·class="code·hl_function"·href="a01900.html#ab469170e893476617e6bfb8849232e25">address</a>(<a·class="code·hl_typedef"·href="a01900.html#ace628b73f1b9be04006069bf1a19e6bc">reference</a>·x)<span·class="keyword">·const</span></div> 
105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="keyword">····</span>{</div>96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·fundamental·type·with·A·being·a·real·type</span></div>
 97 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·A,·<span·class="keyword">class</span>·B&gt;</div>
106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keywordflow">return</span>·&amp;x;</div> 
107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····}</div> 
108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01900.html#a823237939fd7a83d0830f3d2b6767796">···49</a></span>····<a·class="code·hl_typedef"·href="a01900.html#af6eae134970cf98f7a838ab3534f046e">const_pointer</a>·<a·class="code·hl_function"·href="a01900.html#a823237939fd7a83d0830f3d2b6767796">address</a>(<a·class="code·hl_typedef"·href="a01900.html#a8f6131f08be1676b2184d42e5a66291c">const_reference</a>·x)<span·class="keyword">·const</span></div> 
109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="keyword">····</span>{</div>98 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">auto</span></div>
 99 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<a·class="code·hl_function"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">dot</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;IsNumber&lt;A&gt;::value·&amp;&amp;·!IsVector&lt;A&gt;::value·&amp;&amp;·std::is_same&lt;typename·FieldTraits&lt;A&gt;::field_type,<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;A&gt;::real_type</a>&gt;::value,·<span·class="keyword">decltype</span>(a*b)&gt;::type</div>
110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordflow">return</span>·&amp;x;</div> 
111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····}</div> 
112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a01900.html#a9bf546795ab89c063bb7d7cd70db449f">···55</a></span>····<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·<a·class="code·hl_function"·href="a01900.html#a9bf546795ab89c063bb7d7cd70db449f">allocate</a>(<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">size_type</a>·n,</div> 
114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·····················[[maybe_unused]]·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*·hint·=·0)</div> 
115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····{</div> 
116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keywordflow">if</span>·(n·&gt;·this-&gt;<a·class="code·hl_function"·href="a01900.html#ae73000f492c7b45cd0a4236577eaf70f">max_size</a>())</div> 
117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div> 
118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>100 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··{</div>
119 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·ret·=·<span·class="keyword">static_cast&lt;</span><a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a><span·class="keyword">&gt;</span>(std::malloc(n·*·<span·class="keyword">sizeof</span>(T)));</div> 
120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">if</span>·(!ret)</div> 
121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">throw</span>·std::bad_alloc();</div> 
122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">return</span>·ret;</div>101 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keywordflow">return</span>·a*b;</div>
123 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····}</div>102 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··}</div>
124 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>103 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
125 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01900.html#a5f41df6e2ab3518c09c6afca0127e094">···68</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01900.html#a5f41df6e2ab3518c09c6afca0127e094">deall[·...·truncated·by·diffoscope;·len:·218,·SHA:·755b604aae937337d94fc195b7387b1c7b04ccf072d78a34aac032288999a16c·...·]</div>104 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·A,·<span·class="keyword">typename</span>·B&gt;</div>
 105 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">auto</span></div>
 106 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_function"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">dot</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;IsVector&lt;A&gt;::value,·<span·class="keyword">decltype</span>(a.dot(b))&gt;::type</div>
126 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····{</div>107 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div>
127 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······std::free(p);</div>108 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·a.dot(b);</div>
128 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····}</div> 
129 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> 
130 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01900.html#ae73000f492c7b45cd0a4236577eaf70f">···74</a></span>····<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">size_type</a>·<a·class="code·hl_function"·href="a01900.html#ae73000f492c7b45cd0a4236577eaf70f">max_size</a>()·const·noexcept</div> 
131 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{</div> 
132 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_typedef"·href="a01900.html#a4ad7a4e3301a2a80d24203ba42b334bb">size_type</a>(-1)·/·<span·class="keyword">sizeof</span>(T);</div> 
133 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> 
134 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>109 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div>
 110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·A,·<span·class="keyword">class</span>·B&gt;</div>
135 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01900.html#a26835d6ddecf172c3f42f14e7e51774c">···80</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01900.html#a26835d6ddecf172c3f42f14e7e51774c">construct</a>(<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·p,·<span·class="keyword">const</span>·T&amp;·val)</div> 
136 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····{</div> 
137 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······::new((<span·class="keywordtype">void</span>*)p)T(val);</div>111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keyword">auto</span></div>
 112 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">···90</a></span>··<a·class="code·hl_function"·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">dotT</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">decltype</span>(a*b)</div>
138 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····}</div> 
139 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> 
140 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·...·Args&gt;</div> 
141 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a01900.html#abc66d994c8d242b64151593c6a3d9909">···87</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01900.html#abc66d994c8d242b64151593c6a3d9909">construct</a>(<a·class="code·hl_typedef"·href="a01900.html#a1602721e262656858b3238da474046b5">pointer</a>·p,·Args&amp;&amp;...·args)</div> 
142 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····{</div> 
143 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>······::new((<span·class="keywordtype">void</span>·*)p)T(std::forward&lt;Args&gt;(args)·...);</div> 
144 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····}</div> 
145 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>113 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··{</div>
146 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a01900.html#a9a87f603e3548cd4668be6afd123c278">···93</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01900.html#a9a87f603e3548cd4668be6afd123c278">destro[·...·truncated·by·diffoscope;·len:·100,·SHA:·639d0eb0540297242485d2b08523d4147c5c8fcda6646d9061d123fb38ef5bdf·...·]</div>114 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">return</span>·a*b;</div>
 115 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div>
147 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div>116 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
148 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······p-&gt;~T();</div> 
149 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····}</div>117 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>}·<span·class="comment">//·end·namespace·DUNE</span></div>
150 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··};</div>118 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
151 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
152 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
153 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span></div> 
154 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="a00425.html#a0b225faa806a6ba0744fd93ce17b447a">··102</a></span>··<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01900.html">MallocAllocator&lt;T&gt;</a>·&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01900.html">MallocAllocator&lt;T&gt;</a>·&amp;)</div> 
155 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{</div> 
156 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> 
157 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··}</div> 
Max diff block lines reached; 8455/39866 bytes (21.21%) of diff not shown.
8.04 KB
html2text {}
    
Offset 4, 197 lines modifiedOffset 4, 100 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 mallocallocator.hh7 dotproduct.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_MALLOC_ALLOCATOR_HH 
15 ·6#define·DUNE_MALLOC_ALLOCATOR_HH14 ·5#ifndef·DUNE_DOTPRODUCT_HH
 15 ·6#define·DUNE_DOTPRODUCT_HH
16 ·716 ·7
 17 ·8#include·"ftraits.hh"
 18 ·9#include·"typetraits.hh"
 19 ·10
17 ·8#include·<exception> 
18 ·9#include·<cstdlib> 
19 ·10#include·<new> 
20 ·11#include·<utility> 
21 ·12 
22 ·17namespace·Dune20 ·11namespace·Dune·{
23 ·18{21 ·26·template<class·T,·class·=·void>
 22 27·struct·IsVector·:·std::false_type·{};
 23 ·28
24 ·23·template·<class·T>24 ·29·template<class·T>
 25 30·struct·IsVector<T,·std::void_t<typename·T::field_type>·>
 26 ·31·:·std::true_type·{};
 27 ·32
25 24·class·MallocAllocator·{ 
26 ·25·public: 
27 26·typedef·std::size_t·size_type; 
28 27·typedef·std::ptrdiff_t·difference_type; 
29 28·typedef·T*·pointer; 
30 29·typedef·const·T*·const_pointer; 
31 30·typedef·T&·reference; 
32 31·typedef·const·T&·const_reference; 
33 32·typedef·T·value_type; 
34 33·template·<class·U>·struct·rebind·{ 
35 34·typedef·MallocAllocator<U>·other; 
36 ·35·}; 
37 ·36 
38 38·MallocAllocator()·noexcept·{} 
39 ·40·template·<class·U>28 ·40·template<class·A,·class·B>
40 41·MallocAllocator(const·MallocAllocator<U>&)·noexcept·{} 
41 43·~MallocAllocator()·noexcept·{} 
42 ·44 
43 45·pointer·address(reference·x)·const29 ·41·auto
 30 42·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsNumber<A>::value
 31 &&·!IsVector<A>::value·&&·!std::is_same<typename·FieldTraits<A>::
 32 field_type,typename·FieldTraits<A>::real_type>·::value,·decltype(conj(a)*b)>::
 33 type
44 ·46·{34 ·43·{
45 ·47·return·&x;35 ·44·return·conj(a)*b;
46 ·48·}36 ·45·}
47 49·const_pointer·address(const_reference·x)·const37 ·46
 38 ·56·//·fundamental·type·with·A·being·a·real·type
 39 ·57·template<class·A,·class·B>
 40 ·58·auto
 41 ·59·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsNumber<A>::value
 42 &&·!IsVector<A>::value·&&·std::is_same<typename·FieldTraits<A>::
 43 field_type,typename·FieldTraits<A>::real_type>::value,·decltype(a*b)>::type
48 ·50·{44 ·60·{
49 ·51·return·&x;45 ·61·return·a*b;
50 ·52·}46 ·62·}
51 ·53 
52 55·pointer·allocate(size_type·n, 
53 ·56·[[maybe_unused]]·const·void*·hint·=·0)47 ·63
 48 ·73·template<typename·A,·typename·B>
 49 ·74·auto
 50 ·75·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsVector<A>::
 51 value,·decltype(a.dot(b))>::type
54 ·57·{52 ·76·{
 53 ·77·return·a.dot(b);
55 ·58·if·(n·>·this->max_size()) 
56 ·59·throw·std::bad_alloc(); 
57 ·60 
58 ·61·pointer·ret·=·static_cast<pointer>(std::malloc(n·*·sizeof(T))); 
59 ·62·if·(!ret) 
60 ·63·throw·std::bad_alloc(); 
61 ·64·return·ret; 
62 ·65·} 
63 ·66 
64 68·void·deallocate(pointer·p,·[[maybe_unused]]·size_type·n) 
65 ·69·{ 
66 ·70·std::free(p); 
67 ·71·}54 ·78·}
 55 ·88·template<class·A,·class·B>
 56 ·89·auto
 57 90·dotT(const·A·&·a,·const·B·&·b)·->·decltype(a*b)
68 ·72 
69 74·size_type·max_size()·const·noexcept 
70 ·75·{ 
71 ·76·return·size_type(-1)·/·sizeof(T); 
72 ·77·} 
73 ·78 
74 80·void·construct(pointer·p,·const·T&·val) 
75 ·81·{58 ·91·{
76 ·82·::new((void*)p)T(val);59 ·92·return·a*b;
77 ·83·}60 ·93·}
78 ·84 
79 ·86·template<typename·...·Args> 
80 87·void·construct(pointer·p,·Args&&...·args) 
81 ·88·{ 
82 ·89·::new((void·*)p)T(std::forward<Args>(args)·...); 
83 ·90·} 
84 ·91 
85 93·void·destroy(pointer·p) 
86 ·94·{61 ·94
 62 ·96}·//·end·namespace·DUNE
 63 ·97
 64 ·98#endif·//·DUNE_DOTPRODUCT_HH
 65 typetraits.hh
 66 Traits·for·type·conversions·and·type·information.
 67 ftraits.hh
 68 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)
 69 Dune::dot
 70 auto·dot(const·A·&a,·const·B·&b)·->·typename·std::enable_if<·IsNumber<·A·>::
 71 value·&&!IsVector<·A·>::value·&&!std::is_same<·typename·FieldTraits<·A·>::
 72 field_type,·typename·FieldTraits<·A·>::real_type·>·::value,·decltype(conj(a)
 73 *b)>::type
 74 computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's
Max diff block lines reached; 3102/8204 bytes (37.81%) of diff not shown.
9.49 KB
./usr/share/doc/libdune-common-doc/doxygen/a00290.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·dotproduct.hh·File·Reference</title>8 <title>dune-common:·matvectraits.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 54 lines modifiedOffset 64, 37 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">dotproduct.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">matvectraits.hh·File·Reference</div></div>
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Provides·the·functions·dot(a,b)·:=·<img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/>·and·dotT(a,b)·:=·<img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/>.··75 <p>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
  
78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00086_source.html">ftraits.hh</a>&quot;</code><br·/> 
79 <code>#include·&quot;<a·class="el"·href="a00224_source.html">typetraits.hh</a>&quot;</code><br·/> 
80 </div> 
81 <p><a·href="a00290_source.html">Go·to·the·source·code·of·this·file.</a></p>77 <p><a·href="a00290_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">78 <table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
84 Classes</h2></td></tr>80 Classes</h2></td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01492.html">Dune::IsVector&lt;·T,·class·&gt;</a></td></tr>81 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01968.html">Dune::DenseMatVecTraits&lt;·T·&gt;</a></td></tr>
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01496.html">Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;</a></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">83 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
91 Namespaces</h2></td></tr>85 Namespaces</h2></td></tr>
92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls"> 
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
97 Functions</h2></td></tr> 
98 <tr·class="memitem:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr> 
99 <tr·class="memitem:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">Dune::dot</a>·(const·A·&amp;a,·const·B·&amp;b)·-&gt;·typename·std::enable_if&lt;·IsNumber&lt;·A·&gt;::value·&amp;&amp;!IsVector&lt;·A·&gt;::value·&amp;&amp;!std::is_same&lt;·typename·FieldTraits&lt;·A·&gt;::field_type,·typename·FieldTraits&lt;·A·&gt;::real_type·&gt;·::value,·decltype(conj(a)·*b)&gt;::type</td></tr> 
100 <tr·class="memdesc:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's·VectDot·function:·dot(a,b)·:=·std::conj(a)*b··<a·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">More...</a><br·/></td></tr> 
101 <tr·class="separator:gaea6b9fa6ea152afd7372f5b0b6584947"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
102 <tr·class="memitem:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memTemplParams"·colspan="2">template&lt;class·A·,·class·B·&gt;·</td></tr> 
103 <tr·class="memitem:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">Dune::dotT</a>·(const·A·&amp;a,·const·B·&amp;b)·-&gt;·decltype(a·*b)</td></tr> 
104 <tr·class="memdesc:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Computes·an·indefinite·vector·dot·product·for·fundamental·data·types·according·to·Petsc's·VectTDot·function:·dotT(a,b)·:=·a*b.··<a·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">More...</a><br·/></td></tr> 
105 <tr·class="separator:aa2d28f67ec2d74f14ec3ce3f9c27c221"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 </table>89 </table>
107 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>90 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 91 <div·class="textblock"><p·>Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix.·</p>
108 <div·class="textblock"><p·>Provides·the·functions·dot(a,b)·:=·<img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/>·and·dotT(a,b)·:=·<img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/>.·</p> 
109 <p·>The·provided·dot·products·dot,dotT·are·used·to·compute·(indefinite)·dot·products·for·fundamental·types·as·well·as·DUNE·vector·types,·such·as·DenseVector,·FieldVector,·ISTLVector.·Note·that·the·definition·of·dot(a,b)·conjugates·the·first·argument.·This·agrees·with·the·behaviour·of·Matlab·and·Petsc,·but·not·with·BLAS.·</p><dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke,·Matthias·Wohlmuth·</dd></dl> 
110 </div></div><!--·contents·-->92 </div></div><!--·contents·-->
111 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>94 <hr·class="footer"/><address·class="footer"><small>
113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.495 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
114 </small></address>96 </small></address>
115 </body>97 </body>
116 </html>98 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
2.1 KB
html2text {}
    
Offset 4, 50 lines modifiedOffset 4, 25 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Classes·|·Namespaces
 8 matvectraits.hh·File·Reference
 9 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation
 10 of·DenseVector·or·DenseMatrix.·More...
8 dotproduct.hh·File·Reference 
9 Provides·the·functions·dot(a,b)·:=·[$a^H·\cdot·b·$]·and·dotT(a,b)·:=·[$a^T 
10 \cdot·b·$].·More... 
11 #include·"ftraits.hh" 
12 #include·"typetraits.hh" 
13 Go_to_the_source_code_of_this_file.11 Go_to_the_source_code_of_this_file.
14 ·Classes12 ·Classes
 13 struct· Dune::DenseMatVecTraits<_T_>
15 struct· Dune::IsVector<_T,_class_> 
16   
17 struct· Dune::IsVector<_T,_std::void_t<_typename_T::field_type_>_> 
18  14  
19 ·Namespaces15 ·Namespaces
20 namespace· Dune16 namespace· Dune
21  ··········Dune·namespace.17  ··········Dune·namespace.
22  18  
23 ·Functions 
24 template<class·A·,·class·B·> 
25 auto Dune::dot·(const·A·&a,·const·B·&b)·->·typename·std::enable_if<·IsNumber< 
26 ······A·>::value·&&!IsVector<·A·>::value·&&!std::is_same<·typename·FieldTraits< 
27 ······A·>::field_type,·typename·FieldTraits<·A·>::real_type·>·::value,·decltype 
28 ······(conj(a)·*b)>::type 
29  ····computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's 
30 ······VectDot·function:·dot(a,b)·:=·std::conj(a)*b·More... 
31   
32 template<class·A·,·class·B·> 
33 auto Dune::dotT·(const·A·&a,·const·B·&b)·->·decltype(a·*b) 
34  ····Computes·an·indefinite·vector·dot·product·for·fundamental·data·types 
35 ······according·to·Petsc's·VectTDot·function:·dotT(a,b)·:=·a*b.·More... 
36   
37 *****·Detailed·Description·*****19 *****·Detailed·Description·*****
 20 Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation
 21 of·DenseVector·or·DenseMatrix.
38 Provides·the·functions·dot(a,b)·:=·[$a^H·\cdot·b·$]·and·dotT(a,b)·:=·[$a^T 
39 \cdot·b·$]. 
40 The·provided·dot·products·dot,dotT·are·used·to·compute·(indefinite)·dot 
41 products·for·fundamental·types·as·well·as·DUNE·vector·types,·such·as 
42 DenseVector,·FieldVector,·ISTLVector.·Note·that·the·definition·of·dot(a,b) 
43 conjugates·the·first·argument.·This·agrees·with·the·behaviour·of·Matlab·and 
44 Petsc,·but·not·with·BLAS. 
45 ··Author 
46 ·······Fahlke,·Matthias·Wohlmuth 
  
47 ===============================================================================22 ===============================================================================
48 ·····Generated·by [doxygen]·1.9.423 ·····Generated·by [doxygen]·1.9.4
18.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00290_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·dotproduct.hh·Source·File</title>8 <title>dune-common:·matvectraits.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 75 lines modifiedOffset 62, 37 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">dotproduct.hh</div></div>68 ··<div·class="headertitle"><div·class="title">matvectraits.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00290.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00290.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DOTPRODUCT_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MATVECTRAITS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DOTPRODUCT_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MATVECTRAITS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00086.html">ftraits.hh</a>&quot;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00224.html">typetraits.hh</a>&quot;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·=·<span·class="keywordtype">void</span>&gt;</div> 
83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01492.html">···27</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01492.html">IsVector</a>·:·std::false_type·{};</div> 
84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>80 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 81 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 82 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>83 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 84 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01968.html">···31</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01968.html">DenseMatVecTraits</a>·{};</div>
86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a01496.html">···30</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01492.html">IsVector</a>&lt;T,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::<a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">void_t</a>&lt;typename·T::field_type&gt;·&gt;</div> 
87 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····:·std::true_type·{};</div> 
88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>85 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
89 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·A,·<span·class="keyword">class</span>·B&gt;</div> 
90 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">auto</span></div>86 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}·<span·class="comment">//·end·namespace·Dune</span></div>
91 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">···42</a></span>··<a·class="code·hl_function"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">dot</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;IsNumber&lt;A&gt;::value·&amp;&amp;·!<a·class="code·hl_struct"·href="a01492.html">IsVector&lt;A&gt;::value</a>·&amp;&amp;·!std::is_same&lt;typename·FieldTraits&lt;A&gt;::field_type,<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;A&gt;::real_type</a>&gt;·::value,·<span·class="keyword">decltype</span>(conj(a)*b)&gt;::type</div> 
92 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div> 
93 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·conj(a)*b;</div> 
94 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div> 
95 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·fundamental·type·with·A·being·a·real·type</span></div> 
97 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·A,·<span·class="keyword">class</span>·B&gt;</div> 
98 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">auto</span></div> 
99 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<a·class="code·hl_function"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">dot</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;IsNumber&lt;A&gt;::value·&amp;&amp;·!IsVector&lt;A&gt;::value·&amp;&amp;·std::is_same&lt;typename·FieldTraits&lt;A&gt;::field_type,<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">FieldTraits&lt;A&gt;::real_type</a>&gt;::value,·<span·class="keyword">decltype</span>(a*b)&gt;::type</div> 
100 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··{</div> 
101 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keywordflow">return</span>·a*b;</div> 
102 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··}</div> 
103 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> 
104 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·A,·<span·class="keyword">typename</span>·B&gt;</div> 
105 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">auto</span></div> 
106 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_function"·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">dot</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">typename</span>·std::enable_if&lt;IsVector&lt;A&gt;::value,·<span·class="keyword">decltype</span>(a.dot(b))&gt;::type</div> 
107 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> 
108 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·a.dot(b);</div> 
109 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> 
110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·A,·<span·class="keyword">class</span>·B&gt;</div> 
111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keyword">auto</span></div> 
112 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">···90</a></span>··<a·class="code·hl_function"·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">dotT</a>(<span·class="keyword">const</span>·A·&amp;·a,·<span·class="keyword">const</span>·B·&amp;·b)·-&gt;·<span·class="keyword">decltype</span>(a*b)</div> 
113 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··{</div> 
114 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keywordflow">return</span>·a*b;</div> 
115 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div> 
116 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> 
117 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>}·<span·class="comment">//·end·namespace·DUNE</span></div> 
118 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
119 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_DOTPRODUCT_HH</span></div>88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_FTRAITS_HH</span></div>
120 <div·class="ttc"·id="aa00086_html"><div·class="ttname"><a·href="a00086.html">ftraits.hh</a></div><div·class="ttdoc">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)</div></div> 
121 <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div> 
122 <div·class="ttc"·id="aa00397_html_gaea6b9fa6ea152afd7372f5b0b6584947"><div·class="ttname"><a·href="a00397.html#gaea6b9fa6ea152afd7372f5b0b6584947">Dune::dot</a></div><div·class="ttdeci">auto·dot(const·A·&amp;a,·const·B·&amp;b)·-&gt;·typename·std::enable_if&lt;·IsNumber&lt;·A·&gt;::value·&amp;&amp;!IsVector&lt;·A·&gt;::value·&amp;&amp;!std::is_same&lt;·typename·FieldTraits&lt;·A·&gt;::field_type,·typename·FieldTraits&lt;·A·&gt;::real_type·&gt;·::value,·decltype(conj(a)·*b)&gt;::type</div><div·class="ttdoc">computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's·VectDot·function:·dot(a,...</div><div·class="ttdef"><b>Definition:</b>·dotproduct.hh:42</div></div> 
123 <div·class="ttc"·id="aa00406_html_ga6a3de1d2dbd47536c4b007d3a3b108a2"><div·class="ttname"><a·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">Dune::void_t</a></div><div·class="ttdeci">typename·Impl::voider&lt;·Types...·&gt;::type·void_t</div><div·class="ttdoc">Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-techniques.</div><div·class="ttdef"><b>Definition:</b>·typetraits.hh:40</div></div> 
124 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div> 
125 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>89 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
126 <div·class="ttc"·id="aa00425_html_aa2d28f67ec2d74f14ec3ce3f9c27c221"><div·class="ttname"><a·href="a00425.html#aa2d28f67ec2d74f14ec3ce3f9c27c221">Dune::dotT</a></div><div·class="ttdeci">auto·dotT(const·A·&amp;a,·const·B·&amp;b)·-&gt;·decltype(a·*b)</div><div·class="ttdoc">Computes·an·indefinite·vector·dot·product·for·fundamental·data·types·according·to·Petsc's·VectTDot·fu...</div><div·class="ttdef"><b>Definition:</b>·dotproduct.hh:90</div></div> 
127 <div·class="ttc"·id="aa01492_html"><div·class="ttname"><a·href="a01492.html">Dune::IsVector</a></div><div·class="ttdef"><b>Definition:</b>·dotproduct.hh:27</div></div>90 <div·class="ttc"·id="aa01968_html"><div·class="ttname"><a·href="a01968.html">Dune::DenseMatVecTraits</a></div><div·class="ttdef"><b>Definition:</b>·matvectraits.hh:31</div></div>
128 <div·class="ttc"·id="aa01740_html_ab1c1583160e1c47c4909273c82ae7a63"><div·class="ttname"><a·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">Dune::FieldTraits::real_type</a></div><div·class="ttdeci">T·real_type</div><div·class="ttdoc">export·the·type·representing·the·real·type·of·the·field</div><div·class="ttdef"><b>Definition:</b>·ftraits.hh:30</div></div> 
129 </div><!--·fragment·--></div><!--·contents·-->91 </div><!--·fragment·--></div><!--·contents·-->
130 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
131 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
132 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
133 </small></address>95 </small></address>
134 </body>96 </body>
135 </html>97 </html>
3.34 KB
html2text {}
    
Offset 4, 100 lines modifiedOffset 4, 36 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 dotproduct.hh7 matvectraits.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DOTPRODUCT_HH 
15 ·6#define·DUNE_DOTPRODUCT_HH14 ·5#ifndef·DUNE_MATVECTRAITS_HH
 15 ·6#define·DUNE_MATVECTRAITS_HH
16 ·716 ·7
17 ·8#include·"ftraits.hh" 
18 ·9#include·"typetraits.hh" 
19 ·10 
20 ·11namespace·Dune·{17 ·12namespace·Dune·{
21 ·26·template<class·T,·class·=·void> 
22 27·struct·IsVector·:·std::false_type·{}; 
23 ·2818 ·13
 19 ·22
 20 ·24
 21 ·26
24 ·29·template<class·T>22 ·30·template<class·T>
 23 31·struct·DenseMatVecTraits·{};
25 30·struct·IsVector<T,·std::void_t<typename·T::field_type>·> 
26 ·31·:·std::true_type·{}; 
27 ·3224 ·32
28 ·40·template<class·A,·class·B> 
29 ·41·auto 
30 42·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsNumber<A>::value 
31 &&·!IsVector<A>::value·&&·!std::is_same<typename·FieldTraits<A>:: 
32 field_type,typename·FieldTraits<A>::real_type>·::value,·decltype(conj(a)*b)>:: 
33 type 
34 ·43·{ 
35 ·44·return·conj(a)*b; 
36 ·45·} 
37 ·46 
38 ·56·//·fundamental·type·with·A·being·a·real·type 
39 ·57·template<class·A,·class·B> 
40 ·58·auto 
41 ·59·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsNumber<A>::value 
42 &&·!IsVector<A>::value·&&·std::is_same<typename·FieldTraits<A>:: 
43 field_type,typename·FieldTraits<A>::real_type>::value,·decltype(a*b)>::type 
44 ·60·{ 
45 ·61·return·a*b; 
46 ·62·} 
47 ·63 
48 ·73·template<typename·A,·typename·B> 
49 ·74·auto 
50 ·75·dot(const·A·&·a,·const·B·&·b)·->·typename·std::enable_if<IsVector<A>:: 
51 value,·decltype(a.dot(b))>::type 
52 ·76·{ 
53 ·77·return·a.dot(b); 
54 ·78·} 
55 ·88·template<class·A,·class·B> 
56 ·89·auto 
57 90·dotT(const·A·&·a,·const·B·&·b)·->·decltype(a*b) 
58 ·91·{ 
59 ·92·return·a*b; 
60 ·93·} 
61 ·94 
62 ·96}·//·end·namespace·DUNE25 ·33}·//·end·namespace·Dune
 26 ·34
 27 ·35#endif·//·DUNE_FTRAITS_HH
63 ·97 
64 ·98#endif·//·DUNE_DOTPRODUCT_HH 
65 ftraits.hh 
66 Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers) 
67 typetraits.hh 
68 Traits·for·type·conversions·and·type·information. 
69 Dune::dot 
70 auto·dot(const·A·&a,·const·B·&b)·->·typename·std::enable_if<·IsNumber<·A·>:: 
71 value·&&!IsVector<·A·>::value·&&!std::is_same<·typename·FieldTraits<·A·>:: 
72 field_type,·typename·FieldTraits<·A·>::real_type·>·::value,·decltype(conj(a) 
73 *b)>::type 
74 computes·the·dot·product·for·fundamental·data·types·according·to·Petsc's 
75 VectDot·function:·dot(a,... 
76 Definition:·dotproduct.hh:42 
77 Dune::void_t 
78 typename·Impl::voider<·Types...·>::type·void_t 
79 Is·void·for·all·valid·input·types.·The·workhorse·for·C++11·SFINAE-techniques. 
80 Definition:·typetraits.hh:40 
81 std 
82 STL·namespace. 
83 Dune28 Dune
84 Dune·namespace.29 Dune·namespace.
85 Definition:·alignedallocator.hh:1330 Definition:·alignedallocator.hh:13
 31 Dune::DenseMatVecTraits
86 Dune::dotT 
87 auto·dotT(const·A·&a,·const·B·&b)·->·decltype(a·*b) 
88 Computes·an·indefinite·vector·dot·product·for·fundamental·data·types·according 
89 to·Petsc's·VectTDot·fu... 
90 Definition:·dotproduct.hh:90 
91 Dune::IsVector 
92 Definition:·dotproduct.hh:27 
93 Dune::FieldTraits::real_type 
94 T·real_type 
95 export·the·type·representing·the·real·type·of·the·field 
96 Definition:·ftraits.hh:3032 Definition:·matvectraits.hh:31
  
97 ===============================================================================33 ===============================================================================
98 ·····Generated·by [doxygen]·1.9.434 ·····Generated·by [doxygen]·1.9.4
6.79 KB
./usr/share/doc/libdune-common-doc/doxygen/a00293.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·indent.hh·File·Reference</title>8 <title>dune-common:·lru.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 48 lines modifiedOffset 64, 44 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">lru.hh·File·Reference</div></div>
72 <a·href="#func-members">Functions</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">indent.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div> 
74 </div><!--header-->73 </div><!--header-->
75 <div·class="contents">74 <div·class="contents">
  
76 <p>Utility·class·for·handling·nested·indentation·in·output.··75 <p>LRU·Cache·Container,·using·an·STL·like·interface.··
77 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;ostream&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;list&gt;</code><br·/>
79 <code>#include·&lt;string&gt;</code><br·/>78 <code>#include·&lt;utility&gt;</code><br·/>
 79 <code>#include·&lt;map&gt;</code><br·/>
 80 <code>#include·&lt;memory&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
80 </div>82 </div>
81 <p><a·href="a00293_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00293_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">84 <table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
84 Classes</h2></td></tr>86 Classes</h2></td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01864.html">Dune::Indent</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01896.html">Dune::lru&lt;·Key,·Tp,·Traits·&gt;</a></td></tr>
86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.··<a·href="a01864.html#details">More...</a><br·/></td></tr>88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">LRU·Cache·Container.··<a·href="a01896.html#details">More...</a><br·/></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table><table·class="memberdecls">90 </table><table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
90 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
91 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>93 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
92 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>94 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls"> 
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
96 Functions</h2></td></tr> 
97 <tr·class="memitem:gace1faa2fb503952859542dbea15eb066"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gace1faa2fb503952859542dbea15eb066">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;s,·const·Indent·&amp;indent)</td></tr> 
98 <tr·class="memdesc:gace1faa2fb503952859542dbea15eb066"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">write·indentation·to·a·stream··<a·href="a00397.html#gace1faa2fb503952859542dbea15eb066">More...</a><br·/></td></tr> 
99 <tr·class="separator:gace1faa2fb503952859542dbea15eb066"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 </table>96 </table>
101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
102 <div·class="textblock"><p·>Utility·class·for·handling·nested·indentation·in·output.·</p>98 <div·class="textblock"><p·>LRU·Cache·Container,·using·an·STL·like·interface.·</p>
103 <dl·class="section·author"><dt>Author</dt><dd>·Fahlke·</dd></dl>99 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl>
104 </div></div><!--·contents·-->100 </div></div><!--·contents·-->
105 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>102 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>104 </small></address>
109 </body>105 </body>
110 </html>106 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 utf-81 us-ascii
1.19 KB
html2text {}
    
Offset 4, 33 lines modifiedOffset 4, 31 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Classes·|·Namespaces
8 indent.hh·File·Reference8 lru.hh·File·Reference
 9 LRU·Cache·Container,·using·an·STL·like·interface.·More...
9 Common 
10 Utility·class·for·handling·nested·indentation·in·output.·More... 
11 #include·<ostream> 
12 #include·<string>10 #include·<list>
 11 #include·<utility>
 12 #include·<map>
 13 #include·<memory>
 14 #include·<dune/common/exceptions.hh>
13 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
14 ·Classes16 ·Classes
15 class· Dune::Indent 
16  ······Utility·class·for·handling·nested·indentation·in·output.·More...17 class· Dune::lru<_Key,_Tp,_Traits_>
 18  ······LRU·Cache·Container.·More...
17  19  
18 ·Namespaces20 ·Namespaces
19 namespace· Dune21 namespace· Dune
20  ··········Dune·namespace.22  ··········Dune·namespace.
21  23  
22 ·Functions 
23 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·Indent·&indent) 
24  ··············write·indentation·to·a·stream·More... 
25   
26 *****·Detailed·Description·*****24 *****·Detailed·Description·*****
27 Utility·class·for·handling·nested·indentation·in·output.25 LRU·Cache·Container,·using·an·STL·like·interface.
28 ··Author26 ··Author
29 ·······Fahlke27 ······Christian·Engwer
  
30 ===============================================================================28 ===============================================================================
31 ·····Generated·by [doxygen]·1.9.429 ·····Generated·by [doxygen]·1.9.4
62.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00293_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·indent.hh·Source·File</title>8 <title>dune-common:·lru.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 91 lines modifiedOffset 62, 208 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">indent.hh</div></div>68 ··<div·class="headertitle"><div·class="title">lru.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00293.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00293.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_INDENT_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_LRU_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_INDENT_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_LRU_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;list&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>85 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>86 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 87 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>{</div>
 88 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 89 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="comment">/*</span></div>
 90 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·······hide·the·default·traits·in·an·empty·namespace</span></div>
 91 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·····*/</span></div>
 92 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·Key,·<span·class="keyword">typename</span>·Tp,</div>
 93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>········<span·class="keyword">typename</span>·Alloc·=·std::allocator&lt;Tp&gt;·&gt;</div>
 94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">struct·</span>_lru_default_traits</div>
 95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····{</div>
 96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keyword">typedef</span>·Key·key_type;</div>
 97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">typedef</span>·Alloc·allocator;</div>
 98 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="keyword">typedef</span>·std::list&lt;·std::pair&lt;Key,·Tp&gt;·&gt;·list_type;</div>
 99 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·list_type::iterator·iterator;</div>
 100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::less&lt;key_type&gt;·cmp;</div>
 101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keyword">typedef</span>·std::map&lt;·key_type,·iterator,·cmp,</div>
 102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··········<span·class="keyword">typename</span>·std::allocator_traits&lt;allocator&gt;::template·rebind_alloc&lt;std::pair&lt;const·key_type,·iterator&gt;·&gt;·&gt;·map_type;</div>
 103 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····};</div>
 104 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
 105 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}·<span·class="comment">//·end·empty·namespace</span></div>
 106 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·Key,·<span·class="keyword">typename</span>·Tp,</div>
 108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">typename</span>·Traits·=·_lru_default_traits&lt;Key,·Tp&gt;·&gt;</div>
83 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01864.html">···52</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01864.html">Indent</a></div>109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01896.html">···51</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01896.html">lru</a></div>
84 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div>
85 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>*·parent;</div> 
86 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····std::string·basic_indent;</div> 
87 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordtype">unsigned</span>·level;</div>111 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Traits::list_type·list_type;</div>
 112 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Traits::map_type·map_type;</div>
 113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Traits::allocator·allocator;</div>
 114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·map_type::iterator·map_iterator;</div>
 115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·map_type::const_iterator·const_map_iterator;</div>
88 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
89 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">public</span>:</div>117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">public</span>:</div>
 118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01896.html#aeda92a2b060663bbceb17c16bb0ab3aa">···60</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Traits::key_type·<a·class="code·hl_typedef"·href="a01896.html#aeda92a2b060663bbceb17c16bb0ab3aa">key_type</a>;</div>
 119 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01896.html#a40f89573d1b557b338531dcbf81af42c">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·allocator::value_type·<a·class="code·hl_typedef"·href="a01896.html#a40f89573d1b557b338531dcbf81af42c">value_type</a>;</div>
 120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01896.html#ab605faec247e98d56b6aa5161873a2a3">···62</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01896.html#ab605faec247e98d56b6aa5161873a2a3">pointer</a>·=·<span·class="keyword">typename</span>·allocator::value_type*;</div>
 121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01896.html#a4b0f268d929dd6219d3a54e0bff885ea">···63</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01896.html#a4b0f268d929dd6219d3a54e0bff885ea">const_pointer</a>·=·<span·class="keyword">typename</span>·allocator::value_type·<span·class="keyword">const</span>*;</div>
 122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01896.html#add3ff5021fdf6c8d27bbf1463f0a9750">···64</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01896.html#add3ff5021fdf6c8d27bbf1463f0a9750">const_reference</a>·=·<span·class="keyword">typename</span>·allocator::value_type·<span·class="keyword">const</span>&amp;;</div>
 123 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01896.html#a675e3c2081b8c609574cd860404b89e4">···65</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01896.html#a675e3c2081b8c609574cd860404b89e4">reference</a>·=·<span·class="keyword">typename</span>·allocator::value_type&amp;;</div>
 124 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01896.html#a3948720468f37e008671618f767cf923">···66</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·allocator::size_type·<a·class="code·hl_typedef"·href="a01896.html#a3948720468f37e008671618f767cf923">size_type</a>;</div>
 125 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01896.html#a3dda844ee17447258f388ca19edcef25">···67</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·list_type::iterator·<a·class="code·hl_typedef"·href="a01896.html#a3dda844ee17447258f388ca19edcef25">iterator</a>;</div>
 126 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01896.html#a2d259e3e02d3ef4f649732fc71512414">···68</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·list_type::const_iterator·<a·class="code·hl_typedef"·href="a01896.html#a2d259e3e02d3ef4f649732fc71512414">const_iterator</a>;</div>
90 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>127 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 128 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01896.html#a8c7128595c530784a73f61e6dd75a402">···74</a></span>····<a·class="code·hl_typedef"·href="a01896.html#a675e3c2081b8c609574cd860404b89e4">reference</a>·<a·class="code·hl_function"·href="a01896.html#a8c7128595c530784a73f61e6dd75a402">front</a>()</div>
91 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">···63</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Indent</a>(<span·class="keyword">const</span>·std::string&amp;·basic_indent_·=·<span·class="stringliteral">&quot;··&quot;</span>,·<span·class="keywordtype">unsigned</span>·level_·=·0)</div> 
92 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······:·parent(0),·basic_indent(basic_indent_),·level(level_)</div> 
93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····{·}</div>129 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{</div>
 130 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·_data.front().second;</div>
94 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> 
95 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1f1ea564f5a91476186d98f86bc9e9c5">···68</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a00397.html#ga1f1ea564f5a91476186d98f86bc9e9c5">Indent</a>(<span·class="keywordtype">unsigned</span>·level_)</div> 
96 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······:·parent(0),·basic_indent(<span·class="stringliteral">&quot;··&quot;</span>),·level(level_)</div> 
97 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····{·}</div>131 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>
98 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>132 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
 133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01896.html#a42c540a71e6ae6caa8451304428cebc1">···83</a></span>····<a·class="code·hl_typedef"·href="a01896.html#add3ff5021fdf6c8d27bbf1463f0a9750">const_reference</a>·<a·class="code·hl_function"·href="a01896.html#a42c540a71e6ae6caa8451304428cebc1">front</a>()<span·class="keyword">·const</span></div>
99 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a00397.html#gae84075a0c38565df531b69c1cbba9de8">···76</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a00397.html#gae84075a0c38565df531b69c1cbba9de8">Indent</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>*·parent_,</div> 
101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··················<span·class="keyword">const</span>·std::string&amp;·basic_indent_·=·<span·class="stringliteral">&quot;··&quot;</span>,·<span·class="keywordtype">unsigned</span>·level_·=·1)</div> 
102 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······:·parent(parent_),·basic_indent(basic_indent_),·level(level_)</div> 
103 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····{·}</div> 
104 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> 
105 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga8aa75c75f4de24c071ad32c329c4f0f1">···82</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_function"·href="a00397.html#ga8aa75c75f4de24c071ad32c329c4f0f1">Indent</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>*·parent_,·<span·class="keywordtype">unsigned</span>·level_)</div> 
106 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······:·parent(parent_),·basic_indent(<span·class="stringliteral">&quot;··&quot;</span>),·level(level_)</div> 
107 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····{·}</div>134 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">····</span>{</div>
 135 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keywordflow">return</span>·_data.front().second;</div>
108 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
109 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga0d8e2d1ad854a5768618d827269c0483">···87</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>·<a·class="code·hl_function"·href="a00397.html#ga0d8e2d1ad854a5768618d827269c0483">operator+</a>(<span·class="keyword">const</span>·std::string&amp;·newindent)<span·class="keyword">·const·</span>{</div> 
110 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Indent</a>(<span·class="keyword">this</span>,·newindent);</div> 
111 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····}</div>136 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div>
112 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga29e86c93b437fefa4d30687bece5a5d4">···91</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>·<a·class="code·hl_function"·href="a00397.html#ga29e86c93b437fefa4d30687bece5a5d4">operator+</a>(<span·class="keywordtype">unsigned</span>·morelevel)<span·class="keyword">·const·</span>{</div> 
113 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Indent</a>(parent,·basic_indent,·level+morelevel);</div>137 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01896.html#a6ac3d7821b2380fd2d4900eb152e6fe3">···92</a></span>····<a·class="code·hl_typedef"·href="a01896.html#a675e3c2081b8c609574cd860404b89e4">reference</a>·<a·class="code·hl_function"·href="a01896.html#a6ac3d7821b2380fd2d4900eb152e6fe3">back</a>()</div>
114 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····}</div>139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div>
115 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaaca980bf5fb4bf2cc341324b077d28a8">···95</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>&amp;·<a·class="code·hl_function"·href="a00397.html#gaaca980bf5fb4bf2cc341324b077d28a8">operator++</a>()·{·++level;·<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·}</div> 
116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00397.html#gabf8f40e7093e2c7972f4b7a262fd05d8">···97</a></span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>&amp;·<a·class="code·hl_function"·[·...·truncated·by·diffoscope;·len:·212,·SHA:·8e196aa56763eaedccf1ebd8c20921f4c5902a982ad50b2d97bcc49abcc70491·...·]</div>140 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keywordflow">return</span>·_data.back().second;</div>
 141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····}</div>
117 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>142 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
118 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<span·class="keyword">friend</span>·<span·class="keyword">inline</span>·std::ostream&amp;·<a·class="code·hl_friend"·href="a00397.html#gac6f5e4de9f1e93d4523c4dbda35d935e">operator&lt;&lt;</a>(std::ostream&amp;·s,</div> 
119 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>···········································<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>&amp;·indent);</div>143 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01896.html#aefa4a3429fce6fbcb9d2cf319997e18c">··101</a></span>····<a·class="code·hl_typedef"·href="a01896.html#add3ff5021fdf6c8d27bbf1463f0a9750">const_reference</a>·<a·class="code·hl_function"·href="a01896.html#aefa4a3429fce6fbcb9d2[·...·truncated·by·diffoscope;·len:·115,·SHA:·5ec64ee6705983e71b62d11bdd95a457e52eea2508f22f555504c28e503d1e50·...·]</div>
 144 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">····</span>{</div>
 145 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keywordflow">return</span>·_data.back().second;</div>
120 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··};</div>146 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····}</div>
121 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>147 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
122 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a00397.html#gac6f5e4de9f1e93d4523c4dbda35d935e">··105</a></span>··<span·class="keyword">inline</span>·std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream&amp;·s,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01864.html">Indent</a>&amp;·indent)·{</div> 
123 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordflow">if</span>(indent.parent)</div> 
124 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>······s·&lt;&lt;·*indent.parent;</div>148 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
Max diff block lines reached; 8323/53763 bytes (15.48%) of diff not shown.
9.93 KB
html2text {}
    
Offset 4, 121 lines modifiedOffset 4, 269 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 indent.hh7 lru.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_INDENT_HH14 ·5#ifndef·DUNE_COMMON_LRU_HH
15 ·6#define·DUNE_COMMON_INDENT_HH15 ·6#define·DUNE_COMMON_LRU_HH
16 ·716 ·7
17 ·8#include·<ostream>17 ·8#include·<list>
18 ·9#include·<string>18 ·9#include·<utility>
19 ·1019 ·10#include·<map>
 20 ·11#include·<memory>
 21 ·12
 22 ·13#include·<dune/common/exceptions.hh>
 23 ·14
20 ·11namespace·Dune·{24 ·20namespace·Dune·{
21 ·22 
22 52·class·Indent25 ·21
 26 ·22·namespace·{
 27 ·23
 28 ·24·/*
 29 ·25·hide·the·default·traits·in·an·empty·namespace
 30 ·26·*/
 31 ·27·template·<typename·Key,·typename·Tp,
 32 ·28·typename·Alloc·=·std::allocator<Tp>·>
 33 ·29·struct·_lru_default_traits
23 ·53·{34 ·30·{
24 ·54·const·Indent*·parent; 
25 ·55·std::string·basic_indent; 
26 ·56·unsigned·level; 
27 ·5735 ·31·typedef·Key·key_type;
 36 ·32·typedef·Alloc·allocator;
 37 ·33·typedef·std::list<·std::pair<Key,·Tp>·>·list_type;
 38 ·34·typedef·typename·list_type::iterator·iterator;
 39 ·35·typedef·typename·std::less<key_type>·cmp;
 40 ·36·typedef·std::map<·key_type,·iterator,·cmp,
 41 ·37·typename·std::allocator_traits<allocator>::template·rebind_alloc<std::
 42 pair<const·key_type,·iterator>·>·>·map_type;
 43 ·38·};
 44 ·39
 45 ·40·}·//·end·empty·namespace
 46 ·41
 47 ·49·template·<typename·Key,·typename·Tp,
 48 ·50·typename·Traits·=·_lru_default_traits<Key,·Tp>·>
 49 51·class·lru
 50 ·52·{
 51 ·53·typedef·typename·Traits::list_type·list_type;
 52 ·54·typedef·typename·Traits::map_type·map_type;
 53 ·55·typedef·typename·Traits::allocator·allocator;
 54 ·56·typedef·typename·map_type::iterator·map_iterator;
 55 ·57·typedef·typename·map_type::const_iterator·const_map_iterator;
 56 ·58
28 ·58·public:57 ·59·public:
29 ·60 
30 63·inline·Indent(const·std::string&·basic_indent_·=·"·",·unsigned·level_·=·0) 
31 ·64·:·parent(0),·basic_indent(basic_indent_),·level(level_) 
32 ·65·{·} 
33 ·66 
34 68·inline·Indent(unsigned·level_) 
35 ·69·:·parent(0),·basic_indent("·"),·level(level_)58 60·typedef·typename·Traits::key_type·key_type;
 59 61·typedef·typename·allocator::value_type·value_type;
 60 62·using·pointer·=·typename·allocator::value_type*;
 61 63·using·const_pointer·=·typename·allocator::value_type·const*;
 62 64·using·const_reference·=·typename·allocator::value_type·const&;
 63 65·using·reference·=·typename·allocator::value_type&;
 64 66·typedef·typename·allocator::size_type·size_type;
 65 67·typedef·typename·list_type::iterator·iterator;
 66 68·typedef·typename·list_type::const_iterator·const_iterator;
 67 ·69
 68 74·reference·front()
 69 ·75·{
 70 ·76·return·_data.front().second;
 71 ·77·}
 72 ·78
 73 83·const_reference·front()·const
 74 ·84·{
 75 ·85·return·_data.front().second;
 76 ·86·}
 77 ·87
 78 92·reference·back()
 79 ·93·{
 80 ·94·return·_data.back().second;
 81 ·95·}
 82 ·96
 83 101·const_reference·back·([[maybe_unused]]·int·i)·const
 84 ·102·{
 85 ·103·return·_data.back().second;
 86 ·104·}
 87 ·105
 88 ·106
 89 110·void·pop_front()
 90 ·111·{
 91 ·112·key_type·k·=·_data.front().first;
 92 ·113·_data.pop_front();
 93 ·114·_index.erase(k);
 94 ·115·}
 95 119·void·pop_back()
 96 ·120·{
 97 ·121·key_type·k·=·_data.back().first;
 98 ·122·_data.pop_back();
 99 ·123·_index.erase(k);
 100 ·124·}
 101 ·125
 102 131·iterator·find·(const·key_type·&·key)
 103 ·132·{
 104 ·133·const·map_iterator·it·=·_index.find(key);
 105 ·134·if·(it·==·_index.end())·return·_data.end();
 106 ·135·return·it->second;
 107 ·136·}
 108 ·137
 109 143·const_iterator·find·(const·key_type·&·key)·const
 110 ·144·{
 111 ·145·const·map_iterator·it·=·_index.find(key);
 112 ·146·if·(it·==·_index.end())·return·_data.end();
 113 ·147·return·it->second;
 114 ·148·}
 115 ·149
 116 161·reference·insert·(const·key_type·&·key,·const_reference·data)
Max diff block lines reached; 2555/10147 bytes (25.18%) of diff not shown.
11.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00296.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·assertandreturn.hh·File·Reference</title>8 <title>dune-common:·fmatrixev.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 28 lines modifiedOffset 63, 66 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#define-members">Macros</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">assertandreturn.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">fmatrixev.hh·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
 75 <p>Eigenvalue·computations·for·the·FieldMatrix·class.··
 76 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 78 <code>#include·&lt;iostream&gt;</code><br·/>
 79 <code>#include·&lt;cmath&gt;</code><br·/>
 80 <code>#include·&lt;cassert&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/fmatrix.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code><br·/>
75 </div>85 </div>
76 <p><a·href="a00296_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00296_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <table·class="memberdecls">87 <table·class="memberdecls">
 88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 89 Namespaces</h2></td></tr>
 90 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 91 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:a00436"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00436.html">Dune::FMatrixHelp</a></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 </table><table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
79 Macros</h2></td></tr>97 Functions</h2></td></tr>
80 <tr·class="memitem:ga902aaece2c20a75cbf6daad4957ba069"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">DUNE_ASSERT_AND_RETURN</a>(C,··X)&#160;&#160;&#160;(!(C)·?·throw·[&amp;](){assert(!#C);return·0;}()·:·0),·X</td></tr> 
81 <tr·class="memdesc:ga902aaece2c20a75cbf6daad4957ba069"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Asserts·a·condition·and·return·on·success·in·constexpr·context.··<a·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">More...</a><br·/></td></tr>98 <tr·class="memitem:a86eafff72a6c52bec8aa92e191f08887"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr>
 99 <tr·class="memitem:a86eafff72a6c52bec8aa92e191f08887"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">Dune::FMatrixHelp::eigenValues</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues)</td></tr>
 100 <tr·class="memdesc:a86eafff72a6c52bec8aa92e191f08887"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<a·href="a00436.html#a86eafff72a6c52bec8aa92e191f08887">More...</a><br·/></td></tr>
 101 <tr·class="separator:a86eafff72a6c52bec8aa92e191f08887"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr>
 103 <tr·class="memitem:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#ae35eb55b361af2d69d419f3b6ecf4d2c">Dune::FMatrixHelp::eigenValuesVectors</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues,·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;eigenVectors)</td></tr>
 104 <tr·class="memdesc:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·and·eigenvectors·of·a·symmetric·field·matrix··<a·href="a00436.html#ae35eb55b361af2d69d419f3b6ecf4d2c">More...</a><br·/></td></tr>
 105 <tr·class="separator:ae35eb55b361af2d69d419f3b6ecf4d2c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:a96fe2783815b8f97773279ed069cf1d8"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr>
 107 <tr·class="memitem:a96fe2783815b8f97773279ed069cf1d8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a96fe2783815b8f97773279ed069cf1d8">Dune::FMatrixHelp::eigenValuesLapack</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues)</td></tr>
 108 <tr·class="memdesc:a96fe2783815b8f97773279ed069cf1d8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·symmetric·field·matrix··<a·href="a00436.html#a96fe2783815b8f97773279ed069cf1d8">More...</a><br·/></td></tr>
82 <tr·class="separator:ga902aaece2c20a75cbf6daad4957ba069"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:a96fe2783815b8f97773279ed069cf1d8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:afe77be4b948169fdcebb318248023920"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·&gt;·</td></tr>
 111 <tr·class="memitem:afe77be4b948169fdcebb318248023920"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#afe77be4b948169fdcebb318248023920">Dune::FMatrixHelp::eigenValuesVectorsLapack</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·K,·dim·&gt;·&amp;eigenValues,·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;eigenVectors)</td></tr>
 112 <tr·class="memdesc:afe77be4b948169fdcebb318248023920"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·and·-vectors·of·a·symmetric·field·matrix··<a·href="a00436.html#afe77be4b948169fdcebb318248023920">More...</a><br·/></td></tr>
 113 <tr·class="separator:afe77be4b948169fdcebb318248023920"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:a72135a64a9d7252dbcf26664c5810cce"><td·class="memTemplParams"·colspan="2">template&lt;int·dim,·typename·K·,·class·C·&gt;·</td></tr>
 115 <tr·class="memitem:a72135a64a9d7252dbcf26664c5810cce"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00436.html#a72135a64a9d7252dbcf26664c5810cce">Dune::FMatrixHelp::eigenValuesNonSym</a>·(const·FieldMatrix&lt;·K,·dim,·dim·&gt;·&amp;matrix,·FieldVector&lt;·C,·dim·&gt;·&amp;eigenValues)</td></tr>
 116 <tr·class="memdesc:a72135a64a9d7252dbcf26664c5810cce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·the·eigenvalues·of·a·non-symmetric·field·matrix··<a·href="a00436.html#a72135a64a9d7252dbcf26664c5810cce">More...</a><br·/></td></tr>
 117 <tr·class="separator:a72135a64a9d7252dbcf26664c5810cce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>118 </table>
 119 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 120 <div·class="textblock"><p·>Eigenvalue·computations·for·the·FieldMatrix·class.·</p>
84 </div><!--·contents·-->121 </div></div><!--·contents·-->
85 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
86 <hr·class="footer"/><address·class="footer"><small>123 <hr·class="footer"/><address·class="footer"><small>
87 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
88 </small></address>125 </small></address>
89 </body>126 </body>
90 </html>127 </html>
2.41 KB
html2text {}
    
Offset 4, 19 lines modifiedOffset 4, 60 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Macros 
8 assertandreturn.hh·File·Reference7 Namespaces·|·Functions
 8 fmatrixev.hh·File·Reference
 9 Eigenvalue·computations·for·the·FieldMatrix·class.·More...
 10 #include·<algorithm>
 11 #include·<iostream>
 12 #include·<cmath>
9 #include·<cassert>13 #include·<cassert>
 14 #include·<dune/common/exceptions.hh>
 15 #include·<dune/common/fvector.hh>
 16 #include·<dune/common/fmatrix.hh>
 17 #include·<dune/common/math.hh>
10 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
 19 ·Namespaces
 20 namespace· Dune
 21  ··········Dune·namespace.
11 ·Macros 
12 #define DUNE_ASSERT_AND_RETURN(C,·X)   (!(C)·?·throw·[&](){assert(!#C);return·0;}()·: 
13 ·········0),·X 
14  ·······Asserts·a·condition·and·return·on·success·in·constexpr·context.·More... 
15  22  
 23 namespace· Dune::FMatrixHelp
 24  
 25 ·Functions
 26 template<int·dim,·typename·K·>
 27 static·void Dune::FMatrixHelp::eigenValues·(const·FieldMatrix<·K,·dim,·dim·>
 28 ·············&matrix,·FieldVector<·K,·dim·>·&eigenValues)
 29  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix·More...
 30  
 31 template<int·dim,·typename·K·>
 32 static·void Dune::FMatrixHelp::eigenValuesVectors·(const·FieldMatrix<·K,·dim,
 33 ·············dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues,·FieldMatrix<·K,
 34 ·············dim,·dim·>·&eigenVectors)
 35  ···········calculates·the·eigenvalues·and·eigenvectors·of·a·symmetric·field
 36 ·············matrix·More...
 37  
 38 template<int·dim,·typename·K·>
 39 static·void Dune::FMatrixHelp::eigenValuesLapack·(const·FieldMatrix<·K,·dim,
 40 ·············dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues)
 41  ···········calculates·the·eigenvalues·of·a·symmetric·field·matrix·More...
 42  
 43 template<int·dim,·typename·K·>
 44 static·void Dune::FMatrixHelp::eigenValuesVectorsLapack·(const·FieldMatrix<·K,
 45 ·············dim,·dim·>·&matrix,·FieldVector<·K,·dim·>·&eigenValues,
 46 ·············FieldMatrix<·K,·dim,·dim·>·&eigenVectors)
 47  ···········calculates·the·eigenvalues·and·-vectors·of·a·symmetric·field
 48 ·············matrix·More...
 49  
 50 template<int·dim,·typename·K·,·class·C·>
 51 static·void Dune::FMatrixHelp::eigenValuesNonSym·(const·FieldMatrix<·K,·dim,
 52 ·············dim·>·&matrix,·FieldVector<·C,·dim·>·&eigenValues)
 53  ···········calculates·the·eigenvalues·of·a·non-symmetric·field·matrix·More...
 54  
 55 *****·Detailed·Description·*****
 56 Eigenvalue·computations·for·the·FieldMatrix·class.
  
16 ===============================================================================57 ===============================================================================
17 ·····Generated·by [doxygen]·1.9.458 ·····Generated·by [doxygen]·1.9.4
132 KB
./usr/share/doc/libdune-common-doc/doxygen/a00296_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·assertandreturn.hh·Source·File</title>8 <title>dune-common:·fmatrixev.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 36 lines modifiedOffset 62, 631 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">assertandreturn.hh</div></div>68 ··<div·class="headertitle"><div·class="title">fmatrixev.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00296.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00296.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FMATRIXEIGENVALUES_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_ASSERTANDRETURN_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_FMATRIXEIGENVALUES_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
81 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifdef·NDEBUG</span></div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00107.html">dune/common/fmatrix.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">··#define·DUNE_ASSERT_AND_RETURN(C,X)·X</span></div> 
83 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#else</span></div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00281.html">dune/common/math.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">···22</a></span><span·class="preprocessor">··#define·DUNE_ASSERT_AND_RETURN(C,X)·(!(C)·?·throw·[&amp;](){assert(!#C);return·0;}()·:·0),·X</span></div> 
85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div> 
86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">namespace·</span>FMatrixHelp·{</div>
 91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#if·HAVE_LAPACK</span></div>
 93 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="comment">//·defined·in·fmatrixev.cc</span></div>
 94 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="keyword">extern</span>·<span·class="keywordtype">void</span>·eigenValuesLapackCall(</div>
 95 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobz,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·uplo,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span></div>
 96 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keywordtype">int</span>*·n,·<span·class="keywordtype">double</span>*·a,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lda,·<span·class="keywordtype">double</span>*·w,</div>
 97 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keywordtype">double</span>*·work,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lwork,·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·info);</div>
 98 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>
 99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">extern</span>·<span·class="keywordtype">void</span>·eigenValuesNonsymLapackCall(</div>
 100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobvl,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobvr,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span></div>
 101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>······<span·class="keywordtype">int</span>*·n,·<span·class="keywordtype">double</span>*·a,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lda,·<span·class="keywordtype">double</span>*·wr,·<span·class="keywordtype">double</span>*·wi,·<span·class="keywordtype">double</span>*·vl,</div>
 102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·ldvl,·<span·class="keywordtype">double</span>*·vr,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·ldvr,·<span·class="keywordtype">double</span>*·work,</div>
 103 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lwork,·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·info);</div>
 104 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 105 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">extern</span>·<span·class="keywordtype">void</span>·eigenValuesLapackCall(</div>
 106 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobz,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·uplo,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span></div>
 107 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordtype">int</span>*·n,·<span·class="keywordtype">float</span>*·a,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lda,·<span·class="keywordtype">float</span>*·w,</div>
 108 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······<span·class="keywordtype">float</span>*·work,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lwork,·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·info);</div>
 109 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 110 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····<span·class="keyword">extern</span>·<span·class="keywordtype">void</span>·eigenValuesNonsymLapackCall(</div>
 111 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobvl,·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·jobvr,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span></div>
 112 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>······<span·class="keywordtype">int</span>*·n,·<span·class="keywordtype">float</span>*·a,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lda,·<span·class="keywordtype">float</span>*·wr,·<span·class="keywordtype">float</span>*·wi,·<span·class="keywordtype">float</span>*·vl,</div>
 113 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·ldvl,·<span·class="keywordtype">float</span>*·vr,·<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·ldvr,·<span·class="keywordtype">float</span>*·work,</div>
 114 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<span·class="keyword">const</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·lwork,·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>*·info);</div>
 115 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 116 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="preprocessor">#endif</span></div>
88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>117 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 118 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">namespace·</span>Impl·{</div>
 119 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="comment">//internal·tag·to·activate/disable·code·for·eigenvector·calculation·at·compile·time</span></div>
 120 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">enum</span>·Jobs·{·OnlyEigenvalues=0,·EigenvaluesEigenvectors=1·};</div>
 121 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 122 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="comment">//internal·dummy·used·if·only·eigenvalues·are·to·be·calculated</span></div>
 123 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·K,·<span·class="keywordtype">int</span>·dim&gt;</div>
 124 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">using·</span>EVDummy·=·FieldMatrix&lt;K,·dim,·dim&gt;;</div>
 125 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 126 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="comment">//compute·the·cross-product·of·two·vectors</span></div>
 127 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·K&gt;</div>
 128 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······<span·class="keyword">inline</span>·FieldVector&lt;K,3&gt;·crossProduct(<span·class="keyword">const</span>·FieldVector&lt;K,3&gt;&amp;·vec0,·<span·class="keyword">const</span>·FieldVector&lt;K,3&gt;&amp;·vec1)·{</div>
 129 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········<span·class="keywordflow">return</span>·{vec0[1]*vec1[2]·-·vec0[2]*vec1[1],·vec0[2]*vec1[0]·-·vec0[0]*vec1[2],·vec0[0]*vec1[1]·-·vec0[1]*vec1[0]};</div>
 130 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······}</div>
 131 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 132 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·K&gt;</div>
 133 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·eigenValues2dImpl(<span·class="keyword">const</span>·FieldMatrix&lt;K,·2,·2&gt;&amp;·matrix,</div>
 134 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····································FieldVector&lt;K,·2&gt;&amp;·eigenvalues)</div>
 135 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······{</div>
 136 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keyword">using·</span>std::sqrt;</div>
 137 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········<span·class="keyword">const</span>·K·p·=·0.5·*·(matrix[0][0]·+·matrix·[1][1]);</div>
 138 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>········<span·class="keyword">const</span>·K·p2·=·p·-·matrix[1][1];</div>
 139 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>········K·q·=·p2·*·p2·+·matrix[1][0]·*·matrix[0][1];</div>
 140 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>········<span·class="keywordflow">if</span>(·q·&lt;·0·&amp;&amp;·q·&gt;·-1e-14·)·q·=·0;</div>
 141 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>········<span·class="keywordflow">if</span>·(q·&lt;·0)</div>
 142 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········{</div>
 143 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··········std::cout·&lt;&lt;·matrix·&lt;&lt;·std::endl;</div>
 144 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··········<span·class="comment">//·Complex·eigenvalues·are·either·caused·by·non-symmetric·matrices·or·by·round-off·errors</span></div>
 145 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··········<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(MathError,·<span·class="stringliteral">&quot;Complex·eigenvalue·detected·(which·this·implementation·cannot·handle).&quot;</span>);</div>
 146 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div>
 147 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 148 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<span·class="comment">//·get·square·root</span></div>
 149 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········q·=·sqrt(q);</div>
 150 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 151 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<span·class="comment">//·store·eigenvalues·in·ascending·order</span></div>
 152 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········eigenvalues[0]·=·p·-·q;</div>
 153 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········eigenvalues[1]·=·p·+·q;</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>·</div>
 156 <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="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">········This·implementation·was·adapted·from·the·pseudo-code·(Python?)·implementation·found·on</span></div>
 158 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">········http://en.wikipedia.org/wiki/Eigenvalue_algorithm··(retrieved·late·August·2014).</span></div>
 159 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">········Wikipedia·claims·to·have·taken·it·from</span></div>
 160 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">··········Smith,·Oliver·K.·(April·1961),·Eigenvalues·of·a·symmetric·3·×·3·matrix.,</span></div>
 161 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment">··········Communications·of·the·ACM·4·(4):·168,·doi:10.1145/355578.366316</span></div>
 162 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">······*/</span></div>
 163 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·K&gt;</div>
 164 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keyword">static</span>·K·eigenValues3dImpl(<span·class="keyword">const</span>·FieldMatrix&lt;K,·3,·3&gt;&amp;·matrix,</div>
 165 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>································FieldVector&lt;K,·3&gt;&amp;·eigenvalues)</div>
 166 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>······{</div>
 167 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········<span·class="keyword">using·</span>std::sqrt;</div>
Max diff block lines reached; 271/110402 bytes (0.25%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
24.2 KB
html2text {}
    
Offset 4, 33 lines modifiedOffset 4, 715 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 assertandreturn.hh7 fmatrixev.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_ASSERTANDRETURN_HH 
15 ·6#define·DUNE_COMMON_ASSERTANDRETURN_HH14 ·5#ifndef·DUNE_FMATRIXEIGENVALUES_HH
 15 ·6#define·DUNE_FMATRIXEIGENVALUES_HH
16 ·716 ·7
 17 ·12#include·<algorithm>
 18 ·13#include·<iostream>
 19 ·14#include·<cmath>
17 ·8#include·<cassert>20 ·15#include·<cassert>
 21 ·16
 22 ·17#include·<dune/common/exceptions.hh>
 23 ·18#include·<dune/common/fvector.hh>
 24 ·19#include·<dune/common/fmatrix.hh>
 25 ·20#include·<dune/common/math.hh>
 26 ·21
 27 ·22namespace·Dune·{
 28 ·23
 29 ·29·namespace·FMatrixHelp·{
 30 ·30
 31 ·31#if·HAVE_LAPACK
 32 ·32·//·defined·in·fmatrixev.cc
 33 ·33·extern·void·eigenValuesLapackCall(
 34 ·34·const·char*·jobz,·const·char*·uplo,·const·long
 35 ·35·int*·n,·double*·a,·const·long·int*·lda,·double*·w,
 36 ·36·double*·work,·const·long·int*·lwork,·long·int*·info);
 37 ·37
 38 ·38·extern·void·eigenValuesNonsymLapackCall(
 39 ·39·const·char*·jobvl,·const·char*·jobvr,·const·long
 40 ·40·int*·n,·double*·a,·const·long·int*·lda,·double*·wr,·double*·wi,·double*·vl,
 41 ·41·const·long·int*·ldvl,·double*·vr,·const·long·int*·ldvr,·double*·work,
 42 ·42·const·long·int*·lwork,·long·int*·info);
 43 ·43
 44 ·44·extern·void·eigenValuesLapackCall(
 45 ·45·const·char*·jobz,·const·char*·uplo,·const·long
 46 ·46·int*·n,·float*·a,·const·long·int*·lda,·float*·w,
 47 ·47·float*·work,·const·long·int*·lwork,·long·int*·info);
 48 ·48
 49 ·49·extern·void·eigenValuesNonsymLapackCall(
 50 ·50·const·char*·jobvl,·const·char*·jobvr,·const·long
 51 ·51·int*·n,·float*·a,·const·long·int*·lda,·float*·wr,·float*·wi,·float*·vl,
 52 ·52·const·long·int*·ldvl,·float*·vr,·const·long·int*·ldvr,·float*·work,
 53 ·53·const·long·int*·lwork,·long·int*·info);
 54 ·54
 55 ·55#endif
 56 ·56
 57 ·57·namespace·Impl·{
 58 ·58·//internal·tag·to·activate/disable·code·for·eigenvector·calculation·at
 59 compile·time
 60 ·59·enum·Jobs·{·OnlyEigenvalues=0,·EigenvaluesEigenvectors=1·};
 61 ·60
 62 ·61·//internal·dummy·used·if·only·eigenvalues·are·to·be·calculated
 63 ·62·template<typename·K,·int·dim>
 64 ·63·using·EVDummy·=·FieldMatrix<K,·dim,·dim>;
 65 ·64
 66 ·65·//compute·the·cross-product·of·two·vectors
 67 ·66·template<typename·K>
 68 ·67·inline·FieldVector<K,3>·crossProduct(const·FieldVector<K,3>&·vec0,·const
 69 FieldVector<K,3>&·vec1)·{
 70 ·68·return·{vec0[1]*vec1[2]·-·vec0[2]*vec1[1],·vec0[2]*vec1[0]·-·vec0[0]*vec1
 71 [2],·vec0[0]*vec1[1]·-·vec0[1]*vec1[0]};
 72 ·69·}
 73 ·70
 74 ·71·template·<typename·K>
 75 ·72·static·void·eigenValues2dImpl(const·FieldMatrix<K,·2,·2>&·matrix,
 76 ·73·FieldVector<K,·2>&·eigenvalues)
 77 ·74·{
 78 ·75·using·std::sqrt;
 79 ·76·const·K·p·=·0.5·*·(matrix[0][0]·+·matrix·[1][1]);
 80 ·77·const·K·p2·=·p·-·matrix[1][1];
 81 ·78·K·q·=·p2·*·p2·+·matrix[1][0]·*·matrix[0][1];
 82 ·79·if(·q·<·0·&&·q·>·-1e-14·)·q·=·0;
 83 ·80·if·(q·<·0)
 84 ·81·{
 85 ·82·std::cout·<<·matrix·<<·std::endl;
 86 ·83·//·Complex·eigenvalues·are·either·caused·by·non-symmetric·matrices·or·by
 87 round-off·errors
 88 ·84·DUNE_THROW(MathError,·"Complex·eigenvalue·detected·(which·this
 89 implementation·cannot·handle).");
 90 ·85·}
 91 ·86
 92 ·87·//·get·square·root
 93 ·88·q·=·sqrt(q);
18 ·994 ·89
 95 ·90·//·store·eigenvalues·in·ascending·order
 96 ·91·eigenvalues[0]·=·p·-·q;
 97 ·92·eigenvalues[1]·=·p·+·q;
 98 ·93·}
 99 ·94
 100 ·95·/*
 101 ·96·This·implementation·was·adapted·from·the·pseudo-code·(Python?)
 102 implementation·found·on
 103 ·97·http://en.wikipedia.org/wiki/Eigenvalue_algorithm·(retrieved·late·August
 104 2014).
 105 ·98·Wikipedia·claims·to·have·taken·it·from
 106 ·99·Smith,·Oliver·K.·(April·1961),·Eigenvalues·of·a·symmetric·3·×·3·matrix.,
 107 ·100·Communications·of·the·ACM·4·(4):·168,·doi:10.1145/355578.366316
 108 ·101·*/
 109 ·102·template·<typename·K>
 110 ·103·static·K·eigenValues3dImpl(const·FieldMatrix<K,·3,·3>&·matrix,
 111 ·104·FieldVector<K,·3>&·eigenvalues)
 112 ·105·{
 113 ·106·using·std::sqrt;
 114 ·107·using·std::acos;
 115 ·108·using·real_type·=·typename·FieldTraits<K>::real_type;
 116 ·109·const·K·pi·=·MathematicalConstants<K>::pi();
 117 ·110·K·p1·=·matrix[0][1]*matrix[0][1]·+·matrix[0][2]*matrix[0][2]·+·matrix[1]
 118 [2]*matrix[1][2];
19 ·11119 ·111
20 ·19#ifdef·NDEBUG 
21 ·20·#define·DUNE_ASSERT_AND_RETURN(C,X)·X120 ·112·if·(p1·<=·std::numeric_limits<K>::epsilon())·{
 121 ·113·//·A·is·diagonal.
 122 ·114·eigenvalues[0]·=·matrix[0][0];
 123 ·115·eigenvalues[1]·=·matrix[1][1];
 124 ·116·eigenvalues[2]·=·matrix[2][2];
Max diff block lines reached; 116/24765 bytes (0.47%) of diff not shown.
26.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00299.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·deprecated.hh·File·Reference</title>8 <title>dune-common:·float_cmp.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 35 lines modifiedOffset 63, 118 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
 71 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#define-members">Macros</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">deprecated.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">float_cmp.cc·File·Reference</div></div>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
  
74 <p>Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·· 
75 <a·href="#details">More...</a></p> 
  
76 <p><a·href="a00299_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00173_source.html">float_cmp.hh</a>&quot;</code><br·/>
 77 <code>#include·&lt;vector&gt;</code><br·/>
 78 <code>#include·&lt;limits&gt;</code><br·/>
 79 <code>#include·&lt;algorithm&gt;</code><br·/>
 80 <code>#include·&lt;cstdlib&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
77 <table·class="memberdecls">82 </div><table·class="memberdecls">
 83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 84 Classes</h2></td></tr>
 85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01588.html">Dune::FloatCmp::EpsilonType&lt;·T·&gt;</a></td></tr>
 86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Mapping·of·value·type·to·epsilon·type.··<a·href="a01588.html#details">More...</a><br·/></td></tr>
 87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01592.html">Dune::FloatCmp::EpsilonType&lt;·std::vector&lt;·T,·A·&gt;·&gt;</a></td></tr>
 89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·of·<a·class="el"·href="a01588.html"·title="Mapping·of·value·type·to·epsilon·type.">EpsilonType</a>·for·std::vector.··<a·href="a01592.html#details">More...</a><br·/></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01596.html">Dune::FloatCmp::EpsilonType&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr>
 92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·of·<a·class="el"·href="a01588.html"·title="Mapping·of·value·type·to·epsilon·type.">EpsilonType</a>·for·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">Dune::FieldVector</a>.··<a·href="a01596.html#details">More...</a><br·/></td></tr>
 93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01600.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeWeak·&gt;</a></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01604.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·relativeStrong·&gt;</a></td></tr>
 97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01608.html">Dune::FloatCmp::DefaultEpsilon&lt;·T,·absolute·&gt;</a></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 </table><table·class="memberdecls">
 101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 102 Namespaces</h2></td></tr>
 103 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:a00434"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00434.html">Dune::FloatCmp</a></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 </table><table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
79 Macros</h2></td></tr>110 Functions</h2></td></tr>
80 <tr·class="memitem:ga74d440d098178dc5a4adea8f7c160e99"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">DUNE_NO_DEPRECATED_BEGIN</a>&#160;&#160;&#160;...</td></tr> 
81 <tr·class="memdesc:ga74d440d098178dc5a4adea8f7c160e99"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Ignore·deprecation·warnings·(start)··<a·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">More...</a><br·/></td></tr>111 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 112 <tr·class="memitem:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">Dune::FloatCmp::eq</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 113 <tr·class="memdesc:ga50c93e693f102298c61ecb14758f8d5b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·equality·using·epsilon··<a·href="a00409.html#ga50c93e693f102298c61ecb14758f8d5b">More...</a><br·/></td></tr>
 114 <tr·class="separator:ga50c93e693f102298c61ecb14758f8d5b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 116 <tr·class="memitem:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">Dune::FloatCmp::ne</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 117 <tr·class="memdesc:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·for·inequality·using·epsilon··<a·href="a00409.html#ga1d1eabc465f54e3c3dc8dc38189d0ddd">More...</a><br·/></td></tr>
 118 <tr·class="separator:ga1d1eabc465f54e3c3dc8dc38189d0ddd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 120 <tr·class="memitem:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">Dune::FloatCmp::gt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 121 <tr·class="memdesc:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·than·second··<a·href="a00409.html#gae7ebcba7fc2fdf4497eacc57f4971eda">More...</a><br·/></td></tr>
 122 <tr·class="separator:gae7ebcba7fc2fdf4497eacc57f4971eda"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 124 <tr·class="memitem:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">Dune::FloatCmp::lt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 125 <tr·class="memdesc:gacca725b16b35b04c4eea0c4ee21757de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·than·second··<a·href="a00409.html#gacca725b16b35b04c4eea0c4ee21757de">More...</a><br·/></td></tr>
 126 <tr·class="separator:gacca725b16b35b04c4eea0c4ee21757de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 128 <tr·class="memitem:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae8eb5c5d458b2556d5d685bb65161aef">Dune::FloatCmp::ge</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 129 <tr·class="memdesc:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·greater·or·equal·second··<a·href="a00409.html#gae8eb5c5d458b2556d5d685bb65161aef">More...</a><br·/></td></tr>
 130 <tr·class="separator:gae8eb5c5d458b2556d5d685bb65161aef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·CmpStyle·style&gt;·</td></tr>
 132 <tr·class="memitem:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#gae9bad71c0f79d8f287fa419dd8bd565b">Dune::FloatCmp::le</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·style·&gt;::value())</td></tr>
 133 <tr·class="memdesc:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">test·if·first·lesser·or·equal·second··<a·href="a00409.html#gae9bad71c0f79d8f287fa419dd8bd565b">More...</a><br·/></td></tr>
 134 <tr·class="separator:gae9bad71c0f79d8f287fa419dd8bd565b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:a20989b2c0619b31d8a15c85aae184d32"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 136 <tr·class="memitem:a20989b2c0619b31d8a15c85aae184d32"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a20989b2c0619b31d8a15c85aae184d32">Dune::FloatCmp::eq</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr>
 137 <tr·class="separator:a20989b2c0619b31d8a15c85aae184d32"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:af10cd25d78f35677c8d588e924792cff"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 139 <tr·class="memitem:af10cd25d78f35677c8d588e924792cff"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#af10cd25d78f35677c8d588e924792cff">Dune::FloatCmp::ne</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr>
 140 <tr·class="separator:af10cd25d78f35677c8d588e924792cff"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 142 <tr·class="memitem:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a15ac4ddae1d906c2ea6c6aa0e16c0e41">Dune::FloatCmp::gt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr>
 143 <tr·class="separator:a15ac4ddae1d906c2ea6c6aa0e16c0e41"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 144 <tr·class="memitem:ac752c032096de736aa97b2c6cbcd5190"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 145 <tr·class="memitem:ac752c032096de736aa97b2c6cbcd5190"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#ac752c032096de736aa97b2c6cbcd5190">Dune::FloatCmp::lt</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr>
 146 <tr·class="separator:ac752c032096de736aa97b2c6cbcd5190"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 148 <tr·class="memitem:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a9c439fbc2fe166ff75f97f69fb5aee9d">Dune::FloatCmp::ge</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr>
 149 <tr·class="separator:a9c439fbc2fe166ff75f97f69fb5aee9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 151 <tr·class="memitem:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a28bc28618b41c234fb9c83284c6a9d52">Dune::FloatCmp::le</a>·(const·T·&amp;first,·const·T·&amp;second,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr>
 152 <tr·class="separator:a28bc28618b41c234fb9c83284c6a9d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 153 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr>
 154 <tr·class="memitem:ga510d97be4644ccab5db0b674d79633c6"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga510d97be4644ccab5db0b674d79633c6">Dune::FloatCmp::round</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·cstyle·&gt;::value())</td></tr>
 155 <tr·class="memdesc:ga510d97be4644ccab5db0b674d79633c6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">round·using·epsilon··<a·href="a00409.html#ga510d97be4644ccab5db0b674d79633c6">More...</a><br·/></td></tr>
 156 <tr·class="separator:ga510d97be4644ccab5db0b674d79633c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 157 <tr·class="memitem:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle&gt;·</td></tr>
 158 <tr·class="memitem:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#aa1c6178f9e297570109a68b93e95a3ef">Dune::FloatCmp::round</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·cstyle·&gt;::value())</td></tr>
 159 <tr·class="separator:aa1c6178f9e297570109a68b93e95a3ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 160 <tr·class="memitem:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·&gt;·</td></tr>
 161 <tr·class="memitem:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#a1014d75e7683b011cabd18f3ab8d2499">Dune::FloatCmp::round</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·defaultCmpStyle·&gt;::value())</td></tr>
 162 <tr·class="separator:a1014d75e7683b011cabd18f3ab8d2499"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 163 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle&gt;·</td></tr>
 164 <tr·class="memitem:ga78eaf86b21236f5c55336724e911da08"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00409.html#ga78eaf86b21236f5c55336724e911da08">Dune::FloatCmp::trunc</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·cstyle·&gt;::value())</td></tr>
 165 <tr·class="memdesc:ga78eaf86b21236f5c55336724e911da08"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">truncate·using·epsilon··<a·href="a00409.html#ga78eaf86b21236f5c55336724e911da08">More...</a><br·/></td></tr>
 166 <tr·class="separator:ga78eaf86b21236f5c55336724e911da08"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 167 <tr·class="memitem:aa47496c22fdda340c3f4d0d1ac0b56a1"><td·class="memTemplParams"·colspan="2">template&lt;class·I·,·class·T·,·CmpStyle·cstyle&gt;·</td></tr>
 168 <tr·class="memitem:aa47496c22fdda340c3f4d0d1ac0b56a1"><td·class="memTemplItemLeft"·align="right"·valign="top">I&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00434.html#aa47496c22fdda340c3f4d0d1ac0b56a1">Dune::FloatCmp::trunc</a>·(const·T·&amp;val,·typename·EpsilonType&lt;·T·&gt;::Type·epsilon=DefaultEpsilon&lt;·T,·cstyle·&gt;::value())</td></tr>
Max diff block lines reached; 506/21882 bytes (2.31%) of diff not shown.
5.01 KB
html2text {}
    
Offset 4, 23 lines modifiedOffset 4, 127 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Macros 
8 deprecated.hh·File·Reference 
9 Definition·of·the·DUNE_NO_DEPRECATED_*·macros.·More... 
10 Go_to_the_source_code_of_this_file. 
11 ·Macros 
12 #define DUNE_NO_DEPRECATED_BEGIN   ... 
13  ·······Ignore·deprecation·warnings·(start)·More...7 Classes·|·Namespaces·|·Functions
 8 float_cmp.cc·File·Reference
 9 #include·"float_cmp.hh"
 10 #include·<vector>
 11 #include·<limits>
 12 #include·<algorithm>
 13 #include·<cstdlib>
 14 #include·<dune/common/fvector.hh>
 15 ·Classes
 16 struct· Dune::FloatCmp::EpsilonType<_T_>
 17  ·······Mapping·of·value·type·to·epsilon·type.·More...
14  18  
15 #define DUNE_NO_DEPRECATED_END   ... 
16  ·······Ignore·deprecation·warnings·(end)·More...19 struct· Dune::FloatCmp::EpsilonType<_std::vector<_T,_A_>_>
 20  ·······Specialization·of·EpsilonType·for·std::vector.·More...
 21  
 22 struct· Dune::FloatCmp::EpsilonType<_FieldVector<_T,_n_>_>
 23  ·······Specialization·of·EpsilonType·for·Dune::FieldVector.·More...
 24  
 25 struct· Dune::FloatCmp::DefaultEpsilon<_T,_relativeWeak_>
 26  
 27 struct· Dune::FloatCmp::DefaultEpsilon<_T,_relativeStrong_>
 28  
 29 struct· Dune::FloatCmp::DefaultEpsilon<_T,_absolute_>
 30  
 31 ·Namespaces
 32 namespace· Dune
 33  ··········Dune·namespace.
 34  
 35 namespace· Dune::FloatCmp
 36  
 37 ·Functions
 38 template<class·T·,·CmpStyle·style>
 39 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename
 40 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 41  ····test·for·equality·using·epsilon·More...
 42  
 43 template<class·T·,·CmpStyle·style>
 44 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename
 45 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 46  ····test·for·inequality·using·epsilon·More...
 47  
 48 template<class·T·,·CmpStyle·style>
 49 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename
 50 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 51  ····test·if·first·greater·than·second·More...
 52  
 53 template<class·T·,·CmpStyle·style>
 54 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename
 55 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 56  ····test·if·first·lesser·than·second·More...
 57  
 58 template<class·T·,·CmpStyle·style>
 59 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename
 60 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 61  ····test·if·first·greater·or·equal·second·More...
 62  
 63 template<class·T·,·CmpStyle·style>
 64 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename
 65 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·style·>::value())
 66  ····test·if·first·lesser·or·equal·second·More...
 67  
 68 template<class·T·>
 69 bool Dune::FloatCmp::eq·(const·T·&first,·const·T·&second,·typename
 70 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 71 ······value())
 72  
 73 template<class·T·>
 74 bool Dune::FloatCmp::ne·(const·T·&first,·const·T·&second,·typename
 75 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 76 ······value())
 77  
 78 template<class·T·>
 79 bool Dune::FloatCmp::gt·(const·T·&first,·const·T·&second,·typename
 80 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 81 ······value())
 82  
 83 template<class·T·>
 84 bool Dune::FloatCmp::lt·(const·T·&first,·const·T·&second,·typename
 85 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 86 ······value())
 87  
 88 template<class·T·>
 89 bool Dune::FloatCmp::ge·(const·T·&first,·const·T·&second,·typename
 90 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 91 ······value())
 92  
 93 template<class·T·>
 94 bool Dune::FloatCmp::le·(const·T·&first,·const·T·&second,·typename
 95 ······EpsilonType<·T·>::Type·epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::
 96 ······value())
 97  
 98 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle>
 99 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type
 100 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 101  ····round·using·epsilon·More...
 102  
 103 template<class·I·,·class·T·,·CmpStyle·cstyle>
 104 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type
 105 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 106  
 107 template<class·I·,·class·T·>
 108 ···I Dune::FloatCmp::round·(const·T·&val,·typename·EpsilonType<·T·>::Type
 109 ······epsilon=DefaultEpsilon<·T,·defaultCmpStyle·>::value())
 110  
 111 template<class·I·,·class·T·,·CmpStyle·cstyle,·RoundingStyle·rstyle>
 112 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type
 113 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 114  ····truncate·using·epsilon·More...
 115  
 116 template<class·I·,·class·T·,·CmpStyle·cstyle>
 117 ···I Dune::FloatCmp::trunc·(const·T·&val,·typename·EpsilonType<·T·>::Type
 118 ······epsilon=DefaultEpsilon<·T,·cstyle·>::value())
 119  
Max diff block lines reached; 200/5110 bytes (3.91%) of diff not shown.
25.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00302.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·conditional.hh·File·Reference</title>8 <title>dune-common:·rangeutilities.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 35 lines modifiedOffset 63, 121 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>·&#124;
 73 <a·href="#var-members">Variables</a>··</div>
72 ··<div·class="headertitle"><div·class="title">conditional.hh·File·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">rangeutilities.hh·File·Reference</div></div>
73 </div><!--header-->75 </div><!--header-->
74 <div·class="contents">76 <div·class="contents">
  
 77 <p>Utilities·for·reduction·like·operations·on·ranges.··
 78 <a·href="#details">More...</a></p>
 79 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;algorithm&gt;</code><br·/>
 81 <code>#include·&lt;utility&gt;</code><br·/>
 82 <code>#include·&lt;type_traits&gt;</code><br·/>
 83 <code>#include·&lt;bitset&gt;</code><br·/>
 84 </div>
75 <p><a·href="a00302_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00302_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <table·class="memberdecls">86 <table·class="memberdecls">
 87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 88 Classes</h2></td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02500.html">Dune::IntegralRange&lt;·T·&gt;</a></td></tr>
 90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">dynamic·integer·range·for·use·in·range-based·for·loops··<a·href="a02500.html#details">More...</a><br·/></td></tr>
 91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02504.html">Dune::StaticIntegralRange&lt;·T,·to,·from·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">static·integer·range·for·use·in·range-based·for·loops··<a·href="a02504.html#details">More...</a><br·/></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02508.html">Dune::ValueTransformationTag</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·to·enable·value·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··<a·href="a02508.html#details">More...</a><br·/></td></tr>
 97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02512.html">Dune::IteratorTransformationTag</a></td></tr>
 99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Tag·to·enable·iterator·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··<a·href="a02512.html#details">More...</a><br·/></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02536.html">Dune::TransformedRangeView&lt;·R,·F,·T·&gt;</a></td></tr>
 102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·range·transforming·the·values·of·another·range·on-the-fly.··<a·href="a02536.html#details">More...</a><br·/></td></tr>
 103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 </table><table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
78 Namespaces</h2></td></tr>106 Namespaces</h2></td></tr>
79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>107 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>108 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">110 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>111 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
84 Functions</h2></td></tr>112 Functions</h2></td></tr>
85 <tr·class="memitem:aa7df1a64bf1697e91502bce842535577"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·typename·T2·&gt;·</td></tr> 
86 <tr·class="memitem:aa7df1a64bf1697e91502bce842535577"><td·class="memTemplItemLeft"·align="right"·valign="top">const·T1&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aa7df1a64bf1697e91502bce842535577">Dune::cond</a>·(bool·b,·const·T1·&amp;v1,·const·T2·&amp;v2)</td></tr> 
87 <tr·class="memdesc:aa7df1a64bf1697e91502bce842535577"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">conditional·evaluate··<a·href="a00425.html#aa7df1a64bf1697e91502bce842535577">More...</a><br·/></td></tr>113 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 114 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplItemLeft"·align="right"·valign="top">T::value_type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaf05bafe739a71f1e7f30780dbae4fa05">Dune::max_value</a>·(const·T·&amp;v)</td></tr>
 115 <tr·class="memdesc:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·the·maximum·value·over·a·range··<a·href="a00401.html#gaf05bafe739a71f1e7f30780dbae4fa05">More...</a><br·/></td></tr>
 116 <tr·class="separator:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;!IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 118 <tr·class="memitem:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memTemplItemLeft"·align="right"·valign="top">const·T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#gaf05bafe739a71f1e7f30780dbae4fa05">Dune::max_value</a>·(const·T·&amp;v)</td></tr>
 119 <tr·class="separator:gaf05bafe739a71f1e7f30780dbae4fa05"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 121 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplItemLeft"·align="right"·valign="top">T::value_type&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaa56de4535eff55ba6d5e418fd26b686c">Dune::min_value</a>·(const·T·&amp;v)</td></tr>
 122 <tr·class="memdesc:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·the·minimum·value·over·a·range··<a·href="a00401.html#gaa56de4535eff55ba6d5e418fd26b686c">More...</a><br·/></td></tr>
 123 <tr·class="separator:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;!IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 125 <tr·class="memitem:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memTemplItemLeft"·align="right"·valign="top">const·T·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#gaa56de4535eff55ba6d5e418fd26b686c">Dune::min_value</a>·(const·T·&amp;v)</td></tr>
 126 <tr·class="separator:gaa56de4535eff55ba6d5e418fd26b686c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:ga19dd21ff930466597df962ae58d58c57"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 128 <tr·class="memitem:ga19dd21ff930466597df962ae58d58c57"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga19dd21ff930466597df962ae58d58c57">Dune::any_true</a>·(const·T·&amp;v)</td></tr>
 129 <tr·class="memdesc:ga19dd21ff930466597df962ae58d58c57"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">similar·to·std::bitset&lt;N&gt;::any()·return·true,·if·any·entries·is·true··<a·href="a00401.html#ga19dd21ff930466597df962ae58d58c57">More...</a><br·/></td></tr>
 130 <tr·class="separator:ga19dd21ff930466597df962ae58d58c57"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:gaaca8a2450469eb41c338d8f51231fc34"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·N&gt;·</td></tr>
 132 <tr·class="memitem:gaaca8a2450469eb41c338d8f51231fc34"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaaca8a2450469eb41c338d8f51231fc34">Dune::any_true</a>·(const·std::bitset&lt;·N·&gt;·&amp;b)</td></tr>
88 <tr·class="separator:aa7df1a64bf1697e91502bce842535577"><td·class="memSeparator"·colspan="2">&#160;</td></tr>133 <tr·class="separator:gaaca8a2450469eb41c338d8f51231fc34"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:ga3f11c34177907a5c592990a5f4840e92"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·std::enable_if&lt;·IsIterable&lt;·T·&gt;::value,·int·&gt;::type··=·0&gt;·</td></tr>
 135 <tr·class="memitem:ga3f11c34177907a5c592990a5f4840e92"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga3f11c34177907a5c592990a5f4840e92">Dune::all_true</a>·(const·T·&amp;v)</td></tr>
 136 <tr·class="memdesc:ga3f11c34177907a5c592990a5f4840e92"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">similar·to·std::bitset&lt;N&gt;::all()·return·true,·if·any·entries·is·true··<a·href="a00401.html#ga3f11c34177907a5c592990a5f4840e92">More...</a><br·/></td></tr>
 137 <tr·class="separator:ga3f11c34177907a5c592990a5f4840e92"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:ga1782fbfe7b40a75fecb933f720357e54"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·N&gt;·</td></tr>
 139 <tr·class="memitem:ga1782fbfe7b40a75fecb933f720357e54"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga1782fbfe7b40a75fecb933f720357e54">Dune::all_true</a>·(const·std::bitset&lt;·N·&gt;·&amp;b)</td></tr>
 140 <tr·class="separator:ga1782fbfe7b40a75fecb933f720357e54"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:gae90ef519a48803f4a414eb4d643669ca"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class·U·,·std::enable_if_t&lt;·std::is_same&lt;·std::decay_t&lt;·T·&gt;,·std::decay_t&lt;·U·&gt;·&gt;::value,·int·&gt;··=·0,·std::enable_if_t&lt;·std::is_integral&lt;·std::decay_t&lt;·T·&gt;·&gt;::value,·int·&gt;··=·0&gt;·</td></tr>
 142 <tr·class="memitem:gae90ef519a48803f4a414eb4d643669ca"><td·class="memTemplItemLeft"·align="right"·valign="top">static·IntegralRange&lt;·std::decay_t&lt;·T·&gt;·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gae90ef519a48803f4a414eb4d643669ca">Dune::range</a>·(T·&amp;&amp;from,·U·&amp;&amp;to)·noexcept</td></tr>
 143 <tr·class="memdesc:gae90ef519a48803f4a414eb4d643669ca"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">free·standing·function·for·setting·up·a·range·based·for·loop·over·an·integer·range·for·(auto·i:·range(0,10))·//·0,1,2,3,4,5,6,7,8,9·or·for·(auto·i:·range(-10,10))·//·-10,-9,..,8,9·or·for·(auto·i:·range(10))·//·0,1,2,3,4,5,6,7,8,9··<a·href="a00401.html#gae90ef519a48803f4a414eb4d643669ca">More...</a><br·/></td></tr>
 144 <tr·class="separator:gae90ef519a48803f4a414eb4d643669ca"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 145 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·std::enable_if_t&lt;·std::is_integral&lt;·std::decay_t&lt;·T·&gt;·&gt;::value,·int·&gt;··=·0&gt;·</td></tr>
 146 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplItemLeft"·align="right"·valign="top">static·IntegralRange&lt;·std::decay_t&lt;·T·&gt;·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga50cf45a3ebc0fd2206608fe4cb15b377">Dune::range</a>·(T·&amp;&amp;to)·noexcept</td></tr>
 147 <tr·class="separator:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 148 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·std::enable_if_t&lt;·std::is_enum&lt;·std::decay_t&lt;·T·&gt;·&gt;::value,·int·&gt;··=·0&gt;·</td></tr>
 149 <tr·class="memitem:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memTemplItemLeft"·align="right"·valign="top">static·IntegralRange&lt;·std::underlying_type_t&lt;·std::decay_t&lt;·T·&gt;·&gt;·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ga50cf45a3ebc0fd2206608fe4cb15b377">Dune::range</a>·(T·&amp;&amp;to)·noexcept</td></tr>
 150 <tr·class="separator:ga50cf45a3ebc0fd2206608fe4cb15b377"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 151 <tr·class="memitem:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·to&gt;·</td></tr>
 152 <tr·class="memitem:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memTemplItemLeft"·align="right"·valign="top">static·StaticIntegralRange&lt;·T,·to·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#ga949169c85f3d52bf6c7504a2d2e0e5bf">Dune::range</a>·(std::integral_constant&lt;·T,·to·&gt;)·noexcept</td></tr>
 153 <tr·class="separator:ga949169c85f3d52bf6c7504a2d2e0e5bf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 154 <tr·class="memitem:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memTemplParams"·colspan="2">template&lt;class·R·,·class·F·&gt;·</td></tr>
 155 <tr·class="memitem:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gae2dd8cb1fce8767381e33a5b834cf55d">Dune::transformedRangeView</a>·(R·&amp;&amp;range,·const·F·&amp;f)</td></tr>
 156 <tr·class="memdesc:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··<a·href="a00401.html#gae2dd8cb1fce8767381e33a5b834cf55d">More...</a><br·/></td></tr>
 157 <tr·class="separator:gae2dd8cb1fce8767381e33a5b834cf55d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 158 <tr·class="memitem:gaccf70716194b093e0d21e6da93c108f8"><td·class="memTemplParams"·colspan="2">template&lt;class·R·,·class·F·&gt;·</td></tr>
 159 <tr·class="memitem:gaccf70716194b093e0d21e6da93c108f8"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaccf70716194b093e0d21e6da93c108f8">Dune::iteratorTransformedRangeView</a>·(R·&amp;&amp;range,·const·F·&amp;f)</td></tr>
 160 <tr·class="memdesc:gaccf70716194b093e0d21e6da93c108f8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·a·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>·using·an·iterator·transformation.··<a·href="a00401.html#gaccf70716194b093e0d21e6da93c108f8">More...</a><br·/></td></tr>
 161 <tr·class="separator:gaccf70716194b093e0d21e6da93c108f8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·&gt;·</td></tr>
 163 <tr·class="memitem:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaa75d4e74da1410405a33a5a62b5710e7">Dune::sparseRange</a>·(Range·&amp;&amp;range)</td></tr>
 164 <tr·class="memdesc:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Allow·structured-binding·for-loops·for·sparse·iterators.··<a·href="a00401.html#gaa75d4e74da1410405a33a5a62b5710e7">More...</a><br·/></td></tr>
 165 <tr·class="separator:gaa75d4e74da1410405a33a5a62b5710e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 166 </table><table·class="memberdecls">
 167 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
 168 Variables</h2></td></tr>
 169 <tr·class="memitem:gaf6a410eeed71fe1210f8dc847174cbc8"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·T·from,·T·to&gt;·</td></tr>
 170 <tr·class="memitem:gaf6a410eeed71fe1210f8dc847174cbc8"><td·class="memTemplItemLeft"·align="right"·valign="top">static·StaticIntegralRange&lt;·T,·to,·from·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00401.html#gaf6a410eeed71fe1210f8dc847174cbc8">Dune::range</a>·(std::integral_constant&lt;·T,·from·&gt;,·std::integral_constant&lt;·T,·to·&gt;)·noexcept</td></tr>
Max diff block lines reached; 572/19847 bytes (2.88%) of diff not shown.
5.98 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 137 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Functions 
8 conditional.hh·File·Reference7 Classes·|·Namespaces·|·Functions·|·Variables
 8 rangeutilities.hh·File·Reference
 9 Utilities·for·reduction·like·operations·on·ranges.·More...
 10 #include·<dune/common/typetraits.hh>
 11 #include·<algorithm>
 12 #include·<utility>
 13 #include·<type_traits>
 14 #include·<bitset>
9 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
 16 ·Classes
 17 ·class· Dune::IntegralRange<_T_>
 18  ·······dynamic·integer·range·for·use·in·range-based·for·loops·More...
 19  
 20 ·class· Dune::StaticIntegralRange<_T,_to,_from_>
 21  ·······static·integer·range·for·use·in·range-based·for·loops·More...
 22  
 23 struct· Dune::ValueTransformationTag
 24  ·······Tag·to·enable·value·based·transformations·in·TransformedRangeView.
 25 ·········More...
 26  
 27 struct· Dune::IteratorTransformationTag
 28  ·······Tag·to·enable·iterator·based·transformations·in·TransformedRangeView.
 29 ·········More...
 30  
 31 ·class· Dune::TransformedRangeView<_R,_F,_T_>
 32  ·······A·range·transforming·the·values·of·another·range·on-the-fly.·More...
 33  
10 ·Namespaces34 ·Namespaces
11 namespace· Dune35 namespace· Dune
12  ··········Dune·namespace.36  ··········Dune·namespace.
13  37  
14 ·Functions38 ·Functions
15 template<typename·T1·,·typename·T2·> 
16 const·T1 Dune::cond·(bool·b,·const·T1·&v1,·const·T2·&v2) 
17  ········conditional·evaluate·More...39 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>::
 40 type·=·0>
 41 ····························T::value_type Dune::max_value·(const·T·&v)
 42  ·········································compute·the·maximum·value·over·a
 43 ···········································range·More...
 44  
 45 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>::
 46 type·=·0>
 47 ································const·T·& Dune::max_value·(const·T·&v)
 48  
 49 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>::
 50 type·=·0>
 51 ····························T::value_type Dune::min_value·(const·T·&v)
 52  ·········································compute·the·minimum·value·over·a
 53 ···········································range·More...
 54  
 55 template<typename·T·,·typename·std::enable_if<!IsIterable<·T·>::value,·int·>::
 56 type·=·0>
 57 ································const·T·& Dune::min_value·(const·T·&v)
 58  
 59 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>::
 60 type·=·0>
 61 ·····································bool Dune::any_true·(const·T·&v)
 62 ···········································similar·to·std::bitset<N>::any()
 63  ·········································return·true,·if·any·entries·is·true
 64 ···········································More...
 65  
 66 template<std::size_t·N>
 67 ·····································bool Dune::any_true·(const·std::bitset<·N
 68 ···········································>·&b)
 69  
 70 template<typename·T·,·typename·std::enable_if<·IsIterable<·T·>::value,·int·>::
 71 type·=·0>
 72 ·····································bool Dune::all_true·(const·T·&v)
 73 ···········································similar·to·std::bitset<N>::all()
 74  ·········································return·true,·if·any·entries·is·true
 75 ···········································More...
 76  
 77 template<std::size_t·N>
 78 ·····································bool Dune::all_true·(const·std::bitset<·N
 79 ···········································>·&b)
 80  
 81 template<class·T·,·class·U·,·std::enable_if_t<·std::is_same<·std::decay_t<·T·>,
 82 std::decay_t<·U·>·>::value,·int·>·=·0,·std::enable_if_t<·std::is_integral<
 83 std::decay_t<·T·>·>::value,·int·>·=·0>
 84 static·IntegralRange<·std::decay_t<·T·>·> Dune::range·(T·&&from,·U·&&to)
 85 ···········································noexcept
 86 ···········································free·standing·function·for·setting
 87 ···········································up·a·range·based·for·loop·over·an
 88 ···········································integer·range·for·(auto·i:·range
 89  ·········································(0,10))·//·0,1,2,3,4,5,6,7,8,9·or
 90 ···········································for·(auto·i:·range(-10,10))·//·-10,-
 91 ···········································9,..,8,9·or·for·(auto·i:·range(10))
 92 ···········································//·0,1,2,3,4,5,6,7,8,9·More...
 93  
 94 template<class·T·,·std::enable_if_t<·std::is_integral<·std::decay_t<·T·>·>::
 95 value,·int·>·=·0>
 96 static·IntegralRange<·std::decay_t<·T·>·> Dune::range·(T·&&to)·noexcept
 97  
 98 template<class·T·,·std::enable_if_t<·std::is_enum<·std::decay_t<·T·>·>::value,
 99 int·>·=·0>
 100 ···············static·IntegralRange<·std::
 101 ·underlying_type_t<·std::decay_t<·T·>·>·> Dune::range·(T·&&to)·noexcept
 102  
 103 template<class·T·,·T·to>
 104 ······static·StaticIntegralRange<·T,·to·> Dune::range·(std::integral_constant<
 105 ···········································T,·to·>)·noexcept
 106  
 107 template<class·R·,·class·F·>
 108 ·····································auto Dune::transformedRangeView·(R
 109 ···········································&&range,·const·F·&f)
 110  ·········································Create·a·TransformedRangeView.
 111 ···········································More...
 112  
 113 template<class·R·,·class·F·>
 114 ·····································auto Dune::iteratorTransformedRangeView
 115 ···········································(R·&&range,·const·F·&f)
 116  ·········································Create·a·TransformedRangeView·using
 117 ···········································an·iterator·transformation.·More...
 118  
 119 template<class·Range·>
 120 ·····································auto Dune::sparseRange·(Range·&&range)
 121  ·········································Allow·structured-binding·for-loops
 122 ···········································for·sparse·iterators.·More...
 123  
Max diff block lines reached; 238/6096 bytes (3.90%) of diff not shown.
159 KB
./usr/share/doc/libdune-common-doc/doxygen/a00302_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·conditional.hh·Source·File</title>8 <title>dune-common:·rangeutilities.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 36 lines modifiedOffset 62, 655 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">conditional.hh</div></div>68 ··<div·class="headertitle"><div·class="title">rangeutilities.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00302.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00302.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_CONDITIONAL_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_RANGE_UTILITIES_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_CONDITIONAL_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_RANGE_UTILITIES_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>{</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div> 
80 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00425.html#aa7df1a64bf1697e91502bce842535577">···28</a></span>····<span·class="keyword">const</span>·T1·<a·class="code·hl_function"·href="a00425.html#aa7df1a64bf1697e91502bce842535577">cond</a>(<span·class="keywordtype">bool</span>·b,·<span·class="keyword">const</span>·T1·&amp;·v1,·<span·class="keyword">const</span>·T2·&amp;·v2)</div> 
81 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div> 
82 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········<span·class="keywordflow">return</span>·(b·?·v1·:·v2);</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
83 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>
84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>}·<span·class="comment">//·end·namespace·Dune</span></div>84 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
86 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>86 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>············<span·class="keyword">typename</span>·std::enable_if&lt;IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">typename</span>·T::value_type</div>
 90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00401.html#gaf05bafe739a71f1e7f30780dbae4fa05">···37</a></span>··<a·class="code·hl_function"·href="a00425.html#ae23cfd2094b38ad5889b56de92d1f019">max_value</a>(<span·class="keyword">const</span>·T·&amp;·v)·{</div>
 91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">using·</span>std::max_element;</div>
 92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keywordflow">return</span>·*max_element(v.begin(),·v.end());</div>
 93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}</div>
 94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>············<span·class="keyword">typename</span>·std::enable_if&lt;!IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00425.html#gaf05bafe739a71f1e7f30780dbae4fa05">···44</a></span>··<span·class="keyword">const</span>·T·&amp;·<a·class="code·hl_function"·href="a00425.html#ae23cfd2094b38ad5889b56de92d1f019">max_value</a>(<span·class="keyword">const</span>·T·&amp;·v)·{·<span·class="keywordflow">return</span>·v;·}</div>
 98 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 99 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 100 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>············<span·class="keyword">typename</span>·std::enable_if&lt;IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 101 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">typename</span>·T::value_type</div>
 102 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00401.html#gaa56de4535eff55ba6d5e418fd26b686c">···54</a></span>··<a·class="code·hl_function"·href="a00425.html#af97af7156507b5bbb3433e3f7e5a15a7">min_value</a>(<span·class="keyword">const</span>·T·&amp;·v)·{</div>
 103 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">using·</span>std::min_element;</div>
 104 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keywordflow">return</span>·*min_element(v.begin(),·v.end());</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>·</div>
 107 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 108 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>············<span·class="keyword">typename</span>·std::enable_if&lt;!IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 109 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00425.html#gaa56de4535eff55ba6d5e418fd26b686c">···61</a></span>··<span·class="keyword">const</span>·T·&amp;·<a·class="code·hl_function"·href="a00425.html#af97af7156507b5bbb3433e3f7e5a15a7">min_value</a>(<span·class="keyword">const</span>·T·&amp;·v)·{·<span·class="keywordflow">return</span>·v;·}</div>
 110 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 111 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 112 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>············<span·class="keyword">typename</span>·std::enable_if&lt;IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 113 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a00401.html#ga19dd21ff930466597df962ae58d58c57">···70</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a1ed24891986fbb8fea5cfee4c23a7173">any_true</a>(<span·class="keyword">const</span>·T·&amp;·v)·{</div>
 114 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordtype">bool</span>·b·=·<span·class="keyword">false</span>;</div>
 115 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>·&amp;·e·:·v)</div>
 116 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······b·=·b·or·bool(e);</div>
 117 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keywordflow">return</span>·b;</div>
 118 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··}</div>
 119 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 120 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 121 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>············<span·class="keyword">typename</span>·std::enable_if&lt;!IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 122 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a1ed24891986fbb8fea5cfee4c23a7173">any_true</a>(<span·class="keyword">const</span>·T·&amp;·v)·{·<span·class="keywordflow">return</span>·v;·}</div>
 123 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 124 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·N&gt;</div>
 125 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00401.html#gaaca8a2450469eb41c338d8f51231fc34">···82</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a1ed24891986fbb8fea5cfee4c23a7173">any_true</a>(<span·class="keyword">const</span>·std::bitset&lt;N&gt;·&amp;·b)</div>
 126 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··{</div>
 127 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keywordflow">return</span>·b.any();</div>
 128 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··}</div>
 129 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 130 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 131 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>············<span·class="keyword">typename</span>·std::enable_if&lt;IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 132 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a00401.html#ga3f11c34177907a5c592990a5f4840e92">···94</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a231fdc968bf4b24f6c52031edd1fca96">all_true</a>(<span·class="keyword">const</span>·T·&amp;·v)·{</div>
 133 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordtype">bool</span>·b·=·<span·class="keyword">true</span>;</div>
 134 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keywordflow">for</span>·(<span·class="keyword">const</span>·<span·class="keyword">auto</span>·&amp;·e·:·v)</div>
 135 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······b·=·b·and·bool(e);</div>
 136 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·b;</div>
 137 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>
 138 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 139 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·T,</div>
 140 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>············<span·class="keyword">typename</span>·std::enable_if&lt;!IsIterable&lt;T&gt;::value,·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div>
 141 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a231fdc968bf4b24f6c52031edd1fca96">all_true</a>(<span·class="keyword">const</span>·T·&amp;·v)·{·<span·class="keywordflow">return</span>·v;·}</div>
 142 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 143 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·N&gt;</div>
 144 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a00401.html#ga1782fbfe7b40a75fecb933f720357e54">··106</a></span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00425.html#a231fdc968bf4b24f6c52031edd1fca96">all_true</a>(<span·class="keyword">const</span>·std::bitset&lt;N&gt;·&amp;·b)</div>
 145 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··{</div>
 146 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keywordflow">return</span>·b.all();</div>
 147 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··}</div>
 148 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 149 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
 150 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 151 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keyword">namespace·</span>Impl</div>
 152 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··{</div>
 153 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div>
 154 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>
 155 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····<span·class="keyword">class·</span>IntegralRangeIterator</div>
 156 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····{</div>
 157 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····<span·class="keyword">public</span>:</div>
 158 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······<span·class="keyword">typedef</span>·std::random_access_iterator_tag·iterator_category;</div>
 159 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······<span·class="keyword">typedef</span>·T·value_type;</div>
 160 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="keyword">typedef</span>·std::make_signed_t&lt;T&gt;·difference_type;</div>
 161 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T·*pointer;</div>
 162 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······<span·class="keyword">typedef</span>·T·reference;</div>
 163 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 164 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>······<span·class="keyword">constexpr</span>·IntegralRangeIterator()·noexcept·:·value_(0)·{}</div>
 165 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······<span·class="keyword">constexpr</span>·<span·class="keyword">explicit</span>·IntegralRangeIterator(value_type·value)·noexcept·:·value_(value)·{}</div>
Max diff block lines reached; 16518/132839 bytes (12.43%) of diff not shown.
29.3 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 883 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 conditional.hh7 rangeutilities.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
 9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
10 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
12 ·3#ifndef·DUNE_COMMON_CONDITIONAL_HH 
13 ·4#define·DUNE_COMMON_CONDITIONAL_HH 
14 ·514 ·5#ifndef·DUNE_COMMON_RANGE_UTILITIES_HH
 15 ·6#define·DUNE_COMMON_RANGE_UTILITIES_HH
 16 ·7
 17 ·8#include·<dune/common/typetraits.hh>
 18 ·9#include·<algorithm>
 19 ·10#include·<utility>
 20 ·11#include·<type_traits>
 21 ·12#include·<bitset>
 22 ·13
15 ·6namespace·Dune23 ·21namespace·Dune
16 ·7{24 ·22{
 25 ·23
 26 ·34·template·<typename·T,
 27 ·35·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0>
 28 ·36·typename·T::value_type
 29 37·max_value(const·T·&·v)·{
 30 ·38·using·std::max_element;
 31 ·39·return·*max_element(v.begin(),·v.end());
 32 ·40·}
 33 ·41
 34 ·42·template·<typename·T,
 35 ·43·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0>
 36 44·const·T·&·max_value(const·T·&·v)·{·return·v;·}
 37 ·45
 38 ·51·template·<typename·T,
 39 ·52·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0>
 40 ·53·typename·T::value_type
 41 54·min_value(const·T·&·v)·{
 42 ·55·using·std::min_element;
 43 ·56·return·*min_element(v.begin(),·v.end());
 44 ·57·}
17 ·845 ·58
18 ·27·template<typename·T1,·typename·T2> 
19 28·const·T1·cond(bool·b,·const·T1·&·v1,·const·T2·&·v2)46 ·59·template·<typename·T,
 47 ·60·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0>
 48 61·const·T·&·min_value(const·T·&·v)·{·return·v;·}
 49 ·62
 50 ·68·template·<typename·T,
 51 ·69·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0>
 52 70·bool·any_true(const·T·&·v)·{
 53 ·71·bool·b·=·false;
 54 ·72·for·(const·auto·&·e·:·v)
 55 ·73·b·=·b·or·bool(e);
 56 ·74·return·b;
 57 ·75·}
 58 ·76
 59 ·77·template·<typename·T,
 60 ·78·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0>
 61 ·79·bool·any_true(const·T·&·v)·{·return·v;·}
 62 ·80
 63 ·81·template<std::size_t·N>
 64 82·bool·any_true(const·std::bitset<N>·&·b)
 65 ·83·{
 66 ·84·return·b.any();
 67 ·85·}
 68 ·86
 69 ·92·template·<typename·T,
 70 ·93·typename·std::enable_if<IsIterable<T>::value,·int>::type·=·0>
 71 94·bool·all_true(const·T·&·v)·{
 72 ·95·bool·b·=·true;
 73 ·96·for·(const·auto·&·e·:·v)
 74 ·97·b·=·b·and·bool(e);
 75 ·98·return·b;
 76 ·99·}
 77 ·100
 78 ·101·template·<typename·T,
 79 ·102·typename·std::enable_if<!IsIterable<T>::value,·int>::type·=·0>
 80 ·103·bool·all_true(const·T·&·v)·{·return·v;·}
 81 ·104
 82 ·105·template<std::size_t·N>
 83 106·bool·all_true(const·std::bitset<N>·&·b)
 84 ·107·{
 85 ·108·return·b.all();
 86 ·109·}
 87 ·110
 88 ·111
 89 ·112
 90 ·113·namespace·Impl
 91 ·114·{
 92 ·115
 93 ·116·template·<class·T>
 94 ·117·class·IntegralRangeIterator
 95 ·118·{
 96 ·119·public:
 97 ·120·typedef·std::random_access_iterator_tag·iterator_category;
 98 ·121·typedef·T·value_type;
 99 ·122·typedef·std::make_signed_t<T>·difference_type;
 100 ·123·typedef·const·T·*pointer;
 101 ·124·typedef·T·reference;
 102 ·125
 103 ·126·constexpr·IntegralRangeIterator()·noexcept·:·value_(0)·{}
 104 ·127·constexpr·explicit·IntegralRangeIterator(value_type·value)·noexcept·:
 105 value_(value)·{}
 106 ·128
 107 ·129·pointer·operator->()·const·noexcept·{·return·&value_;·}
 108 ·130·constexpr·reference·operator*()·const·noexcept·{·return·value_;·}
 109 ·131
 110 ·132·constexpr·reference·operator[](·difference_type·n·)·const·noexcept
 111 {·return·(value_·+·n);·}
 112 ·133
 113 ·134·constexpr·bool·operator==(const·IntegralRangeIterator·&·other)·const
 114 noexcept·{·return·(value_·==·other.value_);·}
 115 ·135·constexpr·bool·operator!=(const·IntegralRangeIterator·&·other)·const
 116 noexcept·{·return·(value_·!=·other.value_);·}
 117 ·136
 118 ·137·constexpr·bool·operator<(const·IntegralRangeIterator·&·other)·const
 119 noexcept·{·return·(value_·<=·other.value_);·}
 120 ·138·constexpr·bool·operator<=(const·IntegralRangeIterator·&·other)·const
 121 noexcept·{·return·(value_·<=·other.value_);·}
 122 ·139·constexpr·bool·operator>(const·IntegralRangeIterator·&·other)·const
 123 noexcept·{·return·(value_·>=·other.value_);·}
Max diff block lines reached; 6585/30012 bytes (21.94%) of diff not shown.
6.44 KB
./usr/share/doc/libdune-common-doc/doxygen/a00305.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·exceptions.cc·File·Reference</title>8 <title>dune-common:·dynmatrix.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 26 lines modifiedOffset 63, 52 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>71 <a·href="#namespaces">Namespaces</a>··</div>
71 ··<div·class="headertitle"><div·class="title">exceptions.cc·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">dynmatrix.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
 75 <p>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.··
 76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>
 78 <code>#include·&lt;cstddef&gt;</code><br·/>
 79 <code>#include·&lt;iostream&gt;</code><br·/>
 80 <code>#include·&lt;initializer_list&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00116_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/>
74 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/dynvector.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/densematrix.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 86 </div>
 87 <p><a·href="a00305_source.html">Go·to·the·source·code·of·this·file.</a></p>
75 </div><table·class="memberdecls">88 <table·class="memberdecls">
 89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 90 Classes</h2></td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01504.html">Dune::DenseMatVecTraits&lt;·DynamicMatrix&lt;·K·&gt;·&gt;</a></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01508.html">Dune::FieldTraits&lt;·DynamicMatrix&lt;·K·&gt;·&gt;</a></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01500.html">Dune::DynamicMatrix&lt;·K·&gt;</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·a·matrix·with·a·dynamic·size.··<a·href="a01500.html#details">More...</a><br·/></td></tr>
 97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 </table><table·class="memberdecls">
76 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
77 Namespaces</h2></td></tr>100 Namespaces</h2></td></tr>
78 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>101 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
79 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>102 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
80 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>104 </table>
 105 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 106 <div·class="textblock"><p·>This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·</p>
82 </div><!--·contents·-->107 </div></div><!--·contents·-->
83 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
84 <hr·class="footer"/><address·class="footer"><small>109 <hr·class="footer"/><address·class="footer"><small>
85 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
86 </small></address>111 </small></address>
87 </body>112 </body>
88 </html>113 </html>
1.12 KB
html2text {}
    
Offset 4, 17 lines modifiedOffset 4, 39 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces 
8 exceptions.cc·File·Reference7 Classes·|·Namespaces
 8 dynmatrix.hh·File·Reference
 9 Common·»·Dense_Matrix_and_Vector_Template_Library
 10 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.
 11 More...
 12 #include·<cmath>
 13 #include·<cstddef>
 14 #include·<iostream>
 15 #include·<initializer_list>
 16 #include·<dune/common/boundschecking.hh>
9 #include·<dune/common/exceptions.hh>17 #include·<dune/common/exceptions.hh>
 18 #include·<dune/common/dynvector.hh>
 19 #include·<dune/common/densematrix.hh>
 20 #include·<dune/common/typetraits.hh>
 21 Go_to_the_source_code_of_this_file.
 22 ·Classes
 23 struct· Dune::DenseMatVecTraits<_DynamicMatrix<_K_>_>
 24  
 25 struct· Dune::FieldTraits<_DynamicMatrix<_K_>_>
 26  
 27 ·class· Dune::DynamicMatrix<_K_>
 28  ·······Construct·a·matrix·with·a·dynamic·size.·More...
 29  
10 ·Namespaces30 ·Namespaces
11 namespace· Dune31 namespace· Dune
12  ··········Dune·namespace.32  ··········Dune·namespace.
13  33  
 34 *****·Detailed·Description·*****
 35 This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.
  
14 ===============================================================================36 ===============================================================================
15 ·····Generated·by [doxygen]·1.9.437 ·····Generated·by [doxygen]·1.9.4
9.48 KB
./usr/share/doc/libdune-common-doc/doxygen/a00308.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·visibility.hh·File·Reference</title>8 <title>dune-common:·keywords.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 64, 67 lines modifiedOffset 64, 60 lines modified
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#define-members">Macros</a>··</div>70 <a·href="#define-members">Macros</a>··</div>
71 ··<div·class="headertitle"><div·class="title">visibility.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">keywords.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.··74 <p>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
  
76 <p><a·href="a00308_source.html">Go·to·the·source·code·of·this·file.</a></p>76 <p><a·href="a00308_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
79 Macros</h2></td></tr>79 Macros</h2></td></tr>
80 <tr·class="memitem:a392e8fb5628732502467b715b88974b4"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>&#160;&#160;&#160;implementation_defined</td></tr> 
81 <tr·class="memdesc:a392e8fb5628732502467b715b88974b4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·a·symbol·as·part·of·the·public·ABI.··<a·href="a00308.html#a392e8fb5628732502467b715b88974b4">More...</a><br·/></td></tr>80 <tr·class="memitem:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">DUNE_INLINE_VARIABLE</a>&#160;&#160;&#1[·...·truncated·by·diffoscope;·len:·9,·SHA:·f85f5d2c120c35c23ca320c399e57e30f9c6accd53b9e21d61fd2b4d813fbd5a·...·]</td></tr>
 81 <tr·class="separator:afd8117b5ac0497a09e3bdecafbf518a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 82 <tr·class="memitem:a97b632609f7c06170ec5e2be5729c4f0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#a97b632609f7c06170ec5e2be5729c4f0">DUNE_GENERALIZED_CONSTEXPR</a>&#160;&#160;&#160;constexpr</td></tr>
82 <tr·class="separator:a392e8fb5628732502467b715b88974b4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a97b632609f7c06170ec5e2be5729c4f0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html#ab9e9adaae1a11e7546a1b712495d1f42">DUNE_PRIVATE</a>&#160;&#160;&#160;implementation_defined</td></tr> 
84 <tr·class="memdesc:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.··<a·href="a00308.html#ab9e9adaae1a11e7546a1b712495d1f42">More...</a><br·/></td></tr> 
85 <tr·class="separator:ab9e9adaae1a11e7546a1b712495d1f42"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 </table>84 </table>
87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
88 <div·class="textblock"><p·>Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·</p>86 <div·class="textblock"><p·>Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.·</p>
 87 <p·>This·header·contains·several·macros·that·enable·C++·features·depending·on·your·compiler.·Most·of·these·features·are·optional·and·provide·additional·functionality·like·making·code·constexpr.·</p>
89 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>88 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
90 <a·id="a392e8fb5628732502467b715b88974b4"·name="a392e8fb5628732502467b715b88974b4"></a> 
91 <h2·class="memtitle"><span·class="permalink"><a·href="#a392e8fb5628732502467b715b88974b4">&#9670;&nbsp;</a></span>DUNE_EXPORT</h2>89 <a·id="a97b632609f7c06170ec5e2be5729c4f0"·name="a97b632609f7c06170ec5e2be5729c4f0"></a>
 90 <h2·class="memtitle"><span·class="permalink"><a·href="#a97b632609f7c06170ec5e2be5729c4f0">&#9670;&nbsp;</a></span>DUNE_GENERALIZED_CONSTEXPR</h2>
  
92 <div·class="memitem">91 <div·class="memitem">
93 <div·class="memproto">92 <div·class="memproto">
94 ······<table·class="memname">93 ······<table·class="memname">
95 ········<tr>94 ········<tr>
96 ··········<td·class="memname">#define·DUNE_EXPORT&#160;&#160;&#160;implementation_defined</td>95 ··········<td·class="memname">#define·DUNE_GENERALIZED_CONSTEXPR&#160;&#160;&#160;constexpr</td>
97 ········</tr>96 ········</tr>
98 ······</table>97 ······</table>
99 </div><div·class="memdoc">98 </div><div·class="memdoc">
  
100 <p>Export·a·symbol·as·part·of·the·public·ABI.·</p> 
101 <p·>Mark·a·class,·function·or·static·variable·as·visible·outside·the·current·DSO.·For·now,·this·is·mostly·important·for·templated·global·variables·and·functions·that·contain·static·variables.·</p> 
  
102 </div>99 </div>
103 </div>100 </div>
104 <a·id="ab9e9adaae1a11e7546a1b712495d1f42"·name="ab9e9adaae1a11e7546a1b712495d1f42"></a>101 <a·id="afd8117b5ac0497a09e3bdecafbf518a6"·name="afd8117b5ac0497a09e3bdecafbf518a6"></a>
105 <h2·class="memtitle"><span·class="permalink"><a·href="#ab9e9adaae1a11e7546a1b712495d1f42">&#9670;&nbsp;</a></span>DUNE_PRIVATE</h2>102 <h2·class="memtitle"><span·class="permalink"><a·href="#afd8117b5ac0497a09e3bdecafbf518a6">&#9670;&nbsp;</a></span>DUNE_INLINE_VARIABLE</h2>
  
106 <div·class="memitem">103 <div·class="memitem">
107 <div·class="memproto">104 <div·class="memproto">
108 ······<table·class="memname">105 ······<table·class="memname">
109 ········<tr>106 ········<tr>
110 ··········<td·class="memname">#define·DUNE_PRIVATE&#160;&#160;&#160;implementation_defined</td>107 ··········<td·class="memname">#define·DUNE_INLINE_VARIABLE&#160;&#160;&#160;inline</td>
111 ········</tr>108 ········</tr>
112 ······</table>109 ······</table>
113 </div><div·class="memdoc">110 </div><div·class="memdoc">
  
114 <p>Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only.·</p> 
115 <p·>Mark·a·class,·function·or·static·variable·as·inaccessible·from·outside·the·current·DSO.·Doing·so·will·decrease·the·size·of·the·symbol·table,·but·you·have·to·be·sure·that·the·symbol·will·never·have·to·be·accessed·from·another·library·or·the·main·executable!·</p> 
  
116 </div>111 </div>
117 </div>112 </div>
118 </div><!--·contents·-->113 </div><!--·contents·-->
119 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
120 <hr·class="footer"/><address·class="footer"><small>115 <hr·class="footer"/><address·class="footer"><small>
121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
122 </small></address>117 </small></address>
2.12 KB
html2text {}
    
Offset 5, 37 lines modifiedOffset 5, 30 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Macros8 Macros
9 visibility.hh·File·Reference 
10 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.·More...9 keywords.hh·File·Reference
 10 Common·»·Utilities·»·C++_utilities_and_backports
 11 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.
 12 More...
11 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
12 ·Macros14 ·Macros
 15 #define DUNE_INLINE_VARIABLE   inline
13 #define DUNE_EXPORT   implementation_defined 
14  ·······Export·a·symbol·as·part·of·the·public·ABI.·More... 
15  16  
 17 #define DUNE_GENERALIZED_CONSTEXPR   constexpr
16 #define DUNE_PRIVATE   implementation_defined 
17  ·······Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only. 
18 ·········More... 
19  18  
20 *****·Detailed·Description·*****19 *****·Detailed·Description·*****
21 Definition·of·macros·controlling·symbol·visibility·at·the·ABI·level.20 Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.
 21 This·header·contains·several·macros·that·enable·C++·features·depending·on·your
 22 compiler.·Most·of·these·features·are·optional·and·provide·additional
 23 functionality·like·making·code·constexpr.
22 *****·Macro·Definition·Documentation·*****24 *****·Macro·Definition·Documentation·*****
 25 *****·◆ DUNE_GENERALIZED_CONSTEXPR·*****
 26 #define·DUNE_GENERALIZED_CONSTEXPR   constexpr
23 *****·◆ DUNE_EXPORT·***** 
24 #define·DUNE_EXPORT   implementation_defined 
25 Export·a·symbol·as·part·of·the·public·ABI. 
26 Mark·a·class,·function·or·static·variable·as·visible·outside·the·current·DSO. 
27 For·now,·this·is·mostly·important·for·templated·global·variables·and·functions 
28 that·contain·static·variables. 
29 *****·◆ DUNE_PRIVATE·*****27 *****·◆ DUNE_INLINE_VARIABLE·*****
 28 #define·DUNE_INLINE_VARIABLE   inline
30 #define·DUNE_PRIVATE   implementation_defined 
31 Mark·a·symbol·as·being·for·internal·use·within·the·current·DSO·only. 
32 Mark·a·class,·function·or·static·variable·as·inaccessible·from·outside·the 
33 current·DSO.·Doing·so·will·decrease·the·size·of·the·symbol·table,·but·you·have 
34 to·be·sure·that·the·symbol·will·never·have·to·be·accessed·from·another·library 
35 or·the·main·executable! 
  
36 ===============================================================================29 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.430 ·····Generated·by [doxygen]·1.9.4
11.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00308_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·visibility.hh·Source·File</title>8 <title>dune-common:·keywords.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 48 lines modifiedOffset 62, 39 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">visibility.hh</div></div>68 ··<div·class="headertitle"><div·class="title">keywords.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00308.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00308.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_VISIBILITY_HH</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_KEYWORDS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_VISIBILITY_HH</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_KEYWORDS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 76 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#if·__cpp_inline_variables·&gt;=·201606</span></div>
 77 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">···19</a></span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE·inline</span></div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div>78 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#else</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div> 
80 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a00308.html#a392e8fb5628732502467b715b88974b4">···20</a></span><span·class="preprocessor">#define·DUNE_EXPORT·implementation_defined</span></div> 
82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>79 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
 80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#define·DUNE_INLINE_VARIABLE</span></div>
 81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div>
83 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00308.html#ab9e9adaae1a11e7546a1b712495d1f42">···28</a></span><span·class="preprocessor">#define·DUNE_PRIVATE·implementation_defined</span></div> 
85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#else·</span><span·class="comment">//·DOXYGEN</span></div> 
87 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#if·__GNUC__·&gt;=·4</span></div>84 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#if·__cpp_constexpr·&gt;=·201304</span></div>
 85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00308.html#a97b632609f7c06170ec5e2be5729c4f0">···30</a></span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR·constexpr</span></div>
89 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="comment">//·GCC·and·Clang·both·define·__GNUC__·to·4·and·they·both·support·the·visibility</span></div> 
90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="comment">//·attribute</span></div> 
91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="preprocessor">#define·DUNE_EXPORT·__attribute__((visibility(&quot;default&quot;</span>)))</div> 
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#define·DUNE_PRIVATE·__attribute__((visibility(&quot;hidden&quot;</span>)))</div> 
93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#else</span></div>86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#else</span></div>
94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="comment">//·We·don&#39;t·know·about·the·active·compiler,·so·just·turn·the·visibility·macros·to·no-ops.</span></div>87 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#define·DUNE_EXPORT</span></div>88 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#define·DUNE_GENERALIZED_CONSTEXPR</span></div>
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#define·DUNE_PRIVATE</span></div> 
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#endif</span></div>89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#endif</span></div>
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>90 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div> 
100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>91 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>
101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_VISIBILITY</span></div>92 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_KEYWORDS_HH</span></div>
102 </div><!--·fragment·--></div><!--·contents·-->93 </div><!--·fragment·--></div><!--·contents·-->
103 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>95 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.496 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>97 </small></address>
107 </body>98 </body>
108 </html>99 </html>
1.82 KB
html2text {}
    
Offset 4, 46 lines modifiedOffset 4, 35 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 visibility.hh7 keywords.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root10 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 12 ·3#ifndef·DUNE_COMMON_KEYWORDS_HH
 13 ·4#define·DUNE_COMMON_KEYWORDS_HH
14 ·5#ifndef·DUNE_COMMON_VISIBILITY_HH 
15 ·6#define·DUNE_COMMON_VISIBILITY_HH 
16 ·7 
17 ·12#ifdef·DOXYGEN 
18 ·13 
19 ·1514 ·5
 15 ·18#if·__cpp_inline_variables·>=·201606
 16 19#define·DUNE_INLINE_VARIABLE·inline
 17 ·20#else
 18 ·22
 19 ·25#define·DUNE_INLINE_VARIABLE
 20 ·26#endif
 21 ·27
 22 ·28
 23 ·29#if·__cpp_constexpr·>=·201304
 24 30#define·DUNE_GENERALIZED_CONSTEXPR·constexpr
20 20#define·DUNE_EXPORT·implementation_defined 
21 ·21 
22 ·23 
23 28#define·DUNE_PRIVATE·implementation_defined 
24 ·29 
25 ·30#else·//·DOXYGEN 
26 ·31 
27 ·32#if·__GNUC__·>=·4 
28 ·33//·GCC·and·Clang·both·define·__GNUC__·to·4·and·they·both·support·the 
29 visibility 
30 ·34//·attribute 
31 ·35#define·DUNE_EXPORT·__attribute__((visibility("default"))) 
32 ·36#define·DUNE_PRIVATE·__attribute__((visibility("hidden"))) 
33 ·37#else25 ·31#else
 26 ·33
 27 ·36#define·DUNE_GENERALIZED_CONSTEXPR
34 ·38//·We·don't·know·about·the·active·compiler,·so·just·turn·the·visibility 
35 macros·to·no-ops. 
36 ·39#define·DUNE_EXPORT 
37 ·40#define·DUNE_PRIVATE 
38 ·41#endif28 ·37#endif
 29 ·38
 30 ·39
 31 ·40#endif·//·DUNE_COMMON_KEYWORDS_HH
39 ·42 
40 ·43#endif·//·DOXYGEN 
41 ·44 
42 ·45#endif·//·DUNE_COMMON_VISIBILITY 
  
43 ===============================================================================32 ===============================================================================
44 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
4.89 KB
./usr/share/doc/libdune-common-doc/doxygen/a00311.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·lru.hh·File·Reference</title>8 <title>dune-common:·ios_state.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 45 lines modifiedOffset 63, 26 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124; 
71 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
72 ··<div·class="headertitle"><div·class="title">lru.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">ios_state.cc·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>LRU·Cache·Container,·using·an·STL·like·interface.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;list&gt;</code><br·/> 
78 <code>#include·&lt;utility&gt;</code><br·/> 
79 <code>#include·&lt;map&gt;</code><br·/> 
80 <code>#include·&lt;memory&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/ios_state.hh</a>&gt;</code><br·/>
82 </div> 
83 <p><a·href="a00311_source.html">Go·to·the·source·code·of·this·file.</a></p> 
84 <table·class="memberdecls">75 </div><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
86 Classes</h2></td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01896.html">Dune::lru&lt;·Key,·Tp,·Traits·&gt;</a></td></tr> 
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">LRU·Cache·Container.··<a·href="a01896.html#details">More...</a><br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 </table><table·class="memberdecls"> 
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>76 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
92 Namespaces</h2></td></tr>77 Namespaces</h2></td></tr>
93 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>78 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
94 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>79 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table>81 </table>
97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
98 <div·class="textblock"><p·>LRU·Cache·Container,·using·an·STL·like·interface.·</p> 
99 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl> 
100 </div></div><!--·contents·-->82 </div><!--·contents·-->
101 <!--·start·footer·part·-->83 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>84 <hr·class="footer"/><address·class="footer"><small>
103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.485 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
104 </small></address>86 </small></address>
105 </body>87 </body>
106 </html>88 </html>
809 B
html2text {}
    
Offset 4, 31 lines modifiedOffset 4, 17 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces
 8 ios_state.cc·File·Reference
7 Classes·|·Namespaces 
8 lru.hh·File·Reference 
9 LRU·Cache·Container,·using·an·STL·like·interface.·More... 
10 #include·<list> 
11 #include·<utility> 
12 #include·<map> 
13 #include·<memory> 
14 #include·<dune/common/exceptions.hh>9 #include·<dune/common/ios_state.hh>
15 Go_to_the_source_code_of_this_file. 
16 ·Classes 
17 class· Dune::lru<_Key,_Tp,_Traits_> 
18  ······LRU·Cache·Container.·More... 
19   
20 ·Namespaces10 ·Namespaces
21 namespace· Dune11 namespace· Dune
22  ··········Dune·namespace.12  ··········Dune·namespace.
23  13  
24 *****·Detailed·Description·***** 
25 LRU·Cache·Container,·using·an·STL·like·interface. 
26 ··Author 
27 ······Christian·Engwer 
  
28 ===============================================================================14 ===============================================================================
29 ·····Generated·by [doxygen]·1.9.415 ·····Generated·by [doxygen]·1.9.4
25.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00314.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·bitsetvector.hh·File·Reference</title>8 <title>dune-common:·indexset.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 65 lines modifiedOffset 58, 124 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">bitsetvector.hh·File·Reference</div></div>71 <a·href="#enum-members">Enumerations</a>·&#124;
 72 <a·href="#func-members">Functions</a>··</div>
 73 ··<div·class="headertitle"><div·class="title">indexset.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
  
74 <p>Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.··76 <p>Provides·a·map·between·global·and·local·indices.··
75 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
77 <code>#include·&lt;bitset&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00203_source.html">dune/common/arraylist.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
78 <code>#include·&lt;iostream&gt;</code><br·/>81 <code>#include·&lt;iostream&gt;</code><br·/>
 82 <code>#include·&quot;<a·class="el"·href="a00317_source.html">localindex.hh</a>&quot;</code><br·/>
79 <code>#include·&lt;algorithm&gt;</code><br·/>83 <code>#include·&lt;stdint.h&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
81 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code><br·/> 
82 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
83 </div>84 </div>
84 <p><a·href="a00314_source.html">Go·to·the·source·code·of·this·file.</a></p>85 <p><a·href="a00314_source.html">Go·to·the·source·code·of·this·file.</a></p>
85 <table·class="memberdecls">86 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
87 Classes</h2></td></tr>88 Classes</h2></td></tr>
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01328.html">Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;</a></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02092.html">Dune::IndexPair&lt;·TG,·TL·&gt;</a></td></tr>
89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a·<a·class="el"·href="a01320.html"·title="A·dynamic·array·of·blocks·of·booleans.">BitSetVector</a>.··<a·href="a01328.html#details">More...</a><br·/></td></tr>90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·pair·consisting·of·a·global·and·local·index.··<a·href="a02092.html#details">More...</a><br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01324.html">Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02096.html">Dune::InvalidIndexSetState</a></td></tr>
92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·<a·class="el"·href="a01320.html"·title="A·dynamic·array·of·blocks·of·booleans.">BitSetVector</a>.··<a·href="a01324.html#details">More...</a><br·/></td></tr>93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Exception</a>·indicating·that·the·index·set·is·not·in·the·expected·state.··<a·href="a02096.html#details">More...</a><br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01332.html">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02104.html">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.··<a·href="a02104.html#details">More...</a><br·/></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01336.html">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02108.html">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator</a></td></tr>
 99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·iterator·over·the·pairs.··<a·href="a02108.html#details">More...</a><br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01340.html">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02100.html">Dune::GlobalLookupIndexSet&lt;·I·&gt;</a></td></tr>
 102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Decorates·an·index·set·with·the·possibility·to·find·a·global·index·that·is·mapped·to·a·specific·local.··<a·href="a02100.html#details">More...</a><br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01344.html">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</a></td></tr>104 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02112.html">Dune::LocalIndexComparator&lt;·T·&gt;</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01320.html">Dune::BitSetVector&lt;·block_size,·Allocator·&gt;</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02116.html">Dune::IndexSetSortFunctor&lt;·TG,·TL·&gt;</a></td></tr>
103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·dynamic·array·of·blocks·of·booleans.··<a·href="a01320.html#details">More...</a><br·/></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 </table><table·class="memberdecls">108 </table><table·class="memberdecls">
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>109 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
107 Namespaces</h2></td></tr>110 Namespaces</h2></td></tr>
108 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>111 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
109 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>112 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 </table><table·class="memberdecls">
 115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>
 116 Enumerations</h2></td></tr>
 117 <tr·class="memitem:ga1b1dd66b80964351e68f44bddb32593e"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga1b1dd66b80964351e68f44bddb32593e">Dune::ParallelIndexSetState</a>·{·<a·class="el"·href="a00416.html#gga1b1dd66b80964351e68f44bddb32593ea30f779eddf23499c322b692257ae7116">Dune::GROUND</a>
 118 ,·<a·class="el"·href="a00416.html#gga1b1dd66b80964351e68f44bddb32593ea2fbc0ce9b92442e69a405a452f2ef416">Dune::RESIZE</a>
 119 ·}</td></tr>
 120 <tr·class="memdesc:ga1b1dd66b80964351e68f44bddb32593e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·states·the·index·set·can·be·in.··<a·href="a00416.html#ga1b1dd66b80964351e68f44bddb32593e">More...</a><br·/></td></tr>
 121 <tr·class="separator:ga1b1dd66b80964351e68f44bddb32593e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 </table><table·class="memberdecls">
 123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 124 Functions</h2></td></tr>
 125 <tr·class="memitem:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 126 <tr·class="memitem:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7fcd5b444a9e60cfdc21f7d0cfd22250">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;pair)</td></tr>
 127 <tr·class="memdesc:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·an·index·pair.··<a·href="a00416.html#ga7fcd5b444a9e60cfdc21f7d0cfd22250">More...</a><br·/></td></tr>
 128 <tr·class="separator:ga7fcd5b444a9e60cfdc21f7d0cfd22250"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 129 <tr·class="memitem:ga7795b290702a59497007270c46e2b8c6"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 130 <tr·class="memitem:ga7795b290702a59497007270c46e2b8c6"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7795b290702a59497007270c46e2b8c6">Dune::operator==</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 131 <tr·class="separator:ga7795b290702a59497007270c46e2b8c6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 133 <tr·class="memitem:ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga3a50aa86c8ff96eee7ef68200531326d">Dune::operator!=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 134 <tr·class="separator:ga3a50aa86c8ff96eee7ef68200531326d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 135 <tr·class="memitem:ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 136 <tr·class="memitem:ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga0d9a1c3873a538aa66c22b03b406db87">Dune::operator&lt;</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 137 <tr·class="separator:ga0d9a1c3873a538aa66c22b03b406db87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 138 <tr·class="memitem:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 139 <tr·class="memitem:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga0bc63043e58d66643b64cbd6b08dfb82">Dune::operator&gt;</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 140 <tr·class="separator:ga0bc63043e58d66643b64cbd6b08dfb82"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 141 <tr·class="memitem:ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 142 <tr·class="memitem:ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga6cdf9614911aa5cd70ed58663de013c2">Dune::operator&lt;=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 143 <tr·class="separator:ga6cdf9614911aa5cd70ed58663de013c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 144 <tr·class="memitem:ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 145 <tr·class="memitem:ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga5c5245f4fd0352faad94ca8e9c1f6c6f">Dune::operator&gt;=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·IndexPair&lt;·TG,·TL·&gt;·&amp;)</td></tr>
 146 <tr·class="separator:ga5c5245f4fd0352faad94ca8e9c1f6c6f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 147 <tr·class="memitem:ga239e646b27f7f35ac944aebb59380913"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 148 <tr·class="memitem:ga239e646b27f7f35ac944aebb59380913"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga239e646b27f7f35ac944aebb59380913">Dune::operator==</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 149 <tr·class="separator:ga239e646b27f7f35ac944aebb59380913"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 150 <tr·class="memitem:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 151 <tr·class="memitem:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gadf0b39a244a69d9e7f71811f960a5728">Dune::operator!=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 152 <tr·class="separator:gadf0b39a244a69d9e7f71811f960a5728"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 153 <tr·class="memitem:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 154 <tr·class="memitem:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga912a9eba5f4d34e7e50ef4335b7ba108">Dune::operator&lt;</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 155 <tr·class="separator:ga912a9eba5f4d34e7e50ef4335b7ba108"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 156 <tr·class="memitem:gab4b337bd4e613e88381306db889e811f"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 157 <tr·class="memitem:gab4b337bd4e613e88381306db889e811f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gab4b337bd4e613e88381306db889e811f">Dune::operator&gt;</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 158 <tr·class="separator:gab4b337bd4e613e88381306db889e811f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 159 <tr·class="memitem:gad6d5923b72e3214d9f20349b722ea874"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
 160 <tr·class="memitem:gad6d5923b72e3214d9f20349b722ea874"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gad6d5923b72e3214d9f20349b722ea874">Dune::operator&lt;=</a>·(const·IndexPair&lt;·TG,·TL·&gt;·&amp;,·const·TG·&amp;)</td></tr>
 161 <tr·class="separator:gad6d5923b72e3214d9f20349b722ea874"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 162 <tr·class="memitem:ga7d670d228f6635f587d21ef117951fd9"><td·class="memTemplParams"·colspan="2">template&lt;class·TG·,·class·TL·&gt;·</td></tr>
Max diff block lines reached; 648/20843 bytes (3.11%) of diff not shown.
4.68 KB
html2text {}
    
Offset 4, 50 lines modifiedOffset 4, 110 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces7 ····*·parallel
 8 Classes·|·Namespaces·|·Enumerations·|·Functions
8 bitsetvector.hh·File·Reference9 indexset.hh·File·Reference
 10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 Provides·a·map·between·global·and·local·indices.·More...
9 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans. 
10 More... 
11 #include·<vector> 
12 #include·<bitset> 
13 #include·<iostream> 
14 #include·<algorithm>12 #include·<algorithm>
15 #include·<dune/common/boundschecking.hh> 
16 #include·<dune/common/genericiterator.hh>13 #include·<dune/common/arraylist.hh>
17 #include·<dune/common/exceptions.hh>14 #include·<dune/common/exceptions.hh>
 15 #include·<iostream>
 16 #include·"localindex.hh"
 17 #include·<stdint.h>
18 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
19 ·Classes19 ·Classes
 20 ·class· Dune::IndexPair<_TG,_TL_>
 21  ·······A·pair·consisting·of·a·global·and·local·index.·More...
20 ·class· Dune::BitSetVectorConstReference<_block_size,_Alloc_> 
21  ·······A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a 
22 ·········BitSetVector.·More... 
23  22  
24 ·class· Dune::BitSetVectorReference<_block_size,_Alloc_> 
25  ·······A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a 
26 ·········BitSetVector.·More...23 ·class· Dune::InvalidIndexSetState
 24  ·······Exception·indicating·that·the·index·set·is·not·in·the·expected·state.
 25 ·········More...
27  26  
28 struct· Dune::const_reference<_BitSetVectorReference<_block_size,_Alloc_>_>27 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_>
 28  ·······Manager·class·for·the·mapping·between·local·indices·and·globally
 29 ·········unique·indices.·More...
29  30  
30 struct· Dune::const_reference<_BitSetVectorConstReference<_block_size,_Alloc_> 
31 ·········>31 ·class· Dune::ParallelIndexSet<_TG,_TL,_N_>::iterator
 32  ·······The·iterator·over·the·pairs.·More...
32  33  
33 struct· Dune::mutable_reference<_BitSetVectorReference<_block_size,_Alloc_>_>34 ·class· Dune::GlobalLookupIndexSet<_I_>
 35  ·······Decorates·an·index·set·with·the·possibility·to·find·a·global·index
 36 ·········that·is·mapped·to·a·specific·local.·More...
34  37  
 38 struct· Dune::LocalIndexComparator<_T_>
35 struct· Dune::mutable_reference<_BitSetVectorConstReference<_block_size,_Alloc 
36 ·········>_> 
37  39  
 40 struct· Dune::IndexSetSortFunctor<_TG,_TL_>
38 ·class· Dune::BitSetVector<_block_size,_Allocator_> 
39  ·······A·dynamic·array·of·blocks·of·booleans.·More... 
40  41  
41 ·Namespaces42 ·Namespaces
42 namespace· Dune43 namespace· Dune
43  ··········Dune·namespace.44  ··········Dune·namespace.
44  45  
 46 ·Enumerations
 47 enum· Dune::ParallelIndexSetState·{·Dune::GROUND·,·Dune::RESIZE·}
 48  ·····The·states·the·index·set·can·be·in.·More...
 49  
 50 ·Functions
 51 template<class·TG·,·class·TL·>
 52 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·IndexPair<·TG,·TL·>
 53 ················&pair)
 54  ··············Print·an·index·pair.·More...
 55  
 56 template<class·TG·,·class·TL·>
 57 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 58 ················TG,·TL·>·&)
 59  
 60 template<class·TG·,·class·TL·>
 61 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 62 ················TG,·TL·>·&)
 63  
 64 template<class·TG·,·class·TL·>
 65 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 66 ················TG,·TL·>·&)
 67  
 68 template<class·TG·,·class·TL·>
 69 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 70 ················TG,·TL·>·&)
 71  
 72 template<class·TG·,·class·TL·>
 73 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 74 ················TG,·TL·>·&)
 75  
 76 template<class·TG·,·class·TL·>
 77 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·IndexPair<
 78 ················TG,·TL·>·&)
 79  
 80 template<class·TG·,·class·TL·>
 81 ··········bool Dune::operator==·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 82  
 83 template<class·TG·,·class·TL·>
 84 ··········bool Dune::operator!=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 85  
 86 template<class·TG·,·class·TL·>
 87 ··········bool Dune::operator<·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 88  
 89 template<class·TG·,·class·TL·>
 90 ··········bool Dune::operator>·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 91  
 92 template<class·TG·,·class·TL·>
 93 ··········bool Dune::operator<=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 94  
 95 template<class·TG·,·class·TL·>
 96 ··········bool Dune::operator>=·(const·IndexPair<·TG,·TL·>·&,·const·TG·&)
 97  
 98 template<class·TG·,·class·TL·,·int·N>
 99 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·ParallelIndexSet<·TG,
 100 ················TL,·N·>·&indexSet)
 101  ··············Print·an·index·set.·More...
 102  
45 *****·Detailed·Description·*****103 *****·Detailed·Description·*****
46 Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.104 Provides·a·map·between·global·and·local·indices.
 105 ··Author
 106 ······Markus·Blatt
  
47 ===============================================================================107 ===============================================================================
48 ·····Generated·by [doxygen]·1.9.4108 ·····Generated·by [doxygen]·1.9.4
369 KB
./usr/share/doc/libdune-common-doc/doxygen/a00314_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·bitsetvector.hh·Source·File</title>8 <title>dune-common:·indexset.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 657 lines modifiedOffset 58, 912 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">bitsetvector.hh</div></div>68 ··<div·class="headertitle"><div·class="title">indexset.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00314.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00314.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_BLOCK_BITFIELD_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INDEXSET_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_BLOCK_BITFIELD_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INDEXSET_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;bitset&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00203.html">dune/common/arraylist.hh</a>&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00317.html">localindex.hh</a>&quot;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;stdint.h&gt;</span>·<span·class="comment">//·for·uint32_t</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00104.html">dune/common/boundschecking.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00365.html">dune/common/genericiterator.hh</a>&gt;</span></div> 
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>{</div>
 89 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="comment">//·forward·declarations</span></div>
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·block_size,·<span·class="keyword">class</span>·Alloc&gt;·<span·class="keyword">class·</span>BitSetVector;</div> 
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·block_size,·<span·class="keyword">class</span>·Alloc&gt;·<span·class="keyword">class·</span>BitSetVectorReference;</div>91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">class·</span>IndexPair;</div>
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>93 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">int</span>·block_size,·<span·class="keyword">class</span>·Alloc&gt;</div>94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream&amp;·os,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;·pair);</div>
93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01328.html">···37</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01328.html">BitSetVectorConstReference</a></div> 
94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div> 
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">protected</span>:</div> 
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a01328.html#a8bd910d0be75c6070ba48610dacfa23c">···41</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01320.html">Dune::BitSetVector&lt;block_size,·Alloc&gt;</a>·<a·class="code·hl_typedef"·href="a01328.html#a8bd910d0be75c6070ba48610dacfa23c">BitSetVector</a>;</div> 
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01320.html">Dune::BitSetVector</a>&lt;block_size,·Alloc&gt;;</div>97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a01328.html#a303324140d1eaae4bcb5839c4110f5f0">···44</a></span>····<a·class="code·hl_function"·href="a01328.html#a303324140d1eaae4bcb5839c4110f5f0">BitSetVectorConstReference</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01320.html">BitSetVector</a>&amp;·blockBitField_,·<span·class="keywordtype">int</span>·block_number_)·:</div> 
101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······<a·class="code·hl_variable"·href="a01328.html#a33130c7445546fd132dfa53c68943b47">blockBitField</a>(blockBitField_),</div> 
102 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<a·class="code·hl_variable"·href="a01328.html#adfac75a483d9f700de70de31a17147fe">block_number</a>(block_number_)</div> 
103 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{</div>102 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
104 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<a·class="code·hl_define"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a>(blockBitField_.<a·class="code·hl_function"·href="a01320.html#aa6b0bd44649e2d510d34874d396a218[·...·truncated·by·diffoscope;·len:·151,·SHA:·e3fd7aa220aa49212204a96b09e38b0145ce697e296bf8abd7e46e573c4ada65·...·];</div>103 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 104 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">operator&lt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
105 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····}</div>105 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 106 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 107 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga4e05f002f8262357d9bdd7874fcb0f68">operator&gt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
106 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>108 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 109 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 110 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga798235d5677109c73826c07eda54642a">operator&lt;=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01328.html#a289d19feb7c4241f374165f4c5b0dde8">···52</a></span>····<a·class="code·hl_class"·href="a01328.html">BitSetVectorConstReference</a>&amp;·<a·class="code·hl_function"·href="a01328.html#a289d19feb7c4241f374165f4c5b0dde8">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01328.html">BitSetVectorConstReference</a>·&amp;·b);</div> 
108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">public</span>:</div> 
110 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>111 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
111 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">···56</a></span>····<span·class="keyword">typedef</span>·std::bitset&lt;block_size&gt;·<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>;</div>112 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 113 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gad3b5d2384ffc58bc20968c4b6c6fcefb">operator·&gt;=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;);</div>
112 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>114 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 115 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 116 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div>
113 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//·bitset·interface·typedefs</span></div> 
114 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01328.html#ac73f0ebba07178042ef11852f4e3c183">···59</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::vector&lt;bool,·Alloc&gt;::const_reference·<a·class="code·hl_typedef"·href="a01328.html#ac73f0ebba07178042ef11852f4e3c183">reference</a>;</div> 
115 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01328.html#ae26f48254271f72de0ae5b23dfba1697">···60</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::vector&lt;bool,·Alloc&gt;::const_reference·<a·class="code·hl_typedef"·href="a01328.html#ae26f48254271f72de0ae5b23dfba1697">const_reference</a>;</div> 
116 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keywordtype">size_t</span>·<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>;</div> 
117 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>117 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 118 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 119 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div>
118 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01328.html#a15965b9a55dc1efdc039134cf7f79b48">···64</a></span>····<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·<a·class="code·hl_function"·href="a01328.html#a15965b9a55dc1efdc039134cf7f79b48">operator&lt;&lt;</a>(<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>·n)<span·class="keyword">·const</span></div> 
119 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">····</span>{</div> 
120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·b·=·*<span·class="keyword">this</span>;</div> 
121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······b·&lt;&lt;=·n;</div> 
122 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">return</span>·b;</div> 
123 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</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="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 122 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga2c43cd511159faaeafc9ec92874ea5f2">operator&lt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div>
 123 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 124 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 125 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga4e05f002f8262357d9bdd7874fcb0f68">operator&gt;</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div>
124 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>126 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 127 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#ga798235d5677109c73826c07eda54642a">operator&lt;=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div>
125 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a01328.html#a3f6da6a3d44750b9a02c68c353af007d">···72</a></span>····<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·<a·class="code·hl_function"·href="a01328.html#a3f6da6a3d44750b9a02c68c353af007d">operator&gt;&gt;</a>(<a·class="code·hl_typedef"·href="a01328.html#abaa3cc2c18c2f51d23dc12ee128ce4ae">size_type</a>·n)<span·class="keyword">·const</span></div> 
126 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="keyword">····</span>{</div> 
127 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·b·=·*<span·class="keyword">this</span>;</div> 
128 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······b·&gt;&gt;=·n;</div> 
129 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·b;</div> 
130 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div> 
131 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>129 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
132 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01328.html#abb4801f898a4bdf10cd99d183cb8e67e">···80</a></span>····<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·<a·class="code·hl_function"·href=[·...·truncated·by·diffoscope;·len:·98,·SHA:·d65188db45b5f8d831e32c165870ea75f57a77d4be7e8eae0eb9a56c186310a0·...·]</div>130 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
 131 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gad3b5d2384ffc58bc20968c4b6c6fcefb">operator·&gt;=</a>(<span·class="keyword">const</span>·IndexPair&lt;TG,TL&gt;&amp;,·<span·class="keyword">const</span>·TG&amp;);</div>
 132 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 133 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
133 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">····</span>{</div>134 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">struct·</span>MPITraits;</div>
134 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······<a·class="code·hl_typedef"·href="a01328.html#aa3d425b79a6dd4ef3ab48de8ac9445cd">bitset</a>·b·=·*<span·class="keyword">this</span>;</div> 
135 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······b.flip();</div>135 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
136 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keywordflow">return</span>·b;</div>136 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TG,·<span·class="keyword">class</span>·TL&gt;</div>
Max diff block lines reached; 254496/316276 bytes (80.47%) of diff not shown.
59.8 KB
html2text {}
    
Offset 4, 940 lines modifiedOffset 4, 1120 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 bitsetvector.hh7 ····*·parallel
 8 indexset.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_BLOCK_BITFIELD_HH 
15 ·6#define·DUNE_BLOCK_BITFIELD_HH15 ·5#ifndef·DUNE_INDEXSET_HH
 16 ·6#define·DUNE_INDEXSET_HH
16 ·717 ·7
17 ·12#include·<vector> 
18 ·13#include·<bitset>18 ·8#include·<algorithm>
 19 ·9#include·<dune/common/arraylist.hh>
 20 ·10#include·<dune/common/exceptions.hh>
19 ·14#include·<iostream>21 ·11#include·<iostream>
20 ·15#include·<algorithm>22 ·12
 23 ·13#include·"localindex.hh"
 24 ·14
 25 ·15#include·<stdint.h>·//·for·uint32_t
21 ·1626 ·16
22 ·17#include·<dune/common/boundschecking.hh> 
23 ·18#include·<dune/common/genericiterator.hh> 
24 ·19#include·<dune/common/exceptions.hh> 
25 ·20 
26 ·21namespace·Dune·{27 ·17namespace·Dune
27 ·22 
28 ·23·template·<int·block_size,·class·Alloc>·class·BitSetVector; 
29 ·24·template·<int·block_size,·class·Alloc>·class·BitSetVectorReference; 
30 ·25 
31 ·36·template·<int·block_size,·class·Alloc> 
32 37·class·BitSetVectorConstReference 
33 ·38·{ 
34 ·39·protected:28 ·18{
 29 ·28·//·forward·declarations
 30 ·29
 31 ·30·template<class·TG,·class·TL>
 32 ·31·class·IndexPair;
 33 ·32
 34 ·38·template<class·TG,·class·TL>
 35 ·39·std::ostream&·operator<<(std::ostream&·os,·const·IndexPair<TG,TL>&·pair);
35 ·4036 ·40
36 41·typedef·Dune::BitSetVector<block_size,_Alloc>·BitSetVector; 
37 ·42·friend·class·Dune::BitSetVector<block_size,·Alloc>;37 ·41·template<class·TG,·class·TL>
 38 ·42·bool·operator==(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
38 ·4339 ·43
 40 ·44·template<class·TG,·class·TL>
 41 ·45·bool·operator!=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 42 ·46
 43 ·47·template<class·TG,·class·TL>
 44 ·48·bool·operator<(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
39 44·BitSetVectorConstReference(const·BitSetVector&·blockBitField_,·int 
40 block_number_)·: 
41 ·45·blockBitField(blockBitField_), 
42 ·46·block_number(block_number_) 
43 ·47·{ 
44 ·48·DUNE_ASSERT_BOUNDS(blockBitField_.size()·>·static_cast<size_t> 
45 (block_number_)); 
46 ·49·}45 ·49
47 ·50 
48 52·BitSetVectorConstReference&·operator=(const·BitSetVectorConstReference·&·b); 
49 ·53 
50 ·54·public:46 ·50·template<class·TG,·class·TL>
 47 ·51·bool·operator>(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 48 ·52
 49 ·53·template<class·TG,·class·TL>
 50 ·54·bool·operator<=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
51 ·5551 ·55
52 56·typedef·std::bitset<block_size>·bitset; 
53 ·57 
54 ·58·//·bitset·interface·typedefs 
55 59·typedef·typename·std::vector<bool,·Alloc>::const_reference·reference; 
56 60·typedef·typename·std::vector<bool,·Alloc>::const_reference·const_reference; 
57 61·typedef·size_t·size_type; 
58 ·62 
59 64·bitset·operator<<(size_type·n)·const 
60 ·65·{ 
61 ·66·bitset·b·=·*this; 
62 ·67·b·<<=·n; 
63 ·68·return·b; 
64 ·69·}52 ·56·template<class·TG,·class·TL>
 53 ·57·bool·operator_>=(const·IndexPair<TG,TL>&,·const·IndexPair<TG,TL>&);
 54 ·58
 55 ·59·template<class·TG,·class·TL>
 56 ·60·bool·operator==(const·IndexPair<TG,TL>&,·const·TG&);
 57 ·61
 58 ·62·template<class·TG,·class·TL>
 59 ·63·bool·operator!=(const·IndexPair<TG,TL>&,·const·TG&);
 60 ·64
 61 ·65·template<class·TG,·class·TL>
 62 ·66·bool·operator<(const·IndexPair<TG,TL>&,·const·TG&);
 63 ·67
 64 ·68·template<class·TG,·class·TL>
 65 ·69·bool·operator>(const·IndexPair<TG,TL>&,·const·TG&);
65 ·7066 ·70
66 72·bitset·operator>>(size_type·n)·const67 ·71·template<class·TG,·class·TL>
 68 ·72·bool·operator<=(const·IndexPair<TG,TL>&,·const·TG&);
67 ·73·{69 ·73
 70 ·74·template<class·TG,·class·TL>
 71 ·75·bool·operator_>=(const·IndexPair<TG,TL>&,·const·TG&);
 72 ·76
 73 ·77·template<typename·T>
 74 ·78·struct·MPITraits;
68 ·74·bitset·b·=·*this; 
69 ·75·b·>>=·n; 
70 ·76·return·b; 
71 ·77·} 
72 ·78 
73 80·bitset·operator~()·const 
74 ·81·{ 
75 ·82·bitset·b·=·*this; 
76 ·83·b.flip(); 
77 ·84·return·b; 
78 ·85·} 
79 ·86 
80 88·size_type·size()·const 
81 ·89·{ 
82 ·90·return·block_size; 
83 ·91·} 
Max diff block lines reached; 53030/61185 bytes (86.67%) of diff not shown.
7.34 KB
./usr/share/doc/libdune-common-doc/doxygen/a00317.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·ios_state.hh·File·Reference</title>8 <title>dune-common:·localindex.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 45 lines modifiedOffset 58, 54 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">ios_state.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>71 <a·href="#enum-members">Enumerations</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">localindex.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
74 <p>Utility·class·for·storing·and·resetting·stream·attributes.··75 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.··
75 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;ios&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
77 </div>78 </div>
78 <p><a·href="a00317_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00317_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">80 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
81 Classes</h2></td></tr>82 Classes</h2></td></tr>
82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01872.html">Dune::ios_base_all_saver</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02156.html">Dune::LocalIndex</a></td></tr>
83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·storing·and·resetting·stream·attributes.··<a·href="a01872.html#details">More...</a><br·/></td></tr>84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·index·present·on·the·local·process.··<a·href="a02156.html#details">More...</a><br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
87 Namespaces</h2></td></tr>88 Namespaces</h2></td></tr>
88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>89 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>90 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 </table><table·class="memberdecls">
 93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a>
 94 Enumerations</h2></td></tr>
 95 <tr·class="memitem:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">Dune::LocalIndexState</a>·{·<a·class="el"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">Dune::VALID</a>
 96 ,·<a·class="el"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">Dune::DELETED</a>
 97 ·}</td></tr>
 98 <tr·class="memdesc:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·states·available·for·the·local·indices.··<a·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">More...</a><br·/></td></tr>
 99 <tr·class="separator:ga4f24bf6f596bf963429e084ecf3a0835"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>100 </table>
92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
93 <div·class="textblock"><p·>Utility·class·for·storing·and·resetting·stream·attributes.·</p>102 <div·class="textblock"><p·>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·</p>
94 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>103 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
95 </div></div><!--·contents·-->104 </div></div><!--·contents·-->
96 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
97 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
98 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
99 </small></address>108 </small></address>
100 </body>109 </body>
1.2 KB
html2text {}
    
Offset 4, 28 lines modifiedOffset 4, 33 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces 
8 ios_state.hh·File·Reference 
9 Common 
10 Utility·class·for·storing·and·resetting·stream·attributes.·More...7 ····*·parallel
 8 Classes·|·Namespaces·|·Enumerations
 9 localindex.hh·File·Reference
 10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·More...
11 #include·<ios>12 #include·<cstddef>
12 Go_to_the_source_code_of_this_file.13 Go_to_the_source_code_of_this_file.
13 ·Classes14 ·Classes
14 class· Dune::ios_base_all_saver 
15  ······Utility·class·for·storing·and·resetting·stream·attributes.·More...15 class· Dune::LocalIndex
 16  ······An·index·present·on·the·local·process.·More...
16  17  
17 ·Namespaces18 ·Namespaces
18 namespace· Dune19 namespace· Dune
19  ··········Dune·namespace.20  ··········Dune·namespace.
20  21  
 22 ·Enumerations
 23 enum· Dune::LocalIndexState·{·Dune::VALID·,·Dune::DELETED·}
 24  ·····The·states·available·for·the·local·indices.·More...
 25  
21 *****·Detailed·Description·*****26 *****·Detailed·Description·*****
22 Utility·class·for·storing·and·resetting·stream·attributes.27 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.
23 ··Author28 ··Author
24 ······Markus·Blatt29 ······Markus·Blatt
  
25 ===============================================================================30 ===============================================================================
26 ·····Generated·by [doxygen]·1.9.431 ·····Generated·by [doxygen]·1.9.4
27.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00317_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·ios_state.hh·Source·File</title>8 <title>dune-common:·localindex.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 58 lines modifiedOffset 58, 101 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">ios_state.hh</div></div>68 ··<div·class="headertitle"><div·class="title">localindex.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00317.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00317.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_IOS_STATE_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_IOS_STATE_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;ios&gt;</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_LOCALINDEX_HH</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_LOCALINDEX_HH</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">···28</a></span>··<span·class="keyword">enum</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·{<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">VALID</a>,·<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">DELETED</a>};</div>
 86 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
 87 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
81 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01872.html">···33</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01872.html">ios_base_all_saver</a></div>88 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02156.html">···34</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02156.html">LocalIndex</a></div>
82 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··{</div>89 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>
83 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">public</span>:</div>90 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>
84 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">···37</a></span>····<span·class="keyword">typedef</span>·std::ios_base·<a·class="code·hl_typedef"·href="a00397.html#gaab42b8e2cf5e10c794a7957e0[·...·truncated·by·diffoscope;·len:·24,·SHA:·986271c25ae29d26c9105ff9e1baccea48de42ed3114fabf1b6660d84ff416bd·...·]</div>91 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">···41</a></span>····<a·class="code·hl_function"·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">LocalIndex</a>()·:</div>
 92 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······localIndex_(0),·state_(<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">VALID</a>){}</div>
85 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>93 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
86 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<a·class="code·hl_function"·href="a00397.html#gaba871722210fe56717056b5e32f46429">ios_base_all_saver</a>(<a·class="code·hl_typedef"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a>&amp;·ios_);</div> 
87 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>94 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
88 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<a·class="code·hl_function"·href="a00397.html#ga022177c21c172353d00b3d4658e75e33">~ios_base_all_saver</a>();</div>95 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02156.html#a320964a5a6fa1425f4b7ab2dc219d748">···49</a></span>····<a·class="code·hl_function"·href="a02156.html#a320964a5a6fa1425f4b7ab2dc219d748">LocalIndex</a>(std::size_t·index)·:</div>
 96 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······localIndex_(index),·state_(<a·class="code·hl_enumvalue"·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">VALID</a>){}</div>
 97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">inline</span>·<span·class="keyword">const</span>·std::size_t&amp;·<a·class="code·hl_function"·href="a00416.html#gae0ef0e636fb6deeca4abc05240f74289">local</a>()·<span·class="keyword">const</span>;</div>
89 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
90 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00397.html#ga11e7a466cb1a43b36026a751364ae564">restore</a>();</div>99 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">inline</span>·<span·class="keyword">operator</span>·std::size_t()·<span·class="keyword">const</span>;</div>
91 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>100 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 101 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02156.html">LocalIndex</a>&amp;·<a·class="code·hl_function"·href="a00416.html#ga7c8ea096790c7ac11677cae3f70659f0">operator=</a>(std::size_t·index);</div>
92 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">private</span>:</div> 
93 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<a·class="code·hl_typedef"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a>&amp;·ios;</div> 
94 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····state_type::fmtflags·oldflags;</div> 
95 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····std::streamsize·oldprec;</div> 
96 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····std::streamsize·oldwidth;</div> 
97 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div> 
98 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
99 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>}</div> 
100 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>102 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
 103 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·<a·class="code·hl_function"·href="a00416.html#gaa2f125895bda6b0c9d9cf8d8aa7e6946">state</a>()·<span·class="keyword">const</span>;</div>
 104 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 105 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#gae134fe3358bd66ec666029d570bdb5c1">setState</a>(<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·<a·class="code·hl_function"·href="a00416.html#gaa2f125895bda6b0c9d9cf8d8aa7e6946">state</a>);</div>
 106 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 107 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">private</span>:</div>
 108 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····std::size_t·localIndex_;</div>
 109 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 110 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="keywordtype">char</span>·state_;</div>
 111 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 112 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··};</div>
 113 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 114 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 115 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno"><a·class="line"·href="a00416.html#gae0ef0e636fb6deeca4abc05240f74289">···97</a></span>··<span·class="keyword">inline</span>·<span·class="keyword">const</span>·std::size_t&amp;·<a·class="code·hl_function"·href="a00416.html#gae0ef0e636fb6deeca4abc05240f74289">LocalIndex::local</a>()<span·class="keyword">·const·</span>{</div>
 117 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····<span·class="keywordflow">return</span>·localIndex_;</div>
 118 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··}</div>
 119 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 120 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga0515e9338e8c8686b4791a50b5e3b036">··101</a></span>··<span·class="keyword">inline</span>·LocalIndex::operator·std::size_t()<span·class="keyword">·const·</span>{</div>
 121 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>····<span·class="keywordflow">return</span>·localIndex_;</div>
 122 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··}</div>
 123 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 124 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga7c8ea096790c7ac11677cae3f70659f0">··105</a></span>··<span·class="keyword">inline</span>·<a·class="code·hl_class"·href="a02156.html">LocalIndex</a>&amp;·<a·class="code·hl_function"·href="a00416.html#ga7c8ea096790c7ac11677cae3f70659f0">LocalIndex::operator=</a>(std::size_t·index){</div>
 125 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····localIndex_·=·index;</div>
 126 <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>
 127 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>··}</div>
 128 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div>
 129 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a00416.html#gaa2f125895bda6b0c9d9cf8d8aa7e6946">··110</a></span>··<span·class="keyword">inline</span>·<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·<a·class="code·hl_function"·href="a00416.html#gaa2f125895bda6b0c9d9cf8d8aa7e6946">LocalIndex::state</a>()<span·class="keyword">·const·</span>{</div>
 130 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····<span·class="keywordflow">return</span>·<span·class="keyword">static_cast&lt;</span><a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a><span·class="keyword">&gt;</span>(state_);</div>
 131 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··}</div>
 132 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 133 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a00416.html#gae134fe3358bd66ec666029d570bdb5c1">··114</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#gae134fe3358bd66ec666029d570bdb5c1">LocalIndex::setState</a>(<a·class="code·hl_enumeration"·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">LocalIndexState</a>·state){</div>
 134 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····state_·=·<span·class="keyword">static_cast&lt;</span><span·class="keywordtype">char</span><span·class="keyword">&gt;</span>(<a·class="code·hl_function"·href="a00416.html#gaa2f125895bda6b0c9d9cf8d8aa7e6946">state</a>);</div>
 135 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··}</div>
 136 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div>
 137 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>}·<span·class="comment">//·namespace·Dune</span></div>
 138 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
101 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_IOS_STATE_HH</span></div>139 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="preprocessor">#endif</span></div>
102 <div·class="ttc"·id="aa00397_html_ga022177c21c172353d00b3d4658e75e33"><div·class="ttname"><a·href="a00397.html#ga022177c21c172353d00b3d4658e75e33">Dune::ios_base_all_saver::~ios_base_all_saver</a></div><div·class="ttdeci">~ios_base_all_saver()</div><div·class="ttdoc">Destructor·that·restores·the·flags·stored·by·the·constructor.</div><div·class="ttdef"><b>Definition:</b>·ios_state.cc:24</div></div> 
103 <div·class="ttc"·id="aa00397_html_ga11e7a466cb1a43b36026a751364ae564"><div·class="ttname"><a·href="a00397.html#ga11e7a466cb1a43b36026a751364ae564">Dune::ios_base_all_saver::restore</a></div><div·class="ttdeci">void·restore()</div><div·class="ttdoc">Restore·flags·now.</div><div·class="ttdef"><b>Definition:</b>·ios_state.cc:29</div></div> 
104 <div·class="ttc"·id="aa00397_html_gaab42b8e2cf5e10c794a7957e003edd76"><div·class="ttname"><a·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">Dune::ios_base_all_saver::state_type</a></div><div·class="ttdeci">std::ios_base·state_type</div><div·class="ttdoc">Export·type·of·object·we·save·the·state·for.</div><div·class="ttdef"><b>Definition:</b>·ios_state.hh:37</div></div> 
105 <div·class="ttc"·id="aa00397_html_gaba871722210fe56717056b5e32f46429"><div·class="ttname"><a·href="a00397.html#gaba871722210fe56717056b5e32f46429">Dune::ios_base_all_saver::ios_base_all_saver</a></div><div·class="ttdeci">ios_base_all_saver(state_type·&amp;ios_)</div><div·class="tt[·...·truncated·by·diffoscope;·len:·113,·SHA:·49e8a75d6f99f248f3b14a10600e248c685af08867be3f8e4c035fecc23722d3·...·]</div></div>140 <div·class="ttc"·id="aa00416_html_ga4f24bf6f596bf963429e084ecf3a0835"><div·class="ttname"><a·href="a00416.html#ga4f24bf6f596bf963429e084ecf3a0835">Dune::LocalIndexState</a></div><div·class="ttdeci">LocalIndexState</div><div·class="ttdoc">The·states·available·for·the·local·indices.[·...·truncated·by·diffoscope;·len:·60,·SHA:·84543272c28fd2e1937b095ea1c65e3453f10649f3c902e9c984cb00fa18f3a0·...·]</div></div>
 141 <div·class="ttc"·id="aa00416_html_ga7c8ea096790c7ac11677cae3f70659f0"><div·class="ttname"><a·href="a00416.html#ga7c8ea096790c7ac11677cae3f70659f0">Dune::LocalIndex::operator=</a></div><div·class="ttdeci">LocalIndex·&amp;·operator=(std::size_t·index)</div><div·class="ttdoc">Assign·a·new·local·index.</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:105</div></div>
 142 <div·class="ttc"·id="aa00416_html_gaa2f125895bda6b0c9d9cf8d8aa7e6946"><div·class="ttname"><a·href="a00416.html#gaa2f125895bda6b0c9d9cf8d8aa7e6946">Dune::LocalIndex::state</a></div><div·class="ttdeci">LocalIndexState·state()·const</div><div·class="ttdoc">Get·the·state.</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:110</div></div>
 143 <div·class="ttc"·id="aa00416_html_gae0ef0e636fb6deeca4abc05240f74289"><div·class="ttname"><a·href="a00416.html#gae0ef0e636fb6deeca4abc05240f74289">Dune::LocalIndex::local</a></div><div·class="ttdeci">const·std::size_t·&amp;·local()·const</div><div·class="ttdoc">get·the·local·index.</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:97</div></div>
 144 <div·class="ttc"·id="aa00416_html_gae134fe3358bd66ec666029d570bdb5c1"><div·class="ttname"><a·href="a00416.html#gae134fe3358bd66ec666029d570bdb5c1">Dune::LocalIndex::setState</a></div><div·class="ttdeci">void·setState(LocalIndexState·state)</div><div·class="ttdoc">Set·the·state.</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:114</div></div>
 145 <div·class="ttc"·id="aa00416_html_gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5"><div·class="ttname"><a·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835a10e7469c306a6a1cc9c8c89ce65b09f5">Dune::VALID</a></div><div·class="ttdeci">@·VALID</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:28</div></div>
 146 <div·class="ttc"·id="aa00416_html_gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02"><div·class="ttname"><a·href="a00416.html#gga4f24bf6f596bf963429e084ecf3a0835ab8c498280a429843d8eaa93ddfb8fb02">Dune::DELETED</a></div><div·class="ttdeci">@·DELETED</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:28</div></div>
106 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>147 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
107 <div·class="ttc"·id="aa01872_html"><div·class="ttname"><a·href="a01872.html">Dune::ios_base_all_saver</a></div><div·class="ttdoc">Utility·class·for·storing·and·resetting·stream·attributes.</div><div·class="ttdef"><b>Definition:</b>·ios_state.hh:34</div></div>148 <div·class="ttc"·id="aa02156_html"><div·class="ttname"><a·href="a02156.html">Dune::LocalIndex</a></div><div·class="ttdoc">An·index·present·on·the·local·process.</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:35</div></div>
 149 <div·class="ttc"·id="aa02156_html_a0da12322a253fc5169fbe2ed1c718cc7"><div·class="ttname"><a·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">Dune::LocalIndex::LocalIndex</a></div><div·class="ttdeci">LocalIndex()</div><div·class="ttdoc">Constructor.·known·to·other·processes.</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:41</div></div>
 150 <div·class="ttc"·id="aa02156_html_a320964a5a6fa1425f4b7ab2dc219d748"><div·class="ttname"><a·href="a02156.html#a320964a5a6fa1425f4b7ab2dc219d748">Dune::LocalIndex::LocalIndex</a></div><div·class="ttdeci">LocalIndex(std::size_t·index)</div><div·class="ttdoc">Constructor.</div><div·class="ttdef"><b>Definition:</b>·localindex.hh:49</div></div>
108 </div><!--·fragment·--></div><!--·contents·-->151 </div><!--·fragment·--></div><!--·contents·-->
109 <!--·start·footer·part·-->152 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>153 <hr·class="footer"/><address·class="footer"><small>
Max diff block lines reached; 38/23746 bytes (0.16%) of diff not shown.
4.06 KB
html2text {}
    
Offset 4, 66 lines modifiedOffset 4, 123 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ios_state.hh7 ····*·parallel
 8 localindex.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 15 ·5
14 ·5#ifndef·DUNE_COMMON_IOS_STATE_HH16 ·6#ifndef·DUNE_COMMON_LOCALINDEX_HH
15 ·6#define·DUNE_COMMON_IOS_STATE_HH17 ·7#define·DUNE_COMMON_LOCALINDEX_HH
16 ·7 
17 ·8#include·<ios> 
18 ·918 ·8
 19 ·9#include·<cstddef>
 20 ·10
19 ·10namespace·Dune·{21 ·11namespace·Dune
20 33·class·ios_base_all_saver22 ·12{
 23 ·13
 24 ·14
 25 28·enum·LocalIndexState·{VALID,·DELETED};
 26 ·29
 27 ·30
 28 34·class·LocalIndex
21 ·34·{29 ·35·{
22 ·35·public:30 ·36·public:
23 37·typedef·std::ios_base·state_type; 
24 ·38 
25 ·48·ios_base_all_saver(state_type&·ios_); 
26 ·49 
27 ·53·~ios_base_all_saver(); 
28 ·54 
29 ·61·void·restore(); 
30 ·6231 41·LocalIndex()·:
 32 ·42·localIndex_(0),·state_(VALID){}
 33 ·43
 34 ·44
 35 49·LocalIndex(std::size_t·index)·:
 36 ·50·localIndex_(index),·state_(VALID){}
 37 ·55·inline·const·std::size_t&·local()·const;
 38 ·56
 39 ·60·inline·operator·std::size_t()·const;
 40 ·61
 41 ·67·inline·LocalIndex&·operator=(std::size_t·index);
 42 ·68
 43 ·73·inline·LocalIndexState·state()·const;
 44 ·74
 45 ·79·inline·void·setState(LocalIndexState·state);
 46 ·80
31 ·63·private:47 ·81·private:
32 ·65·state_type&·ios; 
33 ·67·state_type::fmtflags·oldflags; 
34 ·69·std::streamsize·oldprec; 
35 ·71·std::streamsize·oldwidth; 
36 ·72·}; 
37 ·73 
38 ·75} 
39 ·76 
40 ·77#endif·//·DUNE_COMMON_IOS_STATE_HH 
41 Dune::ios_base_all_saver::~ios_base_all_saver 
42 ~ios_base_all_saver() 
43 Destructor·that·restores·the·flags·stored·by·the·constructor. 
44 Definition:·ios_state.cc:24 
45 Dune::ios_base_all_saver::restore 
46 void·restore() 
47 Restore·flags·now. 
48 Definition:·ios_state.cc:29 
49 Dune::ios_base_all_saver::state_type 
50 std::ios_base·state_type 
51 Export·type·of·object·we·save·the·state·for. 
52 Definition:·ios_state.hh:37 
53 Dune::ios_base_all_saver::ios_base_all_saver 
54 ios_base_all_saver(state_type·&ios_) 
55 Constructor·that·stores·the·currently·used·flags. 
56 Definition:·ios_state.cc:1948 ·83·std::size_t·localIndex_;
 49 ·84
 50 ·91·char·state_;
 51 ·92
 52 ·93·};
 53 ·94
 54 ·95
 55 ·96
 56 97·inline·const·std::size_t&·LocalIndex::local()·const·{
 57 ·98·return·localIndex_;
 58 ·99·}
 59 ·100
 60 101·inline·LocalIndex::operator·std::size_t()·const·{
 61 ·102·return·localIndex_;
 62 ·103·}
 63 ·104
 64 105·inline·LocalIndex&·LocalIndex::operator=(std::size_t·index){
 65 ·106·localIndex_·=·index;
 66 ·107·return·*this;
 67 ·108·}
 68 ·109
 69 110·inline·LocalIndexState·LocalIndex::state()·const·{
 70 ·111·return·static_cast<LocalIndexState>(state_);
 71 ·112·}
 72 ·113
 73 114·inline·void·LocalIndex::setState(LocalIndexState·state){
 74 ·115·state_·=·static_cast<char>(state);
 75 ·116·}
 76 ·117
 77 ·120}·//·namespace·Dune
 78 ·121
 79 ·122#endif
 80 Dune::LocalIndexState
 81 LocalIndexState
 82 The·states·available·for·the·local·indices.
 83 Definition:·localindex.hh:28
 84 Dune::LocalIndex::operator=
 85 LocalIndex·&·operator=(std::size_t·index)
 86 Assign·a·new·local·index.
 87 Definition:·localindex.hh:105
 88 Dune::LocalIndex::state
 89 LocalIndexState·state()·const
 90 Get·the·state.
 91 Definition:·localindex.hh:110
 92 Dune::LocalIndex::local
 93 const·std::size_t·&·local()·const
Max diff block lines reached; 593/4135 bytes (14.34%) of diff not shown.
10.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00320.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·parameterizedobject.hh·File·Reference</title>8 <title>dune-common:·plocalindex.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 43 lines modifiedOffset 58, 67 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh·File·Reference</div></div>71 <a·href="#func-members">Functions</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">plocalindex.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
74 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/> 
 75 <p>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.··
 76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00317_source.html">localindex.hh</a>&quot;</code><br·/>
 78 <code>#include·&quot;<a·class="el"·href="a00314_source.html">indexset.hh</a>&quot;</code><br·/>
 79 <code>#include·&quot;<a·class="el"·href="a00365_source.html">mpitraits.hh</a>&quot;</code><br·/>
75 <code>#include·&lt;map&gt;</code><br·/>80 <code>#include·&lt;iostream&gt;</code><br·/>
76 <code>#include·&lt;memory&gt;</code><br·/> 
77 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
78 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/> 
79 </div>81 </div>
80 <p><a·href="a00320_source.html">Go·to·the·source·code·of·this·file.</a></p>82 <p><a·href="a00320_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <table·class="memberdecls">83 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
83 Classes</h2></td></tr>85 Classes</h2></td></tr>
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02332.html">Dune::ParameterizedObjectFactory&lt;·TypeT(Args...),·KeyT·&gt;</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02220.html">Dune::ParallelLocalIndex&lt;·T·&gt;</a></td></tr>
 87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·index·present·on·the·local·process·with·an·additional·attribute·flag.··<a·href="a02220.html#details">More...</a><br·/></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02224.html">Dune::LocalIndexComparator&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</a></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02228.html">Dune::MPITraits&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</a></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
88 Namespaces</h2></td></tr>95 Namespaces</h2></td></tr>
89 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>96 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
90 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>97 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 </table><table·class="memberdecls">
 100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 101 Functions</h2></td></tr>
 102 <tr·class="memitem:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 103 <tr·class="memitem:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga1cc47465a5be4434d0f4d5a99f56f952">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·ParallelLocalIndex&lt;·T·&gt;·&amp;index)</td></tr>
 104 <tr·class="memdesc:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Print·the·local·index·to·a·stream.··<a·href="a00416.html#ga1cc47465a5be4434d0f4d5a99f56f952">More...</a><br·/></td></tr>
 105 <tr·class="separator:ga1cc47465a5be4434d0f4d5a99f56f952"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 106 <tr·class="memitem:ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 107 <tr·class="memitem:ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga3f656ae09bca24998c26b42304a9d1b2">Dune::operator==</a>·(const·ParallelLocalIndex&lt;·T·&gt;·&amp;p1,·const·ParallelLocalIndex&lt;·T·&gt;·&amp;p2)</td></tr>
 108 <tr·class="separator:ga3f656ae09bca24998c26b42304a9d1b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:ga773d38fd187016eb6fef134776f7d761"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
 110 <tr·class="memitem:ga773d38fd187016eb6fef134776f7d761"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga773d38fd187016eb6fef134776f7d761">Dune::operator!=</a>·(const·ParallelLocalIndex&lt;·T·&gt;·&amp;p1,·const·ParallelLocalIndex&lt;·T·&gt;·&amp;p2)</td></tr>
 111 <tr·class="separator:ga773d38fd187016eb6fef134776f7d761"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table>112 </table>
 113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 114 <div·class="textblock"><p·>Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·</p>
 115 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
93 </div><!--·contents·-->116 </div></div><!--·contents·-->
94 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
96 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
97 </small></address>120 </small></address>
98 </body>121 </body>
99 </html>122 </html>
1.81 KB
html2text {}
    
Offset 4, 25 lines modifiedOffset 4, 53 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces8 Classes·|·Namespaces·|·Functions
8 parameterizedobject.hh·File·Reference 
9 #include·<functional> 
10 #include·<map> 
11 #include·<memory> 
12 #include·<dune/common/exceptions.hh> 
13 #include·<dune/common/typeutilities.hh>9 plocalindex.hh·File·Reference
 10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed
 12 computing.·More...
 13 #include·"localindex.hh"
 14 #include·"indexset.hh"
 15 #include·"mpitraits.hh"
 16 #include·<iostream>
14 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
15 ·Classes18 ·Classes
16 class· Dune::ParameterizedObjectFactory<_TypeT(Args...),_KeyT_>19 ·class· Dune::ParallelLocalIndex<_T_>
 20  ·······An·index·present·on·the·local·process·with·an·additional·attribute
 21 ·········flag.·More...
 22  
 23 struct· Dune::LocalIndexComparator<_ParallelLocalIndex<_T_>_>
 24  
 25 ·class· Dune::MPITraits<_ParallelLocalIndex<_T_>_>
17  26  
18 ·Namespaces27 ·Namespaces
19 namespace· Dune28 namespace· Dune
20  ··········Dune·namespace.29  ··········Dune·namespace.
21  30  
 31 ·Functions
 32 template<class·T·>
 33 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·ParallelLocalIndex<·T
 34 ················>·&index)
 35  ··············Print·the·local·index·to·a·stream.·More...
 36  
 37 template<typename·T·>
 38 ··········bool Dune::operator==·(const·ParallelLocalIndex<·T·>·&p1,·const
 39 ················ParallelLocalIndex<·T·>·&p2)
 40  
 41 template<typename·T·>
 42 ··········bool Dune::operator!=·(const·ParallelLocalIndex<·T·>·&p1,·const
 43 ················ParallelLocalIndex<·T·>·&p2)
 44  
 45 *****·Detailed·Description·*****
 46 Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed
 47 computing.
 48 ··Author
 49 ······Markus·Blatt
  
22 ===============================================================================50 ===============================================================================
23 ·····Generated·by [doxygen]·1.9.451 ·····Generated·by [doxygen]·1.9.4
89.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00320_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·parameterizedobject.hh·Source·File</title>8 <title>dune-common:·plocalindex.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 167 lines modifiedOffset 58, 268 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">parameterizedobject.hh</div></div>68 ··<div·class="headertitle"><div·class="title">plocalindex.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00320.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·4·-*-</span></div>71 <a·href="a00320.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=4·sts=4:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_PLOCALINDEX_HH</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_PLOCALINDEX_HH</span></div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00317.html">localindex.hh</a>&quot;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00314.html">indexset.hh</a>&quot;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00365.html">mpitraits.hh</a>&quot;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/typeutilities.hh</a>&gt;</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>
87 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Signature,</div> 
88 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·········<span·class="keyword">typename</span>·KeyT·=·std::string&gt;</div> 
89 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a02328.html">···36</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02328.html">ParameterizedObjectFactory</a>;</div> 
90 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;·<span·class="keyword">class·</span>ParallelLocalIndex;</div>
 90 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
91 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TypeT,</div>91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02220.html#ad95d6f6108cf08fa330b75ed64764b76">···37</a></span>··std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream&amp;·os,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;T&gt;</a>&amp;·index)</div>
92 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·········<span·class="keyword">typename</span>·KeyT,</div>93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··{</div>
 94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····os&lt;&lt;<span·class="stringliteral">&quot;{local=&quot;</span>&lt;&lt;index.localIndex_&lt;&lt;<span·class="stringliteral">&quot;,·attr=&quot;</span>&lt;&lt;T(index.attribute_)&lt;&lt;<span·class="stringliteral">&quot;,·public=&quot;</span></div>
 95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····&lt;&lt;(index.public_·?·true·:·<span·class="keyword">false</span>)&lt;&lt;<span·class="stringliteral">&quot;}&quot;</span>;</div>
93 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·········<span·class="keyword">typename</span>...·Args&gt;</div>96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keywordflow">return</span>·os;</div>
94 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02332.html">···41</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a02328.html">ParameterizedObjectFactory</a>&lt;TypeT(Args...),·KeyT&gt;</div> 
95 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>{</div>97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··}</div>
96 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">public</span>:</div> 
97 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
98 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">···46</a></span>········<span·class="keyword">typedef</span>·KeyT·<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5"[·...·truncated·by·diffoscope;·len:·8,·SHA:·1192a9d1905effed1925b540a8900858ea7e41e66a2232e2f0229814b145eb65·...·];</div>99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02220.html">···48</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex</a></div>
99 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··{</div>
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">···49</a></span>········<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">Type<[·...·truncated·by·diffoscope;·len:·12,·SHA:·179f1f1586b33be6404263c977b74ad45e091093ddae2502b455deaff1b6559a·...·]</div>102 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 103 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="comment">//·friend·declaration·needed·for·MPITraits</span></div>
 104 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">friend</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&lt;<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex</a>&lt;T&gt;·&gt;;</div>
 105 <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="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">friend</span>·std::ostream&amp;·operator&lt;&lt;&lt;&gt;(std::ostream&amp;·os,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex&lt;T&gt;</a>&amp;·index);</div>
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">protected</span>:</div> 
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> 
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02332.html#a3f5f2a662743726e3353e0218a561e53">···53</a></span>········<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a02332.html#a3f5f2a662743726e3353e0218a561e53">Creator</a>·=·std::function&lt;<a·class="code·hl_typedef"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">Type</a>(Args...)&gt;;</div> 
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> 
106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div> 
107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a02332.html#a7ef9a565a54d9e5d45f7c0fe2b24a02c">···56</a></span>········<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a02332.html#a7ef9a565a54d9e5d45f7c0fe2b24a02c">has_proper_signature</a>(<a·class="code·hl_struct"·href="a03180.html">Dune::PriorityTag&lt;1&gt;</a>)</div> 
108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>············-&gt;·<span·class="keyword">decltype</span>(·std::declval&lt;F&gt;()(std::declval&lt;Args&gt;()...),·std::true_type())</div> 
109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>········{</div> 
110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>············<span·class="keywordflow">return</span>·{};</div> 
111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········}</div> 
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div> 
113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div> 
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02332.html#ac666739d6f79796e5ac2c92024889275">···63</a></span>········<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::false_type·<a·class="code·hl_function"·href="a02332.html#ac666739d6f79796e5ac2c92024889275">has_proper_signature</a>(<a·class="code·hl_struct"·href="a03184.html">Dune::PriorityTag&lt;0&gt;</a>)</div> 
115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········{</div> 
116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>············<span·class="keywordflow">return</span>·{};</div> 
117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········}</div> 
118 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
119 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">public</span>:</div>108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">public</span>:</div>
 109 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">···64</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>;</div>
 110 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<a·class="code·hl_function"·href="a00416.html#gae17e1ae024e8ef0dc1532125ae0296e9">ParallelLocalIndex</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>&amp;·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>);</div>
 111 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 112 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<a·class="code·hl_function"·href="a00416.html#gae17e1ae024e8ef0dc1532125ae0296e9">ParallelLocalIndex</a>(<span·class="keywordtype">size_t</span>·localIndex,·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>&amp;·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>=<span·class="keyword">true</span>);</div>
 113 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····<a·class="code·hl_function"·href="a00416.html#gae17e1ae024e8ef0dc1532125ae0296e9">ParallelLocalIndex</a>();</div>
120 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>114 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
121 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a02332.html#aadcc7f24a9298aa5197f423326d091db">···77</a></span>········<a·class="code·hl_typedef"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">Type</a>·<a·class="code·hl_function"·href="a02332.html#aadcc7f24a9298aa5197f423326d091db">create</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key,·Args·...·args)<span·class="keyword">·const·</span>{</div> 
122 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>············<span·class="keyword">typename</span>·Registry::const_iterator·i·=·registry_.find(key);</div> 
123 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>············<span·class="keywordflow">if</span>·(i·==·registry_.end())·{</div>115 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="preprocessor">#if·0</span></div>
 116 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<a·class="code·hl_function"·href="a00416.html#gae17e1ae024e8ef0dc1532125ae0296e9">ParallelLocalIndex</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>&amp;·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>,·<span·class="keywordtype">size_t</span>·<a·class="code·hl_function"·href="a00416.html#ga4b260e0b49fdbdeec3c139fcfcc03518">local</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00416.html#ga2554ad11aabc31785663a4f396030d9c">isPublic</a>);</div>
124 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>················<a·class="code·hl_define"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>(<a·class="code·hl_class"·href="a01580.html">Dune::InvalidStateException</a>,</div> 
125 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····················<span·class="stringliteral">&quot;ParametrizedObjectFactory:·key·``&quot;</span>·&lt;&lt;</div> 
126 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····················key·&lt;&lt;·<span·class="stringliteral">&quot;&#39;&#39;·not·registered&quot;</span>);</div> 
127 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>············}</div> 
128 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>············<span·class="keywordflow">else</span>·<span·class="keywordflow">return</span>·i-&gt;second(args...);</div> 
129 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>········}</div> 
130 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
131 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>········<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Impl&gt;</div> 
132 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a02332.html#abca3df0669dfa457239527d12db10723">··101</a></span>········<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02332.html#abca3df0669dfa457239527d12db10723">define</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key)</div> 
133 <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><span·class="preprocessor">#endif</span></div>
134 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>············registry_[key]·=·DefaultCreator&lt;Impl&gt;();</div> 
135 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········}</div> 
136 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>118 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 119 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>····<span·class="keyword">inline</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a>·<a·class="code·hl_function"·href="a00416.html#gaee488b2250ba0a999ebfc6231d3cbd96">attribute</a>()·<span·class="keyword">const</span>;</div>
137 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>········<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>F,</div> 
138 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>············<span·class="keyword">typename</span>·std::enable_if&lt;has_proper_signature&lt;F&gt;(<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;42&gt;</a>()),·<span·class="keywordtype">int</span>&gt;::type·=·0&gt;</div> 
139 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno"><a·class="line"·href="a02332.html#abeaa3e42a83948fd675029d7a09d88cd">··121</a></span>········<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02332.html#abeaa3e42a83948fd675029d7a09d88cd">define</a>(<a·class="code·hl_typedef"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a>·<span·class="keyword">const</span>&amp;·key,·F&amp;&amp;·f)</div> 
140 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>········{</div> 
141 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>············registry_[key]·=·f;</div> 
142 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>········}</div> 
143 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> 
144 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>········<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>Impl,</div> 
145 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>············<span·class="keyword">typename</span>·std::enable_if&lt;</div> 
Max diff block lines reached; 36051/76771 bytes (46.96%) of diff not shown.
14.4 KB
html2text {}
    
Offset 4, 205 lines modifiedOffset 4, 327 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 parameterizedobject.hh7 ····*·parallel
 8 plocalindex.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·4·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=4·sts=4:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_PARAMETERIZEDOBJECT_HH 
15 ·6#define·DUNE_COMMON_PARAMETERIZEDOBJECT_HH 
16 ·7 
17 ·8#include·<functional> 
18 ·9#include·<map> 
19 ·10#include·<memory> 
20 ·11 
21 ·12#include·<dune/common/exceptions.hh> 
22 ·13#include·<dune/common/typeutilities.hh>15 ·5
 16 ·6#ifndef·DUNE_PLOCALINDEX_HH
 17 ·7#define·DUNE_PLOCALINDEX_HH
 18 ·8
 19 ·9#include·"localindex.hh"
 20 ·10#include·"indexset.hh"
 21 ·11#include·"mpitraits.hh"
 22 ·12
 23 ·13#include·<iostream>
23 ·1424 ·14
24 ·15namespace·Dune·{25 ·15namespace·Dune
25 ·1626 ·16{
 27 ·17
 28 ·18
 29 ·29·template<class·T>·class·ParallelLocalIndex;
 30 ·30
26 ·34template<typename·Signature, 
27 ·35·typename·KeyT·=·std::string> 
28 36class·ParameterizedObjectFactory; 
29 ·37 
30 ·38template<typename·TypeT, 
31 ·39·typename·KeyT, 
32 ·40·typename...·Args> 
33 41class·ParameterizedObjectFactory<TypeT(Args...),·KeyT> 
34 ·42{ 
35 ·43·public: 
36 ·44 
37 46·typedef·KeyT·Key; 
38 ·47 
39 49·using·Type·=·TypeT; 
40 ·50 
41 ·51·protected: 
42 ·52 
43 53·using·Creator·=·std::function<Type(Args...)>; 
44 ·54 
45 ·55·template<class·F> 
46 56·static·constexpr·auto·has_proper_signature(Dune::PriorityTag<1>) 
47 ·57·->·decltype(·std::declval<F>()(std::declval<Args>()...),·std::true_type()) 
48 ·58·{ 
49 ·59·return·{}; 
50 ·60·} 
51 ·61 
52 ·62·template<class·F>31 ·36·template<class·T>
53 63·static·constexpr·std::false_type·has_proper_signature(Dune::PriorityTag<0>)32 37·std::ostream&·operator<<(std::ostream&·os,·const·ParallelLocalIndex<T>&
 33 index)
 34 ·38·{
 35 ·39·os<<"{local="<<index.localIndex_<<",·attr="<<T(index.attribute_)<<",
 36 public="
 37 ·40·<<(index.public_·?·true·:·false)<<"}";
 38 ·41·return·os;
 39 ·42·}
 40 ·43
 41 ·47·template<typename·T>
 42 48·class·ParallelLocalIndex
54 ·64·{43 ·49·{
55 ·65·return·{}; 
56 ·66·} 
57 ·6744 ·50#if·HAVE_MPI
 45 ·51·//·friend·declaration·needed·for·MPITraits
 46 ·52·friend·struct·MPITraits<ParallelLocalIndex<T>·>;
 47 ·53#endif
 48 ·54·friend·std::ostream&·operator<<<>(std::ostream&·os,·const
 49 ParallelLocalIndex<T>&·index);
 50 ·55
58 ·68·public:51 ·56·public:
 52 64·typedef·T·Attribute;
 53 ·73·ParallelLocalIndex(const·Attribute&·attribute,·bool·isPublic);
 54 ·74
 55 ·83·ParallelLocalIndex(size_t·localIndex,·const·Attribute&·attribute,·bool
 56 isPublic=true);
 57 ·89·ParallelLocalIndex();
 58 ·90
 59 ·91#if·0
 60 ·101·ParallelLocalIndex(const·Attribute&·attribute,·size_t·local,·bool
 61 isPublic);
 62 ·102#endif
59 ·69 
60 77·Type·create(Key·const&·key,·Args·...·args)·const·{ 
61 ·78·typename·Registry::const_iterator·i·=·registry_.find(key); 
62 ·79·if·(i·==·registry_.end())·{ 
63 ·80·DUNE_THROW(Dune::InvalidStateException, 
64 ·81·"ParametrizedObjectFactory:·key·``"·<< 
65 ·82·key·<<·"''·not·registered"); 
66 ·83·} 
67 ·84·else·return·i->second(args...); 
68 ·85·} 
69 ·86 
70 ·100·template<class·Impl> 
71 101·void·define(Key·const&·key) 
72 ·102·{ 
73 ·103·registry_[key]·=·DefaultCreator<Impl>(); 
74 ·104·} 
75 ·10563 ·103
 64 ·108·inline·const·Attribute·attribute()·const;
76 ·119·template<class·F, 
77 ·120·typename·std::enable_if<has_proper_signature<F>(PriorityTag<42>()),·int>:: 
78 type·=·0> 
79 121·void·define(Key·const&·key,·F&&·f) 
80 ·122·{ 
81 ·123·registry_[key]·=·f; 
82 ·124·} 
83 ·125 
84 ·140·template<class·Impl, 
85 ·141·typename·std::enable_if< 
Max diff block lines reached; 8830/14743 bytes (59.89%) of diff not shown.
7.63 KB
./usr/share/doc/libdune-common-doc/doxygen/a00323.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·precision.hh·File·Reference</title>8 <title>dune-common:·selection.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 45 lines modifiedOffset 58, 53 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
71 ··<div·class="headertitle"><div·class="title">precision.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">selection.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.··74 <p>Provides·classes·for·selecting·indices·based·on·attribute·flags.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;stdlib.h&gt;</code><br·/>76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00314_source.html">indexset.hh</a>&quot;</code><br·/>
 77 <code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>
77 </div>78 </div>
78 <p><a·href="a00323_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00323_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">80 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
81 Classes</h2></td></tr>82 Classes</h2></td></tr>
 83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02264.html">Dune::SelectionIterator&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr>
 84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·const·iterator·over·an·uncached·selection.··<a·href="a02264.html#details">More...</a><br·/></td></tr>
 85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02268.html">Dune::UncachedSelection&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr>
 87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·uncached·selection·of·indices.··<a·href="a02268.html#details">More...</a><br·/></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02428.html">Dune::FMatrixPrecision&lt;·ctype·&gt;</a></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02272.html">Dune::Selection&lt;·TS,·TG,·TL,·N·&gt;</a></td></tr>
83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Precisions·for·calculations·with·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·and·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a>.··<a·href="a02428.html#details">More...</a><br·/></td></tr>90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·cached·selection·of·indices.··<a·href="a02272.html#details">More...</a><br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
87 Namespaces</h2></td></tr>94 Namespaces</h2></td></tr>
88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>98 </table>
92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
93 <div·class="textblock"><p·>Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.·</p>100 <div·class="textblock"><p·>Provides·classes·for·selecting·indices·based·on·attribute·flags.·</p>
 101 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
94 </div></div><!--·contents·-->102 </div></div><!--·contents·-->
95 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
97 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
98 </small></address>106 </small></address>
99 </body>107 </body>
100 </html>108 </html>
1.34 KB
html2text {}
    
Offset 4, 26 lines modifiedOffset 4, 36 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces8 Classes·|·Namespaces
8 precision.hh·File·Reference9 selection.hh·File·Reference
9 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector. 
10 More... 
11 #include·<stdlib.h>10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 Provides·classes·for·selecting·indices·based·on·attribute·flags.·More...
 12 #include·"indexset.hh"
 13 #include·<dune/common/iteratorfacades.hh>
12 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
13 ·Classes15 ·Classes
14 class· Dune::FMatrixPrecision<_ctype_> 
15  ······Precisions·for·calculations·with·FieldMatrix·and·FieldVector.·More...16 class· Dune::SelectionIterator<_TS,_TG,_TL,_N_>
 17  ······A·const·iterator·over·an·uncached·selection.·More...
 18  
 19 class· Dune::UncachedSelection<_TS,_TG,_TL,_N_>
 20  ······An·uncached·selection·of·indices.·More...
 21  
 22 class· Dune::Selection<_TS,_TG,_TL,_N_>
 23  ······A·cached·selection·of·indices.·More...
16  24  
17 ·Namespaces25 ·Namespaces
18 namespace· Dune26 namespace· Dune
19  ··········Dune·namespace.27  ··········Dune·namespace.
20  28  
21 *****·Detailed·Description·*****29 *****·Detailed·Description·*****
22 Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector.30 Provides·classes·for·selecting·indices·based·on·attribute·flags.
 31 ··Author
 32 ······Markus·Blatt
  
23 ===============================================================================33 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.434 ·····Generated·by [doxygen]·1.9.4
71.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00323_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·precision.hh·Source·File</title>8 <title>dune-common:·selection.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 60 lines modifiedOffset 58, 282 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">precision.hh</div></div>68 ··<div·class="headertitle"><div·class="title">selection.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00323.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00323.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_PRECISION_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_SELECTION_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_PRECISION_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_SELECTION_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;stdlib.h&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00314.html">indexset.hh</a>&quot;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00137.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>
82 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·ctype·=·<span·class="keywordtype">double</span>&gt;</div>83 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TS,·<span·class="keyword">typename</span>·TG,·<span·class="keyword">typename</span>·TL,·<span·class="keywordtype">int</sp[·...·truncated·by·diffoscope;·len:·5,·SHA:·eef3e1d2171f788480285c091379b72d6b2b7a5893b440a4f99d205db66c0775·...·]&gt;</div>
83 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02428.html">···25</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02428.html">FMatrixPrecision</a>·{</div>84 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02264.html">···28</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02264.html">SelectionIterator</a></div>
84 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">public</span>:</div> 
85 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02428.html#a554b13677982d46917bb1bd05f831aec">···28</a></span>····<span·class="keyword">static</span>·ctype·<a·class="code·hl_function"·href="a02428.html#a554b13677982d46917bb1bd05f831aec">absolute_limit</a>·()</div> 
86 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····{</div>85 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>
87 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······<span·class="keywordflow">return</span>·_absolute;</div>86 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">public</span>:</div>
88 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····}</div>87 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno"><a·class="line"·href="a02264.html#a879e7b4fc89ddd0e688db4b259a4d804">···39</a></span>····<span·class="keyword">typedef</span>·TS·<a·class="code·hl_typedef"·href="a02264.html#a879e7b4fc89ddd0e688db4b259a4d804">Attri[·...·truncated·by·diffoscope;·len:·12,·SHA:·cda4c300a94370efde819bc00045ef767568ea192285c493384849929b935bb2·...·]</div>
89 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>88 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
90 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02428.html#aae2188f98a4cc65afa86fc2e5d334b58">···34</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02428.html#aae2[·...·truncated·by·diffoscope;·len:·70,·SHA:·76904d4d0621ad31afe4c8102b86f8450438f30a731597566146c8827b614bd6·...·]</div>89 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02264.html#a886346234b927463117431b844788c1b">···44</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02104.html">Dune::ParallelIndexSet&lt;TG,TL,N&gt;</a>·<[·...·truncated·by·diffoscope;·len:·100,·SHA:·4d7d65fc4b01bc94b1ea6ee5b41ef97f0ef21f4b0d2ce2f1ea6b64ca2ddbbbff·...·]</div>
 90 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 91 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="comment">//typedef·typename·ParallelIndexSet::const_iterator·ParallelIndexSetIterator;</span></div>
 92 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 93 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02264.html#a69207e6abafc5c71bed706c9d7652634">···48</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01280.html">ConstArrayListIterator&lt;IndexPair&lt;TG,TL&gt;</a>,·N,·std::allocator&lt;Dune::IndexPair&lt;TG,TL&gt;·&gt;·&gt;·<a·class="code·hl_typedef"·href="a02264.html#a69207e6abafc5c71bed706c9d7652634">ParallelIndexSetIterator</a>;</div>
 94 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a02264.html#acd08f08f65bb42d180daa9b0e6270a6c">···54</a></span>····<a·class="code·hl_function"·href="a02264.html#acd08f08f65bb42d180daa9b0e6270a6c">SelectionIterator</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01280.html">ParallelIndexSetIterator</a>&amp;·iter,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01280.html">ParallelIndexSetIterator</a>&amp;·end)</div>
 95 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······:·iter_(iter),·end_(end)</div>
91 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····{</div>96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····{</div>
 97 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>······<span·class="comment">//·Step·to·the·first·valid·entry</span></div>
 98 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······<span·class="keywordflow">while</span>(iter_!=end_·&amp;&amp;·!AttributeSet::contains(iter_-&gt;local().attribute()))</div>
 99 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>········++iter_;</div>
92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······_absolute·=·absthres;</div>100 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····}</div>
 101 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 102 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a02264.html#a6b60c2d296b157b2c53a3409b3b19b6b">···62</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02264.html#a6b60c2d296b157b2c53a3409b3b19b6b">operator++</a>()</div>
 103 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····{</div>
 104 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······assert(iter_!=end_);</div>
 105 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordflow">for</span>(++iter_;·iter_!=end_;·++iter_)</div>
 106 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">if</span>(AttributeSet::contains(iter_-&gt;local().attribute()))</div>
 107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··········<span·class="keywordflow">break</span>;</div>
 108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····}</div>
 109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a02264.html#a83e85c7bcddd7a6ba6eb92fc81ced5e8">···71</a></span>····uint32_t·<a·class="code·hl_function"·href="a02264.html#a83e85c7bcddd7a6ba6eb92fc81ced5e8">operator*</a>()<span·class="keyword">·const</span></div>
 112 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="keyword">····</span>{</div>
 113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keywordflow">return</span>·iter_-&gt;local().local();</div>
93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····}</div>114 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>
94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">private</span>:</div> 
96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="comment">//·just·to·demonstrate·some·state·information</span></div> 
97 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">static</span>·ctype·_absolute;</div> 
98 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··};</div> 
99 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div> 
100 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·ctype&gt;</div> 
101 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··ctype·FMatrixPrecision&lt;ctype&gt;::_absolute·=·1E-80;</div> 
102 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div> 
103 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>}·<span·class="comment">//·end·namespace</span></div> 
104 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>115 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 116 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a02264.html#af5bffe9ea7846740bc5b4ff47376e6bf">···76</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02264.html#af5bffe9ea7846740bc5b4ff47376e6bf">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02264.html">SelectionIterator&lt;TS,TG,TL,N&gt;</a>&amp;·other)<span·class="keyword">·const</span></div>
 117 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span><span·class="keyword">····</span>{</div>
 118 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>······<span·class="keywordflow">return</span>·iter_·==·other.iter_;</div>
 119 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>····}</div>
 120 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 121 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a02264.html#addb28f6b9f5e759b68884156b3732fb0">···81</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02264.html#addb28f6b9f5e759b68884156b3732fb0">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02264.html">SelectionIterator&lt;TS,TG,TL,N&gt;</a>&amp;·other)<span·class="keyword">·const</span></div>
 122 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keyword">····</span>{</div>
 123 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">return</span>·iter_·!=·other.iter_;</div>
 124 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div>
 125 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>
 126 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">private</span>:</div>
 127 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<a·class="code·hl_typedef"·href="a02264.html#a69207e6abafc5c71bed706c9d7652634">ParallelIndexSetIterator</a>·iter_;</div>
 128 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02264.html#a69207e6abafc5c71bed706c9d7652634">ParallelIndexSetIterator</a>·end_;</div>
 129 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
 130 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 131 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 132 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TS,·<span·class="keyword">typename</span>·TG,·<span·class="keyword">typename</span>·TL,·<span·class="keywordtype">int</span>·N&gt;</div>
 133 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="a02268.html">···96</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02268.html">UncachedSelection</a></div>
 134 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··{</div>
 135 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">public</span>:</div>
 136 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a02268.html#a589f0ae8cab2af79028ade308825715a">··107</a></span>····<span·class="keyword">typedef</span>·TS·<a·class="code·hl_typedef"·href="a02268.html#a589f0ae8cab2af79028ade308825715a">AttributeSet</a>;</div>
 137 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>
 138 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a02268.html#a8748b8516080752715bf8549cf31ba7b">··112</a></span>····<span·class="keyword">typedef</span>·TG·<a·class="code·hl_typedef"·href="a02268.html#a8748b8516080752715bf8549cf31ba7b">GlobalIndex</a>;</div>
 139 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 140 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="a02268.html#ae440f5bd9baadebd5b0a0fbd185608c9">··120</a></span>····<span·class="keyword">typedef</span>·TL·<a·class="code·hl_typedef"·href="a02268.html#ae440f5bd9baadebd5b0a0fbd185608c9">LocalIndex</a>;</div>
 141 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div>
 142 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno"><a·class="line"·href="a02268.html#ae19f53347972a0957f323868c352de30">··125</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02104.html">Dune::ParallelIndexSet&lt;GlobalIndex,LocalIndex,N&gt;</a>·<a·class="code·hl_typedef"·href="a02268.html#ae19f53347972a0957f323868c352de30">ParallelIndexSet</a>;</div>
 143 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>·</div>
 144 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno"><a·class="line"·href="a02268.html#a45b943f9dd471f615e645b72d4562bf0">··130</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02264.html">SelectionIterator&lt;TS,TG,TL,N&gt;</a>·<a·class="code·hl_typedef"·href="a02268.html#a45b943f9dd471f615e645b72d4562bf0">iterator</a>;</div>
 145 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div>
 146 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a02268.html#a829c38da28747527728d2f8158ccffc0">··135</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02264.html">iterator</a>·<a·class="code·hl_typedef"·href="a02268.html#a829c38da28747527728d2f8158ccffc0">const_iterator</a>;</div>
 147 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>
 148 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="a02268.html#a41dbe000796d01366e593aaf53fefe3a">··137</a></span>····<a·class="code·hl_function"·href="a02268.html#a41dbe000796d01366e593aaf53fefe3a">UncachedSelection</a>()</div>
 149 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>······:·indexSet_()</div>
 150 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····{}</div>
 151 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div>
 152 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno"><a·class="line"·href="a02268.html#add165db1e1b8b728eb45dd9a59a6cb5a">··141</a></span>····<a·class="code·hl_function"·href="a02268.html#add165db1e1b8b728eb45dd9a59a6cb5a">UncachedSelection</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02104.html">ParallelIndexSet</a>&amp;·indexset)</div>
 153 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>······:·indexSet_(&amp;indexset)</div>
 154 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····{}</div>
 155 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#ga514215f2f4fbb39b9e8cf2b8ebbf5dce">setIndexSet</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02104.html">ParallelIndexSet</a>&amp;·indexset);</div>
Max diff block lines reached; 11289/60717 bytes (18.59%) of diff not shown.
11.9 KB
html2text {}
    
Offset 4, 62 lines modifiedOffset 4, 385 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 precision.hh7 ····*·parallel
 8 selection.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_PRECISION_HH15 ·5#ifndef·DUNE_SELECTION_HH
15 ·6#define·DUNE_PRECISION_HH16 ·6#define·DUNE_SELECTION_HH
16 ·717 ·7
17 ·12#include·<stdlib.h> 
18 ·1318 ·8#include·"indexset.hh"
 19 ·9#include·<dune/common/iteratorfacades.hh>
 20 ·10
19 ·14namespace·Dune·{21 ·11namespace·Dune
 22 ·12{
 23 ·27·template<typename·TS,·typename·TG,·typename·TL,·int·N>
 24 28·class·SelectionIterator
20 ·15 
21 ·24·template·<class·ctype·=·double> 
22 25·class·FMatrixPrecision·{ 
23 ·26·public: 
24 28·static·ctype·absolute_limit·() 
25 ·29·{25 ·29·{
26 ·30·return·_absolute;26 ·30·public:
 27 39·typedef·TS·AttributeSet;
 28 ·40
 29 44·typedef·Dune::ParallelIndexSet<TG,TL,N>·ParallelIndexSet;
 30 ·45
 31 ·46·//typedef·typename·ParallelIndexSet::const_iterator
 32 ParallelIndexSetIterator;
 33 ·47
 34 48·typedef·ConstArrayListIterator<IndexPair<TG,TL>,·N,·std::allocator<Dune::
 35 IndexPair<TG,TL>·>·>·ParallelIndexSetIterator;
 36 54·SelectionIterator(const·ParallelIndexSetIterator&·iter,·const
 37 ParallelIndexSetIterator&·end)
 38 ·55·:·iter_(iter),·end_(end)
 39 ·56·{
 40 ·57·//·Step·to·the·first·valid·entry
 41 ·58·while(iter_!=end_·&&·!AttributeSet::contains(iter_->local().attribute()))
 42 ·59·++iter_;
 43 ·60·}
 44 ·61
 45 62·void·operator++()
 46 ·63·{
 47 ·64·assert(iter_!=end_);
 48 ·65·for(++iter_;·iter_!=end_;·++iter_)
 49 ·66·if(AttributeSet::contains(iter_->local().attribute()))
 50 ·67·break;
 51 ·68·}
 52 ·69
 53 ·70
 54 71·uint32_t·operator*()·const
 55 ·72·{
 56 ·73·return·iter_->local().local();
 57 ·74·}
 58 ·75
 59 76·bool·operator==(const·SelectionIterator<TS,TG,TL,N>&·other)·const
 60 ·77·{
 61 ·78·return·iter_·==·other.iter_;
 62 ·79·}
 63 ·80
 64 81·bool·operator!=(const·SelectionIterator<TS,TG,TL,N>&·other)·const
 65 ·82·{
 66 ·83·return·iter_·!=·other.iter_;
 67 ·84·}
 68 ·85
 69 ·86·private:
 70 ·87·ParallelIndexSetIterator·iter_;
 71 ·88·const·ParallelIndexSetIterator·end_;
 72 ·89·};
 73 ·90
 74 ·91
 75 ·95·template<typename·TS,·typename·TG,·typename·TL,·int·N>
 76 96·class·UncachedSelection
 77 ·97·{
 78 ·98·public:
 79 107·typedef·TS·AttributeSet;
 80 ·108
 81 112·typedef·TG·GlobalIndex;
 82 ·113
 83 120·typedef·TL·LocalIndex;
 84 ·121
 85 125·typedef·Dune::ParallelIndexSet<GlobalIndex,LocalIndex,N>·ParallelIndexSet;
 86 ·126
 87 130·typedef·SelectionIterator<TS,TG,TL,N>·iterator;
 88 ·131
 89 135·typedef·iterator·const_iterator;
 90 ·136
 91 137·UncachedSelection()
 92 ·138·:·indexSet_()
 93 ·139·{}
 94 ·140
 95 141·UncachedSelection(const·ParallelIndexSet&·indexset)
 96 ·142·:·indexSet_(&indexset)
 97 ·143·{}
 98 ·148·void·setIndexSet(const·ParallelIndexSet&·indexset);
 99 ·149
 100 ·153·//const·ParallelIndexSet&·indexSet()·const;
 101 ·154
 102 ·159·const_iterator·begin()·const;
 103 ·160
 104 ·165·const_iterator·end()·const;
 105 ·166
 106 ·167
 107 ·168·private:
 108 ·169·const·ParallelIndexSet*·indexSet_;
 109 ·170
 110 ·171·};
 111 ·172
 112 ·176·template<typename·TS,·typename·TG,·typename·TL,·int·N>
 113 177·class·Selection
 114 ·178·{
 115 ·179·public:
 116 188·typedef·TS·AttributeSet;
 117 ·189
 118 193·typedef·TG·GlobalIndex;
 119 ·194
 120 201·typedef·TL·LocalIndex;
Max diff block lines reached; 4250/12211 bytes (34.80%) of diff not shown.
5.25 KB
./usr/share/doc/libdune-common-doc/doxygen/a00326.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·functional.hh·File·Reference</title>8 <title>dune-common:·mpicollectivecommunication.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 43 lines modifiedOffset 58, 24 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary"> 
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>··</div> 
71 ··<div·class="headertitle"><div·class="title">functional.hh·File·Reference</div></div>68 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh·File·Reference</div></div>
72 </div><!--header-->69 </div><!--header-->
73 <div·class="contents">70 <div·class="contents">
74 <div·class="textblock"><code>#include·&lt;functional&gt;</code><br·/>71 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>
75 </div>72 </div>
76 <p><a·href="a00326_source.html">Go·to·the·source·code·of·this·file.</a></p>73 <p><a·href="a00326_source.html">Go·to·the·source·code·of·this·file.</a></p>
77 <table·class="memberdecls"> 
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
79 Classes</h2></td></tr> 
80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02864.html">Dune::Std::identity</a></td></tr> 
81 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·function·object·type·whose·operator()·returns·its·argument·unchanged.··<a·href="a02864.html#details">More...</a><br·/></td></tr> 
82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
83 </table><table·class="memberdecls"> 
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
85 Namespaces</h2></td></tr> 
86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr> 
90 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 </table> 
93 </div><!--·contents·-->74 </div><!--·contents·-->
94 <!--·start·footer·part·-->75 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>76 <hr·class="footer"/><address·class="footer"><small>
96 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.477 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
97 </small></address>78 </small></address>
98 </body>79 </body>
99 </html>80 </html>
748 B
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 14 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
 8 mpicollectivecommunication.hh·File·Reference
 9 #include·<dune/common/parallel/mpicommunication.hh>
7 ····*·std 
8 Classes·|·Namespaces 
9 functional.hh·File·Reference 
10 #include·<functional> 
11 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
12 ·Classes 
13 struct· Dune::Std::identity 
14  ·······A·function·object·type·whose·operator()·returns·its·argument 
15 ·········unchanged.·More... 
16   
17 ·Namespaces 
18 namespace· Dune 
19  ··········Dune·namespace. 
20   
21 namespace· Dune::Std 
22  ··········Namespace·for·features·backported·from·new·C++·standards. 
23   
  
24 ===============================================================================11 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.412 ·····Generated·by [doxygen]·1.9.4
10.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00326_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·functional.hh·Source·File</title>8 <title>dune-common:·mpicollectivecommunication.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 52 lines modifiedOffset 58, 27 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">functional.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mpicollectivecommunication.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00326.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00326.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·8;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·ts=8·sw=2·et·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STD_FUNCTIONAL_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··<span·class="keyword">namespace·</span>Std</div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··{</div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
86 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#if·DUNE_HAVE_CXX_STD_IDENTITY</span></div> 
87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">using·</span>std::identity;</div> 
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#else·</span><span·class="comment">//DUNE_HAVE_CXX_STD_IDENTITY</span></div> 
89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02864.html">···25</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02864.html">identity</a>·{</div> 
90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">···27</a></span>······<span·class="keyword">constexpr</span>·T&amp;&amp;·<a·class="code·hl_function"·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">operator()</a>(T&amp;&amp;·t·)·<span·class="keyword">const</span>·<span·class="keyword">noexcept</span>·{<span·class="keywordflow">return</span>·std::forward&lt;T&gt;(t);}</div> 
92 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····};</div> 
93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div> 
94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··}·<span·class="comment">//·namespace·Std</span></div> 
95 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>}·<span·class="comment">//·namespace·Dune</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·Will·be·removed·after·the·2.7·release</span></div>
 74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#warning·&quot;Deprecated·header,·use·#include·&lt;dune/common/parallel/mpicommunication.hh&gt;·instead!&quot;</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00347.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div>
 76 <div·class="ttc"·id="aa00347_html"><div·class="ttname"><a·href="a00347.html">mpicommunication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.</div></div>
97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div> 
98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#endif·</span><span·class="comment">//·#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH</span></div> 
99 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div> 
100 <div·class="ttc"·id="aa02864_html"><div·class="ttname"><a·href="a02864.html">Dune::Std::identity</a></div><div·class="ttdoc">A·function·object·type·whose·operator()·returns·its·argument·unchanged.</div><div·class="ttdef"><b>Definition:</b>·functional.hh:25</div></div> 
101 <div·class="ttc"·id="aa02864_html_a01171400202cf7f1039454c787ed1e7a"><div·class="ttname"><a·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">Dune::Std::identity::operator()</a></div><div·class="ttdeci">constexpr·T·&amp;&amp;·operator()(T·&amp;&amp;t)·const·noexcept</div><div·class="ttdef"><b>Definition:</b>·functional.hh:27</div></div> 
102 </div><!--·fragment·--></div><!--·contents·-->77 </div><!--·fragment·--></div><!--·contents·-->
103 <!--·start·footer·part·-->78 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>79 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.480 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>81 </small></address>
107 </body>82 </body>
108 </html>83 </html>
1.85 KB
html2text {}
    
Offset 4, 51 lines modifiedOffset 4, 23 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 functional.hh7 ····*·parallel
 8 mpicollectivecommunication.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·8;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
11 ·2//·vi:·set·ts=8·sw=2·et·sts=2: 
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 13 ·3//·Will·be·removed·after·the·2.7·release
 14 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/
 15 mpicommunication.hh>·instead!"
 16 ·5#include·<dune/common/parallel/mpicommunication.hh>
 17 mpicommunication.hh
 18 Implements·an·utility·class·that·provides·MPI's·collective·communication
 19 methods.
15 ·5#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH 
16 ·6#define·DUNE_COMMON_STD_FUNCTIONAL_HH 
17 ·7 
18 ·8#include·<functional> 
19 ·9 
20 ·10namespace·Dune 
21 ·11{ 
22 ·12 
23 ·13·namespace·Std 
24 ·14·{ 
25 ·15 
26 ·22#if·DUNE_HAVE_CXX_STD_IDENTITY 
27 ·23·using·std::identity; 
28 ·24#else·//DUNE_HAVE_CXX_STD_IDENTITY 
29 25·struct·identity·{ 
30 ·26·template<class·T> 
31 27·constexpr·T&&·operator()(T&&·t·)·const·noexcept·{return·std::forward<T>(t);} 
32 ·28·}; 
33 ·29#endif 
34 ·30·}·//·namespace·Std 
35 ·31 
36 ·32}·//·namespace·Dune 
37 ·33 
38 ·34#endif·//·#ifndef·DUNE_COMMON_STD_FUNCTIONAL_HH 
39 Dune 
40 Dune·namespace. 
41 Definition:·alignedallocator.hh:13 
42 Dune::Std::identity 
43 A·function·object·type·whose·operator()·returns·its·argument·unchanged. 
44 Definition:·functional.hh:25 
45 Dune::Std::identity::operator() 
46 constexpr·T·&&·operator()(T·&&t)·const·noexcept 
47 Definition:·functional.hh:27 
  
48 ===============================================================================20 ===============================================================================
49 ·····Generated·by [doxygen]·1.9.421 ·····Generated·by [doxygen]·1.9.4
14.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00329.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·variant.hh·File·Reference</title>8 <title>dune-common:·indicessyncer.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 36 lines modifiedOffset 58, 86 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
69 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
70 ··<div·class="headertitle"><div·class="title">variant.hh·File·Reference</div></div>71 <a·href="#func-members">Functions</a>··</div>
 72 ··<div·class="headertitle"><div·class="title">indicessyncer.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
71 </div><!--header-->73 </div><!--header-->
72 <div·class="contents">74 <div·class="contents">
73 <div·class="textblock"><code>#include·&lt;variant&gt;</code><br·/> 
 75 <p>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.··
 76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00314_source.html">indexset.hh</a>&quot;</code><br·/>
 78 <code>#include·&quot;<a·class="el"·href="a00359_source.html">remoteindices.hh</a>&quot;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/sllist.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;cassert&gt;</code><br·/>
 82 <code>#include·&lt;cmath&gt;</code><br·/>
 83 <code>#include·&lt;limits&gt;</code><br·/>
 84 <code>#include·&lt;algorithm&gt;</code><br·/>
 85 <code>#include·&lt;functional&gt;</code><br·/>
 86 <code>#include·&lt;map&gt;</code><br·/>
 87 <code>#include·&lt;tuple&gt;</code><br·/>
74 </div>88 </div>
75 <p><a·href="a00329_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00329_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <table·class="memberdecls">90 <table·class="memberdecls">
 91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 92 Classes</h2></td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02120.html">Dune::IndicesSyncer&lt;·T·&gt;</a></td></tr>
 94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Class·for·recomputing·missing·indices·of·a·distributed·index·set.··<a·href="a02120.html#details">More...</a><br·/></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 </table><table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
78 Namespaces</h2></td></tr>98 Namespaces</h2></td></tr>
79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr> 
83 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>102 </table><table·class="memberdecls">
 103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 104 Functions</h2></td></tr>
 105 <tr·class="memitem:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 106 <tr·class="memitem:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gaf61fa30bf15e87a0f910b9068f775067">Dune::operator&lt;</a>·(const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:gaf61fa30bf15e87a0f910b9068f775067"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:gae5b7bd4e69ee01360e666f12913c1459"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 109 <tr·class="memitem:gae5b7bd4e69ee01360e666f12913c1459"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gae5b7bd4e69ee01360e666f12913c1459">Dune::operator&lt;</a>·(const·std::pair&lt;·TG,·TA·&gt;·&amp;i1,·const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i2)</td></tr>
 110 <tr·class="separator:gae5b7bd4e69ee01360e666f12913c1459"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 111 <tr·class="memitem:ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 112 <tr·class="memitem:ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga058ac87cbdd5c6c4bf3166e8f55efa30">Dune::operator==</a>·(const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr>
 113 <tr·class="separator:ga058ac87cbdd5c6c4bf3166e8f55efa30"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:ga94296b1fafb04cd392611a43968df582"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 115 <tr·class="memitem:ga94296b1fafb04cd392611a43968df582"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga94296b1fafb04cd392611a43968df582">Dune::operator!=</a>·(const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i1,·const·std::pair&lt;·TG,·TA·&gt;·&amp;i2)</td></tr>
 116 <tr·class="separator:ga94296b1fafb04cd392611a43968df582"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 117 <tr·class="memitem:ga300a4a465d5bb251de3953c682d314cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 118 <tr·class="memitem:ga300a4a465d5bb251de3953c682d314cb"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga300a4a465d5bb251de3953c682d314cb">Dune::operator==</a>·(const·std::pair&lt;·TG,·TA·&gt;·&amp;i2,·const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i1)</td></tr>
 119 <tr·class="separator:ga300a4a465d5bb251de3953c682d314cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:ga114537d071365593e8ec0ac11de6ac31"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 121 <tr·class="memitem:ga114537d071365593e8ec0ac11de6ac31"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga114537d071365593e8ec0ac11de6ac31">Dune::operator!=</a>·(const·std::pair&lt;·TG,·TA·&gt;·&amp;i2,·const·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&amp;i1)</td></tr>
 122 <tr·class="separator:ga114537d071365593e8ec0ac11de6ac31"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 123 <tr·class="memitem:gac603bb313a217401041e4afc6fe4fa3a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·,·typename·A1·&gt;·</td></tr>
 124 <tr·class="memitem:gac603bb313a217401041e4afc6fe4fa3a"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gac603bb313a217401041e4afc6fe4fa3a">Dune::storeGlobalIndicesOfRemoteIndices</a>·(std::map&lt;·int,·SLList&lt;·std::pair&lt;·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·&gt;,·A·&gt;·&gt;·&amp;globalMap,·const·RemoteIndices&lt;·T,·A1·&gt;·&amp;remoteIndices)</td></tr>
 125 <tr·class="memdesc:gac603bb313a217401041e4afc6fe4fa3a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Stores·the·corresponding·global·indices·of·the·remote·index·information.··<a·href="a00416.html#gac603bb313a217401041e4afc6fe4fa3a">More...</a><br·/></td></tr>
 126 <tr·class="separator:gac603bb313a217401041e4afc6fe4fa3a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 127 <tr·class="memitem:ga33d784101a8baf32ce462c484a90674c"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·typename·A·,·typename·A1·&gt;·</td></tr>
 128 <tr·class="memitem:ga33d784101a8baf32ce462c484a90674c"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga33d784101a8baf32ce462c484a90674c">Dune::repairLocalIndexPointers</a>·(std::map&lt;·int,·SLList&lt;·std::pair&lt;·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·&gt;,·A·&gt;·&gt;·&amp;globalMap,·RemoteIndices&lt;·T,·A1·&gt;·&amp;remoteIndices,·const·T·&amp;indexSet)</td></tr>
 129 <tr·class="memdesc:ga33d784101a8baf32ce462c484a90674c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Repair·the·pointers·to·the·local·indices·in·the·remote·indices.··<a·href="a00416.html#ga33d784101a8baf32ce462c484a90674c">More...</a><br·/></td></tr>
 130 <tr·class="separator:ga33d784101a8baf32ce462c484a90674c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>131 </table>
 132 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 133 <div·class="textblock"><p·>Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·</p>
 134 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
86 </div><!--·contents·-->135 </div></div><!--·contents·-->
87 <!--·start·footer·part·-->136 <!--·start·footer·part·-->
88 <hr·class="footer"/><address·class="footer"><small>137 <hr·class="footer"/><address·class="footer"><small>
89 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4138 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
90 </small></address>139 </small></address>
91 </body>140 </body>
92 </html>141 </html>
2.88 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 80 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 Namespaces 
9 variant.hh·File·Reference7 ····*·parallel
 8 Classes·|·Namespaces·|·Functions
 9 indicessyncer.hh·File·Reference
 10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local
 12 communication.·More...
 13 #include·"indexset.hh"
 14 #include·"remoteindices.hh"
 15 #include·<dune/common/stdstreams.hh>
 16 #include·<dune/common/sllist.hh>
 17 #include·<cassert>
 18 #include·<cmath>
 19 #include·<limits>
10 #include·<variant>20 #include·<algorithm>
 21 #include·<functional>
 22 #include·<map>
 23 #include·<tuple>
11 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
 25 ·Classes
 26 class· Dune::IndicesSyncer<_T_>
 27  ······Class·for·recomputing·missing·indices·of·a·distributed·index·set.
 28 ········More...
 29  
12 ·Namespaces30 ·Namespaces
13 namespace· Dune31 namespace· Dune
14  ··········Dune·namespace.32  ··········Dune·namespace.
15  33  
16 namespace· Dune::Std 
17  ··········Namespace·for·features·backported·from·new·C++·standards.34 ·Functions
 35 template<typename·TG·,·typename·TA·>
 36 bool Dune::operator<·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1,
 37 ······const·std::pair<·TG,·TA·>·&i2)
 38  
 39 template<typename·TG·,·typename·TA·>
 40 bool Dune::operator<·(const·std::pair<·TG,·TA·>·&i1,·const·IndexPair<·TG,
 41 ······ParallelLocalIndex<·TA·>·>·&i2)
 42  
 43 template<typename·TG·,·typename·TA·>
 44 bool Dune::operator==·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1,
 45 ······const·std::pair<·TG,·TA·>·&i2)
 46  
 47 template<typename·TG·,·typename·TA·>
 48 bool Dune::operator!=·(const·IndexPair<·TG,·ParallelLocalIndex<·TA·>·>·&i1,
 49 ······const·std::pair<·TG,·TA·>·&i2)
 50  
 51 template<typename·TG·,·typename·TA·>
 52 bool Dune::operator==·(const·std::pair<·TG,·TA·>·&i2,·const·IndexPair<·TG,
 53 ······ParallelLocalIndex<·TA·>·>·&i1)
 54  
 55 template<typename·TG·,·typename·TA·>
 56 bool Dune::operator!=·(const·std::pair<·TG,·TA·>·&i2,·const·IndexPair<·TG,
 57 ······ParallelLocalIndex<·TA·>·>·&i1)
 58  
 59 template<typename·T·,·typename·A·,·typename·A1·>
 60 void Dune::storeGlobalIndicesOfRemoteIndices·(std::map<·int,·SLList<·std::
 61 ······pair<·typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·>,·A·>·>
 62 ······&globalMap,·const·RemoteIndices<·T,·A1·>·&remoteIndices)
 63  ····Stores·the·corresponding·global·indices·of·the·remote·index·information.
 64 ······More...
 65  
 66 template<typename·T·,·typename·A·,·typename·A1·>
 67 void Dune::repairLocalIndexPointers·(std::map<·int,·SLList<·std::pair<
 68 ······typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute·>,·A·>·>
 69 ······&globalMap,·RemoteIndices<·T,·A1·>·&remoteIndices,·const·T·&indexSet)
 70  ····Repair·the·pointers·to·the·local·indices·in·the·remote·indices.·More...
18  71  
 72 *****·Detailed·Description·*****
 73 Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local
 74 communication.
 75 ··Author
 76 ······Markus·Blatt
  
19 ===============================================================================77 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.478 ·····Generated·by [doxygen]·1.9.4
209 KB
./usr/share/doc/libdune-common-doc/doxygen/a00329_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·variant.hh·Source·File</title>8 <title>dune-common:·indicessyncer.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 49 lines modifiedOffset 58, 996 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">variant.hh</div></div>68 ··<div·class="headertitle"><div·class="title">indicessyncer.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00329.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00329.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_VARIANT_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INDICESSYNCER_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STD_VARIANT_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INDICESSYNCER_HH</span></div>
Diff chunk too large, falling back to line-by-line diff (953 lines added, 19 lines removed)
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#warning·dune/common/std/variant.hh·is·deprecated·and·will·be·removed·after·Dune·2.8.\</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00314.html">indexset.hh</a>&quot;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">·Include·&lt;variant&gt;·instead</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00359.html">remoteindices.hh</a>&quot;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;variant&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00272.html">dune/common/sllist.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="keyword">namespace·</span>Std·{</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;limits&gt;</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··<span·class="keyword">using·</span>std::variant;</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>··<span·class="keyword">using·</span>std::visit;</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="keyword">using·</span>std::variant_size;</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">using·</span>std::variant_size_v;</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">std::get</a>;</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">using·</span>std::get_if;</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">using·</span>std::holds_alternative;</div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">using·</span>std::monostate;</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>}</div>93 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>}</div>94 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02120.html">···40</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02120.html">IndicesSyncer</a></div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>95 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div>96 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">public</span>:</div>
 97 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>
 98 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">···45</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a>;</div>
 99 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 100 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a00416.html#gae01c9c9d98e213ba18897c0fc69dba78">···48</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a02092.html">ParallelIndexSet::IndexPair</a>·<a·class="code·hl_typedef"·href="a00416.html#gae01c9c9d98e213ba18897c0fc69dba78">IndexPair</a>;</div>
 101 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga44992bb99b3f3f3d7c9badb9c7ff74c2">···51</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00416.html#gac025d93d84144d1ab5bcddfbc1760d53">ParallelIndexSet::GlobalIndex</a>·<a·class="code·hl_typedef"·href="a00416.html#ga44992bb99b3f3f3d7c9badb9c7ff74c2">GlobalIndex</a>;</div>
 103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 104 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga6087c4c3aa666ff87aa4ea4b9876646a">···54</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·ParallelIndexSet::LocalIndex::Attribute·<a·class="code·hl_typedef"·href="a00416.html#ga6087c4c3aa666ff87aa4ea4b9876646a">Attribute</a>;</div>
 105 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 106 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga1d307cac53327747eab59d2c3bae34ce">···59</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02236.html">Dune::RemoteIndices&lt;ParallelIndexSet&gt;</a>·<a·class="code·hl_typedef"·href="a00416.html#ga1d307cac53327747eab59d2c3bae34ce">RemoteIndices</a>;</div>
 107 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 108 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<a·class="code·hl_function"·href="a00416.html#ga8b032138e767af75563f7eab24eae18c">IndicesSyncer</a>(<a·class="code·hl_typedef"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a>&amp;·indexSet,</div>
 109 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··················<a·class="code·hl_class"·href="a02236.html">RemoteIndices</a>&amp;·remoteIndices);</div>
 110 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 111 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#gac6edb7facf4c4407f74982989e5f9980">sync</a>();</div>
 112 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 113 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T1&gt;</div>
 114 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a00416.html#gac6edb7facf4c4407f74982989e5f9980">sync</a>(T1&amp;·numberer);</div>
 115 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 116 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">private</span>:</div>
 117 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 118 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····<a·class="code·hl_typedef"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a>&amp;·indexSet_;</div>
 119 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
 120 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····<a·class="code·hl_class"·href="a02236.html">RemoteIndices</a>&amp;·remoteIndices_;</div>
 121 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>·</div>
 122 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····<span·class="keywordtype">char</span>**·sendBuffers_;</div>
 123 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>·</div>
 124 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>····<span·class="keywordtype">char</span>*·receiveBuffer_;</div>
 125 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div>
 126 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>····std::size_t*·sendBufferSizes_;</div>
 127 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div>
 128 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordtype">int</span>·receiveBufferSize_;·<span·class="comment">//·int·because·of·MPI</span></div>
 129 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 130 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>····<span·class="keyword">struct·</span>MessageInformation</div>
 131 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>····{</div>
 132 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a00416.html#gaed2d8f8eb828f89880dd0c34a11ae486">··122</a></span>······<a·class="code·hl_function"·href="a00416.html#gaed2d8f8eb828f89880dd0c34a11ae486">MessageInformation</a>()</div>
 133 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>········:·publish(),·pairs()</div>
 134 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······{}</div>
 135 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga33a819e22b0d3a4540505de7694bfa01">··126</a></span>······<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00416.html#ga33a819e22b0d3a4540505de7694bfa01">publish</a>;</div>
 136 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga54eb54f050784a2edf79b2d54527af7a">··131</a></span>······<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="a00416.html#ga54eb54f050784a2edf79b2d54527af7a">pairs</a>;</div>
 137 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>····};</div>
 138 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div>
 139 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<span·class="keyword">class·</span>DefaultNumberer</div>
 140 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>····{</div>
 141 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····<span·class="keyword">public</span>:</div>
 142 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno"><a·class="line"·href="a00416.html#gaa0f037d069f3afd0dea7ed07bc56b9f5">··145</a></span>······std::size_t·operator()([[maybe_unused]]·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00416.html#ga44992bb99b3f3f3d7c9badb9c7ff74c2">GlobalIndex</a>&amp;·global)</div>
 143 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>······{</div>
 144 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>········<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00428.html#a63c18a33653d80d902d11126c4547e0d">std::numeric_limits&lt;size_t&gt;::max</a>();</div>
 145 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>······}</div>
 146 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····};</div>
 147 <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>·</div>
 148 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>····MPI_Datatype·datatype_;</div>
 149 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div>
 150 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····<span·class="keywordtype">int</span>·rank_;</div>
 151 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div>
 152 <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02856.html">SLList&lt;std::pair&lt;GlobalIndex,Attribute&gt;</a>,·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02236.html#adb0868a0b9981ddfe44ce7952375f961">RemoteIndices::Allocator</a>&gt;·GlobalIndexList;</div>
 153 <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>·</div>
 154 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00397.html#gaac398614c243228cc0f7678b6c70007b">GlobalIndexList::ModifyIterator</a>·GlobalIndexModifier;</div>
 155 <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>·</div>
 156 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a02844.html">SLList&lt;GlobalIndex,·typename·RemoteIndices::Allocator&gt;::iterator</a></div>
 157 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>····GlobalIndexIterator;</div>
 158 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div>
 159 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>····<span·class="keyword">typedef</span>·std::map&lt;int,·GlobalIndexList&gt;·GlobalIndicesMap;</div>
 160 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div>
 161 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>····GlobalIndicesMap·globalMap_;</div>
 162 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno">··184</span>·</div>
 163 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno">··188</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02856.html">SLList&lt;bool,·typename·RemoteIndices::Allocator&gt;</a>·BoolList;</div>
 164 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>·</div>
 165 <div·class="line"><a·id="l00193"·name="l00193"></a><span·class="lineno">··193</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a00397.html#ga543a8c5a50d30cd488550f5e99161754">BoolList::iterator</a>·BoolIterator;</div>
 166 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno">··194</span>·</div>
Max diff block lines reached; 5041/174277 bytes (2.89%) of diff not shown.
38.7 KB
html2text {}
    
Offset 4, 48 lines modifiedOffset 4, 1171 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 variant.hh7 ····*·parallel
 8 indicessyncer.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_COMMON_STD_VARIANT_HH 
16 ·6#define·DUNE_COMMON_STD_VARIANT_HH15 ·5#ifndef·DUNE_INDICESSYNCER_HH
 16 ·6#define·DUNE_INDICESSYNCER_HH
Diff chunk too large, falling back to line-by-line diff (1098 lines added, 20 lines removed)
17 ·717 ·7
18 ·8#warning·dune/common/std/variant.hh·is·deprecated·and·will·be·removed·after18 ·8#include·"indexset.hh"
19 Dune·2.8.\19 ·9#include·"remoteindices.hh"
20 ·9·Include·<variant>·instead20 ·10#include·<dune/common/stdstreams.hh>
21 ·1021 ·11#include·<dune/common/sllist.hh>
22 ·11#include·<variant>22 ·12#include·<cassert>
23 ·1223 ·13#include·<cmath>
24 ·13namespace·Dune·{24 ·14#include·<limits>
25 ·14namespace·Std·{25 ·15#include·<algorithm>
26 ·15·using·std::variant;26 ·16#include·<functional>
27 ·16·using·std::visit;27 ·17#include·<map>
28 ·17·using·std::variant_size;28 ·18#include·<tuple>
29 ·18·using·std::variant_size_v;29 ·19
30 ·19·using·std::get;30 ·20#if·HAVE_MPI
31 ·20·using·std::get_if;31 ·21namespace·Dune
32 ·21·using·std::holds_alternative;32 ·22{
33 ·22·using·std::monostate;33 ·39·template<typename·T>
34 ·23}34 40·class·IndicesSyncer
35 ·24}35 ·41·{
36 ·2536 ·42·public:
37 ·26#endif37 ·43
 38 45·typedef·T·ParallelIndexSet;
 39 ·46
 40 48·typedef·typename·ParallelIndexSet::IndexPair·IndexPair;
 41 ·49
 42 51·typedef·typename·ParallelIndexSet::GlobalIndex·GlobalIndex;
 43 ·52
 44 54·typedef·typename·ParallelIndexSet::LocalIndex::Attribute·Attribute;
 45 ·55
 46 59·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices;
 47 ·60
 48 ·70·IndicesSyncer(ParallelIndexSet&·indexSet,
 49 ·71·RemoteIndices&·remoteIndices);
 50 ·72
 51 ·82·void·sync();
 52 ·83
 53 ·94·template<typename·T1>
 54 ·95·void·sync(T1&·numberer);
 55 ·96
 56 ·97·private:
 57 ·98
 58 ·100·ParallelIndexSet&·indexSet_;
 59 ·101
 60 ·103·RemoteIndices&·remoteIndices_;
 61 ·104
 62 ·106·char**·sendBuffers_;
 63 ·107
 64 ·109·char*·receiveBuffer_;
 65 ·110
 66 ·112·std::size_t*·sendBufferSizes_;
 67 ·113
 68 ·115·int·receiveBufferSize_;·//·int·because·of·MPI
 69 ·116
 70 ·120·struct·MessageInformation
 71 ·121·{
 72 122·MessageInformation()
 73 ·123·:·publish(),·pairs()
 74 ·124·{}
 75 126·int·publish;
 76 131·int·pairs;
 77 ·132·};
 78 ·133
 79 ·137·class·DefaultNumberer
 80 ·138·{
 81 ·139·public:
 82 145·std::size_t·operator()([[maybe_unused]]·const·GlobalIndex&·global)
 83 ·146·{
 84 ·147·return·std::numeric_limits<size_t>::max();
 85 ·148·}
 86 ·149·};
 87 ·150
 88 ·152·MPI_Datatype·datatype_;
 89 ·153
 90 ·155·int·rank_;
 91 ·156
 92 ·161·typedef·SLList<std::pair<GlobalIndex,Attribute>,·typename·RemoteIndices::
 93 Allocator>·GlobalIndexList;
 94 ·162
 95 ·164·typedef·typename·GlobalIndexList::ModifyIterator·GlobalIndexModifier;
 96 ·165
 97 ·169·typedef·typename·SLList<GlobalIndex,_typename_RemoteIndices::Allocator>::
 98 iterator
 99 ·170·GlobalIndexIterator;
 100 ·171
 101 ·173·typedef·std::map<int,·GlobalIndexList>·GlobalIndicesMap;
 102 ·174
 103 ·183·GlobalIndicesMap·globalMap_;
 104 ·184
 105 ·188·typedef·SLList<bool,_typename_RemoteIndices::Allocator>·BoolList;
 106 ·189
 107 ·193·typedef·typename·BoolList::iterator·BoolIterator;
 108 ·194
 109 ·196·typedef·typename·BoolList::ModifyIterator·BoolListModifier;
 110 ·197
 111 ·199·typedef·std::map<int,BoolList>·BoolMap;
 112 ·200
 113 ·205·BoolMap·oldMap_;
 114 ·206
 115 ·208·std::map<int,MessageInformation>·infoSend_;
 116 ·209
 117 ·211·typedef·typename·RemoteIndices::RemoteIndexList·RemoteIndexList;
 118 ·212
 119 ·214·typedef·typename·RemoteIndexList::ModifyIterator·RemoteIndexModifier;
 120 ·215
 121 ·217·typedef·Dune::RemoteIndex<GlobalIndex,Attribute>·RemoteIndex;
 122 ·218
 123 ·220·typedef·typename·RemoteIndexList::iterator·RemoteIndexIterator;
Max diff block lines reached; 1993/39574 bytes (5.04%) of diff not shown.
29.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00332.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·apply.hh·File·Reference</title>8 <title>dune-common:·mpi_collective_benchmark.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 36 lines modifiedOffset 58, 330 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li><li·class="navelem"><a·class="el"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html">benchmark</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
 69 <a·href="#func-members">Functions</a>·&#124;
69 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#var-members">Variables</a>··</div>
70 ··<div·class="headertitle"><div·class="title">apply.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">mpi_collective_benchmark.cc·File·Reference</div></div>
71 </div><!--header-->72 </div><!--header-->
72 <div·class="contents">73 <div·class="contents">
73 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;config.h&gt;</code><br·/>
74 </div> 
75 <p><a·href="a00332_source.html">Go·to·the·source·code·of·this·file.</a></p>75 <code>#include·&lt;iostream&gt;</code><br·/>
 76 <code>#include·&lt;iomanip&gt;</code><br·/>
 77 <code>#include·&lt;thread&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/timer.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00095_source.html">dune/common/parametertreeparser.hh</a>&gt;</code><br·/>
76 <table·class="memberdecls">82 </div><table·class="memberdecls">
 83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 84 Functions</h2></td></tr>
 85 <tr·class="memitem:afb912825e02284a6c9ff4f616d528d86"><td·class="memTemplParams"·colspan="2">template&lt;class·CC·&gt;·</td></tr>
 86 <tr·class="memitem:afb912825e02284a6c9ff4f616d528d86"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00332.html#afb912825e02284a6c9ff4f616d528d86">communicate</a>·(CC·&amp;cc)</td></tr>
 87 <tr·class="separator:afb912825e02284a6c9ff4f616d528d86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 88 <tr·class="memitem:aec1abd976c753f5575c4f77b754364b3"><td·class="memTemplParams"·colspan="2">template&lt;class·CC·&gt;·</td></tr>
 89 <tr·class="memitem:aec1abd976c753f5575c4f77b754364b3"><td·class="memTemplItemLeft"·align="right"·valign="top"><a·class="el"·href="a02076.html">Dune::Future</a>&lt;·void·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00332.html#aec1abd976c753f5575c4f77b754364b3">startCommunication</a>·(CC·&amp;cc)</td></tr>
 90 <tr·class="separator:aec1abd976c753f5575c4f77b754364b3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:a2346f2e9a9ad80d88d9bcec29ff6dd00"><td·class="memTemplParams"·colspan="2">template&lt;class·CC·&gt;·</td></tr>
 92 <tr·class="memitem:a2346f2e9a9ad80d88d9bcec29ff6dd00"><td·class="memTemplItemLeft"·align="right"·valign="top">double&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00332.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">runBlocking</a>·(CC·&amp;cc)</td></tr>
 93 <tr·class="separator:a2346f2e9a9ad80d88d9bcec29ff6dd00"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:abc473f2a6a96ee4a7a3c297d40a04bde"><td·class="memTemplParams"·colspan="2">template&lt;class·CC·&gt;·</td></tr>
 95 <tr·class="memitem:abc473f2a6a96ee4a7a3c297d40a04bde"><td·class="memTemplItemLeft"·align="right"·valign="top">double&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00332.html#abc473f2a6a96ee4a7a3c297d40a04bde">runNonblockingWait</a>·(CC·&amp;cc)</td></tr>
 96 <tr·class="separator:abc473f2a6a96ee4a7a3c297d40a04bde"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:a0387f700252c5cdfd84d8c48cb2c0f85"><td·class="memItemLeft"·align="right"·valign="top">std::tuple&lt;·double,·double·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#a0387f700252c5cdfd84d8c48cb2c0f85">runNonblockingSleep</a>·(decltype(<a·class="el"·href="a02208.html#a5dc7f84923245a6c68421fa2b3e4fa33">Dune::MPIHelper::getCommunication</a>())&amp;cc,·std::chrono::duration&lt;·double·&gt;·wait_time)</td></tr>
 98 <tr·class="separator:a0387f700252c5cdfd84d8c48cb2c0f85"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:abb79e76efc659a3c229218399ebc63bc"><td·class="memItemLeft"·align="right"·valign="top">std::tuple&lt;·double,·double·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#abb79e76efc659a3c229218399ebc63bc">runNonblockingActive</a>·(decltype(<a·class="el"·href="a02208.html#a5dc7f84923245a6c68421fa2b3e4fa33">Dune::MPIHelper::getCommunication</a>())&amp;cc,·std::chrono::duration&lt;·double·&gt;·wait_time)</td></tr>
 100 <tr·class="separator:abb79e76efc659a3c229218399ebc63bc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 <tr·class="memitem:a8fb837a19378e8d117d1b3f8a7b8fe3a"><td·class="memItemLeft"·align="right"·valign="top">std::tuple&lt;·double,·double·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">determineOverlap</a>·(std::function&lt;·std::tuple&lt;·double,·double·&gt;(std::chrono::duration&lt;·double·&gt;)&gt;·fun)</td></tr>
 102 <tr·class="separator:a8fb837a19378e8d117d1b3f8a7b8fe3a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 103 <tr·class="memitem:a463abe7d682b6ef6fc100e18d872d4e7"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#a463abe7d682b6ef6fc100e18d872d4e7">printHeader</a>·()</td></tr>
 104 <tr·class="separator:a463abe7d682b6ef6fc100e18d872d4e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:a32c829093c6e6df595cdee323470d482"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#a32c829093c6e6df595cdee323470d482">run</a>·(int·s)</td></tr>
 106 <tr·class="separator:a32c829093c6e6df595cdee323470d482"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 <tr·class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>·(int·argc,·char·**argv)</td></tr>
 108 <tr·class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 </table><table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a>
78 Namespaces</h2></td></tr>111 Variables</h2></td></tr>
79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>112 <tr·class="memitem:a27e2a51c9830747b1c6fd2825389fbae"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a02344.html">Dune::ParameterTree</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#a27e2a51c9830747b1c6fd282[·...·truncated·by·diffoscope;·len:·20,·SHA:·2fac52d6aff0d0c1297dc0e50df24563750461d9151c9654a3ede3ce86d29a93·...·]></td></tr>
 113 <tr·class="memdesc:a27e2a51c9830747b1c6fd2825389fbae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Benchmark·for·measure·the·possible·overlap·of·computation·and·communication·at·MPI·collective·communications.··<a·href="a00332.html#a27e2a51c9830747b1c6fd2825389fbae">More...</a><br·/></td></tr>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:a27e2a51c9830747b1c6fd2825389fbae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 115 <tr·class="memitem:a041dd892dba6b2c051d9ab750ef9f3c7"><td·class="memItemLeft"·align="right"·valign="top">std::vector&lt;·std::string·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html#a041dd892dba6b2c051d9ab750ef9f3c7">all_methods</a></td></tr>
82 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr> 
83 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr> 
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:a041dd892dba6b2c051d9ab750ef9f3c7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>117 </table>
 118 <h2·class="groupheader">Function·Documentation</h2>
 119 <a·id="afb912825e02284a6c9ff4f616d528d86"·name="afb912825e02284a6c9ff4f616d528d86"></a>
 120 <h2·class="memtitle"><span·class="permalink"><a·href="#afb912825e02284a6c9ff4f616d528d86">&#9670;&nbsp;</a></span>communicate()</h2>
  
 121 <div·class="memitem">
 122 <div·class="memproto">
 123 <div·class="memtemplate">
 124 template&lt;class·CC·&gt;·</div>
 125 ······<table·class="memname">
 126 ········<tr>
 127 ··········<td·class="memname">void·communicate·</td>
 128 ··········<td>(</td>
 129 ··········<td·class="paramtype">CC·&amp;&#160;</td>
 130 ··········<td·class="paramname"><em>cc</em></td><td>)</td>
 131 ··········<td></td>
 132 ········</tr>
 133 ······</table>
 134 </div><div·class="memdoc">
  
 135 </div>
 136 </div>
 137 <a·id="a8fb837a19378e8d117d1b3f8a7b8fe3a"·name="a8fb837a19378e8d117d1b3f8a7b8fe3a"></a>
 138 <h2·class="memtitle"><span·class="permalink"><a·href="#a8fb837a19378e8d117d1b3f8a7b8fe3a">&#9670;&nbsp;</a></span>determineOverlap()</h2>
  
 139 <div·class="memitem">
 140 <div·class="memproto">
 141 ······<table·class="memname">
 142 ········<tr>
 143 ··········<td·class="memname">std::tuple&lt;·double,·double·&gt;·determineOverlap·</td>
 144 ··········<td>(</td>
 145 ··········<td·class="paramtype">std::function&lt;·std::tuple&lt;·double,·double·&gt;(std::chrono::duration&lt;·double·&gt;)&gt;&#160;</td>
 146 ··········<td·class="paramname"><em>fun</em></td><td>)</td>
 147 ··········<td></td>
 148 ········</tr>
 149 ······</table>
 150 </div><div·class="memdoc">
  
 151 </div>
 152 </div>
 153 <a·id="a3c04138a5bfe5d72780bb7e82a18e627"·name="a3c04138a5bfe5d72780bb7e82a18e627"></a>
 154 <h2·class="memtitle"><span·class="permalink"><a·href="#a3c04138a5bfe5d72780bb7e82a18e627">&#9670;&nbsp;</a></span>main()</h2>
  
 155 <div·class="memitem">
 156 <div·class="memproto">
 157 ······<table·class="memname">
 158 ········<tr>
Max diff block lines reached; 271/23153 bytes (1.17%) of diff not shown.
6.34 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 147 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 Namespaces 
9 apply.hh·File·Reference7 ····*·parallel
 8 ····*·benchmark
 9 Functions·|·Variables
 10 mpi_collective_benchmark.cc·File·Reference
 11 #include·<config.h>
 12 #include·<iostream>
 13 #include·<iomanip>
10 #include·<tuple>14 #include·<thread>
11 Go_to_the_source_code_of_this_file. 
12 ·Namespaces 
13 namespace· Dune 
14  ··········Dune·namespace.15 #include·<dune/common/parallel/mpihelper.hh>
 16 #include·<dune/common/timer.hh>
 17 #include·<dune/common/parametertree.hh>
 18 #include·<dune/common/parametertreeparser.hh>
 19 ·Functions
 20 template<class·CC·>
 21 ························void communicate·(CC·&cc)
15  22  
16 namespace· Dune::Std 
17  ··········Namespace·for·features·backported·from·new·C++·standards.23 template<class·CC·>
 24 ········Dune::Future<·void·> startCommunication·(CC·&cc)
18  25  
 26 template<class·CC·>
 27 ······················double runBlocking·(CC·&cc)
 28  
 29 template<class·CC·>
 30 ······················double runNonblockingWait·(CC·&cc)
 31  
 32 std::tuple<·double,·double·> runNonblockingSleep·(decltype(Dune::MPIHelper::
 33 ······························getCommunication())&cc,·std::chrono::duration<
 34 ······························double·>·wait_time)
 35  
 36 std::tuple<·double,·double·> runNonblockingActive·(decltype(Dune::MPIHelper::
 37 ······························getCommunication())&cc,·std::chrono::duration<
 38 ······························double·>·wait_time)
 39  
 40 std::tuple<·double,·double·> determineOverlap·(std::function<·std::tuple<
 41 ······························double,·double·>(std::chrono::duration<·double
 42 ······························>)>·fun)
 43  
 44 ························void printHeader·()
 45  
 46 ························void run·(int·s)
 47  
 48 ·························int main·(int·argc,·char·**argv)
 49  
 50 ·Variables
 51 ·······Dune::ParameterTree options
 52 ····························Benchmark·for·measure·the·possible·overlap·of
 53  ··························computation·and·communication·at·MPI·collective
 54 ····························communications.·More...
 55  
 56 std::vector<·std::string·> all_methods
 57  
 58 *****·Function·Documentation·*****
 59 *****·◆ communicate()·*****
 60 template<class·CC·>
 61 void·communicate·(·CC·& cc·)
 62 *****·◆ determineOverlap()·*****
 63 std::tuple<·double,·double·>·(·std::function<·std::tuple<·double,·double·fun·)
 64 determineOverlap···············>(std::chrono::duration<·double·>)> 
 65 *****·◆ main()·*****
 66 int·main·(·int ····argc,
 67 ···········char·** argv 
 68 ·········)
 69 *****·◆ printHeader()·*****
 70 void·printHeader·(··)
 71 *****·◆ run()·*****
 72 void·run·(·int s·)
 73 *****·◆ runBlocking()·*****
 74 template<class·CC·>
 75 double·runBlocking·(·CC·& cc·)
 76 *****·◆ runNonblockingActive()·*****
 77 std::tuple<·double,·double·>·(·decltype(Dune::MPIHelper::·······cc,
 78 runNonblockingActive···········getCommunication())& 
 79 ·······························std::chrono::duration<·double·> wait_time 
 80 ·····························)
 81 *****·◆ runNonblockingSleep()·*****
 82 std::tuple<·double,·double·>·(·decltype(Dune::MPIHelper::·······cc,
 83 runNonblockingSleep············getCommunication())& 
 84 ·······························std::chrono::duration<·double·> wait_time 
 85 ·····························)
 86 *****·◆ runNonblockingWait()·*****
 87 template<class·CC·>
 88 double·runNonblockingWait·(·CC·& cc·)
 89 *****·◆ startCommunication()·*****
 90 template<class·CC·>
 91 Dune::Future<·void·>·startCommunication·(·CC·& cc·)
 92 *****·Variable·Documentation·*****
 93 *****·◆ all_methods·*****
 94 std::vector<std::string>·all_methods
 95 Initial·value:
 96 =·{"allreduce",
 97 "barrier",
 98 "broadcast",
 99 "gather",
 100 "allgather",
 101 "scatter"}
 102 *****·◆ options·*****
 103 Dune::ParameterTree·options
 104 Benchmark·for·measure·the·possible·overlap·of·computation·and·communication·at
 105 MPI·collective·communications.
 106 This·benchmark·is·inspired·by·the·sandia·micro·benchmark:·W.·Lawry,·C.·Wilson,
 107 A.·Maccabe,·R.·Brightwell.·COMB:·A·Portable·Benchmark·Suite·for·Assessing·MPI
 108 Overlap.·In·Proceedings·of·the·IEEE·International·Conference·on·Cluster
 109 Computing·(CLUSTER·2002),·p.·472,·2002.·http://www.cs.sandia.gov/smb/
 110 overhead.html
 111 The·following·communication·times·are·measured:·Blocking:·Blocking·call.·E.g.
 112 MPI_Allreduce·Nonblocking_wait·(NB_Wait):·Nonblocking·(e.g.·MPI_Iallreduce)
 113 call·directly·followed·by·MPI_Wait.·Nonblocking_sleep·(NB_Sleep):·Nonblocking
 114 call·followed·by·a·busy·wait·until·the·work·time·has·passed.·Then·MPI_Wait.
 115 Nonblocking_active·(NB_active):·Nonblocking·call·followed·by·a·basy·wait·where
 116 in·every·iteration·MPI_Test·is·called·until·the·work·time·has·passed.·The
 117 MPI_wait.
 118 The·overhead·is·computed·as·the·time·for·the·Nonblocking·call·plus·the·time·for
 119 MPI_Wait.·The·iteration·time·is·the·time·for·the·whole·communication.·The
 120 available·part·of·the·communication·time(avail(%))·is·computed·as·1-(overhead/
Max diff block lines reached; 116/6466 bytes (1.79%) of diff not shown.
25.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00335.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·type_traits.hh·File·Reference</title>8 <title>dune-common:·mpihelper.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 102 lines modifiedOffset 58, 72 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">mpihelper.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
71 <a·href="#typedef-members">Typedefs</a>·&#124; 
72 <a·href="#var-members">Variables</a>··</div> 
73 ··<div·class="headertitle"><div·class="title">type_traits.hh·File·Reference</div></div> 
74 </div><!--header-->72 </div><!--header-->
75 <div·class="contents">73 <div·class="contents">
  
 74 <p>Helpers·for·dealing·with·MPI.··
 75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 77 <code>#include·&lt;mpi.h&gt;</code><br·/>
 78 <code>#include·&lt;mutex&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00368_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>
77 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
78 <code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/visibility.hh</a>&gt;</code><br·/>
79 </div>83 </div>
80 <p><a·href="a00335_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00335_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <table·class="memberdecls">85 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
83 Classes</h2></td></tr>87 Classes</h2></td></tr>
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02868.html">Dune::Std::nonesuch</a></td></tr>88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html">Dune::FakeMPIHelper</a></td></tr>
85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·representing·a·lookup·failure·by·std::detected_or·and·friends.··<a·href="a02868.html#details">More...</a><br·/></td></tr> 
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02872.html">Dune::Std::conjunction&lt;·B·&gt;</a></td></tr> 
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">forms·the·logical·conjunction·of·the·type·traits·B...··<a·href="a02872.html#details">More...</a><br·/></td></tr>89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·fake·mpi·helper.··<a·href="a02204.html#details">More...</a><br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02876.html">Dune::Std::disjunction&lt;·B·&gt;</a></td></tr> 
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">forms·the·logical·disjunction·of·the·type·traits·B...··<a·href="a02876.html#details">More...</a><br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02880.html">Dune::Std::negation&lt;·B·&gt;</a></td></tr>91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html">Dune::MPIHelper</a></td></tr>
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">forms·the·logical·negation·of·the·type·traits·B...··<a·href="a02880.html#details">More...</a><br·/></td></tr>92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·real·mpi·helper.··<a·href="a02208.html#details">More...</a><br·/></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>96 Namespaces</h2></td></tr>
99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>97 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>98 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr> 
103 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr> 
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
105 </table><table·class="memberdecls"> 
106 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
107 Typedefs</h2></td></tr> 
108 <tr·class="memitem:gadb4713b99082ef169f74666e0ec7a46e"><td·class="memTemplParams"·colspan="2">template&lt;typename·Default·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
109 <tr·class="memitem:gadb4713b99082ef169f74666e0ec7a46e"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">Dune::Std::detected_or</a>·=·Impl::detector&lt;·Default,·void,·Op,·Args...·&gt;</td></tr> 
110 <tr·class="memdesc:gadb4713b99082ef169f74666e0ec7a46e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Detects·whether·<code>Op&lt;Args...&gt;</code>·is·valid·and·makes·the·result·available.··<a·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">More...</a><br·/></td></tr> 
111 <tr·class="separator:gadb4713b99082ef169f74666e0ec7a46e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
113 <tr·class="memitem:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">Dune::Std::is_detected</a>·=·typename·detected_or&lt;·nonesuch,·Op,·Args...·&gt;::value_t</td></tr> 
114 <tr·class="memdesc:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Detects·whether·<code>Op&lt;Args...&gt;</code>·is·valid.··<a·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">More...</a><br·/></td></tr> 
115 <tr·class="separator:gaccaa5104ef0c27be164435f42ef81fd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
117 <tr·class="memitem:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">Dune::Std::detected_t</a>·=·typename·detected_or&lt;·nonesuch,·Op,·Args...·&gt;::type</td></tr> 
118 <tr·class="memdesc:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Returns·<code>Op&lt;Args...&gt;</code>·if·that·is·valid;·otherwise·returns·nonesuch.··<a·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">More...</a><br·/></td></tr> 
119 <tr·class="separator:ga67b8ffda29f365419403a66e49ec0ffe"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="memTemplParams"·colspan="2">template&lt;typename·Default·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
121 <tr·class="memitem:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">Dune::Std::detected_or_t</a>·=·typename·detected_or&lt;·Default,·Op,·Args...·&gt;::type</td></tr> 
122 <tr·class="memdesc:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Returns·<code>Op&lt;Args...&gt;</code>·if·that·is·valid;·otherwise·returns·the·fallback·type·<code>Default</code>.··<a·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">More...</a><br·/></td></tr> 
123 <tr·class="separator:ga2f49a21b2f60f94fa8911db7e32c9703"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="memTemplParams"·colspan="2">template&lt;typename·Expected·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
125 <tr·class="memitem:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga6778de5ea60a45fdae6db8b6d8c8b6f7">Dune::Std::is_detected_exact</a>·=·std::is_same&lt;·Expected,·detected_t&lt;·Op,·Args...·&gt;·&gt;</td></tr> 
126 <tr·class="memdesc:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·whether·<code>Op&lt;Args...&gt;</code>·is·<code>Expected</code>·without·causing·an·error·if·<code>Op&lt;Args...&gt;</code>·is·invalid.··<a·href="a00406.html#ga6778de5ea60a45fdae6db8b6d8c8b6f7">More...</a><br·/></td></tr> 
127 <tr·class="separator:ga6778de5ea60a45fdae6db8b6d8c8b6f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
128 <tr·class="memitem:gaf26ed902d20da735bae252683a9ac5ce"><td·class="memTemplParams"·colspan="2">template&lt;typename·Target·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
129 <tr·class="memitem:gaf26ed902d20da735bae252683a9ac5ce"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gaf26ed902d20da735bae252683a9ac5ce">Dune::Std::is_detected_convertible</a>·=·std::is_convertible&lt;·Target,·detected_t&lt;·Op,·Args...·&gt;·&gt;</td></tr> 
130 <tr·class="memdesc:gaf26ed902d20da735bae252683a9ac5ce"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Checks·whether·<code>Op&lt;Args...&gt;</code>·is·convertible·to·<code>Target</code>·without·causing·an·error·if·<code>Op&lt;Args...&gt;</code>·is·invalid.··<a·href="a00406.html#gaf26ed902d20da735bae252683a9ac5ce">More...</a><br·/></td></tr> 
131 <tr·class="separator:gaf26ed902d20da735bae252683a9ac5ce"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:a32c28ddaa6975891910d73c3580ed0c1"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Fallback,·template&lt;·typename...·&gt;·class·TargetType,·typename...·Args&gt;·</td></tr> 
133 <tr·class="memitem:a32c28ddaa6975891910d73c3580ed0c1"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a32c28ddaa6975891910d73c3580ed0c1">Dune::detected_or_fallback_t</a>·=·Std::detected_or_t&lt;·decltype(detail::warningIfNotDefined&lt;·Std::detected_t&lt;·Fallback,·Args...·&gt;·&gt;(std::declval&lt;·const·Std::detected_t&lt;·TargetType,·Args...·&gt;·*·&gt;())),·TargetType,·Args...·&gt;</td></tr> 
134 <tr·class="memdesc:a32c28ddaa6975891910d73c3580ed0c1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·type·will·be·either·TargetType&lt;Args...&gt;·if·it·exists,·or·the·Fallback&lt;Args...&gt;·type.··<a·href="a00425.html#a32c28ddaa6975891910d73c3580ed0c1">More...</a><br·/></td></tr> 
135 <tr·class="separator:a32c28ddaa6975891910d73c3580ed0c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 </table><table·class="memberdecls"> 
137 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> 
138 Variables</h2></td></tr> 
139 <tr·class="memitem:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
140 <tr·class="memitem:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga9f0b8af5e80b339c8346a327f28bab33">Dune::Std::is_detected_v</a>·=·is_detected&lt;Op,Args...&gt;::value</td></tr> 
141 <tr·class="memdesc:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Detects·whether·<code>Op&lt;Args...&gt;</code>·is·valid·and·makes·the·result·available·as·a·value.··<a·href="a00406.html#ga9f0b8af5e80b339c8346a327f28bab33">More...</a><br·/></td></tr> 
142 <tr·class="separator:ga9f0b8af5e80b339c8346a327f28bab33"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
143 <tr·class="memitem:ga043d312181849f21d950de3f7198bac6"><td·class="memTemplParams"·colspan="2">template&lt;typename·Expected·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
144 <tr·class="memitem:ga043d312181849f21d950de3f7198bac6"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga043d312181849f21d950de3f7198bac6">Dune::Std::is_detected_exact_v</a>·=·is_detected_exact&lt;Expected,Op,Args...&gt;::value</td></tr> 
145 <tr·class="memdesc:ga043d312181849f21d950de3f7198bac6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·the·result·value·of·is_detected_exact.··<a·href="a00406.html#ga043d312181849f21d950de3f7198bac6">More...</a><br·/></td></tr> 
146 <tr·class="separator:ga043d312181849f21d950de3f7198bac6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
147 <tr·class="memitem:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="memTemplParams"·colspan="2">template&lt;typename·Target·,·template&lt;·typename...·&gt;·class·Op,·typename...·Args&gt;·</td></tr> 
148 <tr·class="memitem:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga044daf77dd81fbaeb71a7ce6d15bf761">Dune::Std::is_detected_convertible_v</a>·=·is_detected_convertible&lt;Target,Op,Args...&gt;::value</td></tr> 
149 <tr·class="memdesc:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Convenient·access·to·the·result·value·of·is_detected_convertible.··<a·href="a00406.html#ga044daf77dd81fbaeb71a7ce6d15bf761">More...</a><br·/></td></tr> 
150 <tr·class="separator:ga044daf77dd81fbaeb71a7ce6d15bf761"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
151 </table>100 </table>
 101 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 102 <div·class="textblock"><p·>Helpers·for·dealing·with·MPI.·</p>
 103 <p·>Basically·there·are·two·helpers·available:·</p><dl>
 104 <dt>FakeMPIHelper·</dt>
 105 <dd>A·class·adhering·to·the·interface·of·MPIHelper·that·does·not·need·MPI·at·all.·This·can·be·used·to·create·a·sequential·program·even·if·MPI·is·used·to·compile·it.··</dd>
 106 <dt>MPIHelper·</dt>
 107 <dd>A·real·MPI·helper.·When·the·singleton·gets·instantiated·MPI_Init·will·be·called·and·before·the·program·exits·MPI_Finalize·will·be·called.··</dd>
 108 </dl>
Max diff block lines reached; 243/20029 bytes (1.21%) of diff not shown.
5.63 KB
html2text {}
    
Offset 4, 102 lines modifiedOffset 4, 64 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 Classes·|·Namespaces·|·Typedefs·|·Variables7 ····*·parallel
 8 Classes·|·Namespaces
9 type_traits.hh·File·Reference9 mpihelper.hh·File·Reference
10 #include·<type_traits>10 Common·»·Parallel_Communication
 11 Helpers·for·dealing·with·MPI.·More...
 12 #include·<cassert>
 13 #include·<mpi.h>
 14 #include·<mutex>
 15 #include·<dune/common/parallel/communication.hh>
 16 #include·<dune/common/parallel/mpicommunication.hh>
11 #include·<dune/common/typetraits.hh>17 #include·<dune/common/stdstreams.hh>
12 #include·<dune/common/typeutilities.hh>18 #include·<dune/common/visibility.hh>
13 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
14 ·Classes20 ·Classes
 21 class· Dune::FakeMPIHelper
 22  ······A·fake·mpi·helper.·More...
15 struct· Dune::Std::nonesuch 
16  ·······Type·representing·a·lookup·failure·by·std::detected_or·and·friends. 
17 ·········More... 
18  23  
 24 class· Dune::MPIHelper
 25  ······A·real·mpi·helper.·More...
19 struct· Dune::Std::conjunction<_B_> 
20  ·······forms·the·logical·conjunction·of·the·type·traits·B...·More... 
21   
22 struct· Dune::Std::disjunction<_B_> 
23  ·······forms·the·logical·disjunction·of·the·type·traits·B...·More... 
24   
25 struct· Dune::Std::negation<_B_> 
26  ·······forms·the·logical·negation·of·the·type·traits·B...·More... 
27  26  
28 ·Namespaces27 ·Namespaces
29 namespace· Dune28 namespace· Dune
30  ··········Dune·namespace.29  ··········Dune·namespace.
31  30  
 31 *****·Detailed·Description·*****
 32 Helpers·for·dealing·with·MPI.
 33 Basically·there·are·two·helpers·available:
 34 ··FakeMPIHelper
 35 ······A·class·adhering·to·the·interface·of·MPIHelper·that·does·not·need·MPI·at
 36 ······all.·This·can·be·used·to·create·a·sequential·program·even·if·MPI·is·used
 37 ······to·compile·it.
 38 ··MPIHelper
 39 ······A·real·MPI·helper.·When·the·singleton·gets·instantiated·MPI_Init·will·be
 40 ······called·and·before·the·program·exits·MPI_Finalize·will·be·called.
 41 Example·of·who·to·use·these·classes:
 42 A·program·that·is·parallel·if·compiled·with·MPI·and·sequential·otherwise:
 43 int·main(int·argc,·char**·argv){
 44 typedef·Dune::MPIHelper·MPIHelper;
 45 MPIHelper::instance(argc,·argv);
 46 typename·MPIHelper::MPICommunicator·world·=
 47 MPIHelper::getCommunicator();
 48 ...
 49 main
 50 int·main(int·argc,·char·**argv)
 51 Definition:·mpi_collective_benchmark.cc:293
 52 Dune::MPIHelper
 53 A·real·mpi·helper.
 54 Definition:·mpihelper.hh:179
 55 If·one·wants·to·have·sequential·program·even·if·the·code·is·compiled·with·mpi
 56 then·one·simply·has·to·exchange·the·typedef·with
 57 typedef·Dune::MPIHelper·FakeMPIHelper;
 58 .
 59 For·checking·whether·we·really·use·MPI·or·just·fake·please·use·MPIHelper::
 60 isFake·(this·is·also·possible·at·compile·time!)
32 namespace· Dune::Std 
33  ··········Namespace·for·features·backported·from·new·C++·standards. 
34   
35 ·Typedefs 
36 template<typename·Default·,·template<·typename...·>·class·Op,·typename...·Args> 
37 using Dune::Std::detected_or·=·Impl::detector<·Default,·void,·Op,·Args...·> 
38  ·····Detects·whether·Op<Args...>·is·valid·and·makes·the·result·available. 
39 ·······More... 
40   
41 template<template<·typename...·>·class·Op,·typename...·Args> 
42 using Dune::Std::is_detected·=·typename·detected_or<·nonesuch,·Op,·Args...·>:: 
43 ·······value_t 
44  ·····Detects·whether·Op<Args...>·is·valid.·More... 
45   
46 template<template<·typename...·>·class·Op,·typename...·Args> 
47 using Dune::Std::detected_t·=·typename·detected_or<·nonesuch,·Op,·Args...·>:: 
48 ·······type 
49  ·····Returns·Op<Args...>·if·that·is·valid;·otherwise·returns·nonesuch. 
50 ·······More... 
51   
52 template<typename·Default·,·template<·typename...·>·class·Op,·typename...·Args> 
53 using Dune::Std::detected_or_t·=·typename·detected_or<·Default,·Op,·Args... 
54 ·······>::type 
55  ·····Returns·Op<Args...>·if·that·is·valid;·otherwise·returns·the·fallback 
56 ·······type·Default.·More... 
57   
58 template<typename·Expected·,·template<·typename...·>·class·Op,·typename... 
59 Args> 
60 using Dune::Std::is_detected_exact·=·std::is_same<·Expected,·detected_t<·Op, 
61 ·······Args...·>·> 
62  ·····Checks·whether·Op<Args...>·is·Expected·without·causing·an·error·if 
63 ·······Op<Args...>·is·invalid.·More... 
64   
65 template<typename·Target·,·template<·typename...·>·class·Op,·typename...·Args> 
66 using Dune::Std::is_detected_convertible·=·std::is_convertible<·Target, 
67 ·······detected_t<·Op,·Args...·>·> 
68  ·····Checks·whether·Op<Args...>·is·convertible·to·Target·without·causing·an 
69 ·······error·if·Op<Args...>·is·invalid.·More... 
70   
71 template<template<·typename...·>·class·Fallback,·template<·typename...·>·class 
72 TargetType,·typename...·Args> 
73 using Dune::detected_or_fallback_t·=·Std::detected_or_t<·decltype(detail:: 
74 ·······warningIfNotDefined<·Std::detected_t<·Fallback,·Args...·>·>(std:: 
75 ·······declval<·const·Std::detected_t<·TargetType,·Args...·>·*·>())), 
76 ·······TargetType,·Args...·> 
77  ·····This·type·will·be·either·TargetType<Args...>·if·it·exists,·or·the 
78 ·······Fallback<Args...>·type.·More... 
79   
80 ·Variables 
81 template<template<·typename...·>·class·Op,·typename...·Args> 
82 constexpr·bool Dune::Std::is_detected_v·=·is_detected<Op,Args...>::value 
83  ··············Detects·whether·Op<Args...>·is·valid·and·makes·the·result 
84 ················available·as·a·value.·More... 
85   
Max diff block lines reached; 116/5737 bytes (2.02%) of diff not shown.
97.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00335_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·type_traits.hh·Source·File</title>8 <title>dune-common:·mpihelper.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 215 lines modifiedOffset 58, 237 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">type_traits.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mpihelper.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00335.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00335.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_TYPE_TRAITS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MPIHELPER</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STD_TYPE_TRAITS_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MPIHELPER</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00206.html">dune/common/typeutilities.hh</a>&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·__has_include(&lt;experimental/type_traits&gt;)</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;experimental/type_traits&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#endif</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;mutex&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00368.html">dune/common/parallel/communication.hh</a>&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00347.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#endif</span></div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00143.html">dune/common/visibility.hh</a>&gt;</span></div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>{</div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
89 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
90 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="keyword">namespace·</span>Std</div> 
91 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>{</div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>{</div>
 94 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02204.html">···73</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02204.html">FakeMPIHelper</a></div>
92 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
93 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">using·</span>std::bool_constant;</div> 
94 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> 
95 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#if·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED</span></div> 
96 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div> 
97 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">using·</span>std::experimental::nonesuch;</div> 
98 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">std::experimental::detected_or</a>;</div> 
99 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">std::experimental::is_detected</a>;</div> 
100 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga67b8ffda29f365419403a66e49ec0ffe">std::experimental::detected_t</a>;</div> 
101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span><a·class="code·hl_variable"·href="a00406.html#ga9f0b8af5e80b339c8346a327f28bab33">std::experimental::is_detected_v</a>;</div> 
102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga2f49a21b2f60f94fa8911db7e32c9703">std::experimental::detected_or_t</a>;</div> 
103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#ga6778de5ea60a45fdae6db8b6d8c8b6f7">std::experimental::is_detected_exact</a>;</div> 
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">using·</span><a·class="code·hl_variable"·href="a00406.html#ga043d312181849f21d950de3f7198bac6">std::experimental::is_detected_exact_v</a>;</div> 
105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gaf26ed902d20da735bae252683a9ac5ce">std::experimental::is_detected_convertible</a>;</div> 
106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">using·</span><a·class="code·hl_variable"·href="a00406.html#ga044daf77dd81fbaeb71a7ce6d15bf761">std::experimental::is_detected_convertible_v</a>;</div> 
107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#else·</span><span·class="comment">//·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED</span></div> 
109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="comment">//·fallback·version·of·std::experimental::is_detected·et·al.,·heavily·scribbled</span></div> 
111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="comment">//·from·cppreference.com·(but·there·is·actually·not·much·implementation·to·the·thing)</span></div> 
112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> 
113 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="keyword">namespace·</span>Impl·{</div> 
116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> 
117 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="comment">//·default·version·of·detector,·this·gets·matched·on·failure</span></div> 
118 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Default,·<span·class="keyword">typename</span>·Void,·<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div> 
119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····<span·class="keyword">struct·</span>detector</div> 
120 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>····{</div> 
121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keyword">using·</span>value_t·=·std::false_type;</div> 
122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keyword">using·</span>type·=·Default;</div> 
123 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····};</div> 
124 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
125 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="comment">//·specialization·of·detector·that·matches·if·Op&lt;Args...&gt;·can·be·instantiated</span></div> 
126 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Default,·<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div> 
127 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····<span·class="keyword">struct·</span>detector&lt;Default,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::<a·class="code·hl_typedef"·href="a00406.html#ga6a3de1d2dbd47536c4b007d3a3b108a2">void_t</a>&lt;Op&lt;Args...&gt;&gt;,·Op,·Args...&gt;</div> 
128 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····{</div> 
129 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······<span·class="keyword">using·</span>value_t·=·std::true_type;</div> 
130 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······<span·class="keyword">using·</span>type·=·Op&lt;Args...&gt;;</div> 
131 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····};</div> 
132 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div> 
133 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div>95 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··{</div>
134 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>96 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<span·class="keyword">public</span>:</div>
 97 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a02204.html#ad9493432e4a2a80668846429b56a3933">···80</a></span>····<span·class="keyword">constexpr</span>·<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a02204.html#ad9493432e4a2a80668846429b56a3933">isFake</a>·=·<span·class="keyword">true</span>;</div>
135 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div> 
136 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> 
137 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a02868.html">···87</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02868.html">nonesuch</a></div> 
139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··{</div>98 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 99 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">···85</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a01984.html">No_Comm</a>·<a·class="code·hl_typedef"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>;</div>
140 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a02868.html#a4bee85fb45f38b33038badf2f2ffe9d5">···89</a></span>····<a·class="code·hl_function"·href="a02868.html#a4bee85fb45f38b33038badf2f2ffe9d5">nonesuch</a>()·=·<span·class="keyword">delete</span>;</div> 
141 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a02868.html#aa6b9d5c13bf56e0833d2bec017b87128">···90</a></span>····<a·class="code·hl_function"·href="a02868.html#aa6b9d5c13bf56e0833d2bec017b87128">~nonesuch</a>()·=·<span·class="keyword">delete</span>;</div> 
142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a02868.html#a75852f3ad35d5a5f7f7899d0f70a8c12">···91</a></span>····<a·class="code·hl_function"·href="a02868.html#a75852f3ad35d5a5f7f7899d0f70a8c12">nonesuch</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a02868.html">nonesuch</a>&amp;)·=·<span·class="keyword">delete</span>;</div> 
143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a02868.html#a8cac140fbcf1e2094f787b58ffa8fd71">···92</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02868.html#a8cac140fbcf1e2094f787b58ffa8fd71">operator=</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a02868.html">nonesuch</a>&amp;)·=·<span·class="keyword">delete</span>;</div> 
144 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··};</div>100 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 101 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">···93</a></span>····<a·class="code·hl_define"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<span·class="keyword">static</span>·<a·class="code·hl_struct"·href="a01984.html">MPICommunicator</a>·<a·class="code·hl_function"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">getCommunicator</a>·()</div>
145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>102 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····{</div>
 103 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="keyword">static</span>·<a·class="code·hl_struct"·href="a01984.html">MPICommunicator</a>·comm;</div>
 104 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<span·class="keywordflow">return</span>·comm;</div>
 105 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div>
146 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>106 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
147 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Default,·<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>...&gt;·<span·class="keyword">class·</span>Op,·<span·class="keyword">typename</span>...·Args&gt;</div> 
148 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">··128</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00406.html#gadb4713b99082ef169f74666e0ec7a46e">detected_[·...·truncated·by·diffoscope;·len:·55,·SHA:·8d05a634a272baa1d629fefd07eb28e42743599c8f73b97f0b0681f37567b673·...·]</div>107 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a02204.html#a7c0cb1ffbda2e8f4feeadd745f64a5ef">··105</a></span>····<span·class="keyword">static</span>·<a·class="code·hl_struct"·href="a01984.html">MPICommunicator</a>·<a·class="code·hl_funct[·...·truncated·by·diffoscope;·len:·85,·SHA:·4ff31fe08cdb166a3f842298a12d14d205553e3155567b914b8b24c1e747a094·...·]</div>
 108 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>····{</div>
Max diff block lines reached; 48516/82429 bytes (58.86%) of diff not shown.
17.1 KB
html2text {}
    
Offset 4, 284 lines modifiedOffset 4, 316 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 type_traits.hh7 ····*·parallel
 8 mpihelper.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_COMMON_STD_TYPE_TRAITS_HH 
16 ·6#define·DUNE_COMMON_STD_TYPE_TRAITS_HH15 ·5#ifndef·DUNE_MPIHELPER
 16 ·6#define·DUNE_MPIHELPER
17 ·717 ·7
 18 ·8#if·HAVE_MPI
 19 ·9#include·<cassert>
 20 ·10#include·<mpi.h>
18 ·8#include·<type_traits> 
19 ·9#include·<dune/common/typetraits.hh> 
20 ·10#include·<dune/common/typeutilities.hh> 
21 ·11 
22 ·12#if·__has_include(<experimental/type_traits>) 
23 ·13#include·<experimental/type_traits> 
24 ·14#endif21 ·11#endif
25 ·1522 ·12
 23 ·13#include·<mutex>
 24 ·14
 25 ·15#include·<dune/common/parallel/communication.hh>
 26 ·16#if·HAVE_MPI
 27 ·17#include·<dune/common/parallel/mpicommunication.hh>
 28 ·18#include·<dune/common/stdstreams.hh>
 29 ·19#endif
 30 ·20#include·<dune/common/visibility.hh>
 31 ·21
26 ·16namespace·Dune32 ·22namespace·Dune
27 ·17{33 ·23{
 34 73·class·FakeMPIHelper
 35 ·74·{
 36 ·75·public:
 37 80·constexpr·static·bool·isFake·=·true;
 38 ·81
 39 85·typedef·No_Comm·MPICommunicator;
 40 ·86
 41 93·DUNE_EXPORT·static·MPICommunicator·getCommunicator·()
 42 ·94·{
 43 ·95·static·MPICommunicator·comm;
 44 ·96·return·comm;
 45 ·97·}
 46 ·98
 47 105·static·MPICommunicator·getLocalCommunicator·()
 48 ·106·{
 49 ·107·return·getCommunicator();
 50 ·108·}
 51 ·109
 52 ·110
 53 ·111
 54 ·117·[[deprecated("getCollectionCommunication·is·deprecated.·Use
 55 getCommunication·instead.")]]
 56 118·static·Communication<MPICommunicator>·getCollectiveCommunication()
 57 ·119·{
 58 ·120·return·Communication<MPICommunicator>(getCommunicator());
 59 ·121·}
 60 ·122
 61 ·123·static·Communication<MPICommunicator>
 62 124·getCommunication()
 63 ·125·{
 64 ·126·return·Communication<MPICommunicator>(getCommunicator());
 65 ·127·}
28 ·1866 ·128
 67 144·DUNE_EXPORT·static·FakeMPIHelper&·instance([[maybe_unused]]·int·argc,
 68 ·145·[[maybe_unused]]·char**·argv)
 69 ·146·{
 70 ·147·return·instance();
 71 ·148·}
 72 ·149
 73 150·DUNE_EXPORT·static·FakeMPIHelper&·instance()
 74 ·151·{
 75 ·152·static·FakeMPIHelper·singleton;
 76 ·153·return·singleton;
 77 ·154·}
29 ·20 
30 ·29namespace·Std 
31 ·30{ 
32 ·31 
33 ·34·using·std::bool_constant; 
34 ·35 
35 ·36#if·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED 
36 ·37 
37 ·38·using·std::experimental::nonesuch; 
38 ·39·using·std::experimental::detected_or; 
39 ·40·using·std::experimental::is_detected; 
40 ·41·using·std::experimental::detected_t; 
41 ·42·using·std::experimental::is_detected_v; 
42 ·43·using·std::experimental::detected_or_t; 
43 ·44·using·std::experimental::is_detected_exact; 
44 ·45·using·std::experimental::is_detected_exact_v; 
45 ·46·using·std::experimental::is_detected_convertible; 
46 ·47·using·std::experimental::is_detected_convertible_v; 
47 ·48 
48 ·49#else·//·DUNE_HAVE_CXX_EXPERIMENTAL_IS_DETECTED 
49 ·50 
50 ·51·//·fallback·version·of·std::experimental::is_detected·et·al.,·heavily 
51 scribbled 
52 ·52·//·from·cppreference.com·(but·there·is·actually·not·much·implementation·to 
53 the·thing) 
54 ·53 
55 ·54#ifndef·DOXYGEN 
56 ·5578 ·155
 79 159·int·rank·()·const·{·return·0;·}
 80 163·int·size·()·const·{·return·1;·}
 81 ·164
 82 ·165·private:
 83 ·166·FakeMPIHelper()·{}
 84 ·167·FakeMPIHelper(const·FakeMPIHelper&);
 85 ·168·FakeMPIHelper&·operator=(const·FakeMPIHelper);
57 ·56·namespace·Impl·{ 
58 ·57 
59 ·58·//·default·version·of·detector,·this·gets·matched·on·failure 
60 ·59·template<typename·Default,·typename·Void,·template<typename...>·class·Op, 
61 typename...·Args> 
62 ·60·struct·detector 
Max diff block lines reached; 12334/17512 bytes (70.43%) of diff not shown.
8.51 KB
./usr/share/doc/libdune-common-doc/doxygen/a00338.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·utility.hh·File·Reference</title>8 <title>dune-common:·variablesizecommunicator.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 36 lines modifiedOffset 58, 79 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
69 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
70 ··<div·class="headertitle"><div·class="title">utility.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">variablesizecommunicator.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</[·...·truncated·by·diffoscope;·len:·8,·SHA:·0d52c43cfb41a3b12016175146b60c7095f5e5782b3ae43bf05a6e057b1729c6·...·]</div></div>
71 </div><!--header-->72 </div><!--header-->
72 <div·class="contents">73 <div·class="contents">
  
 74 <p>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.··
 75 <a·href="#details">More...</a></p>
73 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 77 <code>#include·&lt;cassert&gt;</code><br·/>
 78 <code>#include·&lt;cstddef&gt;</code><br·/>
 79 <code>#include·&lt;functional&gt;</code><br·/>
 80 <code>#include·&lt;map&gt;</code><br·/>
 81 <code>#include·&lt;memory&gt;</code><br·/>
 82 <code>#include·&lt;utility&gt;</code><br·/>
 83 <code>#include·&lt;vector&gt;</code><br·/>
 84 <code>#include·&lt;mpi.h&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/concept.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
74 </div>88 </div>
75 <p><a·href="a00338_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00338_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <table·class="memberdecls">90 <table·class="memberdecls">
 91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 92 Classes</h2></td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02276.html">Dune::Concept::HasFixedSize</a></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02288.html">Dune::VariableSizeCommunicator&lt;·Allocator·&gt;</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to·be·known·a·priori.··<a·href="a02288.html#details">More...</a><br·/></td></tr>
 97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 </table><table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
78 Namespaces</h2></td></tr>100 Namespaces</h2></td></tr>
79 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>101 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
80 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>102 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>104 <tr·class="memitem:a00427"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00427.html">Dune::Concept</a></td></tr>
83 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>105 <tr·class="memdesc:a00427"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·concepts.·<br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>107 </table>
 108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 109 <div·class="textblock"><p·>A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·</p>
 110 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
 111 </div><h2·class="groupheader">Variable·Documentation</h2>
 112 <a·id="ab8808b7c88a6c9013967559c8eae5e8c"·name="ab8808b7c88a6c9013967559c8eae5e8c"></a>
 113 <h2·class="memtitle"><span·class="permalink"><a·href="#ab8808b7c88a6c9013967559c8eae5e8c">&#9670;&nbsp;</a></span>fixedSize</h2>
  
 114 <div·class="memitem">
 115 <div·class="memproto">
 116 ······<table·class="memname">
 117 ········<tr>
 118 ··········<td·class="memname">std::size_t·fixedSize</td>
 119 ········</tr>
 120 ······</table>
 121 </div><div·class="memdoc">
  
 122 <p>The·number·of·data·items·per·index·if·it·is·fixed,·0·otherwise.·</p>
  
 123 </div>
 124 </div>
86 </div><!--·contents·-->125 </div><!--·contents·-->
87 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
88 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
89 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
90 </small></address>129 </small></address>
91 </body>130 </body>
92 </html>131 </html>
1.57 KB
html2text {}
    
Offset 4, 22 lines modifiedOffset 4, 52 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 Namespaces 
9 utility.hh·File·Reference7 ····*·parallel
 8 Classes·|·Namespaces
 9 variablesizecommunicator.hh·File·Reference
 10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the
 12 sender·side.·More...
 13 #include·<algorithm>
 14 #include·<cassert>
 15 #include·<cstddef>
 16 #include·<functional>
 17 #include·<map>
 18 #include·<memory>
10 #include·<utility>19 #include·<utility>
 20 #include·<vector>
 21 #include·<mpi.h>
 22 #include·<dune/common/concept.hh>
 23 #include·<dune/common/parallel/interface.hh>
 24 #include·<dune/common/parallel/mpitraits.hh>
11 Go_to_the_source_code_of_this_file.25 Go_to_the_source_code_of_this_file.
 26 ·Classes
 27 struct· Dune::Concept::HasFixedSize
 28  
 29 ·class· Dune::VariableSizeCommunicator<_Allocator_>
 30  ·······A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to
 31 ·········be·known·a·priori.·More...
 32  
12 ·Namespaces33 ·Namespaces
13 namespace· Dune34 namespace· Dune
14  ··········Dune·namespace.35  ··········Dune·namespace.
15  36  
16 namespace· Dune::Std37 namespace· Dune::Concept
17  ··········Namespace·for·features·backported·from·new·C++·standards.38  ··········Namespace·for·concepts.
18  39  
 40 *****·Detailed·Description·*****
 41 A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the
 42 sender·side.
 43 ··Author
 44 ······Markus·Blatt
 45 *****·Variable·Documentation·*****
 46 *****·◆ fixedSize·*****
 47 std::size_t·fixedSize
 48 The·number·of·data·items·per·index·if·it·is·fixed,·0·otherwise.
  
19 ===============================================================================49 ===============================================================================
20 ·····Generated·by [doxygen]·1.9.450 ·····Generated·by [doxygen]·1.9.4
169 KB
./usr/share/doc/libdune-common-doc/doxygen/a00338_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·utility.hh·Source·File</title>8 <title>dune-common:·variablesizecommunicator.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 49 lines modifiedOffset 58, 893 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">utility.hh</div></div>68 ··<div·class="headertitle"><div·class="title">variablesizecommunicator.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00338.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00338.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_UTILITY_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH·</span><span·class="comment">//·Still·fits·the·line!</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_STD_UTILITY_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
Diff chunk too large, falling back to line-by-line diff (846 lines added, 20 lines removed)
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after·Dune·2.8.\</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">·Include·&lt;utility&gt;·instead</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>{</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>··<span·class="keyword">namespace·</span>Std</div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>··{</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="keyword">using·</span>std::integer_sequence;</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">using·</span>std::index_sequence;</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>····<span·class="keyword">using·</span>std::make_integer_sequence;</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>····<span·class="keyword">using·</span>std::make_index_sequence;</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="keyword">using·</span>std::index_sequence_for;</div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00110.html">dune/common/concept.hh</a>&gt;</span></div>
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··}·<span·class="comment">//·namespace·Std</span></div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04442.html">dune/common/parallel/interface.hh</a>&gt;</span></div>
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00365.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>}·<span·class="comment">//·namespace·Dune</span></div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>96 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#endif·</span><span·class="comment">//·#ifndef·DUNE_COMMON_STD_UTILITY_HH</span></div>97 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>{</div>
 98 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 99 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="keyword">namespace·</span>Concept·{</div>
 100 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 101 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02276.html">···43</a></span><span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02276.html">HasFixedSize</a>·{</div>
 102 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02276.html#a9acffceab715728d980beae9cbbe8634">···44</a></span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·H&gt;·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a02276.html#a9acffceab715728d980beae9cbbe8634">require</a>(H·&amp;&amp;h)·-&gt;·<span·class="keyword">decltype</span>(h.fixedSize());</div>
 103 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>};</div>
 104 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>}·<span·class="comment">//·namespace·Concept</span></div>
 106 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="keyword">namespace·</span>Impl·{</div>
 108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div>
 109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·H,</div>
 110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··········std::enable_if_t&lt;models&lt;Concept::HasFixedSize,·H&gt;(),·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div>
 111 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·callFixedSize(H·&amp;&amp;handle)·{</div>
 112 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keywordflow">return</span>·handle.fixedSize();</div>
 113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>}</div>
 114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>}·<span·class="comment">//·namespace·Impl</span></div>
 116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="keyword">namespace</span></div>
 118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>{</div>
 119 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·Allocator=std::allocator&lt;T&gt;·&gt;</div>
 120 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="keyword">class·</span>MessageBuffer</div>
 121 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>{</div>
 122 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">public</span>:</div>
 123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="keyword">explicit</span>·MessageBuffer(<span·class="keywordtype">int</span>·size)</div>
 124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····:·buffer_(new·T[size]),·size_(size),·position_(0)</div>
 125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··{}</div>
 126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<span·class="keyword">explicit</span>·MessageBuffer(<span·class="keyword">const</span>·MessageBuffer&amp;·o)</div>
 127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··:·buffer_(new·T[o.size_]),·size_(o.size_),·position_(o.position_)</div>
 128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div>
 129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··}</div>
 130 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··~MessageBuffer()</div>
 131 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··{</div>
 132 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">delete</span>[]·buffer_;</div>
 133 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··}</div>
 134 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keywordtype">void</span>·write(<span·class="keyword">const</span>·T&amp;·data)</div>
 135 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div>
 136 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····buffer_[position_++]=data;</div>
 137 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}</div>
 138 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 139 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keywordtype">void</span>·read(T&amp;·data)</div>
 140 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··{</div>
 141 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····data=buffer_[position_++];</div>
 142 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··}</div>
 143 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 144 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··<span·class="keywordtype">void</span>·reset()</div>
 145 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··{</div>
 146 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>····position_=0;</div>
 147 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··}</div>
 148 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div>
 149 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="keywordtype">bool</span>·finished()</div>
 150 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··{</div>
 151 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>····<span·class="keywordflow">return</span>·position_==size_;</div>
 152 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··}</div>
 153 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div>
 154 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<span·class="keywordtype">bool</span>·hasSpaceForItems(<span·class="keywordtype">int</span>·noItems)</div>
 155 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··{</div>
 156 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>····<span·class="keywordflow">return</span>·position_+noItems&lt;=size_;</div>
 157 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··}</div>
 158 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··std::size_t·size()<span·class="keyword">·const</span></div>
 159 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span><span·class="keyword">··</span>{</div>
 160 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····<span·class="keywordflow">return</span>·size_;</div>
 161 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··}</div>
 162 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··<span·class="keyword">operator</span>·T*()</div>
 163 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··{</div>
 164 <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····<span·class="keywordflow">return</span>·buffer_;</div>
Max diff block lines reached; 7291/139625 bytes (5.22%) of diff not shown.
32.2 KB
html2text {}
    
Offset 4, 45 lines modifiedOffset 4, 1008 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 utility.hh7 ····*·parallel
 8 variablesizecommunicator.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
 10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 15 ·5#ifndef·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH·//·Still·fits·the
 16 line!
 17 ·6#define·DUNE_COMMON_PARALLEL_VARIABLESIZECOMMUNICATOR_HH
13 ·3#ifndef·DUNE_COMMON_STD_UTILITY_HH 
14 ·4#define·DUNE_COMMON_STD_UTILITY_HH 
15 ·5 
16 ·6#include·<utility> 
Diff chunk too large, falling back to line-by-line diff (914 lines added, 21 lines removed)
17 ·718 ·7
18 ·8#warning·dune/common/std/utility.hh·is·deprecated·and·will·be·removed·after19 ·8#if·HAVE_MPI
19 Dune·2.8.\20 ·9
20 ·9·Include·<utility>·instead21 ·10#include·<algorithm>
21 ·1022 ·11#include·<cassert>
22 ·11namespace·Dune23 ·12#include·<cstddef>
23 ·12{24 ·13#include·<functional>
24 ·1325 ·14#include·<map>
25 ·14·namespace·Std26 ·15#include·<memory>
26 ·15·{27 ·16#include·<utility>
27 ·1628 ·17#include·<vector>
28 ·17·using·std::integer_sequence;29 ·18#include·<algorithm>
29 ·18·using·std::index_sequence;30 ·19
30 ·19·using·std::make_integer_sequence;31 ·20#include·<mpi.h>
31 ·20·using·std::make_index_sequence;32 ·21
32 ·21·using·std::index_sequence_for;33 ·22#include·<dune/common/concept.hh>
33 ·2234 ·23#include·<dune/common/parallel/interface.hh>
34 ·23·}·//·namespace·Std35 ·24#include·<dune/common/parallel/mpitraits.hh>
35 ·2436 ·25
36 ·25}·//·namespace·Dune37 ·38namespace·Dune
37 ·2638 ·39{
38 ·27#endif·//·#ifndef·DUNE_COMMON_STD_UTILITY_HH39 ·40
 40 ·41namespace·Concept·{
 41 ·42
 42 43struct·HasFixedSize·{
 43 44·template·<typename·H>·auto·require(H·&&h)·->·decltype(h.fixedSize());
 44 ·45};
 45 ·46
 46 ·47}·//·namespace·Concept
 47 ·48
 48 ·49namespace·Impl·{
 49 ·50
 50 ·51template·<typename·H,
 51 ·52·std::enable_if_t<models<Concept::HasFixedSize,·H>(),·int>·=·0>
 52 ·53constexpr·bool·callFixedSize(H·&&handle)·{
 53 ·54·return·handle.fixedSize();
 54 ·55}
 55 ·56
 56 ·57}·//·namespace·Impl
 57 ·58
 58 ·59namespace
 59 ·60{
 60 ·65template<class·T,·class·Allocator=std::allocator<T>·>
 61 ·66class·MessageBuffer
 62 ·67{
 63 ·68public:
 64 ·73·explicit·MessageBuffer(int·size)
 65 ·74·:·buffer_(new·T[size]),·size_(size),·position_(0)
 66 ·75·{}
 67 ·80·explicit·MessageBuffer(const·MessageBuffer&·o)
 68 ·81·:·buffer_(new·T[o.size_]),·size_(o.size_),·position_(o.position_)
 69 ·82·{
 70 ·83·}
 71 ·85·~MessageBuffer()
 72 ·86·{
 73 ·87·delete[]·buffer_;
 74 ·88·}
 75 ·93·void·write(const·T&·data)
 76 ·94·{
 77 ·95·buffer_[position_++]=data;
 78 ·96·}
 79 ·97
 80 ·102·void·read(T&·data)
 81 ·103·{
 82 ·104·data=buffer_[position_++];
 83 ·105·}
 84 ·106
 85 ·112·void·reset()
 86 ·113·{
 87 ·114·position_=0;
 88 ·115·}
 89 ·116
 90 ·121·bool·finished()
 91 ·122·{
 92 ·123·return·position_==size_;
 93 ·124·}
 94 ·125
 95 ·131·bool·hasSpaceForItems(int·noItems)
 96 ·132·{
 97 ·133·return·position_+noItems<=size_;
 98 ·134·}
 99 ·139·std::size_t·size()·const
 100 ·140·{
 101 ·141·return·size_;
 102 ·142·}
 103 ·147·operator·T*()
 104 ·148·{
 105 ·149·return·buffer_;
 106 ·150·}
 107 ·151
 108 ·152private:
 109 ·156·T*·buffer_;
 110 ·160·std::size_t·size_;
 111 ·164·std::size_t·position_;
 112 ·165};
 113 ·166
 114 ·170class·InterfaceTracker
 115 ·171{
 116 ·172public:
 117 ·178·InterfaceTracker(int·rank,·InterfaceInformation·info,·std::size_t
 118 fixedsize=0,
 119 ·179·bool·allocateSizes=false)
 120 ·180·:·fixedSize(fixedsize),rank_(rank),·index_(),·interface_(info),·sizes_()
Max diff block lines reached; 3302/32938 bytes (10.02%) of diff not shown.
8.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a00341.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·make_array.hh·File·Reference</title>8 <title>dune-common:·mpipack.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 45 lines modifiedOffset 58, 51 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
69 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">mpipack.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
70 <a·href="#func-members">Functions</a>··</div> 
71 ··<div·class="headertitle"><div·class="title">make_array.hh·File·Reference</div></div> 
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
 74 <p>See·MPI_Pack.··
 75 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>
75 <code>#include·&lt;type_traits&gt;</code><br·/>77 <code>#include·&lt;mpi.h&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
76 </div>80 </div>
77 <p><a·href="a00341_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00341_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <table·class="memberdecls">82 <table·class="memberdecls">
 83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 84 Classes</h2></td></tr>
 85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02212.html">Dune::MPIPack</a></td></tr>
 86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02216.html">Dune::MPIData&lt;·P,·std::enable_if_t&lt;·std::is_same&lt;·std::remove_const_t&lt;·P·&gt;,·MPIPack·&gt;::value·&gt;·&gt;</a></td></tr>
 88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 </table><table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
80 Namespaces</h2></td></tr>91 Namespaces</h2></td></tr>
81 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>92 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
82 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>93 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr> 
85 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr> 
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
87 </table><table·class="memberdecls"> 
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
89 Functions</h2></td></tr> 
90 <tr·class="memitem:ga7c124024a54a49656588ff974ee67996"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Args&gt;·</td></tr> 
91 <tr·class="memitem:ga7c124024a54a49656588ff974ee67996"><td·class="memTemplItemLeft"·align="right"·valign="top">std::array&lt;·typename·std::common_type&lt;·Args...·&gt;::type,·sizeof...(Args)&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">Dune::Std::make_array</a>·(const·Args·&amp;...·args)</td></tr> 
92 <tr·class="memdesc:ga7c124024a54a49656588ff974ee67996"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·and·initialize·an·array.··<a·href="a00406.html#ga7c124024a54a49656588ff974ee67996">More...</a><br·/></td></tr> 
93 <tr·class="separator:ga7c124024a54a49656588ff974ee67996"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 </table>95 </table>
 96 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 97 <div·class="textblock"><p·>See·MPI_Pack.·</p>
 98 <p·>This·Wrapper·class·takes·care·of·the·memory·management·and·provides·methods·to·pack·and·unpack·objects.·All·objects·that·can·be·used·for·MPI·communication·can·also·be·packed·and·unpacked·to/from·MPIPack.</p>
 99 <dl·class="section·author"><dt>Author</dt><dd>Nils-Arne·Dreier·</dd></dl>
95 </div><!--·contents·-->100 </div></div><!--·contents·-->
96 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
97 <hr·class="footer"/><address·class="footer"><small>102 <hr·class="footer"/><address·class="footer"><small>
98 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
99 </small></address>104 </small></address>
100 </body>105 </body>
101 </html>106 </html>
1.42 KB
html2text {}
    
Offset 4, 29 lines modifiedOffset 4, 37 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 Namespaces·|·Functions7 ····*·parallel
 8 Classes·|·Namespaces
9 make_array.hh·File·Reference9 mpipack.hh·File·Reference
10 #include·<array> 
11 #include·<type_traits>10 Common·»·Parallel_Communication
 11 See·MPI_Pack.·More...
 12 #include·<vector>
 13 #include·<mpi.h>
 14 #include·<dune/common/parallel/mpicommunication.hh>
 15 #include·<dune/common/parallel/mpidata.hh>
12 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
 17 ·Classes
 18 ·class· Dune::MPIPack
 19  
 20 struct· Dune::MPIData<_P,_std::enable_if_t<_std::is_same<_std::remove_const_t<
 21 ·········P_>,_MPIPack_>::value_>_>
 22  
13 ·Namespaces23 ·Namespaces
14 namespace· Dune24 namespace· Dune
15  ··········Dune·namespace.25  ··········Dune·namespace.
16  26  
 27 *****·Detailed·Description·*****
 28 See·MPI_Pack.
 29 This·Wrapper·class·takes·care·of·the·memory·management·and·provides·methods·to
 30 pack·and·unpack·objects.·All·objects·that·can·be·used·for·MPI·communication·can
 31 also·be·packed·and·unpacked·to/from·MPIPack.
 32 ··Author
 33 ······Nils-Arne·Dreier
17 namespace· Dune::Std 
18  ··········Namespace·for·features·backported·from·new·C++·standards. 
19   
20 ·Functions 
21 template<typename...·Args> 
22 std::array<·typename·std::common_type<·Dune::Std::make_array·(const·Args·&... 
23 ····Args...·>::type,·sizeof...(Args)> args) 
24  ·····································Create·and·initialize·an·array.·More... 
25   
  
26 ===============================================================================34 ===============================================================================
27 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
63.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00341_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·make_array.hh·Source·File</title>8 <title>dune-common:·mpipack.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 62 lines modifiedOffset 58, 235 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">make_array.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mpipack.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00341.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>71 <a·href="a00341.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
 72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
 73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_MAKE_ARRAY_HH</span></div>75 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment"></span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_STD_MAKE_ARRAY_HH</span></div>76 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_MPIPACK_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;array&gt;</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;experimental/array&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#endif</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>77 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#warning·make_array.hh·is·deprecated·and·will·be·removed·after·Dune·2.9.·\</span></div>78 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">··Use·deduction·guide·of·`std::array`·or·`std::to_array`.</span></div>79 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 80 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
 81 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00347.html">dune/common/parallel/mpicommunication.hh</a>&gt;</span></div>
 82 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00356.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>83 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 84 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>85 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span>Std·{</div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>86 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY</span></div>87 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a02212.html">···32</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02212.html">MPIPack</a>·{</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>88 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····std::vector&lt;char&gt;·_buffer;</div>
91 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">using·</span><a·class="code·hl_function"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">std::experimental::make_array</a>;</div>89 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keywordtype">int</span>·_position;</div>
 90 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a02212.html#a809c55b98255835e47bc6a5ae30f9f73">···35</a></span>····MPI_Comm·_comm;</div>
92 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div>
93 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#else·</span><span·class="comment">//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY</span></div>92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="keyword">friend</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a>&lt;<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&gt;;</div>
 93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">friend</span>·<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a>&lt;const·<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&gt;;</div>
 94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">public</span>:</div>
 95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02212.html#a4e166e81e3c9ffba16197994c428112f">···40</a></span>····<a·class="code·hl_function"·href="a02212.html#a4e166e81e3c9ffba16197994c428112f">MPIPack</a>(<a·class="code·hl_class"·href="a02164.html">Communication&lt;MPI_Comm&gt;</a>·comm,·std::size_t·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·0)</div>
 96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>······:·_buffer(<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>)</div>
 97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······,·_position(0)</div>
 98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>······,·_comm(comm)</div>
 99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····{}</div>
94 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
 101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="comment">//·Its·not·valid·to·copy·a·MPIPack·but·you·can·move·it</span></div>
 102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="a02212.html#a9f5ffce415d2f91c197a89d66f8c168e">···47</a></span>····<a·class="code·hl_function"·href="a02212.html#a9f5ffce415d2f91c197a89d66f8c168e">MPIPack</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;)·=·<span·class="keyword">delete</span>;</div>
 103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a02212.html#a40ac12929ecb34d676625912c18fc5f7">···48</a></span>····<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;·<a·class="code·hl_function"·href="a02212.html#a40ac12929ecb34d676625912c18fc5f7">operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;·other)·=·<span·class="keyword">delete</span>;</div>
 104 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02212.html#ae345dccaffe1d2a7249cb69a6ed05bd1">···49</a></span>····<a·class="code·hl_function"·href="a02212.html#ae345dccaffe1d2a7249cb69a6ed05bd1">MPIPack</a>(<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;&amp;)·=·<span·class="keywordflow">default</span>;</div>
 105 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02212.html#a802cd4e8c4661dd5f8310aa79a8072dc">···50</a></span>····<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;·<a·class="code·hl_function"·href="a02212.html#a40ac12929ecb34d676625912c18fc5f7">operator·=·</a>(<a·class="code·hl_class"·href="a02212.html">MPIPack</a>&amp;&amp;·other)·=·<span·class="keywordflow">default</span>;</div>
95 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>...·Args&gt;</div> 
97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··std::array&lt;<span·class="keyword">typename</span>·std::common_type&lt;Args...&gt;::type,·<span·class="keyword">sizeof</span>...(Args)&gt;</div> 
98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">···43</a></span>··<a·class="code·hl_function"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">make_array</a>(<span·class="keyword">const</span>·Args&amp;...·args)·{</div> 
99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····std::array&lt;<span·class="keyword">typename</span>·std::common_type&lt;Args...&gt;::type,·<span·class="keyword">sizeof</span>...(Args)&gt;</div> 
100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>········result·=·{{args...}};</div> 
101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·result;</div> 
102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div> 
103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div> 
104 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY</span></div> 
105 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> 
106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>}</div>106 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 107 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 108 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno"><a·class="line"·href="a02212.html#a8137baa3519b95bca7666656ab444c9a">···58</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02212.html#a8137baa3519b95bca7666656ab444c9a">pack</a>(<span·class="keyword">const</span>·T&amp;·data){</div>
 109 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······<span·class="keyword">auto</span>·mpidata·=·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data);</div>
 110 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·<a·class="code·hl_function"·href="a02212.html#af8489fffe0883c0f32ea94149fa4ca07">getPackSize</a>(mpidata.size(),·_comm,·mpidata.type());</div>
 111 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·has_static_size·=·<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(std::declval&lt;T&amp;&gt;()))::static_size;</div>
 112 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">if</span>(!has_static_size)</div>
 113 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·+=·<a·class="code·hl_function"·href="a02212.html#af8489fffe0883c0f32ea94149fa4ca07">getPackSize</a>(1,·_comm,·MPI_INT);</div>
 114 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordflow">if</span>·(_position·+·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·&gt;·0·&amp;&amp;·<span·class="keywordtype">size_t</span>(_position·+·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>)·&gt;·_buffer.size())·<span·class="comment">//·resize·buffer·if·necessary</span></div>
 115 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········_buffer.resize(_position·+·<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>);</div>
 116 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······<span·class="keywordflow">if</span>(!has_static_size){</div>
 117 <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="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·mpidata.size();</div>
 118 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>········MPI_Pack(&amp;<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>,·1,·MPI_INT,·_buffer.data(),·_buffer.size(),</div>
 119 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·················&amp;_position,·_comm);</div>
 120 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>······}</div>
 121 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>······MPI_Pack(mpidata.ptr(),·mpidata.size(),</div>
 122 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>···············mpidata.type(),·_buffer.data(),·_buffer.size(),</div>
 123 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>···············&amp;_position,·_comm);</div>
107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>}</div>124 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····}</div>
108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div>125 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 126 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a02212.html#a9397dca7e515551b4bd9cffd4e80596a">···81</a></span>····<span·class="keyword">auto</span>·<span·class="comment">/*void*/</span>·<a·class="code·hl_function"·href="a02212.html#a9397dca7e515551b4bd9cffd4e80596a">unpack</a>(T&amp;·data)</div>
 128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>······-&gt;·std::enable_if_t&lt;<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data))::static_size,·<span·class="keywordtype">void</span>&gt;</div>
 129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{</div>
 130 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keyword">auto</span>·mpidata·=·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data);</div>
 131 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······MPI_Unpack(_buffer.data(),·_buffer.size(),·&amp;_position,</div>
 132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·················mpidata.ptr(),·mpidata.size(),</div>
 133 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·················mpidata.type(),·_comm);</div>
 134 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div>
 135 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 136 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 137 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a02212.html#a8f9f039ea91efa7b7abf5315d42de788">···95</a></span>····<span·class="keyword">auto</span>·<span·class="comment">/*void*/</span>·<a·class="code·hl_function"·href="a02212.html#a8f9f039ea91efa7b7abf5315d42de788">unpack</a>(T&amp;·data)</div>
 138 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······-&gt;·std::enable_if_t&lt;!<span·class="keyword">decltype</span>(<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data))::static_size,·<span·class="keywordtype">void</span>&gt;</div>
 139 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····{</div>
 140 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>······<span·class="keyword">auto</span>·mpidata·=·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(data);</div>
 141 <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="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>·=·0;</div>
 142 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>······MPI_Unpack(_buffer.data(),·_buffer.size(),·&amp;_position,</div>
 143 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·················&amp;<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>,·1,</div>
 144 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·················MPI_INT,·_comm);</div>
 145 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······mpidata.resize(<a·class="code·hl_function"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>);</div>
 146 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······MPI_Unpack(_buffer.data(),·_buffer.size(),·&amp;_position,</div>
 147 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·················mpidata.ptr(),·mpidata.size(),</div>
 148 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·················mpidata.type(),·_comm);</div>
Max diff block lines reached; 11653/54779 bytes (21.27%) of diff not shown.
10.3 KB
html2text {}
    
Offset 4, 61 lines modifiedOffset 4, 325 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 ····*·std 
8 make_array.hh7 ····*·parallel
 8 mpipack.hh
9 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
 10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
 11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
11 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
13 ·3#ifndef·DUNE_COMMON_STD_MAKE_ARRAY_HH 
14 ·4#define·DUNE_COMMON_STD_MAKE_ARRAY_HH 
15 ·5 
16 ·6#include·<array> 
17 ·7#include·<type_traits>15 ·20#ifndef·DUNE_COMMON_PARALLEL_MPIPACK_HH
 16 ·21#define·DUNE_COMMON_PARALLEL_MPIPACK_HH
 17 ·22
 18 ·23#include·<vector>
 19 ·24#if·HAVE_MPI
 20 ·25#include·<mpi.h>
 21 ·26#include·<dune/common/parallel/mpicommunication.hh>
 22 ·27#include·<dune/common/parallel/mpidata.hh>
18 ·823 ·28
 24 ·29
19 ·9#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY 
20 ·10#include·<experimental/array> 
21 ·11#endif 
22 ·12 
23 ·13#warning·make_array.hh·is·deprecated·and·will·be·removed·after·Dune·2.9.·\ 
24 ·14·Use·deduction·guide·of·`std::array`·or·`std::to_array`. 
25 ·15 
26 ·16namespace·Dune·{25 ·30namespace·Dune·{
27 ·17namespace·Std·{ 
28 ·18 
29 ·19#if·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY 
30 ·20 
31 ·22·using·std::experimental::make_array; 
32 ·23 
33 ·24#else·//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY 
34 ·25 
35 ·27 
36 ·41·template·<typename...·Args> 
37 ·42·std::array<typename·std::common_type<Args...>::type,·sizeof...(Args)> 
38 43·make_array(const·Args&...·args)·{ 
39 ·44·std::array<typename·std::common_type<Args...>::type,·sizeof...(Args)> 
40 ·45·result·=·{{args...}}; 
41 ·46·return·result; 
42 ·47·} 
43 ·48 
44 ·49#endif·//·DUNE_HAVE_CXX_EXPERIMENTAL_MAKE_ARRAY 
45 ·5026 ·31
 27 32·class·MPIPack·{
 28 ·33·std::vector<char>·_buffer;
 29 ·34·int·_position;
 30 35·MPI_Comm·_comm;
 31 ·36
 32 ·37·friend·struct·MPIData<MPIPack>;
 33 ·38·friend·struct·MPIData<const·MPIPack>;
 34 ·39·public:
 35 40·MPIPack(Communication<MPI_Comm>·comm,·std::size_t·size·=·0)
 36 ·41·:·_buffer(size)
 37 ·42·,·_position(0)
 38 ·43·,·_comm(comm)
 39 ·44·{}
 40 ·45
 41 ·46·//·Its·not·valid·to·copy·a·MPIPack·but·you·can·move·it
 42 47·MPIPack(const·MPIPack&)·=·delete;
 43 48·MPIPack&·operator_=(const·MPIPack&·other)·=·delete;
 44 49·MPIPack(MPIPack&&)·=·default;
 45 50·MPIPack&·operator_=(MPIPack&&·other)·=·default;
46 ·51}46 ·51
47 ·52} 
48 ·53 
49 ·54#endif 
50 Dune::Std::make_array 
51 std::array<·typename·std::common_type<·Args...·>::type,·sizeof...(Args)> 
52 make_array(const·Args·&...·args) 
53 Create·and·initialize·an·array. 
54 Definition:·make_array.hh:4347 ·57·template<class·T>
 48 58·void·pack(const·T&·data){
 49 ·59·auto·mpidata·=·getMPIData(data);
 50 ·60·int·size·=·getPackSize(mpidata.size(),·_comm,·mpidata.type());
 51 ·61·constexpr·bool·has_static_size·=·decltype(getMPIData(std::declval<T&>()))::
 52 static_size;
 53 ·62·if(!has_static_size)
 54 ·63·size·+=·getPackSize(1,·_comm,·MPI_INT);
 55 ·64·if·(_position·+·size·>·0·&&·size_t(_position·+·size)·>·_buffer.size())·/
 56 /·resize·buffer·if·necessary
 57 ·65·_buffer.resize(_position·+·size);
 58 ·66·if(!has_static_size){
 59 ·67·int·size·=·mpidata.size();
 60 ·68·MPI_Pack(&size,·1,·MPI_INT,·_buffer.data(),·_buffer.size(),
 61 ·69·&_position,·_comm);
 62 ·70·}
 63 ·71·MPI_Pack(mpidata.ptr(),·mpidata.size(),
 64 ·72·mpidata.type(),·_buffer.data(),·_buffer.size(),
 65 ·73·&_position,·_comm);
 66 ·74·}
 67 ·75
 68 ·80·template<class·T>
 69 81·auto·/*void*/·unpack(T&·data)
 70 ·82·->·std::enable_if_t<decltype(getMPIData(data))::static_size,·void>
 71 ·83·{
 72 ·84·auto·mpidata·=·getMPIData(data);
 73 ·85·MPI_Unpack(_buffer.data(),·_buffer.size(),·&_position,
 74 ·86·mpidata.ptr(),·mpidata.size(),
 75 ·87·mpidata.type(),·_comm);
 76 ·88·}
 77 ·89
 78 ·94·template<class·T>
 79 95·auto·/*void*/·unpack(T&·data)
 80 ·96·->·std::enable_if_t<!decltype(getMPIData(data))::static_size,·void>
 81 ·97·{
 82 ·98·auto·mpidata·=·getMPIData(data);
 83 ·99·int·size·=·0;
 84 ·100·MPI_Unpack(_buffer.data(),·_buffer.size(),·&_position,
 85 ·101·&size,·1,
 86 ·102·MPI_INT,·_comm);
 87 ·103·mpidata.resize(size);
 88 ·104·MPI_Unpack(_buffer.data(),·_buffer.size(),·&_position,
 89 ·105·mpidata.ptr(),·mpidata.size(),
Max diff block lines reached; 4134/10541 bytes (39.22%) of diff not shown.
9.65 KB
./usr/share/doc/libdune-common-doc/doxygen/a00344.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·arraylist.hh·File·Reference</title>8 <title>dune-common:·mpifuture.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 56 lines modifiedOffset 58, 51 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
71 ··<div·class="headertitle"><div·class="title">arraylist.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">mpifuture.hh·File·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·· 
75 <a·href="#details">More...</a></p> 
76 <div·class="textblock"><code>#include·&lt;array&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;optional&gt;</code><br·/>
 75 <code>#include·&lt;<a·class="el"·href="a00368_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
77 <code>#include·&lt;cassert&gt;</code><br·/> 
78 <code>#include·&lt;memory&gt;</code><br·/> 
79 <code>#include·&lt;vector&gt;</code><br·/> 
80 <code>#include·&quot;<a·class="el"·href="a00170_source.html">iteratorfacades.hh</a>&quot;</code><br·/>76 <code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>
 77 <code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
81 </div>78 </div>
82 <p><a·href="a00344_source.html">Go·to·the·source·code·of·this·file.</a></p>79 <p><a·href="a00344_source.html">Go·to·the·source·code·of·this·file.</a></p>
83 <table·class="memberdecls">80 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
85 Classes</h2></td></tr>82 Classes</h2></td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01284.html">Dune::ArrayList&lt;·T,·N,·A·&gt;</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02180.html">Dune::impl::Buffer&lt;·T·&gt;</a></td></tr>
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·dynamically·growing·random·access·list.··<a·href="a01284.html#details">More...</a><br·/></td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02184.html">Dune::impl::Buffer&lt;·T·&amp;·&gt;</a></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01276.html">Dune::ArrayListIterator&lt;·T,·N,·A·&gt;</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02188.html">Dune::impl::Buffer&lt;·void·&gt;</a></td></tr>
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··<a·href="a01276.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01280.html">Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;</a></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02192.html">Dune::MPIFuture&lt;·R,·S·&gt;</a></td></tr>
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·constant·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··<a·href="a01280.html#details">More...</a><br·/></td></tr>90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·future-like·object·for·MPI·communication.·It·contains·the·object·that·will·be·received·and·might·contain·also·a·sending·object,·which·must·be·hold·(keep·alive)·until·the·communication·has·been·completed.··<a·href="a02192.html#details">More...</a><br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
97 Namespaces</h2></td></tr>94 Namespaces</h2></td></tr>
98 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
99 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:a00445"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00445.html">Dune::impl</a></td></tr>
 99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table>100 </table>
102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
103 <div·class="textblock"><p·>Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·</p> 
104 <p·>This·file·implements·the·class·ArrayList·which·behaves·like·dynamically·growing·array·together·with·the·class·ArrayListIterator·which·is·random·access·iterator·as·needed·by·the·stl·for·sorting·and·other·algorithms.·</p><dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
105 </div></div><!--·contents·-->101 </div><!--·contents·-->
106 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
107 <hr·class="footer"/><address·class="footer"><small>103 <hr·class="footer"/><address·class="footer"><small>
108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
109 </small></address>105 </small></address>
110 </body>106 </body>
111 </html>107 </html>
1.9 KB
html2text {}
    
Offset 4, 43 lines modifiedOffset 4, 37 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces8 Classes·|·Namespaces
 9 mpifuture.hh·File·Reference
 10 #include·<optional>
 11 #include·<dune/common/parallel/communication.hh>
 12 #include·<dune/common/parallel/future.hh>
 13 #include·<dune/common/parallel/mpidata.hh>
8 arraylist.hh·File·Reference 
9 Implements·a·random-access·container·that·can·efficiently·change·size·(similar 
10 to·std::deque)·More... 
11 #include·<array> 
12 #include·<cassert> 
13 #include·<memory> 
14 #include·<vector> 
15 #include·"iteratorfacades.hh" 
16 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
17 ·Classes15 ·Classes
 16 struct· Dune::impl::Buffer<_T_>
18 class· Dune::ArrayList<_T,_N,_A_> 
19  ······A·dynamically·growing·random·access·list.·More... 
20  17  
 18 struct· Dune::impl::Buffer<_T_&_>
21 class· Dune::ArrayListIterator<_T,_N,_A_> 
22  ······A·random·access·iterator·for·the·Dune::ArrayList·class.·More... 
23  19  
24 class· Dune::ConstArrayListIterator<_T,_N,_A_> 
25  ······A·constant·random·access·iterator·for·the·Dune::ArrayList·class. 
26 ········More...20 struct· Dune::impl::Buffer<_void_>
 21  
 22 ·class· Dune::MPIFuture<_R,_S_>
 23 ·········Provides·a·future-like·object·for·MPI·communication.·It·contains·the
 24  ·······object·that·will·be·received·and·might·contain·also·a·sending·object,
 25 ·········which·must·be·hold·(keep·alive)·until·the·communication·has·been
 26 ·········completed.·More...
27  27  
28 ·Namespaces28 ·Namespaces
29 namespace· Dune29 namespace· Dune
30  ··········Dune·namespace.30  ··········Dune·namespace.
31  31  
 32 namespace· Dune::impl
 33  
32 *****·Detailed·Description·***** 
33 Implements·a·random-access·container·that·can·efficiently·change·size·(similar 
34 to·std::deque) 
35 This·file·implements·the·class·ArrayList·which·behaves·like·dynamically·growing 
36 array·together·with·the·class·ArrayListIterator·which·is·random·access·iterator 
37 as·needed·by·the·stl·for·sorting·and·other·algorithms. 
38 ··Author 
39 ······Markus·Blatt 
  
40 ===============================================================================34 ===============================================================================
41 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
171 KB
./usr/share/doc/libdune-common-doc/doxygen/a00344_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·arraylist.hh·Source·File</title>8 <title>dune-common:·mpifuture.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 523 lines modifiedOffset 58, 231 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">arraylist.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mpifuture.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00344.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00344.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIFUTURE_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_MPIFUTURE_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ARRAYLIST_HH</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;optional&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_ARRAYLIST_HH</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;array&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00368.html">dune/common/parallel/communication.hh</a>&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00350.html">dune/common/parallel/future.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00356.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00170.html">iteratorfacades.hh</a>&quot;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>{</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>{</div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>··<span·class="comment">//·forward·declaration</span></div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a00445.html">···17</a></span>··<span·class="keyword">namespace·</span>impl{</div>
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·N,·<span·class="keyword">class</span>·A&gt;</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno"><a·class="line"·href="a02180.html">···19</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02180.html">Buffer</a>{</div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno"><a·class="line"·href="a02180.html#adb9d4d5110c44653ea4523fddc4a9aa6">···20</a></span>······<a·class="code·hl_function"·href="a02180.html#adb9d4d5110c44653ea4523fddc4a9aa6">Buffer</a>(<span·class="keywordtype">bool</span>·valid){</div>
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">class·</span>ArrayListIterator;</div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>········<span·class="keywordflow">if</span>(valid)</div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··········<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>·=·std::make_unique&lt;T&gt;();</div>
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div> 
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·N,·<span·class="keyword">class</span>·A&gt;</div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">class·</span>ConstArrayListIterator;</div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>······}</div>
94 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·N=100,·<span·class="keyword">class</span>·A=std::allocator&lt;T&gt;·&gt;</div> 
95 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01284.html">···61</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01284.html">ArrayList</a></div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a02180.html#a68e075f2ae5adc2734c8d561198d70f0">···25</a></span>······<a·class="code·hl_function"·href="a02180.html#a68e075f2ae5adc2734c8d561198d70f0">Buffer</a>(V&amp;&amp;·t)</div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>········:·<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>(<a·class="code·hl_namespace"·href="a00424.html">std</a>::make_unique&lt;T&gt;(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;V&gt;(t)))</div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······{}</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">···28</a></span>······std::unique_ptr&lt;T&gt;·<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>;</div>
 99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno"><a·class="line"·href="a02180.html#ad88077d58f45d406b140a231cf082505">···29</a></span>······T·<a·class="code·hl_function"·href="a02180.html#ad88077d58f45d406b140a231cf082505">get</a>(){</div>
 100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>········T·tmp·=·std::move(*<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>);</div>
 101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>········<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>.reset();</div>
 102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>········<span·class="keywordflow">return</span>·tmp;</div>
 103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······}</div>
 104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02180.html#a3b111cec5e3b0d762b9befb34560c66d">···34</a></span>······<span·class="keyword">operator</span>·bool·()<span·class="keyword">·const·</span>{</div>
 105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>········<span·class="keywordflow">return</span>·(<span·class="keywordtype">bool</span>)<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>;</div>
 106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······}</div>
 107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02180.html#a5fcd8273ba937a50c701e30229d3810b">···37</a></span>······T&amp;·<a·class="code·hl_function"·href="a02180.html#a5fcd8273ba937a50c701e30229d3810b">operator·*</a>()<span·class="keyword">·const</span>{</div>
 108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>········<span·class="keywordflow">return</span>·*<a·class="code·hl_variable"·href="a02180.html#a3462c347ddd102a9981440bd5eb9deb8">value</a>;</div>
 109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······}</div>
 110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····};</div>
 111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02184.html">···43</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02180.html">Buffer</a>&lt;T&amp;&gt;{</div>
 114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02184.html#a452244eaa73c4de337aa2bdf7bf2a6f1">···44</a></span>······<a·class="code·hl_function"·href="a02184.html#a452244eaa73c4de337aa2bdf7bf2a6f1">Buffer</a>(<span·class="keywordtype">bool</span>·valid·=·<span·class="keyword">false</span>)</div>
 115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······{</div>
 116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>········<span·class="keywordflow">if</span>(valid)</div>
 117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··········value·=·T();</div>
 118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······}</div>
 119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
 120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02184.html#afbd96d60f9a2dd1e336b1fb14645c0a5">···50</a></span>······<a·class="code·hl_function"·href="a02184.html#afbd96d60f9a2dd1e336b1fb14645c0a5">Buffer</a>(V&amp;&amp;·t)</div>
 121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········:·value(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;V&gt;(t))</div>
 122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······{}</div>
 123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02184.html#a445a5078c366120fc0ba3d0dcc349523">···53</a></span>······std::optional&lt;std::reference_wrapper&lt;T&gt;&gt;·<a·class="code·hl_variable"·href="a02184.html#a445a5078c366120fc0ba3d0dcc349523">value</a>;</div>
 124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a02184.html#ae84455e645bd229d25cef56860c292b7">···54</a></span>······T&amp;·<a·class="code·hl_function"·href="a02184.html#ae84455e645bd229d25cef56860c292b7">get</a>(){</div>
 125 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>········T&amp;·tmp·=·*value;</div>
 126 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>········value.reset();</div>
 127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·tmp;</div>
 128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div>
 129 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a02184.html#ac8f705e143a7de0dc83ed16f1f3dc934">···59</a></span>······<span·class="keyword">operator</span>·bool·()<span·class="keyword">·const</span>{</div>
 130 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>········<span·class="keywordflow">return</span>·(<span·class="keywordtype">bool</span>)value;</div>
 131 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······}</div>
 132 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a02184.html#a089e50f1e07c7dfd716ee447e788675e">···62</a></span>······T&amp;·<a·class="code·hl_function"·href="a00408.html#ga18a74c0d02300748edcf3bc9c58eaf27">operator·*</a>()<span·class="keyword">·const</span>{</div>
 133 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········<span·class="keywordflow">return</span>·*value;</div>
 134 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······}</div>
 135 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····};</div>
96 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··{</div>136 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
97 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keyword">public</span>:</div>137 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····<span·class="keyword">template</span>&lt;&gt;</div>
98 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a01284.html#acd9e2161d252b53f7a162645d92f8da1">···69</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01284.html#acd9e2161d252b53f7a162645d92f8da1">Member[·...·truncated·by·diffoscope;·len:·9,·SHA:·e35ed84678106ae92e145129076b3668adc1572c90085875188234b2b8acb994·...·]</div>138 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a02188.html">···68</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02180.html">Buffer</a>&lt;void&gt;{</div>
 139 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02188.html#a3c0b7dcd6a22e006dd5942872dbb2b69">···69</a></span>······<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a02188.html#a3c0b7dcd6a22e006dd5942872dbb2b69">valid_</a>;</div>
 140 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="a02188.html#af1e6146bcdfe51e49f250898c42fa32d">···70</a></span>······<a·class="code·hl_function"·href="a02188.html#af1e6146bcdfe51e49f250898c42fa32d">Buffer</a>(<span·class="keywordtype">bool</span>·valid·=·<span·class="keyword">false</span>)</div>
 141 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········:·valid_(valid)</div>
99 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>142 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······{}</div>
100 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01284.html#a09e5d8c534ae1f76a5957c9e4063cbd8">···74</a></span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_typedef"·href="a01284.html#a09e5d8c534ae1f76a5957c9e4063cbd8">value_[·...·truncated·by·diffoscope;·len:·9,·SHA:·640e7b85ea0fe8e3bf1f248d787cb96065aba3e8ff0ae11a58ea7ee66478e008·...·]</div>143 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02188.html#a4ba66cd0b4596d5b18d62e1a5b84e71f">···73</a></span>······<span·class="keyword">operator</span>·bool·()<span·class="keyword">·const</span>{</div>
 144 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>········<span·class="keywordflow">return</span>·valid_;</div>
101 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>145 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>······}</div>
102 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01284.html#aa76d40d0219d9c69649d334884c79d46">···79</a></span>····<span·class="keyword">typedef</span>·T&amp;·<a·class="code·hl_typedef"·href="a01284.html#aa76d40d0219d9c69649d334884c79d46">r[·...·truncated·by·diffoscope;·len:·13,·SHA:·8f9a5f8d0e843b382dcc6c57d6ea1dfb547bba33848d8a16257f4bb684bdb21d·...·]</div>146 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="a02188.html#ad17875d19ff505986446f77fe8bef684">···76</a></span>······<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02188.html#ad17875d19ff505986446f77fe8bef684">get<[·...·truncated·by·diffoscope;·len:·7,·SHA:·c857807b6275bcb25a8dfdf17bb313a77abaa7147b2d06da4c92d0f9ad874939·...·]</div>
 147 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····};</div>
103 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>148 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div>
104 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="a01284.html#a9001bd10815a115576b70fc7c5eed675">···84</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T&amp;·<a·class="code·hl_typedef"·href="a01284.html#a9001bd10815a115576b70fc7c5eed675">const_reference</a>;</div> 
105 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
106 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01284.html#aeb29c418b805d1468e9778268b4e4138">···89</a></span>····<span·class="keyword">typedef</span>·T*·<a·class="code·hl_typedef"·href="a01284.html#aeb29c418b805d1468e9778268b4e4138">pointer</a>;</div> 
107 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>149 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div>
108 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01284.html#a69712ac1ea2ca0283a0d8caa1837f5e7">···94</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·T*·<a·class="code·hl_typedef"·href="a01284.html#a697[·...·truncated·by·diffoscope;·len:·48,·SHA:·bae82176a96db469054249f4c78f125786fd5ced3ccd3dcb4d6c4b1fa9687099·...·];</div>150 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R,·<span·class="keyword">class</span>·S·=·<span·class="keywordtype">void</span>&gt;</div>
 151 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a02192.html">···85</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02192.html">MPIFuture</a>{</div>
 152 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">mutable</span>·MPI_Request·req_;</div>
 153 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>····<span·class="keyword">mutable</span>·MPI_Status·status_;</div>
 154 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<a·class="code·hl_class"·href="a02180.html">impl::Buffer&lt;R&gt;</a>·data_;</div>
 155 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a02192.html#aa615235d4fa5a1741b466a54e4146e11">···89</a></span>····<a·class="code·hl_struct"·href="a02180.html">impl::Buffer&lt;S&gt;</a>·send_data_;</div>
 156 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01988.html">Communication</a>&lt;MPI_Comm&gt;;</div>
 157 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">public</span>:</div>
Max diff block lines reached; 118012/146809 bytes (80.38%) of diff not shown.
27.2 KB
html2text {}
    
Offset 4, 700 lines modifiedOffset 4, 302 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 arraylist.hh7 ····*·parallel
 8 mpifuture.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5 
15 ·6#ifndef·DUNE_COMMON_ARRAYLIST_HH 
16 ·7#define·DUNE_COMMON_ARRAYLIST_HH 
17 ·8 
18 ·9#include·<array> 
19 ·10#include·<cassert> 
20 ·11#include·<memory> 
21 ·12#include·<vector> 
22 ·13#include·"iteratorfacades.hh" 
23 ·1415 ·5#ifndef·DUNE_COMMON_PARALLEL_MPIFUTURE_HH
 16 ·6#define·DUNE_COMMON_PARALLEL_MPIFUTURE_HH
 17 ·7
 18 ·8#include·<optional>
 19 ·9
 20 ·10#include·<dune/common/parallel/communication.hh>
 21 ·11#include·<dune/common/parallel/future.hh>
 22 ·12#include·<dune/common/parallel/mpidata.hh>
 23 ·13
 24 ·14#if·HAVE_MPI
24 ·15namespace·Dune25 ·15namespace·Dune{
25 ·16{26 ·16
26 ·17·//·forward·declaration 
27 ·18·template<class·T,·int·N,·class·A> 
28 ·19·class·ArrayListIterator; 
29 ·20 
30 ·21·template<class·T,·int·N,·class·A> 
31 ·22·class·ConstArrayListIterator;27 17·namespace·impl{
 28 ·18·template<class·T>
 29 19·struct·Buffer{
 30 20·Buffer(bool·valid){
 31 ·21·if(valid)
 32 ·22·value·=·std::make_unique<T>();
32 ·2333 ·23·}
33 ·60·template<class·T,·int·N=100,·class·A=std::allocator<T>·> 
34 61·class·ArrayList 
35 ·62·{34 ·24·template<class·V>
 35 25·Buffer(V&&·t)
 36 ·26·:·value(std::make_unique<T>(std::forward<V>(t)))
 37 ·27·{}
 38 28·std::unique_ptr<T>·value;
 39 29·T·get(){
 40 ·30·T·tmp·=·std::move(*value);
 41 ·31·value.reset();
 42 ·32·return·tmp;
 43 ·33·}
 44 34·operator·bool·()·const·{
 45 ·35·return·(bool)value;
 46 ·36·}
 47 37·T&·operator_*()·const{
 48 ·38·return·*value;
 49 ·39·}
 50 ·40·};
 51 ·41
 52 ·42·template<class·T>
 53 43·struct·Buffer<T&>{
 54 44·Buffer(bool·valid·=·false)
 55 ·45·{
 56 ·46·if(valid)
 57 ·47·value·=·T();
 58 ·48·}
 59 ·49·template<class·V>
 60 50·Buffer(V&&·t)
 61 ·51·:·value(std::forward<V>(t))
 62 ·52·{}
 63 53·std::optional<std::reference_wrapper<T>>·value;
 64 54·T&·get(){
 65 ·55·T&·tmp·=·*value;
 66 ·56·value.reset();
 67 ·57·return·tmp;
 68 ·58·}
 69 59·operator·bool·()·const{
 70 ·60·return·(bool)value;
 71 ·61·}
 72 62·T&·operator_*()·const{
 73 ·63·return·*value;
 74 ·64·}
 75 ·65·};
 76 ·66
 77 ·67·template<>
 78 68·struct·Buffer<void>{
 79 69·bool·valid_;
 80 70·Buffer(bool·valid·=·false)
 81 ·71·:·valid_(valid)
 82 ·72·{}
 83 73·operator·bool·()·const{
 84 ·74·return·valid_;
 85 ·75·}
 86 76·void·get(){}
 87 ·77·};
 88 ·78·}
 89 ·79
 90 ·84·template<class·R,·class·S·=·void>
 91 85·class·MPIFuture{
 92 ·86·mutable·MPI_Request·req_;
 93 ·87·mutable·MPI_Status·status_;
 94 ·88·impl::Buffer<R>·data_;
 95 89·impl::Buffer<S>·send_data_;
 96 ·90·friend·class·Communication<MPI_Comm>;
36 ·63·public:97 ·91·public:
37 69·typedef·T·MemberType; 
38 ·70 
39 74·typedef·T·value_type; 
40 ·75 
41 79·typedef·T&·reference; 
42 ·80 
43 84·typedef·const·T&·const_reference; 
44 ·85 
45 89·typedef·T*·pointer; 
46 ·90 
47 94·typedef·const·T*·const_pointer; 
48 ·95 
49 100·constexpr·static·int·chunkSize_·=·(N·>·0)·?·N·:·1;98 92·MPIFuture(bool·valid·=·false)
Max diff block lines reached; 24066/27842 bytes (86.44%) of diff not shown.
22.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00347.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·typelist.hh·File·Reference</title>8 <title>dune-common:·mpicommunication.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 93 lines modifiedOffset 58, 114 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#typedef-members">Typedefs</a>·&#124;71 <a·href="#define-members">Macros</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">typelist.hh·File·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">mpicommunication.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
 76 <p>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.··
 77 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 79 <code>#include·&lt;functional&gt;</code><br·/>
 80 <code>#include·&lt;memory&gt;</code><br·/>
77 <code>#include·&lt;tuple&gt;</code><br·/>81 <code>#include·&lt;mpi.h&gt;</code><br·/>
78 <code>#include·&lt;utility&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00368_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code><br·/>
79 </div>88 </div>
80 <p><a·href="a00347_source.html">Go·to·the·source·code·of·this·file.</a></p>89 <p><a·href="a00347_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <table·class="memberdecls">90 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
83 Classes</h2></td></tr>92 Classes</h2></td></tr>
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03028.html">Dune::MetaType&lt;·T·&gt;</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02160.html">Dune::Generic_MPI_Op&lt;·Type,·BinaryFunction,·Enable·&gt;</a></td></tr>
85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·type·that·refers·to·another·type.··<a·href="a03028.html#details">More...</a><br·/></td></tr> 
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03032.html">Dune::IsTypeList&lt;·T·&gt;</a></td></tr> 
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·given·type·is·a·TypeList.··<a·href="a03032.html#details">More...</a><br·/></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03036.html">Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·given·type·is·a·TypeList.··<a·href="a03036.html#details">More...</a><br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03040.html">Dune::IsEmptyTypeList&lt;·T·&gt;</a></td></tr> 
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Check·if·given·type·is·an·empty·TypeList.··<a·href="a03040.html#details">More...</a><br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03044.html">Dune::TypeListSize&lt;·T·&gt;</a></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03048.html">Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·size·of·TypeList.··<a·href="a03048.html#details">More...</a><br·/></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03052.html">Dune::TypeListElement&lt;·i,·T·&gt;</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02164.html">Dune::Communication&lt;·MPI_Comm·&gt;</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Specialization·of·<a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·for·MPI.··<a·href="a02164.html#details">More...</a><br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03056.html">Dune::TypeListElement&lt;·i,·TypeList&lt;·T...·&gt;·&gt;</a></td></tr> 
104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·element·of·TypeList.··<a·href="a03056.html#details">More...</a><br·/></td></tr> 
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">98 </table><table·class="memberdecls">
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
108 Namespaces</h2></td></tr>100 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>101 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
110 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>102 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table><table·class="memberdecls">104 </table><table·class="memberdecls">
113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 106 Macros</h2></td></tr>
 107 <tr·class="memitem:abf4b9767826441f78c43351f92490b89"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00347.html#abf4b9767826441f78c43351f92490b89">ComposeMPIOp</a>(func,··op)</td></tr>
114 Typedefs</h2></td></tr> 
115 <tr·class="memitem:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr> 
116 <tr·class="memitem:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">Dune::TypeList</a>·=·std::tuple&lt;·MetaType&lt;·T·&gt;...·&gt;</td></tr> 
117 <tr·class="memdesc:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·type·list.··<a·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">More...</a><br·/></td></tr> 
118 <tr·class="separator:ga7e18d05cb5d1e95f0e7c7409ffe9689f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:ae06816da928c17285e09ccb74357648b"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·i,·class·T·&gt;·</td></tr> 
120 <tr·class="memitem:ae06816da928c17285e09ccb74357648b"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ae06816da928c17285e09ccb74357648b">Dune::TypeListEntry_t</a>·=·typename·TypeListElement&lt;·i,·T·&gt;::type</td></tr> 
121 <tr·class="memdesc:ae06816da928c17285e09ccb74357648b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Shortcut·for·TypeListElement&lt;i,·T&gt;::type;.··<a·href="a00425.html#ae06816da928c17285e09ccb74357648b">More...</a><br·/></td></tr> 
122 <tr·class="separator:ae06816da928c17285e09ccb74357648b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:a05190548d101a946d1cab292cff5fdb9"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class·TL·&gt;·</td></tr> 
124 <tr·class="memitem:a05190548d101a946d1cab292cff5fdb9"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a05190548d101a946d1cab292cff5fdb9">Dune::UnpackTypeList_t</a>·=·typename·Impl::UnpackTypeList&lt;·Target,·TL·&gt;::type</td></tr> 
125 <tr·class="memdesc:a05190548d101a946d1cab292cff5fdb9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Unpack·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f"·title="A·simple·type·list.">Dune::TypeList</a>.··<a·href="a00425.html#a05190548d101a946d1cab292cff5fdb9">More...</a><br·/></td></tr> 
126 <tr·class="separator:a05190548d101a946d1cab292cff5fdb9"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:a7f31a234ebc9fa02660570324eabde1a"><td·class="memTemplParams"·colspan="2">template&lt;template&lt;·class...·&gt;·class·Target,·class...·T&gt;·</td></tr> 
128 <tr·class="memitem:a7f31a234ebc9fa02660570324eabde1a"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a7f31a234ebc9fa02660570324eabde1a">Dune::UniqueTypes_t</a>·=·typename·Impl::UniqueTypesHelper&lt;·Target,·TypeList&lt;·T...·&gt;·&gt;::type</td></tr> 
129 <tr·class="memdesc:a7f31a234ebc9fa02660570324eabde1a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Remove·duplicates·from·a·list·of·types.··<a·href="a00425.html#a7f31a234ebc9fa02660570324eabde1a">More...</a><br·/></td></tr> 
130 <tr·class="separator:a7f31a234ebc9fa02660570324eabde1a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
131 <tr·class="memitem:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memTemplParams"·colspan="2">template&lt;class·NonUniqueTypeList·&gt;·</td></tr> 
132 <tr·class="memitem:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ab8e5f27ee5ff462d88e7eb109f143263">Dune::UniqueTypeList_t</a>·=·typename·Impl::UniqueTypesHelper&lt;·TypeList,·NonUniqueTypeList·&gt;::type</td></tr> 
133 <tr·class="memdesc:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Remove·duplicates·from·a·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f"·title="A·simple·type·list.">Dune::TypeList</a>.··<a·href="a00425.html#ab8e5f27ee5ff462d88e7eb109f143263">More...</a><br·/></td></tr> 
134 <tr·class="separator:ab8e5f27ee5ff462d88e7eb109f143263"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:abf4b9767826441f78c43351f92490b89"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 </table><table·class="memberdecls">109 </table><table·class="memberdecls">
136 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
137 Functions</h2></td></tr>111 Functions</h2></td></tr>
 112 <tr·class="memitem:a59a2fa61f1387001cea29f6934ff2316"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">Dune::ComposeMPIOp</a>·(std::plus,·MPI_SUM)</td></tr>
138 <tr·class="memitem:a595be06b36830646a9a348d33b7c51c1"><td·class="memTemplParams"·colspan="2">template&lt;class...·T&gt;·</td></tr> 
139 <tr·class="memitem:a595be06b36830646a9a348d33b7c51c1"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a595be06b36830646a9a348d33b7c51c1">Dune::uniqueTypeList</a>·(TypeList&lt;·T...·&gt;·list)</td></tr> 
140 <tr·class="memdesc:a595be06b36830646a9a348d33b7c51c1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Remove·duplicates·from·a·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f"·title="A·simple·type·list.">Dune::TypeList</a>.··<a·href="a00425.html#a595be06b36830646a9a348d33b7c51c1">More...</a><br·/></td></tr> 
141 <tr·class="separator:a595be06b36830646a9a348d33b7c51c1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:a59a2fa61f1387001cea29f6934ff2316"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 114 <tr·class="memitem:a8b1b0f5e50429120ba7fc972b022c620"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a8b1b0f5e50429120ba7fc972b022c620">Dune::ComposeMPIOp</a>·(std::multiplies,·MPI_PROD)</td></tr>
 115 <tr·class="separator:a8b1b0f5e50429120ba7fc972b022c620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:a428c0ab2a3d2fd8f57aaf06a51bcc558"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a428c0ab2a3d2fd8f57aaf06a51bcc558">Dune::ComposeMPIOp</a>·(Min,·MPI_MIN)</td></tr>
 117 <tr·class="separator:a428c0ab2a3d2fd8f57aaf06a51bcc558"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 118 <tr·class="memitem:ac6814315ac90b4c03e394688a30c63d9"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#ac6814315ac90b4c03e394688a30c63d9">Dune::ComposeMPIOp</a>·(Max,·MPI_MAX)</td></tr>
 119 <tr·class="separator:ac6814315ac90b4c03e394688a30c63d9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
142 </table>120 </table>
 121 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 122 <div·class="textblock"><p·>Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·</p>
 123 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 124 <a·id="abf4b9767826441f78c43351f92490b89"·name="abf4b9767826441f78c43351f92490b89"></a>
 125 <h2·class="memtitle"><span·class="permalink"><a·href="#abf4b9767826441f78c43351f92490b89">&#9670;&nbsp;</a></span>ComposeMPIOp</h2>
Max diff block lines reached; 271/19214 bytes (1.41%) of diff not shown.
3.68 KB
html2text {}
    
Offset 4, 72 lines modifiedOffset 4, 73 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces·|·Typedefs·|·Functions8 Classes·|·Namespaces·|·Macros·|·Functions
8 typelist.hh·File·Reference 
9 #include·<type_traits> 
10 #include·<tuple>9 mpicommunication.hh·File·Reference
 10 Common·»·Parallel_Communication
 11 Implements·an·utility·class·that·provides·MPI's·collective·communication
 12 methods.·More...
 13 #include·<algorithm>
11 #include·<utility>14 #include·<functional>
 15 #include·<memory>
 16 #include·<mpi.h>
 17 #include·<dune/common/binaryfunctions.hh>
 18 #include·<dune/common/exceptions.hh>
 19 #include·<dune/common/parallel/communication.hh>
 20 #include·<dune/common/parallel/mpitraits.hh>
 21 #include·<dune/common/parallel/mpifuture.hh>
 22 #include·<dune/common/parallel/mpidata.hh>
12 Go_to_the_source_code_of_this_file.23 Go_to_the_source_code_of_this_file.
13 ·Classes24 ·Classes
 25 class· Dune::Generic_MPI_Op<_Type,_BinaryFunction,_Enable_>
14 struct· Dune::MetaType<_T_> 
15  ·······A·type·that·refers·to·another·type.·More... 
16  26  
 27 class· Dune::Communication<_MPI_Comm_>
 28  ······Specialization·of·Communication·for·MPI.·More...
17 struct· Dune::IsTypeList<_T_> 
18  ·······Check·if·given·type·is·a·TypeList.·More... 
19   
20 struct· Dune::IsTypeList<_TypeList<_T..._>_> 
21  ·······Check·if·given·type·is·a·TypeList.·More... 
22   
23 struct· Dune::IsEmptyTypeList<_T_> 
24  ·······Check·if·given·type·is·an·empty·TypeList.·More... 
25   
26 struct· Dune::TypeListSize<_T_> 
27   
28 struct· Dune::TypeListSize<_TypeList<_T..._>_> 
29  ·······Get·size·of·TypeList.·More... 
30   
31 struct· Dune::TypeListElement<_i,_T_> 
32   
33 struct· Dune::TypeListElement<_i,_TypeList<_T..._>_> 
34  ·······Get·element·of·TypeList.·More... 
35  29  
36 ·Namespaces30 ·Namespaces
37 namespace· Dune31 namespace· Dune
38  ··········Dune·namespace.32  ··········Dune·namespace.
39  33  
 34 ·Macros
 35 #define ComposeMPIOp(func,·op)
40 ·Typedefs 
41 template<class...·T> 
42 using Dune::TypeList·=·std::tuple<·MetaType<·T·>...·> 
43  ·····A·simple·type·list.·More... 
44   
45 template<std::size_t·i,·class·T·> 
46 using Dune::TypeListEntry_t·=·typename·TypeListElement<·i,·T·>::type 
47  ·····Shortcut·for·TypeListElement<i,·T>::type;.·More... 
48   
49 template<template<·class...·>·class·Target,·class·TL·> 
50 using Dune::UnpackTypeList_t·=·typename·Impl::UnpackTypeList<·Target,·TL·>:: 
51 ·······type 
52  ·····Unpack·Dune::TypeList.·More... 
53   
54 template<template<·class...·>·class·Target,·class...·T> 
55 using Dune::UniqueTypes_t·=·typename·Impl::UniqueTypesHelper<·Target, 
56 ·······TypeList<·T...·>·>::type 
57  ·····Remove·duplicates·from·a·list·of·types.·More... 
58   
59 template<class·NonUniqueTypeList·> 
60 using Dune::UniqueTypeList_t·=·typename·Impl::UniqueTypesHelper<·TypeList, 
61 ·······NonUniqueTypeList·>::type 
62  ·····Remove·duplicates·from·a·Dune::TypeList.·More... 
63  36  
64 ·Functions37 ·Functions
65 template<class...·T> 
66 constexpr·auto Dune::uniqueTypeList·(TypeList<·T...·>·list) 
67  ··············Remove·duplicates·from·a·Dune::TypeList.·More...38  Dune::ComposeMPIOp·(std::plus,·MPI_SUM)
 39  
 40  Dune::ComposeMPIOp·(std::multiplies,·MPI_PROD)
 41  
 42  Dune::ComposeMPIOp·(Min,·MPI_MIN)
 43  
 44  Dune::ComposeMPIOp·(Max,·MPI_MAX)
68  45  
 46 *****·Detailed·Description·*****
 47 Implements·an·utility·class·that·provides·MPI's·collective·communication
 48 methods.
 49 *****·Macro·Definition·Documentation·*****
 50 *****·◆ ComposeMPIOp·*****
 51 #define·ComposeMPIOp·(· func,
 52 ······················· op 
 53 ·····················)
 54 Value:
 55 template<class·T,·class·S>·\
 56 class·Generic_MPI_Op<T,·func<S>,·std::enable_if_t<MPITraits<S>::is_intrinsic>·>
 57 {·\
 58 public:·\
 59 static·MPI_Op·get(){·\
 60 return·op;·\
 61 }·\
 62 private:·\
 63 Generic_MPI_Op·()·{}·\
 64 Generic_MPI_Op·(const·Generic_MPI_Op·&·)·{}·\
 65 }
 66 Dune::get
 67 Reference·get(const·RAPropertyMapHelper<·Reference,·PropertyMap·>·&pmap,·const
 68 Key·&key)
 69 Definition:·propertymap.hh:84
  
69 ===============================================================================70 ===============================================================================
70 ·····Generated·by [doxygen]·1.9.471 ·····Generated·by [doxygen]·1.9.4
145 KB
./usr/share/doc/libdune-common-doc/doxygen/a00347_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·typelist.hh·Source·File</title>8 <title>dune-common:·mpicommunication.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 146 lines modifiedOffset 58, 501 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">typelist.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mpicommunication.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00347.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00347.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TYPELIST_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TYPELIST_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>78 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>79 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 80 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 81 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;functional&gt;</span></div>
 82 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 83 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 84 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
 85 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 86 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00170.html">dune/common/binaryfunctions.hh</a>&gt;</span></div>
 87 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 88 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00368.html">dune/common/parallel/communication.hh</a>&gt;</span></div>
 89 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00365.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div>
 90 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00344.html">dune/common/parallel/mpifuture.hh</a>&gt;</span></div>
 91 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00356.html">dune/common/parallel/mpidata.hh</a>&gt;</span></div>
 92 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>93 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 94 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>{</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>95 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 96 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="comment">//=======================================================</span></div>
 97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="comment">//·use·singleton·pattern·and·template·specialization·to</span></div>
84 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
85 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a03028.html">···33</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03028.html">MetaType</a>·{</div> 
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a03028.html#a6b3de5881641ffb3bb9c5af780fc3a13">···35</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a03028.html#a6b3de5881641ffb3bb9c5af780fc3a13">type</a>·=·T;</div> 
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··};</div>98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="comment">//·generate·MPI·operations</span></div>
 99 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="comment">//=======================================================</span></div>
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>100 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 101 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Type,·<span·class="keyword">typename</span>·BinaryFunction,·<span·class="keyword">typename</span>·Enable=<span·class="keywordtype">void</span>&gt;</div>
 102 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a02160.html">···40</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02160.html">Generic_MPI_Op</a></div>
 103 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
 104 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
 105 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div>
 106 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a02160.html#a630e429addd37d613753026e63f07410">···44</a></span>····<span·class="keyword">static</span>·MPI_Op·<a·class="code·hl_function"·href="a02160.html#a630e429addd37d613753026e63f07410">get</a>·()</div>
 107 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····{</div>
 108 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······<span·class="keywordflow">if</span>·(!op)</div>
 109 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>······{</div>
 110 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>········op·=·std::make_unique&lt;MPI_Op&gt;();</div>
 111 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>········<span·class="comment">//·The·following·line·leaks·an·MPI·operation·object,·because·the·corresponding</span></div>
 112 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>········<span·class="comment">//`MPI_Op_free`·is·never·called.··It·is·never·called·because·there·is·no·easy</span></div>
 113 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········<span·class="comment">//·way·to·call·it·at·the·right·moment:·right·before·the·call·to·MPI_Finalize.</span></div>
 114 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········<span·class="comment">//·See·https://gitlab.dune-project.org/core/dune-istl/issues/80</span></div>
 115 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>········MPI_Op_create((<span·class="keywordtype">void</span>·(*)(<span·class="keywordtype">void</span>*,·<span·class="keywordtype">void</span>*,·<span·class="keywordtype">int</span>*,·MPI_Datatype*))&amp;operation,<span·class="keyword">true</span>,op.get());</div>
 116 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······}</div>
 117 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keywordflow">return</span>·*op;</div>
 118 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····}</div>
89 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div>119 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</div>
90 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">···87</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList<[·...·truncated·by·diffoscope;·len:·45,·SHA:·462e279de62a211b0c7e21e1b61d29cf6506631fc4ecbbe51b9b9571f14a14d6·...·]</div>120 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·operation·(Type·*in,·Type·*inout,·<span·class="keywordtype">int</span>·*len,·MPI_Datatype*)</div>
 121 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>
 122 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······BinaryFunction·func;</div>
 123 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
 124 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>······<span·class="keywordflow">for</span>·(<span·class="keywordtype">int</span>·i=0;·i&lt;·*len;·++i,·++in,·++inout)·{</div>
 125 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>········Type·temp;</div>
 126 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>········temp·=·func(*in,·*inout);</div>
 127 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>········*inout·=·temp;</div>
 128 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>······}</div>
 129 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····}</div>
 130 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····Generic_MPI_Op·()·{}</div>
 131 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····Generic_MPI_Op·(<span·class="keyword">const</span>·Generic_MPI_Op&amp;·)·{}</div>
 132 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">static</span>·std::unique_ptr&lt;MPI_Op&gt;·op;</div>
 133 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··};</div>
 134 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 135 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 136 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Type,·<span·class="keyword">typename</span>·BinaryFunction,·<span·class="keyword">typename</span>·Enable&gt;</div>
 137 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··std::unique_ptr&lt;MPI_Op&gt;·Generic_MPI_Op&lt;Type,BinaryFunction,·Enable&gt;::op;</div>
 138 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 139 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a00347.html#abf4b9767826441f78c43351f92490b89">···77</a></span><span·class="preprocessor">#define·ComposeMPIOp(func,op)···········································\</span></div>
 140 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">··template&lt;class·T,·class·S&gt;············································\</span></div>
 141 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="preprocessor">··class·Generic_MPI_Op&lt;T,·func&lt;S&gt;,·std::enable_if_t&lt;MPITraits&lt;S&gt;::is_intrinsic&gt;·&gt;{·\</span></div>
 142 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span><span·class="preprocessor">··public:·······························································\</span></div>
 143 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="preprocessor">··static·MPI_Op·get(){··················································\</span></div>
 144 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">····return·op;··························································\</span></div>
 145 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">··}·····································································\</span></div>
 146 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="preprocessor">··private:······························································\</span></div>
 147 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="preprocessor">··Generic_MPI_Op·()·{}··················································\</span></div>
 148 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="preprocessor">··Generic_MPI_Op·(const·Generic_MPI_Op·&amp;·)·{}···························\</span></div>
 149 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="preprocessor">··}</span></div>
91 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>150 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
92 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>151 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div>
 152 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">···90</a></span>··<a·class="code·hl_function"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">ComposeMPIOp</a>(std::plus,·MPI_SUM);</div>
 153 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a00425.html#a8b1b0f5e50429120ba7fc972b022c620">···91</a></span>··<a·class="code·hl_function"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">ComposeMPIOp</a>(std::multiplies,·MPI_PROD);</div>
 154 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a00425.html#a428c0ab2a3d2fd8f57aaf06a51bcc558">···92</a></span>··<a·class="code·hl_function"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">ComposeMPIOp</a>(<a·class="code·hl_struct"·href="a01312.html">Min</a>,·MPI_MIN);</div>
 155 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="a00425.html#ac6814315ac90b4c03e394688a30c63d9">···93</a></span>··<a·class="code·hl_function"·href="a00425.html#a59a2fa61f1387001cea29f6934ff2316">ComposeMPIOp</a>(<a·class="code·hl_struct"·href="a01316.html">Max</a>,·MPI_MAX);</div>
93 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>156 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
94 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div> 
95 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a03032.html">··100</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03032.html">IsTypeList</a>·:·std::false_type·{};</div>157 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="preprocessor">#undef·ComposeMPIOp</span></div>
 158 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 159 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 160 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="comment">//=======================================================</span></div>
 161 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="comment">//·use·singleton·pattern·and·template·specialization·to</span></div>
Max diff block lines reached; 93074/121045 bytes (76.89%) of diff not shown.
26.3 KB
html2text {}
    
Offset 4, 183 lines modifiedOffset 4, 666 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 typelist.hh7 ····*·parallel
 8 mpicommunication.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_TYPELIST_HH 
15 ·6#define·DUNE_COMMON_TYPELIST_HH15 ·5#ifndef·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH
 16 ·6#define·DUNE_COMMON_PARALLEL_MPICOMMUNICATION_HH
16 ·717 ·7
17 ·8#include·<type_traits> 
18 ·9#include·<tuple>18 ·16#if·HAVE_MPI
 19 ·17
 20 ·18#include·<algorithm>
19 ·10#include·<utility>21 ·19#include·<functional>
20 ·1122 ·20#include·<memory>
 23 ·21
 24 ·22#include·<mpi.h>
 25 ·23
 26 ·24#include·<dune/common/binaryfunctions.hh>
 27 ·25#include·<dune/common/exceptions.hh>
 28 ·26#include·<dune/common/parallel/communication.hh>
 29 ·27#include·<dune/common/parallel/mpitraits.hh>
 30 ·28#include·<dune/common/parallel/mpifuture.hh>
 31 ·29#include·<dune/common/parallel/mpidata.hh>
 32 ·30
21 ·12namespace·Dune·{33 ·31namespace·Dune
22 ·13 
23 ·32·template<class·T> 
24 33·struct·MetaType·{ 
25 35·using·type·=·T; 
26 ·36·}; 
27 ·37 
28 ·86·template<class...·T> 
29 87·using·TypeList·=·std::tuple<MetaType<T>...>;34 ·32{
 35 ·33
 36 ·34·//=======================================================
 37 ·35·//·use·singleton·pattern·and·template·specialization·to
 38 ·36·//·generate·MPI·operations
 39 ·37·//=======================================================
 40 ·38
 41 ·39·template<typename·Type,·typename·BinaryFunction,·typename·Enable=void>
 42 40·class·Generic_MPI_Op
 43 ·41·{
 44 ·42
 45 ·43·public:
 46 44·static·MPI_Op·get·()
 47 ·45·{
 48 ·46·if·(!op)
 49 ·47·{
 50 ·48·op·=·std::make_unique<MPI_Op>();
 51 ·49·//·The·following·line·leaks·an·MPI·operation·object,·because·the
 52 corresponding
 53 ·50·//`MPI_Op_free`·is·never·called.·It·is·never·called·because·there·is·no
 54 easy
 55 ·51·//·way·to·call·it·at·the·right·moment:·right·before·the·call·to
 56 MPI_Finalize.
 57 ·52·//·See·https://gitlab.dune-project.org/core/dune-istl/issues/80
 58 ·53·MPI_Op_create((void·(*)(void*,·void*,·int*,
 59 MPI_Datatype*))&operation,true,op.get());
 60 ·54·}
 61 ·55·return·*op;
 62 ·56·}
 63 ·57·private:
 64 ·58·static·void·operation·(Type·*in,·Type·*inout,·int·*len,·MPI_Datatype*)
 65 ·59·{
 66 ·60·BinaryFunction·func;
 67 ·61
 68 ·62·for·(int·i=0;·i<·*len;·++i,·++in,·++inout)·{
 69 ·63·Type·temp;
 70 ·64·temp·=·func(*in,·*inout);
 71 ·65·*inout·=·temp;
 72 ·66·}
 73 ·67·}
 74 ·68·Generic_MPI_Op·()·{}
 75 ·69·Generic_MPI_Op·(const·Generic_MPI_Op&·)·{}
 76 ·70·static·std::unique_ptr<MPI_Op>·op;
 77 ·71·};
 78 ·72
 79 ·73
 80 ·74·template<typename·Type,·typename·BinaryFunction,·typename·Enable>
 81 ·75·std::unique_ptr<MPI_Op>·Generic_MPI_Op<Type,BinaryFunction,·Enable>::op;
 82 ·76
 83 77#define·ComposeMPIOp(func,op)·\
 84 ·78·template<class·T,·class·S>·\
 85 ·79·class·Generic_MPI_Op<T,·func<S>,·std::enable_if_t<MPITraits<S>::
 86 is_intrinsic>·>{·\
 87 ·80·public:·\
 88 ·81·static·MPI_Op·get(){·\
 89 ·82·return·op;·\
 90 ·83·}·\
 91 ·84·private:·\
 92 ·85·Generic_MPI_Op·()·{}·\
 93 ·86·Generic_MPI_Op·(const·Generic_MPI_Op·&·)·{}·\
 94 ·87·}
30 ·8895 ·88
31 ·8996 ·89
32 ·90 
33 ·99·template<class·T> 
34 100·struct·IsTypeList·:·std::false_type·{};97 90·ComposeMPIOp(std::plus,·MPI_SUM);
 98 91·ComposeMPIOp(std::multiplies,·MPI_PROD);
 99 92·ComposeMPIOp(Min,·MPI_MIN);
 100 93·ComposeMPIOp(Max,·MPI_MAX);
 101 ·94
 102 ·95#undef·ComposeMPIOp
 103 ·96
 104 ·97
 105 ·98·//=======================================================
 106 ·99·//·use·singleton·pattern·and·template·specialization·to
 107 ·100·//·generate·MPI·operations
 108 ·101·//=======================================================
35 ·101109 ·102
36 ·107·template<class...·T> 
37 108·struct·IsTypeList<TypeList<T...>·>·:·std::true_type·{}; 
38 ·109 
39 ·110 
40 ·111 
41 ·120·template<class·T>110 ·106·template<>
Max diff block lines reached; 22261/26945 bytes (82.62%) of diff not shown.
8.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a00350.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·documentation.hh·File·Reference</title>8 <title>dune-common:·future.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 51 lines modifiedOffset 58, 49 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
71 <a·href="#enum-members">Enumerations</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">documentation.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">future.hh·File·Reference</div></div>
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
 74 <div·class="textblock"><code>#include·&lt;memory&gt;</code><br·/>
 75 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 76 </div>
  
75 <p>Documentation·related·stuff.·· 
76 <a·href="#details">More...</a></p> 
  
77 <p><a·href="a00350_source.html">Go·to·the·source·code·of·this·file.</a></p>77 <p><a·href="a00350_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
80 Classes</h2></td></tr>80 Classes</h2></td></tr>
81 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01488.html">Dune::ImplementationDefined</a></td></tr>81 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02068.html">Dune::InvalidFutureException</a></td></tr>
 82 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.··<a·href="a02068.html#details">More...</a><br·/></td></tr>
 83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02076.html">Dune::Future&lt;·T·&gt;</a></td></tr>
 85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object·satisfying·the·interface·of·FutureBase.··<a·href="a02076.html#details">More...</a><br·/></td></tr>
 86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02072.html">Dune::PseudoFuture&lt;·T·&gt;</a></td></tr>
82 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Dummy·struct·used·for·documentation·purposes.··<a·href="a01488.html#details">More...</a><br·/></td></tr>88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·wrapper-class·for·a·object·which·is·ready·immediately.··<a·href="a02072.html#details">More...</a><br·/></td></tr>
 89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02088.html">Dune::PseudoFuture&lt;·void·&gt;</a></td></tr>
83 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
86 Namespaces</h2></td></tr>94 Namespaces</h2></td></tr>
87 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>95 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
88 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>96 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table><table·class="memberdecls"> 
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="enum-members"·name="enum-members"></a> 
92 Enumerations</h2></td></tr> 
93 <tr·class="memitem:a90bbc2f44b2002c6431570e453a822a0"><td·class="memItemLeft"·align="right"·valign="top">enum·&#160;</td><td·class="memItemRight"·valign="bottom">{·<a·class="el"·href="a00397.html#ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b">Dune::implementationDefined</a> 
94 ·}</td></tr> 
95 <tr·class="separator:a90bbc2f44b2002c6431570e453a822a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 </table>98 </table>
97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
98 <div·class="textblock"><p·>Documentation·related·stuff.·</p> 
99 </div></div><!--·contents·-->99 </div><!--·contents·-->
100 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>101 <hr·class="footer"/><address·class="footer"><small>
102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
103 </small></address>103 </small></address>
104 </body>104 </body>
105 </html>105 </html>
1.32 KB
html2text {}
    
Offset 4, 27 lines modifiedOffset 4, 35 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Enumerations 
8 documentation.hh·File·Reference 
9 Documentation·related·stuff.·More...7 ····*·parallel
 8 Classes·|·Namespaces
 9 future.hh·File·Reference
 10 #include·<memory>
 11 #include·<dune/common/exceptions.hh>
10 Go_to_the_source_code_of_this_file.12 Go_to_the_source_code_of_this_file.
11 ·Classes13 ·Classes
12 struct· Dune::ImplementationDefined 
13  ·······Dummy·struct·used·for·documentation·purposes.·More...14 class· Dune::InvalidFutureException
 15 ········This·exception·is·thrown·when·ready(),·wait()·or·get()·is·called·on·an
 16  ······invalid·future.·A·future·is·valid·until·get()·is·called·and·if·it·is
 17 ········not·default-constructed·and·it·was·not·moved·from.·More...
 18  
 19 class· Dune::Future<_T_>
 20  ······Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object
 21 ········satisfying·the·interface·of·FutureBase.·More...
 22  
 23 class· Dune::PseudoFuture<_T_>
 24  ······A·wrapper-class·for·a·object·which·is·ready·immediately.·More...
 25  
 26 class· Dune::PseudoFuture<_void_>
14  27  
15 ·Namespaces28 ·Namespaces
16 namespace· Dune29 namespace· Dune
17  ··········Dune·namespace.30  ··········Dune·namespace.
18  31  
19 ·Enumerations 
20 enum· {·Dune::implementationDefined·} 
21   
22 *****·Detailed·Description·***** 
23 Documentation·related·stuff. 
  
24 ===============================================================================32 ===============================================================================
25 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
45.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00350_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·documentation.hh·Source·File</title>8 <title>dune-common:·future.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 42 lines modifiedOffset 58, 211 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">documentation.hh</div></div>68 ··<div·class="headertitle"><div·class="title">future.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00350.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00350.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_FUTURE_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_FUTURE_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_DOCUMENTATION_HH</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_DOCUMENTATION_HH</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>{</div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno"><a·class="line"·href="a02068.html">···17</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02068.html">InvalidFutureException</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01580.html">InvalidStateException</a></div>
 84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>··{};</div>
 85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="comment">//·forward·declaration</span></div>
 87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02072.html">PseudoFuture</a>;</div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
81 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01488.html">···42</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01488.html">ImplementationDefined</a>·{};</div>91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a02076.html">···28</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02076.html">Future</a>{</div>
 92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="comment">//·Future·interface:</span></div>
 93 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">class·</span>FutureBase{</div>
 94 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="keyword">public</span>:</div>
 95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">virtual</span>·~FutureBase()·=·<span·class="keywordflow">default</span>;</div>
 96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02076.html#a12d6700e91dc0441e562b2c6a534e56d">wait</a>()·=·0;</div>
 97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#a06dbf43dc827d5d6ccb248ff32dc68fe">ready</a>()·<span·class="keyword">const</span>·=·0;</div>
 98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#abd07d08dcdbbd412727ec7c0d870c800">valid</a>()·<span·class="keyword">const</span>·=·0;</div>
 99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keyword">virtual</span>·T·<a·class="code·hl_function"·href="a02076.html#a4c7f4da716cd69f8f6c9c8fe5ac17838">get</a>()·=·0;</div>
 100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····};</div>
 101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="comment">//·model·class</span></div>
 103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div>
 104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">class·</span>FutureModel</div>
 105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>······:·<span·class="keyword">public</span>·FutureBase</div>
82 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{</div>
83 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b">···55</a></span>··<span·class="keyword">enum</span>·{·<a·class="code·hl_enumvalue"·href="a00397.html#ga90bbc2f[·...·truncated·by·diffoscope;·len:·87,·SHA:·57160971e48654e24b38e194477cdc85b7d9030145d884bf566145582b7706ab·...·];</div>107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······F·_future;</div>
 108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">public</span>:</div>
 109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······FutureModel(F&amp;&amp;·f)</div>
 110 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>········:·_future(std::forward&lt;F&gt;(f))</div>
 111 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······{}</div>
 112 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 113 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02076.html#a12d6700e91dc0441e562b2c6a534e56d">wait</a>()<span·class="keyword">·override</span></div>
 114 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="keyword">······</span>{</div>
 115 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········_future.wait();</div>
 116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······}</div>
84 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#a06dbf43dc827d5d6ccb248ff32dc68fe">ready</a>()<span·class="keyword">·const·override</span></div>
85 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>}</div>119 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">······</span>{</div>
 120 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>········<span·class="keywordflow">return</span>·_future.ready();</div>
86 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>121 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······}</div>
87 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>122 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">virtual</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#abd07d08dcdbbd412727ec7c0d870c800">valid</a>()<span·class="keyword">·const·override</span></div>
 124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="keyword">······</span>{</div>
 125 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········<span·class="keywordflow">return</span>·_future.valid();</div>
 126 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······}</div>
 127 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>
 128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keyword">virtual</span>·T·<a·class="code·hl_function"·href="a02076.html#a4c7f4da716cd69f8f6c9c8fe5ac17838">get</a>()<span·class="keyword">·override</span>{</div>
 129 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>········<span·class="keywordflow">return</span>·(T)_future.get();</div>
 130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>······}</div>
 131 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>····};</div>
 132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
 133 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····std::unique_ptr&lt;FutureBase&gt;·_future;</div>
 134 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">public</span>:</div>
 135 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·F&gt;</div>
 136 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02076.html#adada4a4ddbf330c0be748bf754ba8d80">···73</a></span>····<a·class="code·hl_function"·href="a02076.html#adada4a4ddbf330c0be748bf754ba8d80">Future</a>(F&amp;&amp;·f)</div>
 137 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······:·_future(<a·class="code·hl_namespace"·href="a00424.html">std</a>::make_unique&lt;FutureModel&lt;F&gt;&gt;(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;F&gt;(f)))</div>
 138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{}</div>
 139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 140 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····template&lt;class·U,·std::enable_if_t&lt;std::is_same&lt;U,T&gt;::value·&amp;&amp;·!std::is_same&lt;T,void&gt;::value&gt;&gt;</div>
 141 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a02076.html#a28ce185948d5dfc6ae38e53ea0200cfd">···78</a></span>····<a·class="code·hl_function"·href="a02076.html#a28ce185948d5dfc6ae38e53ea0200cfd">Future</a>(U&amp;&amp;·data)</div>
 142 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······:·_future(<a·class="code·hl_namespace"·href="a00424.html">std</a>::make_unique&lt;FutureModel&lt;<a·class="code·hl_class"·href="a02072.html">PseudoFuture</a>&lt;T&gt;&gt;&gt;(<a·class="code·hl_class"·href="a02072.html">PseudoFuture</a>&lt;T&gt;(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;U&gt;(data))))</div>
 143 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····{}</div>
 144 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 145 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a02076.html#ab7c3bdcec8ee8d0240d99de0b5f85fb0">···82</a></span>····<a·class="code·hl_function"·href="a02076.html#ab7c3bdcec8ee8d0240d99de0b5f85fb0">Future</a>()·=·<span·class="keywordflow">default</span>;</div>
 146 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>
 147 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="a02076.html#a12d6700e91dc0441e562b2c6a534e56d">···87</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02076.html#a12d6700e91dc0441e562b2c6a534e56d">wait</a>(){</div>
 148 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>······_future-&gt;wait();</div>
 149 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····}</div>
 150 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 151 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a02076.html#a4c7f4da716cd69f8f6c9c8fe5ac17838">···95</a></span>····T·<a·class="code·hl_function"·href="a02076.html#a4c7f4da716cd69f8f6c9c8fe5ac17838">get</a>()·{</div>
 152 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>······<span·class="keywordflow">return</span>·_future-&gt;get();</div>
 153 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····}</div>
 154 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 155 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a02076.html#a06dbf43dc827d5d6ccb248ff32dc68fe">··103</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#a06dbf43dc827d5d6ccb248ff32dc68fe">ready</a>()<span·class="keyword">·const·</span>{</div>
 156 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>······<span·class="keywordflow">return</span>·_future-&gt;ready();</div>
 157 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>····}</div>
 158 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 159 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="a02076.html#abd07d08dcdbbd412727ec7c0d870c800">··112</a></span>····<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a02076.html#abd07d08dcdbbd412727ec7c0d870c800">valid</a>()<span·class="keyword">·const·</span>{</div>
 160 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>······<span·class="keywordflow">if</span>(_future)</div>
 161 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>········<span·class="keywordflow">return</span>·_future-&gt;valid();</div>
 162 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>······<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
 163 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····}</div>
 164 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··};</div>
 165 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div>
 166 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 167 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a02072.html">··122</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02072.html">PseudoFuture</a>{</div>
Max diff block lines reached; 7152/39975 bytes (17.89%) of diff not shown.
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
6.52 KB
html2text {}
    
Offset 4, 41 lines modifiedOffset 4, 262 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 documentation.hh7 ····*·parallel
 8 future.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5 
15 ·6#ifndef·DUNE_COMMON_DOCUMENTATION_HH 
16 ·7#define·DUNE_COMMON_DOCUMENTATION_HH 
17 ·815 ·5#ifndef·DUNE_COMMON_PARALLEL_FUTURE_HH
 16 ·6#define·DUNE_COMMON_PARALLEL_FUTURE_HH
 17 ·7
 18 ·8#include·<memory>
 19 ·9#include·<dune/common/exceptions.hh>
 20 ·10
18 ·13namespace·Dune·{21 ·11namespace·Dune{
19 ·14 
20 42·struct·ImplementationDefined·{};22 ·12
 23 17·class·InvalidFutureException·:·public·InvalidStateException
 24 ·18·{};
 25 ·19
 26 ·20·//·forward·declaration
 27 ·21·template<class·T>
 28 ·22·class·PseudoFuture;
 29 ·23
 30 ·27·template<class·T>
 31 28·class·Future{
 32 ·29·//·Future·interface:
 33 ·30·class·FutureBase{
 34 ·31·public:
 35 ·32·virtual·~FutureBase()·=·default;
 36 ·33·virtual·void·wait()·=·0;
 37 ·34·virtual·bool·ready()·const·=·0;
 38 ·35·virtual·bool·valid()·const·=·0;
 39 ·36·virtual·T·get()·=·0;
 40 ·37·};
 41 ·38
 42 ·39·//·model·class
 43 ·40·template<class·F>
 44 ·41·class·FutureModel
 45 ·42·:·public·FutureBase
21 ·4346 ·43·{
22 55·enum·{·implementationDefined·};47 ·44·F·_future;
 48 ·45·public:
 49 ·46·FutureModel(F&&·f)
 50 ·47·:·_future(std::forward<F>(f))
 51 ·48·{}
 52 ·49
 53 ·50·virtual·void·wait()·override
 54 ·51·{
 55 ·52·_future.wait();
 56 ·53·}
 57 ·54
 58 ·55·virtual·bool·ready()·const·override
23 ·5659 ·56·{
24 ·57}60 ·57·return·_future.ready();
25 ·5861 ·58·}
26 ·5962 ·59
27 ·60#endif·//·DUNE_COMMON_DOCUMENTATION_HH 
28 Dune::implementationDefined 
29 @·implementationDefined 
30 Dummy·integral·value·used·for·documentation·purposes. 
31 Definition:·documentation.hh:5563 ·60·virtual·bool·valid()·const·override
 64 ·61·{
 65 ·62·return·_future.valid();
 66 ·63·}
 67 ·64
 68 ·65·virtual·T·get()·override{
 69 ·66·return·(T)_future.get();
 70 ·67·}
 71 ·68·};
 72 ·69
 73 ·70·std::unique_ptr<FutureBase>·_future;
 74 ·71·public:
 75 ·72·template<class·F>
 76 73·Future(F&&·f)
 77 ·74·:·_future(std::make_unique<FutureModel<F>>(std::forward<F>(f)))
 78 ·75·{}
 79 ·76
 80 ·77·template<class·U,·std::enable_if_t<std::is_same<U,T>::value·&&·!std::
 81 is_same<T,void>::value>>
 82 78·Future(U&&·data)
 83 ·79·:·_future(std::make_unique<FutureModel<PseudoFuture<T>>>(PseudoFuture<T>
 84 (std::forward<U>(data))))
 85 ·80·{}
 86 ·81
 87 82·Future()·=·default;
 88 ·83
 89 87·void·wait(){
 90 ·88·_future->wait();
 91 ·89·}
 92 ·90
 93 95·T·get()·{
 94 ·96·return·_future->get();
 95 ·97·}
 96 ·98
 97 103·bool·ready()·const·{
 98 ·104·return·_future->ready();
 99 ·105·}
 100 ·106
 101 112·bool·valid()·const·{
 102 ·113·if(_future)
 103 ·114·return·_future->valid();
 104 ·115·return·false;
 105 ·116·}
 106 ·117·};
 107 ·118
 108 ·121·template<class·T>
 109 122·class·PseudoFuture{
 110 ·123·bool·valid_;
 111 ·124·T·data_;
 112 ·125·public:
 113 126·PseudoFuture()·:
 114 ·127·valid_(false)
 115 ·128·{}
 116 ·129
 117 ·130·template<class·U>
 118 131·PseudoFuture(U&&·u)·:
Max diff block lines reached; 2315/6649 bytes (34.82%) of diff not shown.
11.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00353.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·enumset.hh·File·Reference</title>8 <title>dune-common:·collectivecommunication.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 77 lines modifiedOffset 58, 24 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary"> 
69 <a·href="#nested-classes">Classes</a>·&#124; 
70 <a·href="#namespaces">Namespaces</a>·&#124; 
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">enumset.hh·File·Reference</div></div>68 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh·File·Reference</div></div>
73 </div><!--header-->69 </div><!--header-->
74 <div·class="contents">70 <div·class="contents">
 71 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00368_source.html">dune/common/parallel/communication.hh</a>&gt;</code><br·/>
  
75 <p>Classes·for·building·sets·out·of·enumeration·values.·· 
76 <a·href="#details">More...</a></p> 
77 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/> 
78 </div>72 </div>
79 <p><a·href="a00353_source.html">Go·to·the·source·code·of·this·file.</a></p>73 <p><a·href="a00353_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls"> 
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a> 
82 Classes</h2></td></tr> 
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01524.html">Dune::EmptySet&lt;·TA·&gt;</a></td></tr> 
84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·empty·set.··<a·href="a01524.html#details">More...</a><br·/></td></tr> 
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01528.html">Dune::AllSet&lt;·TA·&gt;</a></td></tr> 
87 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·set·containing·everything.··<a·href="a01528.html#details">More...</a><br·/></td></tr> 
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01532.html">Dune::EnumItem&lt;·TA,·item·&gt;</a></td></tr> 
90 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·set·consisting·only·of·one·item.··<a·href="a01532.html#details">More...</a><br·/></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01536.html">Dune::EnumRange&lt;·TA,·from,·end·&gt;</a></td></tr> 
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·set·representing·a·range·including·the·borders.··<a·href="a01536.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01540.html">Dune::NegateSet&lt;·S·&gt;</a></td></tr> 
96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·negation·of·a·set.·An·item·is·contained·in·the·set·if·and·only·if·it·is·not·contained·in·the·negated·set.··<a·href="a01540.html#details">More...</a><br·/></td></tr> 
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01544.html">Dune::Combine&lt;·TI1,·TI2,·TA·&gt;</a></td></tr> 
99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·set·combining·two·other·sets.··<a·href="a01544.html#details">More...</a><br·/></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 </table><table·class="memberdecls"> 
102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a> 
103 Namespaces</h2></td></tr> 
104 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr> 
105 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr> 
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
107 </table><table·class="memberdecls"> 
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
109 Functions</h2></td></tr> 
110 <tr·class="memitem:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memTemplParams"·colspan="2">template&lt;typename·TA·,·int·i&gt;·</td></tr> 
111 <tr·class="memitem:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga6b888d5c77aa3559f4d8b92e175b4ac7">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·EnumItem&lt;·TA,·i·&gt;·&amp;)</td></tr> 
112 <tr·class="separator:ga6b888d5c77aa3559f4d8b92e175b4ac7"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
113 <tr·class="memitem:gabce1ed7f894e6d1d841dd328689c0752"><td·class="memTemplParams"·colspan="2">template&lt;typename·TA·,·int·from,·int·to&gt;·</td></tr> 
114 <tr·class="memitem:gabce1ed7f894e6d1d841dd328689c0752"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gabce1ed7f894e6d1d841dd328689c0752">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·EnumRange&lt;·TA,·from,·to·&gt;·&amp;)</td></tr> 
115 <tr·class="separator:gabce1ed7f894e6d1d841dd328689c0752"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
116 <tr·class="memitem:gadef896cfc4c6002054c082927fe08385"><td·class="memTemplParams"·colspan="2">template&lt;class·TI1·,·class·TI2·&gt;·</td></tr> 
117 <tr·class="memitem:gadef896cfc4c6002054c082927fe08385"><td·class="memTemplItemLeft"·align="right"·valign="top">Combine&lt;·TI1,·TI2,·typename·TI1::Type·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gadef896cfc4c6002054c082927fe08385">Dune::combine</a>·(const·TI1·&amp;set1,·const·TI2·&amp;set2)</td></tr> 
118 <tr·class="separator:gadef896cfc4c6002054c082927fe08385"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
119 <tr·class="memitem:ga07c45a5e1b2738eb3034f9186de33058"><td·class="memTemplParams"·colspan="2">template&lt;class·TI1·,·class·TI2·,·class·T·&gt;·</td></tr> 
120 <tr·class="memitem:ga07c45a5e1b2738eb3034f9186de33058"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga07c45a5e1b2738eb3034f9186de33058">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·Combine&lt;·TI1,·TI2,·T·&gt;·&amp;)</td></tr> 
121 <tr·class="separator:ga07c45a5e1b2738eb3034f9186de33058"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
122 </table> 
123 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
124 <div·class="textblock"><p·>Classes·for·building·sets·out·of·enumeration·values.·</p> 
125 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl> 
126 </div></div><!--·contents·-->74 </div><!--·contents·-->
127 <!--·start·footer·part·-->75 <!--·start·footer·part·-->
128 <hr·class="footer"/><address·class="footer"><small>76 <hr·class="footer"/><address·class="footer"><small>
129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.477 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
130 </small></address>78 </small></address>
131 </body>79 </body>
132 </html>80 </html>
1.99 KB
html2text {}
    
Offset 4, 60 lines modifiedOffset 4, 14 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
 8 collectivecommunication.hh·File·Reference
 9 #include·<dune/common/parallel/communication.hh>
7 Classes·|·Namespaces·|·Functions 
8 enumset.hh·File·Reference 
9 Classes·for·building·sets·out·of·enumeration·values.·More... 
10 #include·<iostream> 
11 Go_to_the_source_code_of_this_file.10 Go_to_the_source_code_of_this_file.
12 ·Classes 
13 class· Dune::EmptySet<_TA_> 
14  ······An·empty·set.·More... 
15   
16 class· Dune::AllSet<_TA_> 
17  ······A·set·containing·everything.·More... 
18   
19 class· Dune::EnumItem<_TA,_item_> 
20  ······A·set·consisting·only·of·one·item.·More... 
21   
22 class· Dune::EnumRange<_TA,_from,_end_> 
23  ······A·set·representing·a·range·including·the·borders.·More... 
24   
25 class· Dune::NegateSet<_S_> 
26  ······The·negation·of·a·set.·An·item·is·contained·in·the·set·if·and·only·if 
27 ········it·is·not·contained·in·the·negated·set.·More... 
28   
29 class· Dune::Combine<_TI1,_TI2,_TA_> 
30  ······A·set·combining·two·other·sets.·More... 
31   
32 ·Namespaces 
33 namespace· Dune 
34  ··········Dune·namespace. 
35   
36 ·Functions 
37 template<typename·TA·,·int·i> 
38 ·························std::ostream·& Dune::operator<<·(std::ostream·&os, 
39 ·········································const·EnumItem<·TA,·i·>·&) 
40   
41 template<typename·TA·,·int·from,·int·to> 
42 ·························std::ostream·& Dune::operator<<·(std::ostream·&os, 
43 ·········································const·EnumRange<·TA,·from,·to·>·&) 
44   
45 template<class·TI1·,·class·TI2·> 
46 Combine<·TI1,·TI2,·typename·TI1::Type·> Dune::combine·(const·TI1·&set1,·const 
47 ·········································TI2·&set2) 
48   
49 template<class·TI1·,·class·TI2·,·class·T·> 
50 ·························std::ostream·& Dune::operator<<·(std::ostream·&os, 
51 ·········································const·Combine<·TI1,·TI2,·T·>·&) 
52   
53 *****·Detailed·Description·***** 
54 Classes·for·building·sets·out·of·enumeration·values. 
55 ··Author 
56 ······Markus·Blatt 
  
57 ===============================================================================11 ===============================================================================
58 ·····Generated·by [doxygen]·1.9.412 ·····Generated·by [doxygen]·1.9.4
37.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00353_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·enumset.hh·Source·File</title>8 <title>dune-common:·collectivecommunication.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 162 lines modifiedOffset 58, 27 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">enumset.hh</div></div>68 ··<div·class="headertitle"><div·class="title">collectivecommunication.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00353.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00353.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ENUMSET_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ENUMSET_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div> 
82 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA&gt;</div> 
83 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01524.html">···26</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01524.html">EmptySet</a></div> 
84 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div> 
85 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">public</span>:</div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·Will·be·removed·after·the·2.7·release</span></div>
 74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#warning·&quot;Deprecated·header,·use·#include·&lt;dune/common/parallel/communication.hh&gt;·instead!&quot;</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00368.html">dune/common/parallel/communication.hh</a>&gt;</span></div>
 76 <div·class="ttc"·id="aa00368_html"><div·class="ttname"><a·href="a00368.html">communication.hh</a></div><div·class="ttdoc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.</div></div>
86 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">···32</a></span>····<span·class="keyword">typedef</span>·TA·<a·class="code·hl_typedef"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">Type</a>;</div> 
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#gabe9c296a2213a977a8579d2b1972bbd3">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">Type</a>&amp;·attribute);</div> 
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··};</div> 
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
90 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA&gt;</div> 
91 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01528.html">···43</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01528.html">AllSet</a></div> 
92 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div> 
93 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div> 
94 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">···49</a></span>····<span·class="keyword">typedef</span>·TA·<a·class="code·hl_typedef"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">Type</a>;</div> 
95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga1918a1179a53724c3fc0a3ee1812d5e7">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">Type</a>&amp;·attribute);</div> 
96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div> 
97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> 
98 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA,·<span·class="keywordtype">int</span>·item&gt;</div> 
99 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01532.html">···60</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01532.html">EnumItem</a></div> 
100 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div> 
101 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">public</span>:</div> 
102 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">···66</a></span>····<span·class="keyword">typedef</span>·TA·<a·class="code·hl_typedef"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">Type</a>;</div> 
103 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> 
104 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#gadd4bd8a68ff82f7bd648a651990ae8e5">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">Type</a>&amp;·attribute);</div> 
105 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··};</div> 
106 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
107 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA,<span·class="keywordtype">int</span>·from,·<span·class="keywordtype">int</span>·end&gt;</div> 
108 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01536.html">···79</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01536.html">EnumRange</a>·<span·class="comment">//:·public·PODSet&lt;EnumRange&lt;T,from,end&gt;,T&gt;</span></div> 
109 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div> 
110 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">public</span>:</div> 
111 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">···85</a></span>····<span·class="keyword">typedef</span>·TA·<a·class="code·hl_typedef"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">Type</a>;</div> 
112 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga6d859eacd34bc489093cf49624df2101">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">Type</a>&amp;·item);</div> 
113 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··};</div> 
114 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
115 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·S&gt;</div> 
116 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01540.html">···95</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01540.html">NegateSet</a></div> 
117 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{</div> 
118 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">public</span>:</div> 
119 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01540.html#a627e2719804a05a0169b0ccb94369eb5">···98</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·S::Type·<a·class="code·hl_typedef"·href="a01540.html#a627e2719804a05a0169b0ccb94369eb5">Type</a>;</div> 
120 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> 
121 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01540.html#a7c3f23caf1e655c169d032f15c660d63">··100</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01540.html#a7c3f23caf1e655c169d032f15c660d63">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01540.html#a627e2719804a05a0169b0ccb94369eb5">Type</a>&amp;·item)</div> 
122 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div> 
123 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keywordflow">return</span>·!S::contains(item);</div> 
124 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····}</div> 
125 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··};</div> 
126 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> 
127 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·TI1,·<span·class="keyword">class</span>·TI2,·<span·class="keyword">typename</span>·TA=<span·class="keyword">typename</span>·TI1::Type&gt;</div> 
128 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01544.html">··110</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01544.html">Combine</a></div> 
129 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>··{</div> 
130 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··<span·class="keyword">public</span>:</div> 
131 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga9d4f7c53b0cf0f05e7535a1585e9dda7">contains</a>(<span·class="keyword">const</span>·TA&amp;·item);</div> 
132 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··};</div> 
133 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> 
134 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA&gt;</div> 
135 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a00397.html#gabe9c296a2213a977a8579d2b1972bbd3">··117</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#gabe9c296a2213a977a8579d2b1972bbd3">EmptySet&lt;TA&gt;::contains</a>([[maybe_unused]]·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">Type</a>&amp;·attribute)</div> 
136 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{</div> 
137 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>····<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div> 
138 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··}</div> 
139 <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> 
140 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA&gt;</div> 
141 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga1918a1179a53724c3fc0a3ee1812d5e7">··123</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga1918a1179a53724c3fc0a3ee1812d5e7">AllSet&lt;TA&gt;::contains</a>([[maybe_unused]]·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">Type</a>&amp;·attribute)</div> 
142 <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>··{</div> 
143 <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div> 
144 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··}</div> 
145 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>·</div> 
146 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA,<span·class="keywordtype">int</span>·i&gt;</div> 
147 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno"><a·class="line"·href="a00397.html#gadd4bd8a68ff82f7bd648a651990ae8e5">··129</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#gadd4bd8a68ff82f7bd648a651990ae8e5">EnumItem&lt;TA,i&gt;::contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">Type</a>&amp;·item)</div> 
148 <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··{</div> 
149 <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>····<span·class="keywordflow">return</span>·item==i;</div> 
150 <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··}</div> 
151 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> 
152 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA,<span·class="keywordtype">int</span>·i&gt;</div> 
153 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga6b888d5c77aa3559f4d8b92e175b4ac7">··135</a></span>··<span·class="keyword">inline</span>·std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream&amp;·os,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01532.html">EnumItem&lt;TA,i&gt;</a>&amp;)</div> 
154 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··{</div> 
155 <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<span·class="keywordflow">return</span>·os&lt;&lt;i;</div> 
156 <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>··}</div> 
157 <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> 
158 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA,·<span·class="keywordtype">int</span>·from,·<span·class="keywordtype">int</span>·to&gt;</div> 
159 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga6d859eacd34bc489093cf49624df2101">··141</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga6d859eacd34bc489093cf49624df2101">EnumRange&lt;TA,from,to&gt;::contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">Type</a>&amp;·item)</div> 
160 <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··{</div> 
161 <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="keywordflow">return</span>·from&lt;=item·&amp;&amp;·item&lt;=to;</div> 
162 <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··}</div> 
163 <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> 
Max diff block lines reached; 271/32205 bytes (0.84%) of diff not shown.
5.6 KB
html2text {}
    
Offset 4, 206 lines modifiedOffset 4, 23 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 enumset.hh7 ····*·parallel
 8 collectivecommunication.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file10 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root11 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception12 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 13 ·3//·Will·be·removed·after·the·2.7·release
 14 ·4#warning·"Deprecated·header,·use·#include·<dune/common/parallel/
 15 communication.hh>·instead!"
 16 ·5#include·<dune/common/parallel/communication.hh>
 17 communication.hh
 18 Implements·an·utility·class·that·provides·collective·communication·methods·for
 19 sequential·programs.
14 ·5#ifndef·DUNE_ENUMSET_HH 
15 ·6#define·DUNE_ENUMSET_HH 
16 ·7 
17 ·8#include·<iostream> 
18 ·9 
19 ·10namespace·Dune 
20 ·11{ 
21 ·25·template<typename·TA> 
22 26·class·EmptySet 
23 ·27·{ 
24 ·28·public: 
25 32·typedef·TA·Type; 
26 ·36·static·bool·contains(const·Type&·attribute); 
27 ·37·}; 
28 ·38 
29 ·42·template<typename·TA> 
30 43·class·AllSet 
31 ·44·{ 
32 ·45·public: 
33 49·typedef·TA·Type; 
34 ·53·static·bool·contains(const·Type&·attribute); 
35 ·54·}; 
36 ·55 
37 ·59·template<typename·TA,·int·item> 
38 60·class·EnumItem 
39 ·61·{ 
40 ·62·public: 
41 66·typedef·TA·Type; 
42 ·67 
43 ·72·static·bool·contains(const·Type&·attribute); 
44 ·73·}; 
45 ·74 
46 ·78·template<typename·TA,int·from,·int·end> 
47 79·class·EnumRange·//:·public·PODSet<EnumRange<T,from,end>,T> 
48 ·80·{ 
49 ·81·public: 
50 85·typedef·TA·Type; 
51 ·86·static·bool·contains(const·Type&·item); 
52 ·87·}; 
53 ·88 
54 ·94·template<typename·S> 
55 95·class·NegateSet 
56 ·96·{ 
57 ·97·public: 
58 98·typedef·typename·S::Type·Type; 
59 ·99 
60 100·static·bool·contains(const·Type&·item) 
61 ·101·{ 
62 ·102·return·!S::contains(item); 
63 ·103·} 
64 ·104·}; 
65 ·105 
66 ·109·template<class·TI1,·class·TI2,·typename·TA=typename·TI1::Type> 
67 110·class·Combine 
68 ·111·{ 
69 ·112·public: 
70 ·113·static·bool·contains(const·TA&·item); 
71 ·114·}; 
72 ·115 
73 ·116·template<typename·TA> 
74 117·inline·bool·EmptySet<TA>::contains([[maybe_unused]]·const·Type&·attribute) 
75 ·118·{ 
76 ·119·return·false; 
77 ·120·} 
78 ·121 
79 ·122·template<typename·TA> 
80 123·inline·bool·AllSet<TA>::contains([[maybe_unused]]·const·Type&·attribute) 
81 ·124·{ 
82 ·125·return·true; 
83 ·126·} 
84 ·127 
85 ·128·template<typename·TA,int·i> 
86 129·inline·bool·EnumItem<TA,i>::contains(const·Type&·item) 
87 ·130·{ 
88 ·131·return·item==i; 
89 ·132·} 
90 ·133 
91 ·134·template<typename·TA,int·i> 
92 135·inline·std::ostream&·operator<<(std::ostream&·os,·const·EnumItem<TA,i>&) 
93 ·136·{ 
94 ·137·return·os<<i; 
95 ·138·} 
96 ·139 
97 ·140·template<typename·TA,·int·from,·int·to> 
98 141·inline·bool·EnumRange<TA,from,to>::contains(const·Type&·item) 
99 ·142·{ 
100 ·143·return·from<=item·&&·item<=to; 
101 ·144·} 
102 ·145 
103 ·146·template<typename·TA,·int·from,·int·to> 
104 147·inline·std::ostream&·operator<<(std::ostream&·os,·const 
105 EnumRange<TA,from,to>&) 
106 ·148·{ 
107 ·149·return·os<<"["<<from<<"·-·"<<to<<"]"; 
108 ·150·} 
109 ·151 
110 ·152·template<class·TI1,·class·TI2,·typename·TA> 
111 153·inline·bool·Combine<TI1,TI2,TA>::contains(const·TA&·item) 
112 ·154·{ 
113 ·155·return·TI1::contains(item)·|| 
114 ·156·TI2::contains(item); 
115 ·157·} 
116 ·158 
117 ·159·template<class·TI1,·class·TI2> 
118 160·inline·Combine<TI1,TI2,typename_TI1::Type>·combine([[maybe_unused]]·const 
Max diff block lines reached; 116/5713 bytes (2.03%) of diff not shown.
10.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00356.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·reservedvector.hh·File·Reference</title>8 <title>dune-common:·mpidata.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 77 lines modifiedOffset 58, 61 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#define-members">Macros</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">reservedvector.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">mpidata.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.··75 <p>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;vector&gt;</code><br·/>
78 <code>#include·&lt;array&gt;</code><br·/> 
79 <code>#include·&lt;cassert&gt;</code><br·/> 
80 <code>#include·&lt;iostream&gt;</code><br·/>78 <code>#include·&lt;string&gt;</code><br·/>
81 <code>#include·&lt;iterator&gt;</code><br·/> 
82 <code>#include·&lt;cstddef&gt;</code><br·/> 
83 <code>#include·&lt;initializer_list&gt;</code><br·/> 
84 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/hash.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
85 </div>82 </div>
86 <p><a·href="a00356_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00356_source.html">Go·to·the·source·code·of·this·file.</a></p>
87 <table·class="memberdecls">84 <table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
89 Classes</h2></td></tr>86 Classes</h2></td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02552.html">Dune::ReservedVector&lt;·T,·n·&gt;</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02168.html">Dune::MPIData&lt;·T,·Enable·&gt;</a></td></tr>
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·Vector·class·with·statically·reserved·memory.··<a·href="a02552.html#details">More...</a><br·/></td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02172.html">Dune::MPIData&lt;·void·&gt;</a></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02176.html">Dune::MPIData&lt;·T,·std::void_t&lt;·std::tuple&lt;·decltype(std::declval&lt;·T·&gt;().data()),·decltype(std::declval&lt;·T·&gt;().size()),·typename·std::decay_t&lt;·T·&gt;::value_type·&gt;·&gt;·&gt;</a></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
95 Namespaces</h2></td></tr>95 Namespaces</h2></td></tr>
96 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>96 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
97 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>97 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
99 </table><table·class="memberdecls">99 </table><table·class="memberdecls">
100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>100 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
101 Macros</h2></td></tr>101 Functions</h2></td></tr>
102 <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00356.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)&#160;&#160;&#160;{}</td></tr>102 <tr·class="memitem:a60e5c2863bb763524cbc65eaea515adb"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 103 <tr·class="memitem:a60e5c2863bb763524cbc65eaea515adb"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">Dune::getMPIData</a>·(T·&amp;t)</td></tr>
103 <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:a60e5c2863bb763524cbc65eaea515adb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table>105 </table>
105 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 107 <div·class="textblock"><p·>Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·</p>
 108 <p·>Furthermore·it·can·be·used·to·resize·the·object·if·possible.·This·makes·it·possible·to·receive·a·message·with·variable·size.·See·<code>Communication::rrecv</code>.</p>
 109 <p·>To·'register'·a·new·dynamic·type·for·MPI·communication·specialize·<code>MPIData</code>·or·overload·<code>getMPIData</code>.·</p>
106 <div·class="textblock"><p·>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.·</p> 
107 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
108 <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a> 
109 <h2·class="memtitle"><span·class="permalink"><a·href="#a65543e75bc949ecdb95a25b1f4e11675">&#9670;&nbsp;</a></span>CHECKSIZE</h2> 
  
110 <div·class="memitem"> 
111 <div·class="memproto"> 
112 ······<table·class="memname"> 
113 ········<tr> 
114 ··········<td·class="memname">#define·CHECKSIZE</td> 
115 ··········<td>(</td> 
116 ··········<td·class="paramtype">&#160;</td> 
117 ··········<td·class="paramname">X</td><td>)</td> 
118 ··········<td>&#160;&#160;&#160;{}</td> 
119 ········</tr> 
120 ······</table> 
121 </div><div·class="memdoc"> 
  
122 </div> 
123 </div> 
124 </div><!--·contents·-->110 </div></div><!--·contents·-->
125 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
126 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
128 </small></address>114 </small></address>
129 </body>115 </body>
130 </html>116 </html>
2.02 KB
html2text {}
    
Offset 4, 39 lines modifiedOffset 4, 46 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces·|·Macros8 Classes·|·Namespaces·|·Functions
 9 mpidata.hh·File·Reference
 10 Common·»·Parallel_Communication
 11 Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for
 12 MPI·calls.·More...
8 reservedvector.hh·File·Reference 
9 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack. 
10 More... 
11 #include·<algorithm> 
12 #include·<array> 
13 #include·<cassert> 
14 #include·<iostream> 
15 #include·<iterator>13 #include·<vector>
 14 #include·<string>
16 #include·<cstddef> 
17 #include·<initializer_list> 
18 #include·<dune/common/hash.hh>15 #include·<dune/common/typetraits.hh>
 16 #include·<dune/common/std/type_traits.hh>
 17 #include·<dune/common/parallel/mpitraits.hh>
19 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
20 ·Classes19 ·Classes
21 class· Dune::ReservedVector<_T,_n_> 
22  ······A·Vector·class·with·statically·reserved·memory.·More...20 struct· Dune::MPIData<_T,_Enable_>
 21  
 22 struct· Dune::MPIData<_void_>
 23  
 24 struct· Dune::MPIData<_T,_std::void_t<_std::tuple<_decltype(std::declval<_T_>
 25 ·········().data()),_decltype(std::declval<_T_>().size()),_typename_std::
 26 ·········decay_t<_T_>::value_type_>_>_>
23  27  
24 ·Namespaces28 ·Namespaces
25 namespace· Dune29 namespace· Dune
26  ··········Dune·namespace.30  ··········Dune·namespace.
27  31  
28 ·Macros 
29 #define CHECKSIZE(X)   {}32 ·Functions
 33 template<class·T·>
 34 auto Dune::getMPIData·(T·&t)
30  35  
31 *****·Detailed·Description·*****36 *****·Detailed·Description·*****
32 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack. 
33 *****·Macro·Definition·Documentation·***** 
34 *****·◆ CHECKSIZE·***** 
35 #define·CHECKSIZE·(· X·)·   {}37 Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for
 38 MPI·calls.
 39 Furthermore·it·can·be·used·to·resize·the·object·if·possible.·This·makes·it
 40 possible·to·receive·a·message·with·variable·size.·See·Communication::rrecv.
 41 To·'register'·a·new·dynamic·type·for·MPI·communication·specialize·MPIData·or
 42 overload·getMPIData.
  
36 ===============================================================================43 ===============================================================================
37 ·····Generated·by [doxygen]·1.9.444 ·····Generated·by [doxygen]·1.9.4
147 KB
./usr/share/doc/libdune-common-doc/doxygen/a00356_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·reservedvector.hh·Source·File</title>8 <title>dune-common:·mpidata.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 438 lines modifiedOffset 58, 164 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">reservedvector.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mpidata.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00356.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00356.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_RESERVEDVECTOR_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_RESERVEDVECTOR_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_MPIDATA_HH</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_MPIDATA_HH</span></div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span>·</div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div> 
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div> 
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/hash.hh</a>&gt;</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00152.html">dune/common/std/type_traits.hh</a>&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00365.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div>
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDVECTOR</span></div> 
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div> 
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#else</span></div> 
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00356.html#a65543e75bc949ecdb95a25b1f4e11675">···25</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div> 
92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div> 
93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>{</div>
95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div> 
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·n&gt;</div> 
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a02552.html">···46</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02552.html">ReservedVector</a></div> 
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··{</div>89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div>
 90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>,·<span·class="keyword">class</span>·=·<span·class="keywordtype">void</span>&gt;</div>
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">using·</span>storage_type·=·std::array&lt;T,n&gt;;</div>91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">struct·</span>MPIData;</div>
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a02168.html#aeba1f4509657983770fefd330a8467e3">···43</a></span>··<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#a60e5c2863bb763524cbc65eaea515adb">getMPIData</a>(T&amp;·t){</div>
 95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a02168.html">MPIData&lt;T&gt;</a>(t);</div>
 96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··}</div>
 97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="comment">//·Default·implementation·for·static·datatypes</span></div>
 99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keyword">class</span>·Enable&gt;</div>
 100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a02168.html">···49</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a></div>
 101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··{</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">friend</span>·<span·class="keyword">auto</span>·getMPIData&lt;T&gt;(T&amp;);</div>
 103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keyword">protected</span>:</div>
 104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno"><a·class="line"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">···53</a></span>····T&amp;·<a·class="code·hl_variable"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">data_</a>;</div>
 105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
 106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02168.html#ae90ceb5a21137756e6976b11cb4dbb95">···55</a></span>····<a·class="code·hl_function"·href="a02168.html#ae90ceb5a21137756e6976b11cb4dbb95">MPIData</a>(T&amp;·t)</div>
 107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>······:·<a·class="code·hl_variable"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">data_</a>(t)</div>
 108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····{}</div>
 109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">public</span>:</div>110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">public</span>:</div>
 111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a02168.html#a9834f1258b028e1fcda4f04c329a02f5">···60</a></span>····<span·class="keywordtype">void</span>*·<a·class="code·hl_function"·href="a02168.html#a9834f1258b028e1fcda4f04c329a02f5">ptr</a>()<span·class="keyword">·const·</span>{</div>
 112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······<span·class="keywordflow">return</span>·(<span·class="keywordtype">void</span>*)&amp;<a·class="code·hl_variable"·href="a02168.html#a4211b13fd4d3035db9305f7a0f1c3552">data_</a>;</div>
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>····}</div>
103 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">···55</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::value_type·<a·class="code·hl_typedef"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">value_type</a>;</div> 
104 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a02552.html#a0fb89a52c9cc4ef3aaabb7f0054a0aef">···57</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::pointer·<a·class="code·hl_typedef"·href="a02552.html#a0fb89a52c9cc4ef3aaabb7f0054a0aef">pointer</a>;</div> 
105 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a02552.html#ad7c848c42ec1ebaa857da5c4021f44df">···59</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::const_pointer·<a·class="code·hl_typedef"·href="a02552.html#ad7c848c42ec1ebaa857da5c4021f44df">const_pointer</a>;</div> 
106 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a02552.html#ae6b033aa6b81d978fa07e49ceb8c17f9">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::reference·<a·class="code·hl_typedef"·href="a02552.html#ae6b033aa6b81d978fa07e49ceb8c17f9">reference</a>;</div> 
107 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02552.html#a92511702be65a27dcd3adbc54bb714ae">···63</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::const_reference·<a·class="code·hl_typedef"·href="a02552.html#a92511702be65a27dcd3adbc54bb714ae">const_reference</a>;</div> 
108 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02552.html#a88668f6bf71eadf870ae4afdb45d00ff">···65</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::size_type·<a·class="code·hl_typedef"·href="a02552.html#a88668f6bf71eadf870ae4afdb45d00ff">size_type</a>;</div> 
109 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a02552.html#a66aac69f2818e2ce344af1549eeea424">···67</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::difference_type·<a·class="code·hl_typedef"·href="a02552.html#a66aac69f2818e2ce344af1549eeea424">difference_type</a>;</div> 
110 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02552.html#a3aecff162ed17ede2d259d903fdd3a5b">···69</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::iterator·<a·class="code·hl_typedef"·href="a02552.html#a3aecff162ed17ede2d259d903fdd3a5b">iterator</a>;</div> 
111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a02552.html#a78cc2411c3bda7ccdaeb922603adc4a8">···71</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::const_iterator·<a·class="code·hl_typedef"·href="a02552.html#a78cc2411c3bda7ccdaeb922603adc4a8">const_iterator</a>;</div> 
112 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02552.html#a29a0ce77672ef20b5d949591848a774a">···73</a></span>····<span·class="keyword">typedef</span>·std::reverse_iterator&lt;iterator&gt;·<a·class="code·hl_typedef"·href="a02552.html#a29a0ce77672ef20b5d949591848a774a">reverse_iterator</a>;</div> 
113 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a02552.html#a45f3dd7312d31fa1a833e0822b9abee9">···75</a></span>····<span·class="keyword">typedef</span>·std::reverse_iterator&lt;const_iterator&gt;·<a·class="code·hl_typedef"·href="a02552.html#a45f3dd7312d31fa1a833e0822b9abee9">const_reverse_iterator</a>;</div> 
114 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····<span·class="comment">//·indicates·whether·the·datatype·can·be·resized</span></div>
 116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02168.html#ac3d9baea31f200f2c24c5d4f11247ed7">···65</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a02168.html#ac3d9baea31f200f2c24c5d4f11247ed7">static_size</a>·=·<span·class="keyword">true</span>;</div>
115 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">···82</a></span>····<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">ReservedVector</a>()</div> 
116 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··········noexcept(<a·class="code·hl_namespace"·href="a00424.html">std</a>::is_nothrow_default_constructible_v&lt;<a·class="code·hl_typedef"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">value_type</a>&gt;)</div> 
117 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······:·storage_()</div> 
118 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······,·size_(0)</div>117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 118 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a02168.html#aaa76e34727f04969952f182fdac25c06">···67</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02168.html#aaa76e34727f04969952f182fdac25c06">size</a>()<span·class="keyword">·const</span>{</div>
 119 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">return</span>·1;</div>
119 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{}</div>120 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····}</div>
120 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>121 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
121 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a02552.html#a092827f9243a1f334584d9b629564840">···89</a></span>····<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a02552.html#a[·...·truncated·by·diffoscope;·len:·153,·SHA:·914e600d0165fce6751ad4ce33754307d055881b3c9ef6ad239adb2fa228f523·...·]</div>122 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a02168.html#a7cb19d5652c945edfe6d1fc99807a56b">···71</a></span>····MPI_Datatype·<a·class="code·hl_function"·href="a02168.html#a7cb19d5652c945edfe6d1fc99807a56b">type</a>()<span·class="keyword[·...·truncated·by·diffoscope;·len:·17,·SHA:·f55c95a5d69f6f43a7879a7111a7ec82a1015f6104b04234a1d55eb9f352e3da·...·]</div>
 123 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_struct"·href="a01288.html">MPITraits&lt;std::decay_t&lt;T&gt;</a>&gt;::getType();</div>
 124 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····}</div>
 125 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··};</div>
 126 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>
 127 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="comment">//·dummy·implementation·for·void</span></div>
 128 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="keyword">template</span>&lt;&gt;</div>
 129 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a02172.html">···78</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02168.html">MPIData</a>&lt;void&gt;{</div>
122 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········<span·class="keyword">noexcept</span>(std::is_nothrow_default_constructible_v&lt;value_type&gt;)</div>130 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">protected</span>:</div>
 131 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a02172.html#a7b0b250c4f2420d3b0b1696779461cda">···80</a></span>····<a·class="code·hl_function"·href="a02172.html#a7b0b250c4f2420d3b0b1696779461cda">MPIData</a>()·{}</div>
123 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······:·storage_()</div>132 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 133 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">public</span>:</div>
 134 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a02172.html#ae570394656e5e49658c9f84fc8ad6b38">···83</a></span>····<span·class="keywordtype">void</span>*·<a·class="code·hl_function"·href="a02172.html#ae570394656e5e49658c9f84fc8ad6b38">ptr</a>(){</div>
 135 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<span·class="keywordflow">return</span>·<span·class="keyword">nullptr</span>;</div>
 136 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>····}</div>
 137 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a02172.html#ac6af51037c43267ff48f26fff43c00e1">···86</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02172.html#ac6af51037c43267ff48f26fff43c00e1">size</a>(){</div>
 138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>······<span·class="keywordflow">return</span>·0;</div>
 139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····}</div>
Max diff block lines reached; 32608/124069 bytes (26.28%) of diff not shown.
25.7 KB
html2text {}
    
Offset 4, 642 lines modifiedOffset 4, 219 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 reservedvector.hh7 ····*·parallel
 8 mpidata.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 15 ·5
 16 ·6#ifndef·DUNE_COMMON_PARALLEL_MPIDATA_HH
 17 ·7#define·DUNE_COMMON_PARALLEL_MPIDATA_HH
 18 ·8
14 ·5#ifndef·DUNE_COMMON_RESERVEDVECTOR_HH 
15 ·6#define·DUNE_COMMON_RESERVEDVECTOR_HH 
16 ·7 
17 ·12#include·<algorithm> 
18 ·13#include·<array> 
19 ·14#include·<cassert> 
20 ·15#include·<iostream> 
21 ·16#include·<iterator>19 ·9#include·<vector>
22 ·17#include·<cstddef> 
23 ·18#include·<initializer_list> 
24 ·1920 ·10#include·<string>
 21 ·11
 22 ·12#if·HAVE_MPI
 23 ·13
25 ·20#include·<dune/common/hash.hh>24 ·14#include·<dune/common/typetraits.hh>
 25 ·15#include·<dune/common/std/type_traits.hh>
 26 ·16#include·<dune/common/parallel/mpitraits.hh>
 27 ·17
26 ·21 
27 ·22#ifdef·CHECK_RESERVEDVECTOR 
28 ·23#define·CHECKSIZE(X)·assert(X) 
29 ·24#else 
30 25#define·CHECKSIZE(X)·{} 
31 ·26#endif 
32 ·27 
33 ·28namespace·Dune28 ·37namespace·Dune{
34 ·29{29 ·38
 30 ·39·template<class,·class·=·void>
 31 ·40·struct·MPIData;
 32 ·41
35 ·45·template<class·T,·int·n>33 ·42·template<class·T>
36 46·class·ReservedVector 
37 ·47·{ 
38 ·48·using·storage_type·=·std::array<T,n>; 
39 ·4934 43·auto·getMPIData(T&·t){
 35 ·44·return·MPIData<T>(t);
 36 ·45·}
 37 ·46
 38 ·47·//·Default·implementation·for·static·datatypes
 39 ·48·template<class·T,·class·Enable>
 40 49·struct·MPIData
 41 ·50·{
 42 ·51·friend·auto·getMPIData<T>(T&);
 43 ·52·protected:
 44 53·T&·data_;
 45 ·54
 46 55·MPIData(T&·t)
 47 ·56·:·data_(t)
 48 ·57·{}
 49 ·58
40 ·50·public:50 ·59·public:
 51 60·void*·ptr()·const·{
 52 ·61·return·(void*)&data_;
 53 ·62·}
 54 ·63
 55 ·64·//·indicates·whether·the·datatype·can·be·resized
 56 65·static·constexpr·bool·static_size·=·true;
 57 ·66
 58 67·int·size()·const{
 59 ·68·return·1;
41 ·51 
42 55·typedef·typename·storage_type::value_type·value_type; 
43 57·typedef·typename·storage_type::pointer·pointer; 
44 59·typedef·typename·storage_type::const_pointer·const_pointer; 
45 61·typedef·typename·storage_type::reference·reference; 
46 63·typedef·typename·storage_type::const_reference·const_reference; 
47 65·typedef·typename·storage_type::size_type·size_type; 
48 67·typedef·typename·storage_type::difference_type·difference_type; 
49 69·typedef·typename·storage_type::iterator·iterator; 
50 71·typedef·typename·storage_type::const_iterator·const_iterator; 
51 73·typedef·std::reverse_iterator<iterator>·reverse_iterator; 
52 75·typedef·std::reverse_iterator<const_iterator>·const_reverse_iterator; 
53 ·76 
54 82·constexpr·ReservedVector() 
55 ·83·noexcept(std::is_nothrow_default_constructible_v<value_type>) 
56 ·84·:·storage_() 
57 ·85·,·size_(0) 
58 ·86·{} 
59 ·87 
60 89·explicit·constexpr·ReservedVector(size_type·count) 
61 ·90·noexcept(std::is_nothrow_default_constructible_v<value_type>) 
62 ·91·:·storage_() 
63 ·92·,·size_(count) 
64 ·93·{ 
65 ·94·assert(count·<=·n); 
66 ·95·}60 ·69·}
67 ·96 
68 98·constexpr·ReservedVector(size_type·count,·const·value_type&·value) 
69 ·99·noexcept(std::is_nothrow_copy_assignable_v<value_type>·&& 
70 ·100·noexcept(ReservedVector(count))) 
71 ·101·:·ReservedVector(count)61 ·70
 62 71·MPI_Datatype·type()·const·{
 63 ·72·return·MPITraits<std::decay_t<T>>::getType();
 64 ·73·}
 65 ·74·};
 66 ·75
 67 ·76·//·dummy·implementation·for·void
 68 ·77·template<>
 69 78·struct·MPIData<void>{
 70 ·79·protected:
 71 80·MPIData()·{}
 72 ·81
 73 ·82·public:
 74 83·void*·ptr(){
 75 ·84·return·nullptr;
 76 ·85·}
 77 86·int·size(){
 78 ·87·return·0;
Max diff block lines reached; 13302/26255 bytes (50.66%) of diff not shown.
69.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00359.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·version.hh·File·Reference</title>8 <title>dune-common:·remoteindices.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 781 lines modifiedOffset 58, 89 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
 69 <a·href="#nested-classes">Classes</a>·&#124;
 70 <a·href="#namespaces">Namespaces</a>·&#124;
69 <a·href="#define-members">Macros</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
70 ··<div·class="headertitle"><div·class="title">version.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">remoteindices.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
71 </div><!--header-->73 </div><!--header-->
72 <div·class="contents">74 <div·class="contents">
  
73 <p>Various·macros·to·work·with·Dune·module·version·numbers.··75 <p>Classes·describing·a·distributed·indexset.··
74 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
 77 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 78 <code>#include·&lt;iostream&gt;</code><br·/>
 79 <code>#include·&lt;ostream&gt;</code><br·/>
 80 <code>#include·&lt;map&gt;</code><br·/>
 81 <code>#include·&lt;memory&gt;</code><br·/>
 82 <code>#include·&lt;set&gt;</code><br·/>
 83 <code>#include·&lt;utility&gt;</code><br·/>
 84 <code>#include·&lt;vector&gt;</code><br·/>
 85 <code>#include·&lt;mpi.h&gt;</code><br·/>
 86 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 87 <code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/indexset.hh</a>&gt;</code><br·/>
 88 <code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code><br·/>
 89 <code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code><br·/>
 90 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/sllist.hh</a>&gt;</code><br·/>
 91 <code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
 92 </div>
75 <p><a·href="a00359_source.html">Go·to·the·source·code·of·this·file.</a></p>93 <p><a·href="a00359_source.html">Go·to·the·source·code·of·this·file.</a></p>
76 <table·class="memberdecls">94 <table·class="memberdecls">
 95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 96 Classes</h2></td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02232.html">Dune::MPITraits&lt;·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&gt;</a></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02240.html">Dune::RemoteIndex&lt;·T1,·T2·&gt;</a></td></tr>
 100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Information·about·an·index·residing·on·another·processor.··<a·href="a02240.html#details">More...</a><br·/></td></tr>
 101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02236.html">Dune::RemoteIndices&lt;·T,·A·&gt;</a></td></tr>
 103 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·indices·present·on·remote·processes.··<a·href="a02236.html#details">More...</a><br·/></td></tr>
 104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02244.html">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;</a></td></tr>
 106 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote·index·list.··<a·href="a02244.html#details">More...</a><br·/></td></tr>
 107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02256.html">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition</a></td></tr>
 109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02248.html">Dune::CollectiveIterator&lt;·T,·A·&gt;</a></td></tr>
 111 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·collective·iterator·for·moving·over·the·remote·indices·for·all·processes·collectively.··<a·href="a02248.html#details">More...</a><br·/></td></tr>
 112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02260.html">Dune::CollectiveIterator&lt;·T,·A·&gt;::iterator</a></td></tr>
 114 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Iterator·over·the·valid·underlying·iterators.··<a·href="a02260.html#details">More...</a><br·/></td></tr>
 115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 </table><table·class="memberdecls">
 117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 118 Namespaces</h2></td></tr>
 119 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 120 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 </table><table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>123 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
78 Macros</h2></td></tr>124 Functions</h2></td></tr>
 125 <tr·class="memitem:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·typename·T2·&gt;·</td></tr>
 126 <tr·class="memitem:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga3e5f972e5d5b0623aeaae8ea76610ef4">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·RemoteIndex&lt;·T1,·T2·&gt;·&amp;index)</td></tr>
79 <tr·class="memitem:a229e35109d69cff060df5c80e71f3d73"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a229e35109d69cff060df5c80e71f3d73">DUNE_VERSION_JOIN</a>(module,··type)&#160;&#160;&#160;module·##·_VERSION_·##·type</td></tr> 
80 <tr·class="memdesc:a229e35109d69cff060df5c80e71f3d73"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers.··<a·href="a00359.html#a229e35109d69cff060df5c80e71f3d73">More...</a><br·/></td></tr> 
81 <tr·class="separator:a229e35109d69cff060df5c80e71f3d73"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
82 <tr·class="memitem:ab25a714acc2ab9e565053cb523054a95"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#ab25a714acc2ab9e565053cb523054a95">DUNE_VERSION_EQUAL</a>(module,··major,··minor)</td></tr> 
83 <tr·class="memdesc:ab25a714acc2ab9e565053cb523054a95"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.··<a·href="a00359.html#ab25a714acc2ab9e565053cb523054a95">More...</a><br·/></td></tr> 
84 <tr·class="separator:ab25a714acc2ab9e565053cb523054a95"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
85 <tr·class="memitem:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a860ad2275fe1229fe01d9992a6685fe7">DUNE_VERSION_EQUAL_REV</a>(module,··major,··minor,··revision)</td></tr> 
86 <tr·class="memdesc:a860ad2275fe1229fe01d9992a6685fe7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision.··<a·href="a00359.html#a860ad2275fe1229fe01d9992a6685fe7">More...</a><br·/></td></tr> 
87 <tr·class="separator:a860ad2275fe1229fe01d9992a6685fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>127 <tr·class="separator:ga3e5f972e5d5b0623aeaae8ea76610ef4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memTemplParams"·colspan="2">template&lt;class·T·,·class·A·&gt;·</td></tr>
 129 <tr·class="memitem:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga4298476f0be2dd2f85d9fb856ff228a1">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·RemoteIndices&lt;·T,·A·&gt;·&amp;indices)</td></tr>
88 <tr·class="memitem:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,··major,··minor)</td></tr> 
89 <tr·class="memdesc:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·greater.··<a·href="a00359.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">More...</a><br·/></td></tr> 
90 <tr·class="separator:ae9c7fb3f1d0d68848c2b03cf45a5f620"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
91 <tr·class="memitem:a989ea73953b5d09cb17675d64233a15b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a989ea73953b5d09cb17675d64233a15b">DUNE_VERSION_LT</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00359.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr> 
92 <tr·class="memdesc:a989ea73953b5d09cb17675d64233a15b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·less·than·major.minor.··<a·href="a00359.html#a989ea73953b5d09cb17675d64233a15b">More...</a><br·/></td></tr> 
93 <tr·class="separator:a989ea73953b5d09cb17675d64233a15b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>130 <tr·class="separator:ga4298476f0be2dd2f85d9fb856ff228a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memTemplParams"·colspan="2">template&lt;typename·TG·,·typename·TA·&gt;·</td></tr>
 132 <tr·class="memitem:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a048ab774ecd43e33a5026deafb1c9a8c">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;os,·const·RemoteIndex&lt;·TG,·TA·&gt;·&amp;index)</td></tr>
94 <tr·class="memitem:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a3ff6f986ce87d82c20da62e6355cf520">DUNE_VERSION_NEWER</a>(module,··major,··minor)&#160;&#160;&#160;··<a·class="el"·href="a00359.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">DUNE_VERSION_GTE</a>(module,major,minor)</td></tr> 
95 <tr·class="memdesc:a3ff6f986ce87d82c20da62e6355cf520"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor·or·newer.··<a·href="a00359.html#a3ff6f986ce87d82c20da62e6355cf520">More...</a><br·/></td></tr> 
96 <tr·class="separator:a3ff6f986ce87d82c20da62e6355cf520"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 <tr·class="memitem:a4221602addcd43bfc16992d83eaab73b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,··major,··minor)</td></tr> 
98 <tr·class="memdesc:a4221602addcd43bfc16992d83eaab73b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·greater·than·major.minor.··<a·href="a00359.html#a4221602addcd43bfc16992d83eaab73b">More...</a><br·/></td></tr> 
99 <tr·class="separator:a4221602addcd43bfc16992d83eaab73b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:a30a27a1b8996420c55ed3c6009a62253"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a30a27a1b8996420c55ed3c6009a62253">DUNE_VERSION_LTE</a>(module,··major,··minor)&#160;&#160;&#160;··!·<a·class="el"·href="a00359.html#a4221602addcd43bfc16992d83eaab73b">DUNE_VERSION_GT</a>(module,major,minor)</td></tr> 
101 <tr·class="memdesc:a30a27a1b8996420c55ed3c6009a62253"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·less·than·or·equal·to·major.minor.··<a·href="a00359.html#a30a27a1b8996420c55ed3c6009a62253">More...</a><br·/></td></tr> 
102 <tr·class="separator:a30a27a1b8996420c55ed3c6009a62253"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,··major,··minor,··revision)</td></tr> 
104 <tr·class="memdesc:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision·or·greater.··<a·href="a00359.html#a95ef2ff0c01c2b1add28f5d4a55e6904">More...</a><br·/></td></tr> 
105 <tr·class="separator:a95ef2ff0c01c2b1add28f5d4a55e6904"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:a475b789ab8bce20d26045e337955a52b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a475b789ab8bce20d26045e337955a52b">DUNE_VERSION_LT_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··!·<a·class="el"·href="a00359.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr> 
107 <tr·class="memdesc:a475b789ab8bce20d26045e337955a52b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·version·lower·than·major.minor.revision.··<a·href="a00359.html#a475b789ab8bce20d26045e337955a52b">More...</a><br·/></td></tr> 
108 <tr·class="separator:a475b789ab8bce20d26045e337955a52b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>133 <tr·class="separator:a048ab774ecd43e33a5026deafb1c9a8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a5b004009c0c7997b2330992534942c3b"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#a5b004009c0c7997b2330992534942c3b">DUNE_VERSION_NEWER_REV</a>(module,··major,··minor,··revision)&#160;&#160;&#160;··<a·class="el"·href="a00359.html#a95ef2ff0c01c2b1add28f5d4a55e6904">DUNE_VERSION_GTE_REV</a>(module,major,minor,revision)</td></tr> 
110 <tr·class="memdesc:a5b004009c0c7997b2330992534942c3b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·the·version·major.minor.revision·or·newer.··<a·href="a00359.html#a5b004009c0c7997b2330992534942c3b">More...</a><br·/></td></tr> 
111 <tr·class="separator:a5b004009c0c7997b2330992534942c3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html#ab892e2a1845da3fb29c5fb0cbe4d413f">DUNE_VERSION_GT_REV</a>(module,··major,··minor,··revision)</td></tr> 
113 <tr·class="memdesc:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·'module'·has·a·greater·version·than·major.minor.revision.··<a·href="a00359.html#ab892e2a1845da3fb29c5fb0cbe4d413f">More...</a><br·/></td></tr> 
114 <tr·class="separator:ab892e2a1845da3fb29c5fb0cbe4d413f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
Max diff block lines reached; 31798/52868 bytes (60.15%) of diff not shown.
17.5 KB
html2text {}
    
Offset 4, 346 lines modifiedOffset 4, 74 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Macros 
8 version.hh·File·Reference 
9 Various·macros·to·work·with·Dune·module·version·numbers.·More...7 ····*·parallel
 8 Classes·|·Namespaces·|·Functions
 9 remoteindices.hh·File·Reference
 10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 Classes·describing·a·distributed·indexset.·More...
 12 #include·<cassert>
 13 #include·<iostream>
 14 #include·<ostream>
 15 #include·<map>
 16 #include·<memory>
 17 #include·<set>
 18 #include·<utility>
 19 #include·<vector>
 20 #include·<mpi.h>
 21 #include·<dune/common/exceptions.hh>
 22 #include·<dune/common/parallel/indexset.hh>
 23 #include·<dune/common/parallel/mpitraits.hh>
 24 #include·<dune/common/parallel/plocalindex.hh>
 25 #include·<dune/common/sllist.hh>
 26 #include·<dune/common/stdstreams.hh>
10 Go_to_the_source_code_of_this_file.27 Go_to_the_source_code_of_this_file.
 28 ·Classes
 29 class· Dune::MPITraits<_IndexPair<_TG,_ParallelLocalIndex<_TA_>_>_>
11 ·Macros 
12 #define DUNE_VERSION_JOIN(module,·type)   module·##·_VERSION_·##·type 
13  ·······Constructs·the·preprocessor·name·used·in·config.h·to·hold·version·numbers. 
14 ·········More... 
15  30  
16 #define DUNE_VERSION_EQUAL(module,·major,·minor) 
17  ·······True·if·'module'·has·the·version·major.minor.·More...31 class· Dune::RemoteIndex<_T1,_T2_>
 32  ······Information·about·an·index·residing·on·another·processor.·More...
18  33  
19 #define DUNE_VERSION_EQUAL_REV(module,·major,·minor,·revision) 
20  ·······True·if·'module'·has·the·version·major.minor.revision.·More...34 class· Dune::RemoteIndices<_T,_A_>
 35  ······The·indices·present·on·remote·processes.·More...
21  36  
22 #define DUNE_VERSION_GTE(module,·major,·minor) 
23  ·······True·if·'module'·has·the·version·major.minor·or·greater.·More...37 class· Dune::RemoteIndexListModifier<_T,_A,_mode_>
 38  ······Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote
 39 ········index·list.·More...
24  40  
 41 class· Dune::RemoteIndexListModifier<_T,_A,_mode_>::InvalidPosition
25 #define DUNE_VERSION_LT(module,·major,·minor)   ·!·DUNE_VERSION_GTE(module,major,minor) 
26  ·······True·if·'module'·has·a·version·less·than·major.minor.·More... 
27  42  
28 #define DUNE_VERSION_NEWER(module,·major,·minor)   ·DUNE_VERSION_GTE(module,major,minor) 
29  ·······True·if·'module'·has·the·version·major.minor·or·newer.·More...43 class· Dune::CollectiveIterator<_T,_A_>
 44  ······A·collective·iterator·for·moving·over·the·remote·indices·for·all
 45 ········processes·collectively.·More...
30  46  
31 #define DUNE_VERSION_GT(module,·major,·minor) 
32  ·······True·if·'module'·has·a·version·greater·than·major.minor.·More...47 class· Dune::CollectiveIterator<_T,_A_>::iterator
 48  ······Iterator·over·the·valid·underlying·iterators.·More...
33  49  
34 #define DUNE_VERSION_LTE(module,·major,·minor)   ·!·DUNE_VERSION_GT(module,major,minor) 
35  ·······True·if·'module'·has·a·version·less·than·or·equal·to·major.minor.·More...50 ·Namespaces
 51 namespace· Dune
 52  ··········Dune·namespace.
36  53  
37 #define DUNE_VERSION_GTE_REV(module,·major,·minor,·revision) 
38  ·······True·if·'module'·has·the·version·major.minor.revision·or·greater.·More...54 ·Functions
 55 template<typename·T1·,·typename·T2·>
 56 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·T1,·T2·>
 57 ················&index)
39  58  
40 #define DUNE_VERSION_LT_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GTE_REV 
41 ·········(module,major,minor,revision) 
42  ·······True·if·'module'·has·a·version·lower·than·major.minor.revision.·More...59 template<class·T·,·class·A·>
 60 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndices<·T,·A·>
 61 ················&indices)
43  62  
 63 template<typename·TG·,·typename·TA·>
 64 std::ostream·& Dune::operator<<·(std::ostream·&os,·const·RemoteIndex<·TG,·TA·>
 65 ················&index)
44 #define DUNE_VERSION_NEWER_REV(module,·major,·minor,·revision)   ·DUNE_VERSION_GTE_REV 
45 ·········(module,major,minor,revision) 
46  ·······True·if·'module'·has·the·version·major.minor.revision·or·newer.·More... 
47   
48 #define DUNE_VERSION_GT_REV(module,·major,·minor,·revision) 
49  ·······True·if·'module'·has·a·greater·version·than·major.minor.revision.·More... 
50   
51 #define DUNE_VERSION_LTE_REV(module,·major,·minor,·revision)   ·!·DUNE_VERSION_GT_REV 
52 ·········(module,major,minor,revision) 
53  ·······True·if·'module'·has·a·version·lower·or·equal·to·major.minor.revision.·More... 
54   
55 #define DUNE_VERSION_ID(major,·minor,·revision)   ·((unsigned·int)((major·<<·24)·+·(minor 
56 ·········<<·16)·+·revision)) 
57  ·······Compute·a·unique·uint·id·from·the·major,·minor,·and·revision·numbers.·More... 
58   
59 #define DUNE_MODULE_VERSION_ID(module)   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN 
60 ·········(module,MAJOR),·DUNE_VERSION_JOIN(module,MINOR),·DUNE_VERSION_JOIN 
61 ·········(module,REVISION)·) 
62  ·······Compute·a·unique·uint·id·for·the·given·module.·More... 
63  66  
64 *****·Detailed·Description·*****67 *****·Detailed·Description·*****
 68 Classes·describing·a·distributed·indexset.
 69 ··Author
 70 ······Markus·Blatt
65 Various·macros·to·work·with·Dune·module·version·numbers. 
66 *****·Macro·Definition·Documentation·***** 
67 *****·◆ DUNE_MODULE_VERSION_ID·***** 
68 #define················(· module·)·   ·DUNE_VERSION_ID(·DUNE_VERSION_JOIN(module,MAJOR),·DUNE_VERSION_JOIN 
69 DUNE_MODULE_VERSION_ID··············(module,MINOR),·DUNE_VERSION_JOIN(module,REVISION)·) 
70 Compute·a·unique·uint·id·for·the·given·module. 
71 For·the·DUNE·core·modules·you·need·to·use·the·following·module·names: 
72 ····*·DUNE_COMMON·for·dune-common 
73 ····*·DUNE_GRID·for·dune-grid 
74 ····*·DUNE_GEOMETRY·for·dune-geometry 
75 ····*·DUNE_ISTL·for·dune-istl 
76 ····*·DUNE_LOCALFUNCTIONS·for·dune-localfunctions 
77 For·external·DUNE·modules,·you·should·capitalize·the·name·and·replace·'-'·by 
78 underscores.·For·example·for·the·module·foo-bar·you·need·to·use·FOO_BAR·as 
79 module·name·in·the·context·of·this·macro. 
80 *****·◆ DUNE_VERSION_EQUAL·***** 
81 #define·DUNE_VERSION_EQUAL·(· module, 
82 ····························· major, 
83 ····························· minor  
84 ···························) 
Max diff block lines reached; 116/17929 bytes (0.65%) of diff not shown.
352 KB
./usr/share/doc/libdune-common-doc/doxygen/a00359_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·version.hh·Source·File</title>8 <title>dune-common:·remoteindices.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 83 lines modifiedOffset 58, 1577 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">version.hh</div></div>68 ··<div·class="headertitle"><div·class="title">remoteindices.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00359.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00359.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_VERSION_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_REMOTEINDICES_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_VERSION_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_REMOTEINDICES_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno"><a·class="line"·href="a00359.html#a229e35109d69cff060df5c80e71f3d73">···28</a></span><span·class="preprocessor">#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
79 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
80 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno"><a·class="line"·href="a00359.html#ab25a714acc2ab9e565053cb523054a95">···44</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL(module,major,minor)·\</span></div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;ostream&gt;</span></div>
81 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">··((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·\</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
82 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">···(DUNE_VERSION_JOIN(module,MINOR)·==·minor))</span></div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;set&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00314.html">dune/common/parallel/indexset.hh</a>&gt;</span></div>
 93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00365.html">dune/common/parallel/mpitraits.hh</a>&gt;</span></div>
 94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00320.html">dune/common/parallel/plocalindex.hh</a>&gt;</span></div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00272.html">dune/common/sllist.hh</a>&gt;</span></div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 99 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TG,·<span·class="keyword">typename</span>·TA&gt;</div>
 100 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="a02232.html">···41</a></span>··<span·class="keyword">class·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&lt;<a·class="code·hl_class"·href="a02092.html">IndexPair</a>&lt;TG,<a·class="code·hl_class"·href="a02220.html">ParallelLocalIndex</a>&lt;TA&gt;·&gt;·&gt;</div>
 101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··{</div>
 102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">public</span>:</div>
 103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<span·class="keyword">inline</span>·<span·class="keyword">static</span>·MPI_Datatype·<a·class="code·hl_function"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">getType</a>();</div>
 104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">private</span>:</div>
 105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·MPI_Datatype·type;</div>
83 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>106 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··};</div>
84 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a00359.html#a860ad2275fe1229fe01d9992a6685fe7">···62</a></span><span·class="preprocessor">#define·DUNE_VERSION_EQUAL_REV(module,major,minor,revision)·\</span></div> 
85 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="preprocessor">··(·DUNE_VERSION_EQUAL(module,major,minor)·&amp;&amp;·\</span></div> 
86 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">····(DUNE_VERSION_JOIN(module,REVISION)·==·revision))</span></div> 
87 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> 
88 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a00359.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">···80</a></span><span·class="preprocessor">#define·DUNE_VERSION_GTE(module,major,minor)·\</span></div> 
89 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="preprocessor">··((DUNE_VERSION_JOIN(module,MAJOR)·&gt;·major)·\</span></div> 
90 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="preprocessor">···||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·(DUNE_VERSION_JOIN(module,MINOR)·&gt;=·minor)))</span></div> 
91 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div>107 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
92 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a00359.html#a989ea73953b5d09cb17675d64233a15b">···98</a></span><span·class="preprocessor">#define·DUNE_VERSION_LT(module,major,minor)·\</span></div>108 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
 109 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">typename</span>·A&gt;</div>
 110 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02236.html">RemoteIndices</a>;</div>
 111 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
 112 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div>
 113 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02240.html">RemoteIndex</a>;</div>
 114 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 115 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·forward·declaration·needed·for·friend·declaration.</span></div>
 116 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 117 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02120.html">IndicesSyncer</a>;</div>
 118 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 119 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div>
 120 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00416.html#ga3e5f972e5d5b0623aeaae8ea76610ef4">···61</a></span>··std::ostream&amp;·<a·class="code·hl_function"·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">operator&lt;&lt;</a>(std::ostream&amp;·os,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02240.html">RemoteIndex&lt;T1,T2&gt;</a>&amp;·index);</div>
 121 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 122 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
 123 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">typename</span>·A,·<span·class="keywordtype">bool</span>·mode&gt;</div>
 124 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02244.html">RemoteIndexListModifier</a>;</div>
 125 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div>
 126 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 127 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T1,·<span·class="keyword">typename</span>·T2&gt;</div>
 128 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a02240.html">···72</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02240.html">RemoteIndex</a></div>
 129 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>
 130 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 131 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a02240.html#a28cc1134adbb762393dc031508094dc6">···75</a></span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02120.html">IndicesSyncer</a>;</div>
 132 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 133 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">typename</span>·A,·<span·class="keyword">typename</span>·A1&gt;</div>
 134 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno"><a·class="line"·href="a02240.html#a0e1b46e95a0a31b8c20418e601c04b3b">···78</a></span>····<span·class="keyword">friend</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_friend"·href="a02240.html#a0e1b46e95a0a31b8c20418e601c04b3b">repairLocalIndexPointers</a>(std::map&lt;<span·class="keywordtype">int</span>,<a·class="code·hl_class"·href="a02856.html">SLList</a>&lt;std::pair&lt;typename·T::GlobalIndex,·typename·T::LocalIndex::Attribute&gt;,A&gt;·&gt;&amp;,</div>
 135 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·········································<a·class="code·hl_class"·href="a02236.html">RemoteIndices&lt;T,A1&gt;</a>&amp;,</div>
 136 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·········································<span·class="keyword">const</span>·T&amp;);</div>
 137 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>·</div>
 138 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·<span·class="keyword">typename</span>·A,·<span·class="keywordtype">bool</span>·mode&gt;</div>
 139 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a02240.html#a977b745c7480ed3b8a5b428f59b06b7a">···83</a></span>····<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02244.html">RemoteIndexListModifier</a>;</div>
 140 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
93 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">··!·DUNE_VERSION_GTE(module,major,minor)</span></div>141 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">public</span>:</div>
 142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a02240.html#a38bf1a0bd2297f499cf393d0562e5b5d">···90</a></span>····<span·class="keyword">typedef</span>·T1·<a·class="code·hl_typedef"·href="a02240.html#a38bf1a0bd2297f499cf393d0562e5b5d">GlobalIndex</a>;</div>
 143 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a02240.html#a5d69db3a848cd9ba863871d8ef39bc7f">···99</a></span>····<span·class="keyword">typedef</span>·T2·<a·class="code·hl_typedef"·href="a02240.html#a5d69db3a848cd9ba863871d8ef39bc7f">Attribute</a>;</div>
94 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>144 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div>
 145 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02092.html">IndexPair&lt;GlobalIndex,ParallelLocalIndex&lt;Attribute&gt;</a>·&gt;</div>
 146 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno"><a·class="line"·href="a02240.html#a7278cd65d076d04388202262f1bfd5e3">··105</a></span>····<a·class="code·hl_typedef"·href="a02240.html#a7278cd65d076d04388202262f1bfd5e3">PairType</a>;</div>
95 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00359.html#a3ff6f986ce87d82c20da62e6355cf520">··116</a></span><span·class="preprocessor">#define·DUNE_VERSION_NEWER(module,major,minor)·\</span></div> 
96 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span><span·class="preprocessor">··DUNE_VERSION_GTE(module,major,minor)</span></div> 
97 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> 
98 <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno"><a·class="line"·href="a00359.html#a4221602addcd43bfc16992d83eaab73b">··133</a></span><span·class="preprocessor">#define·DUNE_VERSION_GT(module,major,minor)·\</span></div> 
99 <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="preprocessor">··((DUNE_VERSION_JOIN(module,MAJOR)·&gt;·major)·\</span></div> 
100 <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="preprocessor">···||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&amp;&amp;·(DUNE_VERSION_JOIN(module,MINOR)·&gt;·minor)))</span></div> 
101 <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>·</div>147 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>·</div>
 148 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02240.html#a5d69db3a848cd9ba863871d8ef39bc7f">Attribute</a>·<a·class="code·hl_function"·href="a02240.html#a0d98b1e5d3412d5c898482870dd21479">attribute</a>()·<span·class="keyword">const</span>;</div>
102 <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno"><a·class="line"·href="a00359.html#a30a27a1b8996420c55ed3c6009a62253">··151</a></span><span·class="preprocessor">#define·DUNE_VERSION_LTE(module,major,minor)·\</span></div> 
103 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="preprocessor">··!·DUNE_VERSION_GT(module,major,minor)</span></div> 
104 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div>149 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 150 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>····<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a02092.html">PairType</a>&amp;·<a·class="code·hl_function"·href="a02240.html#a763591bf46c7fb0cbe2e2436add0cca1">localIndexPair</a>()·<span·class="keyword">const</span>;</div>
105 <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno"><a·class="line"·href="a00359.html#a95ef2ff0c01c2b1add28f5d4a55e6904">··168</a></span><span·class="preprocessor">#define·DUNE_VERSION_GTE_REV(module,major,minor,revision)·\</span></div> 
106 <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span><span·class="preprocessor">··((DUNE_VERSION_JOIN(module,MAJOR)·&gt;·major)·\</span></div> 
Max diff block lines reached; 252334/296098 bytes (85.22%) of diff not shown.
62.4 KB
html2text {}
    
Offset 4, 82 lines modifiedOffset 4, 1930 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 version.hh7 ····*·parallel
 8 remoteindices.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_VERSION_HH 
15 ·6#define·DUNE_VERSION_HH15 ·5#ifndef·DUNE_REMOTEINDICES_HH
 16 ·6#define·DUNE_REMOTEINDICES_HH
16 ·717 ·7
17 28#define·DUNE_VERSION_JOIN(module,type)·module·##·_VERSION_·##·type18 ·8#if·HAVE_MPI
18 ·2919 ·9
19 44#define·DUNE_VERSION_EQUAL(module,major,minor)·\ 
20 ·45·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·\ 
21 ·46·(DUNE_VERSION_JOIN(module,MINOR)·==·minor)) 
22 ·47 
23 62#define·DUNE_VERSION_EQUAL_REV(module,major,minor,revision)·\ 
24 ·63·(·DUNE_VERSION_EQUAL(module,major,minor)·&&·\ 
25 ·64·(DUNE_VERSION_JOIN(module,REVISION)·==·revision)) 
26 ·65 
27 80#define·DUNE_VERSION_GTE(module,major,minor)·\ 
28 ·81·((DUNE_VERSION_JOIN(module,MAJOR)·>·major)·\ 
29 ·82·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN 
30 (module,MINOR)·>=·minor))) 
31 ·83 
32 98#define·DUNE_VERSION_LT(module,major,minor)·\ 
33 ·99·!·DUNE_VERSION_GTE(module,major,minor)20 ·10#include·<cassert>
 21 ·11#include·<iostream>
 22 ·12#include·<ostream>
 23 ·13#include·<map>
 24 ·14#include·<memory>
 25 ·15#include·<set>
 26 ·16#include·<utility>
 27 ·17#include·<vector>
 28 ·18
 29 ·19#include·<mpi.h>
 30 ·20
 31 ·21#include·<dune/common/exceptions.hh>
 32 ·22#include·<dune/common/parallel/indexset.hh>
 33 ·23#include·<dune/common/parallel/mpitraits.hh>
 34 ·24#include·<dune/common/parallel/plocalindex.hh>
 35 ·25#include·<dune/common/sllist.hh>
 36 ·26#include·<dune/common/stdstreams.hh>
 37 ·27
 38 ·28namespace·Dune·{
 39 ·40·template<typename·TG,·typename·TA>
 40 41·class·MPITraits<IndexPair<TG,ParallelLocalIndex<TA>·>·>
 41 ·42·{
 42 ·43·public:
 43 ·44·inline·static·MPI_Datatype·getType();
 44 ·45·private:
 45 ·46·static·MPI_Datatype·type;
 46 ·47·};
 47 ·48
 48 ·49
 49 ·50·template<typename·T,·typename·A>
 50 ·51·class·RemoteIndices;
 51 ·52
 52 ·53·template<typename·T1,·typename·T2>
 53 ·54·class·RemoteIndex;
 54 ·55
 55 ·56·//·forward·declaration·needed·for·friend·declaration.
 56 ·57·template<typename·T>
 57 ·58·class·IndicesSyncer;
 58 ·59
 59 ·60·template<typename·T1,·typename·T2>
 60 61·std::ostream&·operator<<(std::ostream&·os,·const·RemoteIndex<T1,T2>&·index);
 61 ·62
 62 ·63
 63 ·64·template<typename·T,·typename·A,·bool·mode>
 64 ·65·class·RemoteIndexListModifier;
 65 ·66
 66 ·67
 67 ·71·template<typename·T1,·typename·T2>
 68 72·class·RemoteIndex
 69 ·73·{
 70 ·74·template<typename·T>
 71 75·friend·class·IndicesSyncer;
 72 ·76
 73 ·77·template<typename·T,·typename·A,·typename·A1>
 74 78·friend·void·repairLocalIndexPointers(std::map<int,SLList<std::pair<typename
 75 T::GlobalIndex,·typename·T::LocalIndex::Attribute>,A>·>&,
 76 ·79·RemoteIndices<T,A1>&,
 77 ·80·const·T&);
 78 ·81
 79 ·82·template<typename·T,·typename·A,·bool·mode>
 80 83·friend·class·RemoteIndexListModifier;
 81 ·84
 82 ·85·public:
 83 90·typedef·T1·GlobalIndex;
 84 99·typedef·T2·Attribute;
34 ·10085 ·100
 86 ·104·typedef·IndexPair<GlobalIndex,ParallelLocalIndex<Attribute>·>
 87 105·PairType;
35 116#define·DUNE_VERSION_NEWER(module,major,minor)·\ 
36 ·117·DUNE_VERSION_GTE(module,major,minor) 
37 ·118 
38 133#define·DUNE_VERSION_GT(module,major,minor)·\ 
39 ·134·((DUNE_VERSION_JOIN(module,MAJOR)·>·major)·\ 
40 ·135·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN 
41 (module,MINOR)·>·minor))) 
42 ·13688 ·106
 89 ·111·const·Attribute·attribute()·const;
 90 ·112
 91 ·118·const·PairType&·localIndexPair()·const;
43 151#define·DUNE_VERSION_LTE(module,major,minor)·\ 
44 ·152·!·DUNE_VERSION_GT(module,major,minor) 
45 ·153 
46 168#define·DUNE_VERSION_GTE_REV(module,major,minor,revision)·\ 
47 ·169·((DUNE_VERSION_JOIN(module,MAJOR)·>·major)·\ 
48 ·170·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN 
49 (module,MINOR)·>·minor))·\ 
50 ·171·||·((DUNE_VERSION_JOIN(module,MAJOR)·==·major)·&&·(DUNE_VERSION_JOIN 
51 (module,MINOR)·==·minor)·\ 
52 ·172·&&·(DUNE_VERSION_JOIN(module,REVISION)·>=·revision))) 
53 ·173 
54 188#define·DUNE_VERSION_LT_REV(module,major,minor,revision)·\ 
55 ·189·!·DUNE_VERSION_GTE_REV(module,major,minor,revision) 
Max diff block lines reached; 56123/63864 bytes (87.88%) of diff not shown.
12.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00362.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·gmpfield.hh·File·Reference</title>8 <title>dune-common:·communicator.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 60 lines modifiedOffset 58, 73 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
71 ··<div·class="headertitle"><div·class="title">gmpfield.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">communicator.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Wrapper·for·the·GNU·multiprecision·(GMP)·library.··74 <p>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
 77 <code>#include·&lt;cstddef&gt;</code><br·/>
77 <code>#include·&lt;string&gt;</code><br·/>78 <code>#include·&lt;iostream&gt;</code><br·/>
 79 <code>#include·&lt;map&gt;</code><br·/>
78 <code>#include·&lt;type_traits&gt;</code><br·/>80 <code>#include·&lt;type_traits&gt;</code><br·/>
 81 <code>#include·&lt;utility&gt;</code><br·/>
79 <code>#include·&lt;gmpxx.h&gt;</code><br·/>82 <code>#include·&lt;mpi.h&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a04442_source.html">dune/common/parallel/interface.hh</a>&gt;</code><br·/>
 85 <code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/stdstreams.hh</a>&gt;</code><br·/>
82 </div>87 </div>
83 <p><a·href="a00362_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a00362_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">89 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>91 Classes</h2></td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01832.html">Dune::GMPField&lt;·precision·&gt;</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01992.html">Dune::SizeOne</a></td></tr>
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation.··<a·href="a01832.html#details">More...</a><br·/></td></tr>93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.··<a·href="a01992.html#details">More...</a><br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01836.html">Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01996.html">Dune::VariableSize</a></td></tr>
 96 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.··<a·href="a01996.html#details">More...</a><br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01840.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision1·&gt;,·GMPField&lt;·precision2·&gt;·&gt;</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02000.html">Dune::CommPolicy&lt;·V·&gt;</a></td></tr>
 99 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·policy·used·for·communicating·an·indexed·type.··<a·href="a02000.html#details">More...</a><br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01844.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02012.html">Dune::CommPolicy&lt;·V·&gt;::CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&gt;·&gt;</a></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01848.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·T·&gt;</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02016.html">Dune::CommPolicy&lt;·V·&gt;::CommunicationError</a></td></tr>
 104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Error·thrown·if·there·was·a·problem·with·the·communication.··<a·href="a02016.html#details">More...</a><br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01852.html">Dune::PromotionTraits&lt;·T,·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02020.html">Dune::CommPolicy&lt;·V·&gt;::CopyGatherScatter&lt;·T·&gt;</a></td></tr>
 107 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">GatherScatter·default·implementation·that·just·copies·data.··<a·href="a02020.html#details">More...</a><br·/></td></tr>
 108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 109 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02024.html">Dune::BufferedCommunicator</a></td></tr>
 110 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be·send·or·received.··<a·href="a02024.html#details">More...</a><br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table><table·class="memberdecls">112 </table><table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>113 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
102 Namespaces</h2></td></tr>114 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>115 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>116 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table>118 </table>
107 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>119 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
108 <div·class="textblock"><p·>Wrapper·for·the·GNU·multiprecision·(GMP)·library.·</p>120 <div·class="textblock"><p·>Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·</p>
 121 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
109 </div></div><!--·contents·-->122 </div></div><!--·contents·-->
110 <!--·start·footer·part·-->123 <!--·start·footer·part·-->
111 <hr·class="footer"/><address·class="footer"><small>124 <hr·class="footer"/><address·class="footer"><small>
112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
113 </small></address>126 </small></address>
114 </body>127 </body>
115 </html>128 </html>
2.64 KB
html2text {}
    
Offset 4, 42 lines modifiedOffset 4, 61 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces8 Classes·|·Namespaces
8 gmpfield.hh·File·Reference 
9 Wrapper·for·the·GNU·multiprecision·(GMP)·library.·More...9 communicator.hh·File·Reference
 10 Common·»·Parallel_Communication·»·Parallel_Computing_based_on_Indexsets
 11 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.
 12 More...
 13 #include·<cassert>
 14 #include·<cstddef>
10 #include·<iostream>15 #include·<iostream>
11 #include·<string>16 #include·<map>
12 #include·<type_traits>17 #include·<type_traits>
 18 #include·<utility>
13 #include·<gmpxx.h>19 #include·<mpi.h>
14 #include·<dune/common/promotiontraits.hh>20 #include·<dune/common/exceptions.hh>
 21 #include·<dune/common/parallel/interface.hh>
 22 #include·<dune/common/parallel/remoteindices.hh>
15 #include·<dune/common/typetraits.hh>23 #include·<dune/common/stdstreams.hh>
16 Go_to_the_source_code_of_this_file.24 Go_to_the_source_code_of_this_file.
17 ·Classes25 ·Classes
18 ·class· Dune::GMPField<_precision_> 
19  ·······Number·class·for·high·precision·floating·point·number·using·the·GMP 
20 ·········library·mpf_class·implementation.·More...26 struct· Dune::SizeOne
 27  ·······Flag·for·marking·indexed·data·structures·where·data·at·each·index·is
 28 ·········of·the·same·size.·More...
21  29  
22 struct· Dune::IsNumber<_GMPField<_precision_>_>30 struct· Dune::VariableSize
 31  ·······Flag·for·marking·indexed·data·structures·where·the·data·at·each·index
 32 ·········may·be·a·variable·multiple·of·another·type.·More...
23  33  
24 struct· Dune::PromotionTraits<_GMPField<_precision1_>,_GMPField<_precision2_> 
25 ·········>34 struct· Dune::CommPolicy<_V_>
 35  ·······Default·policy·used·for·communicating·an·indexed·type.·More...
26  36  
27 struct· Dune::PromotionTraits<_GMPField<_precision_>,_GMPField<_precision_>_>37 struct· Dune::CommPolicy<_V_>::CommPolicy<_VariableBlockVector<_FieldVector<
 38 ·········K,_n_>,_A_>_>
28  39  
29 struct· Dune::PromotionTraits<_GMPField<_precision_>,_T_>40 ·class· Dune::CommPolicy<_V_>::CommunicationError
 41  ·······Error·thrown·if·there·was·a·problem·with·the·communication.·More...
30  42  
31 struct· Dune::PromotionTraits<_T,_GMPField<_precision_>_>43 struct· Dune::CommPolicy<_V_>::CopyGatherScatter<_T_>
 44  ·······GatherScatter·default·implementation·that·just·copies·data.·More...
 45  
 46 ·class· Dune::BufferedCommunicator
 47  ·······A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be
 48 ·········send·or·received.·More...
32  49  
33 ·Namespaces50 ·Namespaces
34 namespace· Dune51 namespace· Dune
35  ··········Dune·namespace.52  ··········Dune·namespace.
36  53  
37 *****·Detailed·Description·*****54 *****·Detailed·Description·*****
38 Wrapper·for·the·GNU·multiprecision·(GMP)·library.55 Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.
 56 ··Author
 57 ······Markus·Blatt
  
39 ===============================================================================58 ===============================================================================
40 ·····Generated·by [doxygen]·1.9.459 ·····Generated·by [doxygen]·1.9.4
226 KB
./usr/share/doc/libdune-common-doc/doxygen/a00362_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·gmpfield.hh·Source·File</title>8 <title>dune-common:·communicator.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 123 lines modifiedOffset 58, 1026 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">gmpfield.hh</div></div>68 ··<div·class="headertitle"><div·class="title">communicator.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00362.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00362.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GMPFIELD_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMUNICATOR</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GMPFIELD_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMUNICATOR</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;map&gt;</span></div>
Diff chunk too large, falling back to line-by-line diff (949 lines added, 81 lines removed)
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_GMP·||·DOXYGEN</span></div>86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;gmpxx.h&gt;</span></div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00077.html">dune/common/promotiontraits.hh</a>&gt;</span></div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04442.html">dune/common/parallel/interface.hh</a>&gt;</span></div>
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div>91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00359.html">dune/common/parallel/remoteindices.hh</a>&gt;</span></div>
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>{</div>
92 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision·&gt;</div>96 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno"><a·class="line"·href="a01992.html">··109</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01992.html">SizeOne</a></div>
93 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01832.html">···31</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01832.html">GMPField</a></div>97 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··{};</div>
94 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····:·<span·class="keyword">public</span>·mpf_class</div>98 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>
95 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··{</div>99 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="a01996.html">··117</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01996.html">VariableSize</a></div>
96 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">typedef</span>·mpf_class·Base;</div>100 <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··{};</div>
97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>101 <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div>
98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>102 <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div>
99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01832.html#a1c98f1cff0e1a4f47f21c8da20ab3d7a">···38</a></span>····<a·class="code·hl_function"·href="a01832.html#a1c98f1cff0e1a4f47f21c8da20ab3d7a">GMPField</a>·()</div>103 <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······:·Base(0,precision)</div>104 <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno"><a·class="line"·href="a02000.html">··127</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02000.html">CommPolicy</a></div>
101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····{}</div>105 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··{</div>
102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>106 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a02000.html#af60cf019b8e895938b6143f186c62d1b">··140</a></span>····<span·class="keyword">typedef</span>·V·<a·class="code·hl_typedef"·href="a02000.html#af60cf019b8e895938b6143f186c62d1b">Type[·...·truncated·by·diffoscope;·len:·5,·SHA:·81c077769cd3ae4b168f7350022ceb35bafd10236659a6c368f64cad6fbe7c29·...·]</div>
103 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01832.html#a638036e0a8202b2b10a7ab75f2971abd">···45</a></span>····<a·class="code·hl_function"·href="a01832.html#a638036e0a8202b2b10a7ab75f2971abd">GMPField</a>·(·<span·class="keyword">const[·...·truncated·by·diffoscope;·len:·52,·SHA:·dcfb38af62b6103d040fcc0ee821ae4628badb4dfef84a5db50507d9d5cb2a94·...·]</div>107 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div>
104 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······:·Base(str,precision)</div>108 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno"><a·class="line"·href="a02000.html#a2cda5e943599178476fac79e207b365b">··147</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·V::value_type·<a·class="code·hl_typedef"·href="a[·...·truncated·by·diffoscope;·len:·62,·SHA:·89ecbdc2379e6093c004aa6bd8c7ba9fd22a642b1253914811d1784fbcc571d3·...·]</div>
105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{}</div>109 <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div>
106 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>110 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno"><a·class="line"·href="a02000.html#a82711a42e162a721414c8d9737a8ee0c">··153</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a01992.html">SizeOne</a>·<a·class="code·hl_typedef"·hr[·...·truncated·by·diffoscope;·len:·71,·SHA:·34791d46f7effdcf3942f8d510a887919349af6aefde8a7c49dcfc1964c5bd81·...·]</div>
107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01832.html#a2dba914e372f4ebaf7723700e70b895d">···52</a></span>····<a·class="code·hl_function"·href="a01832.html#a2dba914e372f4ebaf7723700e70b895d">GMPField</a>·(·<span·class="keyword">const[·...·truncated·by·diffoscope;·len:·30,·SHA:·323db7b82774896f734dfcb7b237a637e0a03fb2c52154d09754fa1a11d0e4fd·...·]</div>111 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>
108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·Base(str,precision)</div>112 <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno"><a·class="line"·href="a02000.html#ab9aacd93b76315b459857b3ee5d4b6d0">··163</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*·<a·class="cod[·...·truncated·by·diffoscope;·len:·172,·SHA:·5b1e4927519270767badfcc7a457f174cccee8a11c166dc4fab4ea141cc98fd2·...·]</div>
109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{}</div>113 <div·class="line"><a·id="l00164"·name="l00164"></a><span·class="lineno">··164</span>·</div>
110 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>114 <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno"><a·class="line"·href="a02000.html#a4b5cf5c019f467b3e1f7798b076ceee8">··170</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02000.html#a4b5[·...·truncated·by·diffoscope;·len:·130,·SHA:·11295e2d42a315b9fa9feb38e59978062e43d478718aaff7df6355a04747e370·...·]</div>
111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class·</span>T,</div>115 <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>··};</div>
112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··············<span·class="keyword">typename</span>·EnableIf·=·<span·class="keyword">typename</span>·std::enable_if&lt;</div>116 <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>·</div>
113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>················std::is_convertible&lt;T,·mpf_class&gt;::value&gt;::type</div>117 <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno"><a·class="line"·href="a02004.html">··173</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;·<span·class="keyword">class·</span><a[·...·truncated·by·diffoscope;·len:·58,·SHA:·fcede363dfb6b9d10c4587bf4ef692517e091761d408ce97e956ed57f08d4d2f·...·]</div>
114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··············&gt;</div>118 <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div>
115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01832.html#a04962d934cef35d60d59a9bd3142e22d">···62</a></span>····<a·class="code·hl_function"·href="a01832.html#a04962d934cef35d60d59a9bd3142e22d">GMPField</a>·(·<span·class="keyword">const[·...·truncated·by·diffoscope;·len:·18,·SHA:·5456b1ea241030b7786b2389bd5d7c4b1148dcd2b22155b83bd8ba173894d099·...·]</div>119 <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno"><a·class="line"·href="a02008.html">··175</a></span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·B,·<span·class="keyword">class</span>·A&gt;·<span·class="keyword">class·</span><a·c[·...·truncated·by·diffoscope;·len:·64,·SHA:·345655170dddfbe7ab565568227bb183ba834de6d4301cad0eee958e071277ab·...·]</div>
116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······:·Base(·v,precision·)</div>120 <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>·</div>
117 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····{}</div>121 <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keyword">class</span>·A,·<span·class="keywordtype">int</span>·n&gt;</div>
118 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>122 <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno"><a·class="line"·href="a02012.html">··178</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02000.html">CommPolicy</a>&lt;<a·class="code·hl_class"·href="a02008.html">VariableBlockVec[·...·truncated·by·diffoscope;·len:·94,·SHA:·0dcc16a9cd046df42d0232fd4b0e5592d11c77e059e3af91acdb81e92cb1bb51·...·]</div>
119 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="comment">//·type·conversion·operators</span></div>123 <div·class="line"><a·id="l00179"·name="l00179"></a><span·class="lineno">··179</span>··{</div>
120 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01832.html#ac68f8e4c99a27750b3543f180882ac84">···67</a></span>····<span·class="keyword">operator</span>·double·()<span·class="keyword">·const</span></div>124 <div·class="line"><a·id="l00180"·name="l00180"></a><span·class="lineno"><a·class="line"·href="a02012.html#a63316a3f87f4edf2011ffa151e1abd73">··180</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02008.html">VariableBlockVector&lt;FieldVector&lt;K,·n[·...·truncated·by·diffoscope;·len:·105,·SHA:·600fe22315ad365a8116f78d7bbe72dd51e57ad14f311722de3444fd26cc7063·...·]</div>
121 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div>125 <div·class="line"><a·id="l00181"·name="l00181"></a><span·class="lineno">··181</span>·</div>
122 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">return</span>·this-&gt;get_d();</div>126 <div·class="line"><a·id="l00182"·name="l00182"></a><span·class="lineno"><a·class="line"·href="a02012.html#af196fdca100c252ea392e44d2cdf02b8">··182</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Type::B·<a·class="code·hl_typedef"·href="a02012.[·...·truncated·by·diffoscope;·len:·55,·SHA:·3eb9556426fdea7bbddba88049eb7dead56833f17de19660254eb1a755fb2d4f·...·];</div>
123 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····}</div>127 <div·class="line"><a·id="l00183"·name="l00183"></a><span·class="lineno">··183</span>·</div>
124 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>128 <div·class="line"><a·id="l00184"·name="l00184"></a><span·class="lineno"><a·class="line"·href="a02012.html#a19085e204009d8644f44f8b9645559f1">··184</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a01996.html">VariableSize</a>·<a·class="code·hl_typede[·...·truncated·by·diffoscope;·len:·76,·SHA:·f73b3c3f35861197db835db7c7c1f1c07b019a9c21077ae91fff6b4f86e8bd31·...·]</div>
125 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>129 <div·class="line"><a·id="l00185"·name="l00185"></a><span·class="lineno">··185</span>·</div>
126 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>130 <div·class="line"><a·id="l00186"·name="l00186"></a><span·class="lineno"><a·class="line"·href="a02012.html#ac381be5d5dd975a4352d69067772476e">··186</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<span·class="keywordtype">void</span>*·<a·class="cod[·...·truncated·by·diffoscope;·len:·219,·SHA:·c150d779f305fb8cb9b71bd4b04977740b7e671c4ee92ebd59f8f274d5f07500·...·]</div>
127 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision&gt;</div>131 <div·class="line"><a·id="l00187"·name="l00187"></a><span·class="lineno">··187</span>·</div>
128 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01836.html">···75</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01300.html">IsNumber</a>&lt;<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;pr[·...·truncated·by·diffoscope;·len:·14,·SHA:·6f799bb32a3ab79f11eac54d332c50b7328888e3a93222b477f21d0e0ce17a1b·...·];</div>132 <div·class="line"><a·id="l00188"·name="l00188"></a><span·class="lineno"><a·class="line"·href="a02012.html#a0d606c4b57293f6b13b0d1e933cfb32e">··188</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a02012.html#a0d6[·...·truncated·by·diffoscope;·len:·178,·SHA:·ae442634313fad4ed4980c21cefb66401cec12ed17fb6eacc17127c38eae3a6f·...·];</div>
129 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····:·<span·class="keyword">public</span>·std::integral_constant&lt;bool,·true&gt;·{</div>133 <div·class="line"><a·id="l00189"·name="l00189"></a><span·class="lineno">··189</span>··};</div>
130 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··};</div>134 <div·class="line"><a·id="l00190"·name="l00190"></a><span·class="lineno">··190</span>·</div>
131 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>135 <div·class="line"><a·id="l00194"·name="l00194"></a><span·class="lineno"><a·class="line"·href="a02016.html">··194</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02016.html">CommunicationError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_c[·...·truncated·by·diffoscope;·len:·36,·SHA:·16c870f4144d3052caee4b585de66277794bf8443a79077b8d624928cbc9060d·...·]</div>
132 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span>&lt;·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision1,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtyp[·...·truncated·by·diffoscope;·len:·28,·SHA:·6010bb39c425fe98e64c76712d3273c6e87700c57f37c991d0a54580d1124371·...·];</div>136 <div·class="line"><a·id="l00195"·name="l00195"></a><span·class="lineno">··195</span>··{};</div>
133 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01840.html">···80</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;<a·class="code·hl_class"·href="a01832.html">GMPField</a[·...·truncated·by·diffoscope;·len:·99,·SHA:·61dfd9687abdd47f0b28203b238a5d40ef0415a55069315640977cf232b48fb6·...·]</div>137 <div·class="line"><a·id="l00196"·name="l00196"></a><span·class="lineno">··196</span>·</div>
134 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{</div>138 <div·class="line"><a·id="l00200"·name="l00200"></a><span·class="lineno">··200</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
135 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01840.html#af814fa56640f9019d2b096b3aa365e0e">···82</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;(precision1·&gt;·precision[·...·truncated·by·diffoscope;·len:·94,·SHA:·c3056bf7119b74d6189cb023833a997803ab48e6ab0e6ed75c59cd5f08f18bc9·...·]</div>139 <div·class="line"><a·id="l00201"·name="l00201"></a><span·class="lineno"><a·class="line"·href="a02020.html">··201</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02020.html">CopyGatherScatter</a></div>
136 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··};</div>140 <div·class="line"><a·id="l00202"·name="l00202"></a><span·class="lineno">··202</span>··{</div>
137 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>141 <div·class="line"><a·id="l00203"·name="l00203"></a><span·class="lineno"><a·class="line"·href="a02020.html#a75f3ea805efadcb366dc402490a20929">··203</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02000.html#a2c[·...·truncated·by·diffoscope;·len:·165,·SHA:·dcbf58c4004bd46139e0111cb1c47902fdda0e3e0a7ccff137230e8ddc77c0ca·...·]</div>
138 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>&lt;·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision·&gt;</div>142 <div·class="line"><a·id="l00204"·name="l00204"></a><span·class="lineno">··204</span>·</div>
139 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01844.html">···86</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;<a·class="code·hl_class"·href="a01832.html">GMPField</a[·...·truncated·by·diffoscope;·len:·95,·SHA:·10792aea49b4878ba2a00a0aff9b8d9ebf0f22e1c6002d404cbe033a786dd290·...·];</div>143 <div·class="line"><a·id="l00205"·name="l00205"></a><span·class="lineno"><a·class="line"·href="a02020.html#ae8c09be11f1f4489951ea82e5fe9d9fc">··205</a></span>····<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a02020.html#a75f3ea[·...·truncated·by·diffoscope;·len:·202,·SHA:·8804b164c751df7317199e21b06ca2b1498a1f6a48f8b6f55819b39d03cf5cf7·...·];</div>
140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>144 <div·class="line"><a·id="l00206"·name="l00206"></a><span·class="lineno">··206</span>·</div>
141 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01844.html#aeda98e0b61d7a6958bdd1f1ba93dfd79">···88</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01832.html">GMPField&lt;precision&gt;</a>·<a·class="co[·...·truncated·by·diffoscope;·len:·84,·SHA:·9c73aee4e642f5c591d97354e52a0c1973f13c37145812614eafbcf1f622c5a4·...·];</div>145 <div·class="line"><a·id="l00207"·name="l00207"></a><span·class="lineno"><a·class="line"·href="a02020.html#a3a2e583dfb9e572e4e0606cfafcd4aa2">··207</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02020.html#a3a[·...·truncated·by·diffoscope;·len:·209,·SHA:·25be52088b5369f8cdb92c9e7830150f97326c81feb9a954477c556d44f03098·...·];</div>
142 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>146 <div·class="line"><a·id="l00208"·name="l00208"></a><span·class="lineno">··208</span>·</div>
143 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>147 <div·class="line"><a·id="l00209"·name="l00209"></a><span·class="lineno">··209</span>··};</div>
144 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision,·<span·class="keyword">class</span>·T·&gt;</div>148 <div·class="line"><a·id="l00210"·name="l00210"></a><span·class="lineno">··210</span>·</div>
145 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01848.html">···92</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;<a·class="code·hl_class"·href="a01832.html">GMPField</a[·...·truncated·by·diffoscope;·len:·19,·SHA:·22fe8d4a5f4e6a0282f2b904598d835b2fa07c478cdcbb339a188724e4807282·...·]·T&gt;</div>149 <div·class="line"><a·id="l00222"·name="l00222"></a><span·class="lineno">··222</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
146 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div>150 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>··<span·class="keyword">class·</span>DatatypeCommunicator·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a02136.html">InterfaceBuilder</a></div>
147 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01848.html#ab29744d04f497ab356bb62f42d77c866">···94</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01832.html">GMPField&lt;precision&gt;</a>·<a·class="co[·...·truncated·by·diffoscope;·len:·85,·SHA:·0112209b5b9902e0d3fcd630d5f165853f8f410ffa921a1e3a85eaf52e1e9a43·...·]</div>151 <div·class="line"><a·id="l00224"·name="l00224"></a><span·class="lineno">··224</span>··{</div>
148 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··};</div>152 <div·class="line"><a·id="l00225"·name="l00225"></a><span·class="lineno">··225</span>··<span·class="keyword">public</span>:</div>
149 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>153 <div·class="line"><a·id="l00226"·name="l00226"></a><span·class="lineno">··226</span>·</div>
150 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·T,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision·&gt;</div>154 <div·class="line"><a·id="l00230"·name="l00230"></a><span·class="lineno">··230</span>····<span·class="keyword">typedef</span>·T·<a·class="code·hl_class"·href="a02104.html">ParallelIndexSet</a>;</div>
151 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01852.html">···98</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;T,·<a·class="code·hl_class"·href="a01832.html">GMPField[·...·truncated·by·diffoscope;·len:·25,·SHA:·903acfafcc8dc5ac865b91d711dce4c97767978a7dd3e4cded7b8d56c049adab·...·]</div>155 <div·class="line"><a·id="l00231"·name="l00231"></a><span·class="lineno">··231</span>·</div>
152 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div>156 <div·class="line"><a·id="l00235"·name="l00235"></a><span·class="lineno">··235</span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02236.html">Dune::RemoteIndices&lt;ParallelIndexSet&gt;</a>·<a·class="code·hl_class"·href="a02236.html">RemoteIndices</a>;</div>
153 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01852.html#af819792396739bc1bdf908b5741ae9bd">··100</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01832.html">GMPField&lt;precision&gt;</a>·<a·class="co[·...·truncated·by·diffoscope;·len:·85,·SHA:·fc314c87031f14b3b2c811c7ad59b24ddf64c4eb1b2f383cd8cd8d0da94f0efb·...·]</div>157 <div·class="line"><a·id="l00236"·name="l00236"></a><span·class="lineno">··236</span>·</div>
154 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··};</div>158 <div·class="line"><a·id="l00240"·name="l00240"></a><span·class="lineno">··240</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02236.html#a306a6c53829e2034c1468bdf34d53053">RemoteIndices::GlobalIndex</a>·GlobalInde[·...·truncated·by·diffoscope;·len:·1,·SHA:·2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881·...·];</div>
155 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>}</div>159 <div·class="line"><a·id="l00241"·name="l00241"></a><span·class="lineno">··241</span>·</div>
156 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>160 <div·class="line"><a·id="l00245"·name="l00245"></a><span·class="lineno">··245</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02236.html#a43e2c046c8e66d671a035b0b6e3ba8a7">RemoteIndices::Attribute</a>·Attribute;</div>
157 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_GMP</span></div>161 <div·class="line"><a·id="l00246"·name="l00246"></a><span·class="lineno">··246</span>·</div>
158 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>162 <div·class="line"><a·id="l00250"·name="l00250"></a><span·class="lineno">··250</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a02236.html#aec082eb9f2fa728a4e66af2165dee854">RemoteIndices::LocalIndex</a>·<a·class="c[·...·truncated·by·diffoscope;·len:·48,·SHA:·66934b2c0995828e99a0793d7ac7671ba37d3ebf982646e2b98cf38a1a1eb0f3·...·]</div>
159 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="preprocessor">#endif·</span><span·class="comment">//·#ifndef·DUNE_GMPFIELD_HH</span></div>163 <div·class="line"><a·id="l00251"·name="l00251"></a><span·class="lineno">··251</span>·</div>
160 <div·class="ttc"·id="aa00077_html"><div·class="ttname"><a·href="a00077.html">promotiontraits.hh</a></div><div·class="ttdoc">Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.</div></div>164 <div·class="line"><a·id="l00255"·name="l00255"></a><span·class="lineno">··255</span>····DatatypeCommunicator();</div>
161 <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>165 <div·class="line"><a·id="l00256"·name="l00256"></a><span·class="lineno">··256</span>·</div>
 166 <div·class="line"><a·id="l00260"·name="l00260"></a><span·class="lineno">··260</span>····~DatatypeCommunicator();</div>
Max diff block lines reached; 16604/189526 bytes (8.76%) of diff not shown.
41.2 KB
html2text {}
    
Offset 4, 148 lines modifiedOffset 4, 1208 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 gmpfield.hh7 ····*·parallel
 8 communicator.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_GMPFIELD_HH 
15 ·6#define·DUNE_GMPFIELD_HH15 ·5#ifndef·DUNE_COMMUNICATOR
 16 ·6#define·DUNE_COMMUNICATOR
16 ·717 ·7
 18 ·8#if·HAVE_MPI
 19 ·9
 20 ·10#include·<cassert>
 21 ·11#include·<cstddef>
17 ·12#include·<iostream>22 ·12#include·<iostream>
18 ·13#include·<string>23 ·13#include·<map>
Diff chunk too large, falling back to line-by-line diff (1043 lines added, 85 lines removed)
19 ·14#include·<type_traits>24 ·14#include·<type_traits>
20 ·1525 ·15#include·<utility>
21 ·16#if·HAVE_GMP·||·DOXYGEN26 ·16
22 ·1727 ·17#include·<mpi.h>
23 ·18#include·<gmpxx.h>28 ·18
24 ·1929 ·19#include·<dune/common/exceptions.hh>
25 ·20#include·<dune/common/promotiontraits.hh>30 ·20#include·<dune/common/parallel/interface.hh>
26 ·21#include·<dune/common/typetraits.hh>31 ·21#include·<dune/common/parallel/remoteindices.hh>
27 ·2232 ·22#include·<dune/common/stdstreams.hh>
28 ·23namespace·Dune33 ·23
29 ·24{34 ·24namespace·Dune
30 ·2535 ·25{
31 ·30·template<·unsigned·int·precision·>36 109·struct·SizeOne
32 31·class·GMPField37 ·110·{};
33 ·32·:·public·mpf_class38 ·111
34 ·33·{39 117·struct·VariableSize
35 ·34·typedef·mpf_class·Base;40 ·118·{};
36 ·3541 ·119
37 ·36·public:42 ·120
38 38·GMPField·()43 ·126·template<class·V>
39 ·39·:·Base(0,precision)44 127·struct·CommPolicy
40 ·40·{}45 ·128·{
41 ·4146 140·typedef·V·Type;
42 45·GMPField·(·const·char*·str·)47 ·141
43 ·46·:·Base(str,precision)48 147·typedef·typename·V::value_type·IndexedType;
44 ·47·{}49 ·148
45 ·4850 153·typedef·SizeOne·IndexedTypeFlag;
46 52·GMPField·(·const·std::string&·str·)51 ·154
47 ·53·:·Base(str,precision)52 163·static·const·void*·getAddress(const·V&·v,·int·index);
48 ·54·{}53 ·164
49 ·5554 170·static·int·getSize(const·V&,·int·index);
50 ·58·template<·class·T,55 ·171·};
51 ·59·typename·EnableIf·=·typename·std::enable_if<56 ·172
52 ·60·std::is_convertible<T,·mpf_class>::value>::type57 173·template<class·K,·int·n>·class·FieldVector;
53 ·61·>58 ·174
54 62·GMPField·(·const·T·&v·)59 175·template<class·B,·class·A>·class·VariableBlockVector;
55 ·63·:·Base(·v,precision·)60 ·176
56 ·64·{}61 ·177·template<class·K,·class·A,·int·n>
57 ·6562 178·struct·CommPolicy<VariableBlockVector<FieldVector<K,·n>,·A>·>
58 ·66·//·type·conversion·operators63 ·179·{
59 67·operator·double·()·const64 180·typedef·VariableBlockVector<FieldVector<K,_n>,·A>·Type;
60 ·68·{65 ·181
61 ·69·return·this->get_d();66 182·typedef·typename·Type::B·IndexedType;
62 ·70·}67 ·183
63 ·7168 184·typedef·VariableSize·IndexedTypeFlag;
64 ·72·};69 ·185
65 ·7370 186·static·const·void*·getAddress(const·Type&·v,·int·i);
66 ·74·template·<unsigned·int·precision>71 ·187
67 75·struct·IsNumber<GMPField<precision>>72 188·static·int·getSize(const·Type&·v,·int·i);
68 ·76·:·public·std::integral_constant<bool,·true>·{73 ·189·};
69 ·77·};74 ·190
70 ·7875 194·class·CommunicationError·:·public·IOError
71 ·79·template<·unsigned·int·precision1,·unsigned·int·precision2·>76 ·195·{};
72 80·struct·PromotionTraits<GMPField<precision1>,·GMPField<precision2>>77 ·196
73 ·81·{78 ·200·template<class·T>
74 82·typedef·GMPField<(precision1·>·precision2·?·precision1·:·precision2)>79 201·struct·CopyGatherScatter
75 PromotedType;80 ·202·{
76 ·83·};81 203·typedef·typename·CommPolicy<T>::IndexedType·IndexedType;
77 ·8482 ·204
78 ·85·template<·unsigned·int·precision·>83 205·static·const·IndexedType&·gather(const·T&·vec,·std::size_t·i);
79 86·struct·PromotionTraits<GMPField<precision>,GMPField<precision>>84 ·206
80 ·87·{85 207·static·void·scatter(T&·vec,·const·IndexedType&·v,·std::size_t·i);
81 88·typedef·GMPField<precision>·PromotedType;86 ·208
82 ·89·};87 ·209·};
83 ·9088 ·210
84 ·91·template<·unsigned·int·precision,·class·T·>89 ·222·template<typename·T>
85 92·struct·PromotionTraits<GMPField<precision>,·T>90 ·223·class·DatatypeCommunicator·:·public·InterfaceBuilder
86 ·93·{91 ·224·{
87 94·typedef·GMPField<precision>·PromotedType;92 ·225·public:
88 ·95·};93 ·226
89 ·9694 ·230·typedef·T·ParallelIndexSet;
90 ·97·template<·class·T,·unsigned·int·precision·>95 ·231
91 98·struct·PromotionTraits<T,·GMPField<precision>>96 ·235·typedef·Dune::RemoteIndices<ParallelIndexSet>·RemoteIndices;
92 ·99·{97 ·236
93 100·typedef·GMPField<precision>·PromotedType;98 ·240·typedef·typename·RemoteIndices::GlobalIndex·GlobalIndex;
94 ·101·};99 ·241
95 ·102}100 ·245·typedef·typename·RemoteIndices::Attribute·Attribute;
96 ·103101 ·246
97 ·104#endif·//·HAVE_GMP102 ·250·typedef·typename·RemoteIndices::LocalIndex·LocalIndex;
98 ·105103 ·251
99 ·106#endif·//·#ifndef·DUNE_GMPFIELD_HH104 ·255·DatatypeCommunicator();
100 promotiontraits.hh105 ·256
101 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different106 ·260·~DatatypeCommunicator();
102 number·types.107 ·261
103 typetraits.hh108 ·288·template<class·T1,·class·T2,·class·V>
104 Traits·for·type·conversions·and·type·information.109 ·289·void·build(const·RemoteIndices&·remoteIndices,·const·T1&·sourceFlags,·V&
 110 sendData,·const·T2&·destFlags,·V&·receiveData);
 111 ·290
 112 ·294·void·forward();
 113 ·295
 114 ·299·void·backward();
 115 ·300
 116 ·304·void·free();
 117 ·305·private:
 118 ·309·constexpr·static·int·commTag_·=·234;
 119 ·310
 120 ·314·const·RemoteIndices*·remoteIndices_;
 121 ·315
 122 ·316·typedef·std::map<int,std::pair<MPI_Datatype,MPI_Datatype>·>
 123 ·317·MessageTypeMap;
 124 ·318
Max diff block lines reached; 6625/42200 bytes (15.70%) of diff not shown.
10.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a00365.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·genericiterator.hh·File·Reference</title>8 <title>dune-common:·mpitraits.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 65 lines modifiedOffset 58, 51 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>··</div>
71 ··<div·class="headertitle"><div·class="title">genericiterator.hh·File·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">mpitraits.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.··74 <p>Traits·classes·for·mapping·types·onto·MPI_Datatype.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/iteratorfacades.hh</a>&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
77 <code>#include·&lt;cassert&gt;</code><br·/>77 <code>#include·&lt;cstdint&gt;</code><br·/>
 78 <code>#include·&lt;type_traits&gt;</code><br·/>
 79 <code>#include·&lt;utility&gt;</code><br·/>
 80 <code>#include·&lt;complex&gt;</code><br·/>
 81 <code>#include·&lt;mpi.h&gt;</code><br·/>
78 </div>82 </div>
79 <p><a·href="a00365_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00365_source.html">Go·to·the·source·code·of·this·file.</a></p>
80 <table·class="memberdecls">84 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
82 Classes</h2></td></tr>86 Classes</h2></td></tr>
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01796.html">Dune::const_reference&lt;·R·&gt;</a></td></tr> 
84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·'const'·version·of·a·reference·to·a·mutable·object.··<a·href="a01796.html#details">More...</a><br·/></td></tr> 
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01800.html">Dune::const_reference&lt;·const·R·&gt;</a></td></tr> 
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01804.html">Dune::const_reference&lt;·R·&amp;·&gt;</a></td></tr> 
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01808.html">Dune::const_reference&lt;·const·R·&amp;·&gt;</a></td></tr> 
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01812.html">Dune::mutable_reference&lt;·R·&gt;</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01288.html">Dune::MPITraits&lt;·T·&gt;</a></td></tr>
 88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.··<a·href="a01288.html#details">More...</a><br·/></td></tr>
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·'mutable'·version·of·a·reference·to·a·const·object··<a·href="a01812.html#details">More...</a><br·/></td></tr> 
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01816.html">Dune::mutable_reference&lt;·const·R·&gt;</a></td></tr> 
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01820.html">Dune::mutable_reference&lt;·R·&amp;·&gt;</a></td></tr> 
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01824.html">Dune::mutable_reference&lt;·const·R·&amp;·&gt;</a></td></tr> 
100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
101 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01828.html">Dune::GenericIterator&lt;·C,·T,·R,·D,·IteratorFacade·&gt;</a></td></tr> 
102 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Generic·class·for·stl-conforming·iterators·for·container·classes·with·operator[].··<a·href="a01828.html#details">More...</a><br·/></td></tr> 
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table><table·class="memberdecls">90 </table><table·class="memberdecls">
105 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
106 Namespaces</h2></td></tr>92 Namespaces</h2></td></tr>
107 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>93 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
108 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>94 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>96 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>97 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.·</p> 
113 <p·>Using·this·generic·iterator·writing·iterators·for·containers·that·implement·operator[]·is·only·a·matter·of·seconds.·</p>98 <div·class="textblock"><p·>Traits·classes·for·mapping·types·onto·MPI_Datatype.·</p>
 99 <dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
114 </div></div><!--·contents·-->100 </div></div><!--·contents·-->
115 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>102 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>104 </small></address>
119 </body>105 </body>
120 </html>106 </html>
1.85 KB
html2text {}
    
Offset 4, 48 lines modifiedOffset 4, 35 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces8 Classes·|·Namespaces
8 genericiterator.hh·File·Reference9 mpitraits.hh·File·Reference
 10 Common·»·Parallel_Communication
 11 Traits·classes·for·mapping·types·onto·MPI_Datatype.·More...
9 Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators. 
10 More... 
11 #include·<dune/common/iteratorfacades.hh> 
12 #include·<cassert>12 #include·<cstddef>
 13 #include·<cstdint>
 14 #include·<type_traits>
 15 #include·<utility>
 16 #include·<complex>
 17 #include·<mpi.h>
13 Go_to_the_source_code_of_this_file.18 Go_to_the_source_code_of_this_file.
14 ·Classes19 ·Classes
 20 struct· Dune::MPITraits<_T_>
 21  ·······A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.
 22 ·········More...
15 struct· Dune::const_reference<_R_> 
16  ·······Get·the·'const'·version·of·a·reference·to·a·mutable·object.·More... 
17   
18 struct· Dune::const_reference<_const_R_> 
19   
20 struct· Dune::const_reference<_R_&_> 
21   
22 struct· Dune::const_reference<_const_R_&_> 
23   
24 struct· Dune::mutable_reference<_R_> 
25  ·······get·the·'mutable'·version·of·a·reference·to·a·const·object·More... 
26   
27 struct· Dune::mutable_reference<_const_R_> 
28   
29 struct· Dune::mutable_reference<_R_&_> 
30   
31 struct· Dune::mutable_reference<_const_R_&_> 
32   
33 ·class· Dune::GenericIterator<_C,_T,_R,_D,_IteratorFacade_> 
34  ·······Generic·class·for·stl-conforming·iterators·for·container·classes·with 
35 ·········operator[].·More... 
36  23  
37 ·Namespaces24 ·Namespaces
38 namespace· Dune25 namespace· Dune
39  ··········Dune·namespace.26  ··········Dune·namespace.
40  27  
41 *****·Detailed·Description·*****28 *****·Detailed·Description·*****
42 Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators. 
43 Using·this·generic·iterator·writing·iterators·for·containers·that·implement 
44 operator[]·is·only·a·matter·of·seconds.29 Traits·classes·for·mapping·types·onto·MPI_Datatype.
 30 ··Author
 31 ······Markus·Blatt
  
45 ===============================================================================32 ===============================================================================
46 ·····Generated·by [doxygen]·1.9.433 ·····Generated·by [doxygen]·1.9.4
78.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00365_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·genericiterator.hh·Source·File</title>8 <title>dune-common:·mpitraits.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 199 lines modifiedOffset 58, 214 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">genericiterator.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mpitraits.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00365.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00365.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GENERICITERATOR_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_MPITRAITS_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GENERICITERATOR_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_MPITRAITS_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00170.html">dune/common/iteratorfacades.hh</a>&gt;</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>78 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>79 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>80 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 81 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;cstdint&gt;</span></div>
 82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 83 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 84 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>85 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 86 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#include·&lt;mpi.h&gt;</span></div>
 87 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 89 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
 90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div>
 91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno"><a·class="line"·href="a01288.html">···40</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a></div>
 92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
 93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">private</span>:</div>
 94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<a·class="code·hl_struct"·href="a01288.html">MPITraits</a>(){}</div>
 95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····<a·class="code·hl_struct"·href="a01288.html">MPITraits</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&amp;){}</div>
 96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>····<span·class="keyword">static</span>·MPI_Datatype·datatype;</div>
 97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keyword">static</span>·MPI_Datatype·vectortype;</div>
 98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<span·class="keyword">public</span>:</div>
 99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">···48</a></span>····<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·<a·class="code·hl_function"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">getType</a>()</div>
 100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>····{</div>
 101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keywordflow">if</span>(datatype==MPI_DATATYPE_NULL)·{</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>········MPI_Type_contiguous(<span·class="keyword">sizeof</span>(T),MPI_BYTE,&amp;datatype);</div>
 103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>········MPI_Type_commit(&amp;datatype);</div>
 104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······}</div>
 105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keywordflow">return</span>·datatype;</div>
 106 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div>
 107 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01288.html#ad7d2090b026c427e3a5455d2a60c83da">···56</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="a01288.html#ad7d2090b026c427e3a5455d2a60c83da">is_intrinsic</a>·=·<span·class="keyword">false</span>;</div>
 108 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··};</div>
83 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div>109 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
84 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01796.html">···86</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01796.html">const_reference</a></div>110 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··MPI_Datatype·<a·class="code·hl_struct"·href="a01288.html">MPITraits&lt;T&gt;::datatype</a>·=·MPI_DATATYPE_NULL;</div>
 111 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>
 112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 113 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div>
 114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·A·Macro·for·defining·traits·for·the·primitive·data·types</span></div>
 115 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#define·ComposeMPITraits(p,m)···················\</span></div>
 116 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="preprocessor">··template&lt;&gt;····································\</span></div>
 117 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">··struct·MPITraits&lt;p&gt;{··························\</span></div>
 118 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="preprocessor">····static·inline·MPI_Datatype·getType(){·······\</span></div>
 119 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">······return·m;·································\</span></div>
 120 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span><span·class="preprocessor">····}···········································\</span></div>
 121 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span><span·class="preprocessor">····static·constexpr·bool·is_intrinsic·=·true;··\</span></div>
 122 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span><span·class="preprocessor">··}</span></div>
 123 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div>
 124 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··ComposeMPITraits(<span·class="keywordtype">char</span>,·MPI_CHAR);</div>
 125 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··ComposeMPITraits(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">char</span>,MPI_UNSIGNED_CHAR);</div>
 126 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··ComposeMPITraits(<span·class="keywordtype">short</span>,MPI_SHORT);</div>
 127 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··ComposeMPITraits(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">short</span>,MPI_UNSIGNED_SHORT);</div>
 128 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··ComposeMPITraits(<span·class="keywordtype">int</span>,MPI_INT);</div>
 129 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··ComposeMPITraits(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>,MPI_UNSIGNED);</div>
 130 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··ComposeMPITraits(<span·class="keywordtype">long</span>,MPI_LONG);</div>
 131 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··ComposeMPITraits(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>,MPI_UNSIGNED_LONG);</div>
 132 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··ComposeMPITraits(<span·class="keywordtype">float</span>,MPI_FLOAT);</div>
 133 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··ComposeMPITraits(<span·class="keywordtype">double</span>,MPI_DOUBLE);</div>
 134 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··ComposeMPITraits(<span·class="keywordtype">long</span>·<span·class="keywordtype">double</span>,MPI_LONG_DOUBLE);</div>
 135 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··ComposeMPITraits(std::complex&lt;double&gt;,·MPI_CXX_DOUBLE_COMPLEX);</div>
 136 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··ComposeMPITraits(std::complex&lt;long·double&gt;,·MPI_CXX_LONG_DOUBLE_COMPLEX);</div>
 137 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··ComposeMPITraits(std::complex&lt;float&gt;,·MPI_CXX_FLOAT_COMPLEX);</div>
85 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>138 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
86 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">···88</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R·<a·class="code·hl_typedef"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">type</a>;</div> 
87 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>139 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 140 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="preprocessor">#undef·ComposeMPITraits</span></div>
88 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>141 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 142 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01412.html">FieldVector</a>;</div>
89 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div> 
90 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01800.html">···92</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01796.html">const_reference</a>&lt;const·R&gt;</div> 
91 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div>143 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
92 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01800.html#a74cee274ffbf5dc02b9d9ca6a82b1543">···94</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R·<a·class="code·hl_typedef"·href="a01800.html#a74cee[·...·truncated·by·diffoscope;·len:·37,·SHA:·9ebc74e88a2abe92053aee3e81403eda33f9b1e543d3efd2ae10d18f20aabbae·...·];</div>144 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·n&gt;</div>
 145 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01288.html">MPITraits</a>&lt;<a·class="code·hl_class"·href="a01412.html">FieldVector</a>&lt;K,n&gt;·&gt;</div>
93 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··};</div>146 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··{</div>
 147 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····<span·class="keyword">static</span>·MPI_Datatype·datatype;</div>
 148 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>····<span·class="keyword">static</span>·MPI_Datatype·vectortype;</div>
94 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>149 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div>
 150 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>····<span·class="keyword">static</span>·<span·class="keyword">inline</span>·MPI_Datatype·<a·class="code·hl_function"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">getType</a>()</div>
95 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div> 
96 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01804.html">···98</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01796.html">const_reference</a>&lt;R&amp;&gt;</div> 
97 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div> 
98 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01804.html#a98aab38fc38bbacd88751805f3a0e1c9">··100</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R&amp;·<a·class="code·hl_typedef"·href="a01804.html#a98aab38fc38bbacd88751805f3a0e1c9">type</a>;</div> 
99 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··};</div> 
100 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> 
101 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·R&gt;</div> 
102 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="a01808.html">··104</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01796.html">const_reference</a>&lt;const·R&amp;&gt;</div> 
103 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··{</div>151 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>····{</div>
104 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno"><a·class="line"·href="a01808.html#af0e679b203aebaf86f048da9bcd4912e">··106</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·R&amp;·<a·class="code·hl_typedef"·href="a01808.html#a[·...·truncated·by·diffoscope;·len:·43,·SHA:·34b1df95fe219a872463f73f6d240bb4b440222adfc4943945efba346557cf78·...·]</div>152 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>······<span·class="keywordflow">if</span>(datatype==MPI_DATATYPE_NULL)·{</div>
 153 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>········MPI_Type_contiguous(n,·<a·class="code·hl_struct"·href="a01288.html">MPITraits&lt;K&gt;::getType</a>(),·&amp;vectortype);</div>
 154 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>········MPI_Type_commit(&amp;vectortype);</div>
 155 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········<a·class="code·hl_class"·href="a01412.html">FieldVector&lt;K,n&gt;</a>·fvector;</div>
Max diff block lines reached; 43469/66861 bytes (65.01%) of diff not shown.
13.1 KB
html2text {}
    
Offset 4, 269 lines modifiedOffset 4, 224 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 genericiterator.hh7 ····*·parallel
 8 mpitraits.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_GENERICITERATOR_HH15 ·5#ifndef·DUNE_MPITRAITS_HH
15 ·6#define·DUNE_GENERICITERATOR_HH16 ·6#define·DUNE_MPITRAITS_HH
16 ·717 ·7
17 ·8#include·<dune/common/iteratorfacades.hh> 
18 ·9#include·<cassert> 
19 ·1018 ·18#if·HAVE_MPI
 19 ·19
 20 ·20#include·<cstddef>
 21 ·21#include·<cstdint>
 22 ·22#include·<type_traits>
 23 ·23#include·<utility>
 24 ·24#include·<complex>
 25 ·25
 26 ·26#include·<mpi.h>
 27 ·27
20 ·11namespace·Dune·{28 ·28namespace·Dune
21 ·1229 ·29{
 30 ·39·template<typename·T>
 31 40·struct·MPITraits
 32 ·41·{
 33 ·42·private:
 34 ·43·MPITraits(){}
 35 ·44·MPITraits(const·MPITraits&){}
 36 ·45·static·MPI_Datatype·datatype;
 37 ·46·static·MPI_Datatype·vectortype;
 38 ·47·public:
 39 48·static·inline·MPI_Datatype·getType()
 40 ·49·{
 41 ·50·if(datatype==MPI_DATATYPE_NULL)·{
 42 ·51·MPI_Type_contiguous(sizeof(T),MPI_BYTE,&datatype);
 43 ·52·MPI_Type_commit(&datatype);
 44 ·53·}
 45 ·54·return·datatype;
 46 ·55·}
 47 56·static·constexpr·bool·is_intrinsic·=·false;
 48 ·57·};
22 ·85·template<class·R>49 ·58·template<class·T>
23 86·struct·const_reference50 ·59·MPI_Datatype·MPITraits<T>::datatype·=·MPI_DATATYPE_NULL;
 51 ·60
 52 ·61#ifndef·DOXYGEN
 53 ·62
 54 ·63·//·A·Macro·for·defining·traits·for·the·primitive·data·types
 55 ·64#define·ComposeMPITraits(p,m)·\
 56 ·65·template<>·\
 57 ·66·struct·MPITraits<p>{·\
 58 ·67·static·inline·MPI_Datatype·getType(){·\
 59 ·68·return·m;·\
 60 ·69·}·\
 61 ·70·static·constexpr·bool·is_intrinsic·=·true;·\
 62 ·71·}
 63 ·72
 64 ·73·ComposeMPITraits(char,·MPI_CHAR);
 65 ·74·ComposeMPITraits(unsigned·char,MPI_UNSIGNED_CHAR);
 66 ·75·ComposeMPITraits(short,MPI_SHORT);
 67 ·76·ComposeMPITraits(unsigned·short,MPI_UNSIGNED_SHORT);
 68 ·77·ComposeMPITraits(int,MPI_INT);
 69 ·78·ComposeMPITraits(unsigned·int,MPI_UNSIGNED);
 70 ·79·ComposeMPITraits(long,MPI_LONG);
 71 ·80·ComposeMPITraits(unsigned·long,MPI_UNSIGNED_LONG);
 72 ·81·ComposeMPITraits(float,MPI_FLOAT);
 73 ·82·ComposeMPITraits(double,MPI_DOUBLE);
 74 ·83·ComposeMPITraits(long·double,MPI_LONG_DOUBLE);
 75 ·84·ComposeMPITraits(std::complex<double>,·MPI_CXX_DOUBLE_COMPLEX);
 76 ·85·ComposeMPITraits(std::complex<long·double>,·MPI_CXX_LONG_DOUBLE_COMPLEX);
 77 ·86·ComposeMPITraits(std::complex<float>,·MPI_CXX_FLOAT_COMPLEX);
24 ·87·{78 ·87
25 88·typedef·const·R·type; 
26 ·89·};79 ·88
 80 ·89#undef·ComposeMPITraits
27 ·9081 ·90
 82 ·91·template<class·K,·int·n>·class·FieldVector;
 83 ·92
28 ·91·template<class·R>84 ·93·template<class·K,·int·n>
29 92·struct·const_reference<const·R>85 ·94·struct·MPITraits<FieldVector<K,n>·>
30 ·93·{86 ·95·{
 87 ·96·static·MPI_Datatype·datatype;
 88 ·97·static·MPI_Datatype·vectortype;
 89 ·98
 90 ·99·static·inline·MPI_Datatype·getType()
31 94·typedef·const·R·type; 
32 ·95·}; 
33 ·96 
34 ·97·template<class·R> 
35 98·struct·const_reference<R&> 
36 ·99·{ 
37 100·typedef·const·R&·type; 
38 ·101·}; 
39 ·102 
40 ·103·template<class·R> 
41 104·struct·const_reference<const·R&> 
42 ·105·{91 ·100·{
43 106·typedef·const·R&·type; 
44 ·107·}; 
45 ·108 
46 ·114·template<class·R> 
47 115·struct·mutable_reference92 ·101·if(datatype==MPI_DATATYPE_NULL)·{
 93 ·102·MPI_Type_contiguous(n,·MPITraits<K>::getType(),·&vectortype);
 94 ·103·MPI_Type_commit(&vectortype);
 95 ·104·FieldVector<K,n>·fvector;
 96 ·105·MPI_Aint·base;
 97 ·106·MPI_Aint·displ;
 98 ·107·MPI_Get_address(&fvector,·&base);
 99 ·108·MPI_Get_address(&(fvector[0]),·&displ);
 100 ·109·displ·-=·base;
 101 ·110·int·length[1]={1};
 102 ·111
 103 ·112·MPI_Type_create_struct(1,·length,·&displ,·&vectortype,·&datatype);
 104 ·113·MPI_Type_commit(&datatype);
 105 ·114·}
 106 ·115·return·datatype;
48 ·116·{107 ·116·}
49 117·typedef·R·type;108 ·117
Max diff block lines reached; 9630/13412 bytes (71.80%) of diff not shown.
9.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a00368.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·timer.hh·File·Reference</title>8 <title>dune-common:·communication.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 45 lines modifiedOffset 58, 71 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>··</div>70 <a·href="#namespaces">Namespaces</a>·&#124;
71 ··<div·class="headertitle"><div·class="title">timer.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>71 <a·href="#typedef-members">Typedefs</a>·&#124;
 72 <a·href="#func-members">Functions</a>··</div>
 73 ··<div·class="headertitle"><div·class="title">communication.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&#124;·<a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
72 </div><!--header-->74 </div><!--header-->
73 <div·class="contents">75 <div·class="contents">
  
74 <p>A·simple·timing·class.··76 <p>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.··
75 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;chrono&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
 79 <code>#include·&lt;complex&gt;</code><br·/>
 80 <code>#include·&lt;algorithm&gt;</code><br·/>
 81 <code>#include·&lt;vector&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/binaryfunctions.hh</a>&gt;</code><br·/>
 83 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 84 <code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code><br·/>
77 </div>85 </div>
78 <p><a·href="a00368_source.html">Go·to·the·source·code·of·this·file.</a></p>86 <p><a·href="a00368_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">87 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
81 Classes</h2></td></tr>89 Classes</h2></td></tr>
82 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02884.html">Dune::Timer</a></td></tr>90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01984.html">Dune::No_Comm</a></td></tr>
83 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·stop·watch.··<a·href="a02884.html#details">More...</a><br·/></td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01988.html">Dune::Communication&lt;·Communicator·&gt;</a></td></tr>
 93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Collective·communication·interface·and·sequential·default·implementation.··<a·href="a01988.html#details">More...</a><br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">95 </table><table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
87 Namespaces</h2></td></tr>97 Namespaces</h2></td></tr>
88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>98 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>99 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table><table·class="memberdecls">
 102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a>
 103 Typedefs</h2></td></tr>
 104 <tr·class="memitem:a51c6057d41509cc616fb60f483d7d6dd"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 105 <tr·class="memitem:a51c6057d41509cc616fb60f483d7d6dd"><td·class="memTemplItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a51c6057d41509cc616fb60f483d7d6dd">Dune::CollectiveCommunication</a>·=·Communication&lt;·T·&gt;</td></tr>
 106 <tr·class="separator:a51c6057d41509cc616fb60f483d7d6dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 </table><table·class="memberdecls">
 108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
 109 Functions</h2></td></tr>
 110 <tr·class="memitem:aee0776cda12fa2fc183e2796bcc23743"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#aee0776cda12fa2fc183e2796bcc23743">Dune::operator==</a>·(const·No_Comm·&amp;,·const·No_Comm·&amp;)</td></tr>
 111 <tr·class="memdesc:aee0776cda12fa2fc183e2796bcc23743"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator·for·MPI·compatibility.··<a·href="a00425.html#aee0776cda12fa2fc183e2796bcc23743">More...</a><br·/></td></tr>
 112 <tr·class="separator:aee0776cda12fa2fc183e2796bcc23743"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 113 <tr·class="memitem:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a02c039e6b551a3771cc8c60e84e9bcdc">Dune::operator!=</a>·(const·No_Comm·&amp;,·const·No_Comm·&amp;)</td></tr>
 114 <tr·class="memdesc:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Comparison·operator·for·MPI·compatibility.··<a·href="a00425.html#a02c039e6b551a3771cc8c60e84e9bcdc">More...</a><br·/></td></tr>
 115 <tr·class="separator:a02c039e6b551a3771cc8c60e84e9bcdc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>116 </table>
92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>117 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
93 <div·class="textblock"><p·>A·simple·timing·class.·</p>118 <div·class="textblock"><p·>Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·</p>
 119 <p·>An·abstraction·to·the·basic·methods·of·parallel·communication,·following·the·message-passing·paradigm.</p>
94 </div></div><!--·contents·-->120 </div></div><!--·contents·-->
95 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
97 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
98 </small></address>124 </small></address>
99 </body>125 </body>
100 </html>126 </html>
1.7 KB
html2text {}
    
Offset 4, 26 lines modifiedOffset 4, 51 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces 
8 timer.hh·File·Reference 
9 Common 
10 A·simple·timing·class.·More...7 ····*·parallel
 8 Classes·|·Namespaces·|·Typedefs·|·Functions
 9 communication.hh·File·Reference
 10 Common·»·Parallel_Communication·|·Common·»·Parallel_Communication
 11 Implements·an·utility·class·that·provides·collective·communication·methods·for
 12 sequential·programs.·More...
 13 #include·<iostream>
 14 #include·<complex>
 15 #include·<algorithm>
11 #include·<chrono>16 #include·<vector>
 17 #include·<dune/common/binaryfunctions.hh>
 18 #include·<dune/common/exceptions.hh>
 19 #include·<dune/common/parallel/future.hh>
12 Go_to_the_source_code_of_this_file.20 Go_to_the_source_code_of_this_file.
13 ·Classes21 ·Classes
14 class· Dune::Timer 
15  ······A·simple·stop·watch.·More...22 struct· Dune::No_Comm
 23  
 24 ·class· Dune::Communication<_Communicator_>
 25  ·······Collective·communication·interface·and·sequential·default
 26 ·········implementation.·More...
16  27  
17 ·Namespaces28 ·Namespaces
18 namespace· Dune29 namespace· Dune
19  ··········Dune·namespace.30  ··········Dune·namespace.
20  31  
 32 ·Typedefs
 33 template<class·T·>
 34 using Dune::CollectiveCommunication·=·Communication<·T·>
 35  
 36 ·Functions
 37 bool Dune::operator==·(const·No_Comm·&,·const·No_Comm·&)
 38  ····Comparison·operator·for·MPI·compatibility.·More...
 39  
 40 bool Dune::operator!=·(const·No_Comm·&,·const·No_Comm·&)
 41  ····Comparison·operator·for·MPI·compatibility.·More...
 42  
21 *****·Detailed·Description·*****43 *****·Detailed·Description·*****
22 A·simple·timing·class.44 Implements·an·utility·class·that·provides·collective·communication·methods·for
 45 sequential·programs.
 46 An·abstraction·to·the·basic·methods·of·parallel·communication,·following·the
 47 message-passing·paradigm.
  
23 ===============================================================================48 ===============================================================================
24 ·····Generated·by [doxygen]·1.9.449 ·····Generated·by [doxygen]·1.9.4
102 KB
./usr/share/doc/libdune-common-doc/doxygen/a00368_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·timer.hh·Source·File</title>8 <title>dune-common:·communication.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 147 lines modifiedOffset 58, 342 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">timer.hh</div></div>68 ··<div·class="headertitle"><div·class="title">communication.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00368.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00368.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_TIMER_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PARALLEL_COMMUNICATION_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_TIMER_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PARALLEL_COMMUNICATION_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#ifndef·TIMER_USE_STD_CLOCK</span></div> 
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="comment">//·headers·for·std::chrono</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;chrono&gt;</span></div>77 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#else</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="comment">//·headers·for·std::clock</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;ctime&gt;</span></div>78 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;complex&gt;</span></div>
 79 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#endif</span></div>80 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 82 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00170.html">dune/common/binaryfunctions.hh</a>&gt;</span></div>
 83 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00350.html">dune/common/parallel/future.hh</a>&gt;</span></div>
 85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>86 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div> 
88 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a02884.html">···42</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02884.html">Timer</a></div> 
89 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··{</div>87 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>{</div>
90 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">public</span>:</div> 
91 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>88 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
92 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno"><a·class="line"·href="a02884.html#a55b4e69b9e9ef128b998fb0f59f0fa63">···50</a></span>····<a·class="code·hl_function"·href="a02884.html#a55b4e69b9e9ef128b998fb0f59f0fa63">Timer</a>·(<span·class="keywordtype">bool</[·...·truncated·by·diffoscope;·len:·66,·SHA:·ad1e494982b57ec1ebe189de6b457421b57d4551e9ffed8e74ba6be1a4b7a041·...·]</div>89 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="comment">/*·define·some·type·that·definitely·differs·from·MPI_Comm·*/</span></div>
 90 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01984.html">···46</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01984.html">No_Comm</a>·{};</div>
 91 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 92 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a00425.html#aee0776cda12fa2fc183e2796bcc23743">···52</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gaa43d9510bcda16267820bafa84be5369">operator==</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01984.html">No_Comm</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01984.html">No_Comm</a>&amp;)</div>
93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····{</div>93 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··{</div>
 94 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keywordflow">return</span>·<span·class="keyword">true</span>;</div>
94 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>······isRunning_·=·startImmediately;</div> 
95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······<a·class="code·hl_function"·href="a02884.html#a08ea290ecdd2cb4e98b4bc22e65abff4">reset</a>();</div> 
96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····}</div> 
97 <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>
98 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a02884.html#a08ea290ecdd2cb4e98b4bc22e65abff4">···57</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02884.html#a08ea290ecdd2cb4e98b4bc22e65abff4">reset</a>()·noexcept</div> 
99 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····{</div>96 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
 97 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00425.html#a02c039e6b551a3771cc8c60e84e9bcdc">···61</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00414.html#gae5cc1a15c24afcf14896e20a7d265c35">operator!=</a>(<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01984.html">No_Comm</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a01984.html">No_Comm</a>&amp;)</div>
100 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>······sumElapsed_·=·0.0;</div> 
101 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······storedLastElapsed_·=·0.0;</div> 
102 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······rawReset();</div> 
103 <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>
104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>99 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>····<span·class="keywordflow">return</span>·<span·class="keyword">false</span>;</div>
105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div>100 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··}</div>
106 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a02884.html#af232d81c85e04ca4ffdd2f8ead677316">···66</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a02884.html#af232d81c85e04ca4ffdd2f8ead677316">start</a>()·noexcept</div> 
107 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{</div> 
108 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>······<span·class="keywordflow">if</span>·(not·(isRunning_))</div> 
109 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······{</div> 
110 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>········rawReset();</div> 
111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>········isRunning_·=·<span·class="keyword">true</span>;</div> 
112 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······}</div> 
113 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····}</div> 
114 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> 
115 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div>101 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
116 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="a02884.html#ad8cce9cefec3e1aadf87c9a9896b1da2">···77</a></span>····<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a02884.html#ad8cce9cefec3e1aadf87c9a9896b1da2">ela[·...·truncated·by·diffoscope;·len:·26,·SHA:·c816ef1c8dd5e59063f8dd0484d0092e2cc0e59a20b0c217e187ff8161425235·...·]</div>102 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Communicator&gt;</div>
 103 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="a01988.html">···99</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01988.html">Communication</a></div>
117 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····{</div>104 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div>
118 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>······<span·class="comment">//·if·timer·is·running·add·the·time·elapsed·since·last·start·to·sum</span></div> 
119 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>······<span·class="keywordflow">if</span>·(isRunning_)</div> 
120 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>········<span·class="keywordflow">return</span>·sumElapsed_·+·<a·class="code·hl_function"·href="a02884.html#adcef76c27f53655b662af3e80fdf4486">lastElapsed</a>();</div> 
121 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> 
122 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<span·class="keywordflow">return</span>·sumElapsed_;</div> 
123 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····}</div> 
124 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> 
125 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> 
126 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a02884.html#adcef76c27f53655b662af3e80fdf4486">···88</a></span>····<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a02884.html#adcef76c27f53655b662af3e80fdf4486">lastElapsed</a>·()·const·noexcept</div> 
127 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>····{</div> 
128 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>······<span·class="comment">//·if·timer·is·running·return·the·current·value</span></div> 
129 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······<span·class="keywordflow">if</span>·(isRunning_)</div>105 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<span·class="keyword">public</span>:</div>
 106 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="a01988.html#af9873f31f9e81114b4edcc50b01b0a3c">··103</a></span>····<a·class="code·hl_function"·href="a01988.html#af9873f31f9e81114b4edcc50b01b0a3c">Communication</a>()</div>
130 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>········<span·class="keywordflow">return</span>·rawElapsed();</div> 
131 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> 
132 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="comment">//·if·timer·is·not·running·return·stored·value·from·last·run</span></div> 
133 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>······<span·class="keywordflow">return</span>·storedLastElapsed_;</div> 
134 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>····}</div> 
135 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
136 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
137 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a02884.html#a30628558c1dd47eab76ab2d408bb6319">··100</a></span>····<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="a02884.html#a30628558c1dd47eab76ab2d408bb6319">stop</a>()·noexcept</div> 
138 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div>107 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····{}</div>
139 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keywordflow">if</span>·(isRunning_)</div> 
140 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······{</div> 
141 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>········<span·class="comment">//·update·storedLastElapsed_·and··sumElapsed_·and·stop·timer</span></div> 
142 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>········storedLastElapsed_·=·<a·class="code·hl_function"·href="a02884.html#adcef76c27f53655b662af3e80fdf4486">lastElapsed</a>();</div> 
143 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>········sumElapsed_·+=·storedLastElapsed_;</div> 
144 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>········isRunning_·=·<span·class="keyword">false</span>;</div> 
145 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>······}</div> 
146 <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>······<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a02884.html#ad8cce9cefec3e1aadf87c9a9896b1da2">elapsed</a>();</div> 
147 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>····}</div>108 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
 109 <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno"><a·class="line"·href="a01988.html#a8e0e5bd2a26b9faa9e838f6511251299">··110</a></span>····<a·class="code·hl_function"·href="a01988.html#a8e0e5bd2a26b9faa9e838f6511251299">Communication</a>·(<span·class="keyword">const</span>·Communicator&amp;)</div>
148 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div>110 <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····{}</div>
149 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>111 <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>·</div>
 112 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="a01988.html#a1ef747573e83679ea7e2051d7f774a24">··114</a></span>····<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a01988.html#a1ef747573e83679ea7e2051d7f774a24">rank</a>·()<span·class="keyword">·const</span></div>
150 <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keyword">private</span>:</div>113 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span><span·class="keyword">····</span>{</div>
 114 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>······<span·class="keywordflow">return</span>·0;</div>
151 <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·</div>115 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>····}</div>
152 <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="keywordtype">bool</span>·isRunning_;</div> 
Max diff block lines reached; 64861/85929 bytes (75.48%) of diff not shown.
17.7 KB
html2text {}
    
Offset 4, 164 lines modifiedOffset 4, 484 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 timer.hh7 ····*·parallel
 8 communication.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 15 ·5#ifndef·DUNE_COMMON_PARALLEL_COMMUNICATION_HH
 16 ·6#define·DUNE_COMMON_PARALLEL_COMMUNICATION_HH
 17 ·14#include·<iostream>
14 ·5#ifndef·DUNE_TIMER_HH 
15 ·6#define·DUNE_TIMER_HH 
16 ·7 
17 ·8#ifndef·TIMER_USE_STD_CLOCK 
18 ·9//·headers·for·std::chrono 
19 ·10#include·<chrono> 
20 ·11#else 
21 ·12//·headers·for·std::clock 
22 ·13#include·<ctime>18 ·15#include·<complex>
23 ·14#endif 
24 ·1519 ·16#include·<algorithm>
 20 ·17#include·<vector>
 21 ·18
 22 ·19#include·<dune/common/binaryfunctions.hh>
 23 ·20#include·<dune/common/exceptions.hh>
 24 ·21#include·<dune/common/parallel/future.hh>
 25 ·22
25 ·16namespace·Dune·{26 ·42namespace·Dune
26 ·17 
27 42·class·Timer 
28 ·43·{27 ·43{
29 ·44·public: 
30 ·45 
31 50·Timer·(bool·startImmediately=true)·noexcept28 ·44
 29 ·45·/*·define·some·type·that·definitely·differs·from·MPI_Comm·*/
 30 46·struct·No_Comm·{};
 31 ·47
 32 52·inline·bool·operator==(const·No_Comm&,·const·No_Comm&)
32 ·51·{33 ·53·{
 34 ·54·return·true;
33 ·52·isRunning_·=·startImmediately; 
34 ·53·reset(); 
35 ·54·}35 ·55·}
 36 ·56
 37 61·inline·bool·operator!=(const·No_Comm&,·const·No_Comm&)
36 ·55 
37 57·void·reset()·noexcept 
38 ·58·{ 
39 ·59·sumElapsed_·=·0.0; 
40 ·60·storedLastElapsed_·=·0.0; 
41 ·61·rawReset(); 
42 ·62·}38 ·62·{
 39 ·63·return·false;
43 ·63 
44 ·64 
45 66·void·start()·noexcept 
46 ·67·{ 
47 ·68·if·(not·(isRunning_)) 
48 ·69·{ 
49 ·70·rawReset(); 
50 ·71·isRunning_·=·true; 
51 ·72·} 
52 ·73·} 
53 ·74 
54 ·75 
55 77·double·elapsed·()·const·noexcept 
56 ·78·{ 
57 ·79·//·if·timer·is·running·add·the·time·elapsed·since·last·start·to·sum 
58 ·80·if·(isRunning_) 
59 ·81·return·sumElapsed_·+·lastElapsed(); 
60 ·82 
61 ·83·return·sumElapsed_; 
62 ·84·}40 ·64·}
 41 ·65
 42 ·98·template<typename·Communicator>
 43 99·class·Communication
63 ·85 
64 ·86 
65 88·double·lastElapsed·()·const·noexcept 
66 ·89·{ 
67 ·90·//·if·timer·is·running·return·the·current·value 
68 ·91·if·(isRunning_) 
69 ·92·return·rawElapsed(); 
70 ·93 
71 ·94·//·if·timer·is·not·running·return·stored·value·from·last·run 
72 ·95·return·storedLastElapsed_; 
73 ·96·} 
74 ·97 
75 ·98 
76 100·double·stop()·noexcept 
77 ·101·{44 ·100·{
78 ·102·if·(isRunning_)45 ·101·public:
 46 103·Communication()
79 ·103·{47 ·104·{}
 48 ·105
 49 110·Communication·(const·Communicator&)
80 ·104·//·update·storedLastElapsed_·and·sumElapsed_·and·stop·timer 
81 ·105·storedLastElapsed_·=·lastElapsed(); 
82 ·106·sumElapsed_·+=·storedLastElapsed_; 
83 ·107·isRunning_·=·false; 
84 ·108·} 
85 ·109·return·elapsed(); 
86 ·110·}50 ·111·{}
87 ·111 
88 ·11251 ·112
 52 114·int·rank·()·const
 53 ·115·{
 54 ·116·return·0;
 55 ·117·}
89 ·113·private: 
90 ·114 
91 ·115·bool·isRunning_; 
92 ·116·double·sumElapsed_; 
93 ·117·double·storedLastElapsed_; 
94 ·11856 ·118
 57 120·operator·No_Comm()·const
95 ·119 
96 ·120#ifdef·TIMER_USE_STD_CLOCK 
97 ·121·void·rawReset()·noexcept 
Max diff block lines reached; 14981/18108 bytes (82.73%) of diff not shown.
16.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a00371.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·poolallocator.hh·File·Reference</title>8 <title>dune-common:·mpiguard.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 91 lines modifiedOffset 58, 52 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="summary">68 ··<div·class="summary">
69 <a·href="#nested-classes">Classes</a>·&#124;69 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>··</div>
 71 ··<div·class="headertitle"><div·class="title">mpiguard.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
71 <a·href="#func-members">Functions</a>··</div> 
72 ··<div·class="headertitle"><div·class="title">poolallocator.hh·File·Reference</div></div> 
73 </div><!--header-->72 </div><!--header-->
74 <div·class="contents">73 <div·class="contents">
  
75 <p>An·stl-compliant·pool·allocator.··74 <p>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.··
76 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
 76 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00335_source.html">mpihelper.hh</a>&quot;</code><br·/>
 77 <code>#include·&quot;<a·class="el"·href="a00368_source.html">communication.hh</a>&quot;</code><br·/>
 78 <code>#include·&quot;<a·class="el"·href="a00347_source.html">mpicommunication.hh</a>&quot;</code><br·/>
 79 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
77 <div·class="textblock"><code>#include·&lt;numeric&gt;</code><br·/> 
78 <code>#include·&lt;typeinfo&gt;</code><br·/> 
79 <code>#include·&lt;iostream&gt;</code><br·/> 
80 <code>#include·&lt;cassert&gt;</code><br·/> 
81 <code>#include·&lt;new&gt;</code><br·/> 
82 </div>80 </div>
83 <p><a·href="a00371_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a00371_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">82 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>84 Classes</h2></td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02392.html">Dune::Pool&lt;·T,·s·&gt;</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02196.html">Dune::MPIGuardError</a></td></tr>
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·memory·pool·of·objects.··<a·href="a02392.html#details">More...</a><br·/></td></tr>86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·exception·is·thrown·if·the·<a·class="el"·href="a02200.html"·title="detects·a·thrown·exception·and·communicates·to·all·other·processes">MPIGuard</a>·detects·an·error·on·a·remote·process.··<a·href="a02196.html#details">More...</a><br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02396.html">Dune::PoolAllocator&lt;·T,·s·&gt;</a></td></tr> 
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·allocator·managing·a·pool·of·objects·for·reuse.··<a·href="a02396.html#details">More...</a><br·/></td></tr> 
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02408.html">Dune::PoolAllocator&lt;·T,·s·&gt;::rebind&lt;·U·&gt;</a></td></tr> 
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Rebind·the·allocator·to·another·type.··<a·href="a02408.html#details">More...</a><br·/></td></tr> 
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02412.html">Dune::PoolAllocator&lt;·void,·s·&gt;</a></td></tr>88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02200.html">Dune::MPIGuard</a></td></tr>
 89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">detects·a·thrown·exception·and·communicates·to·all·other·processes··<a·href="a02200.html#details">More...</a><br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02416.html">Dune::PoolAllocator&lt;·void,·s·&gt;::rebind&lt;·U·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
102 Namespaces</h2></td></tr>93 Namespaces</h2></td></tr>
103 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>94 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
104 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>95 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00424"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00424.html">std</a></td></tr> 
107 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></td></tr> 
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 </table><table·class="memberdecls"> 
110 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a> 
111 Functions</h2></td></tr> 
112 <tr·class="memitem:ga67f486062c5bfb92aa3365373d491836"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2&gt;·</td></tr> 
113 <tr·class="memitem:ga67f486062c5bfb92aa3365373d491836"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#ga67f486062c5bfb92aa3365373d491836">Dune::operator==</a>·(const·PoolAllocator&lt;·T1,·t1·&gt;·&amp;,·const·PoolAllocator&lt;·T2,·t2·&gt;·&amp;)</td></tr> 
114 <tr·class="separator:ga67f486062c5bfb92aa3365373d491836"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 <tr·class="memitem:gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2&gt;·</td></tr> 
116 <tr·class="memitem:gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#gaf0e4942c0493dceaf371ba9f0ec29ab6">Dune::operator!=</a>·(const·PoolAllocator&lt;·T1,·t1·&gt;·&amp;,·const·PoolAllocator&lt;·T2,·t2·&gt;·&amp;)</td></tr> 
117 <tr·class="separator:gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
118 <tr·class="memitem:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
119 <tr·class="memitem:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#gab6358d63f2012e81c5066d6c6d9cb94a">Dune::operator==</a>·(const·PoolAllocator&lt;·T,·t1·&gt;·&amp;p1,·const·PoolAllocator&lt;·T,·t2·&gt;·&amp;p2)</td></tr> 
120 <tr·class="separator:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
121 <tr·class="memitem:ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
122 <tr·class="memitem:ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#ga2c515ca850107e6807b75f4d90ca4dcc">Dune::operator!=</a>·(const·PoolAllocator&lt;·T,·t1·&gt;·&amp;p1,·const·PoolAllocator&lt;·T,·t2·&gt;·&amp;p2)</td></tr> 
123 <tr·class="separator:ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
124 <tr·class="memitem:gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
125 <tr·class="memitem:gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#gab00b326f648ee860460ddeec2f4b6d3b">Dune::operator==</a>·(const·PoolAllocator&lt;·void,·t1·&gt;·&amp;,·const·PoolAllocator&lt;·T,·t2·&gt;·&amp;)</td></tr> 
126 <tr·class="separator:gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
127 <tr·class="memitem:gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
128 <tr·class="memitem:gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#gace25a69f0bcd5ba1fffd567af1d9a9cf">Dune::operator!=</a>·(const·PoolAllocator&lt;·void,·t1·&gt;·&amp;,·const·PoolAllocator&lt;·T,·t2·&gt;·&amp;)</td></tr> 
129 <tr·class="separator:gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
130 <tr·class="memitem:ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
131 <tr·class="memitem:ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#ga5bc475e78eb7d029ee0782eab49d5938">Dune::operator==</a>·(const·PoolAllocator&lt;·void,·t1·&gt;·&amp;p1,·const·PoolAllocator&lt;·void,·t2·&gt;·&amp;p2)</td></tr> 
132 <tr·class="separator:ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
133 <tr·class="memitem:ga6795aefd733bd618db889c6f15f1552f"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·t1,·std::size_t·t2&gt;·</td></tr> 
134 <tr·class="memitem:ga6795aefd733bd618db889c6f15f1552f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#ga6795aefd733bd618db889c6f15f1552f">Dune::operator!=</a>·(const·PoolAllocator&lt;·void,·t1·&gt;·&amp;p1,·const·PoolAllocator&lt;·void,·t2·&gt;·&amp;p2)</td></tr> 
135 <tr·class="separator:ga6795aefd733bd618db889c6f15f1552f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
136 </table>97 </table>
137 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>98 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
138 <div·class="textblock"><p·>An·stl-compliant·pool·allocator.·</p> 
139 <p·>This·file·implements·the·classes·Pool·and·PoolAllocator·providing·memory·allocation·for·objects·in·chunks.·</p><dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>99 <div·class="textblock"><p·>Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·</p>
 100 <dl·class="section·author"><dt>Author</dt><dd>Christian·Engwer·</dd></dl>
140 </div></div><!--·contents·-->101 </div></div><!--·contents·-->
141 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
142 <hr·class="footer"/><address·class="footer"><small>103 <hr·class="footer"/><address·class="footer"><small>
143 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
144 </small></address>105 </small></address>
145 </body>106 </body>
146 </html>107 </html>
3.01 KB
html2text {}
    
Offset 4, 79 lines modifiedOffset 4, 37 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 ····*·parallel
7 Classes·|·Namespaces·|·Functions8 Classes·|·Namespaces
8 poolallocator.hh·File·Reference 
9 An·stl-compliant·pool·allocator.·More... 
10 #include·<numeric> 
11 #include·<typeinfo> 
12 #include·<iostream> 
13 #include·<cassert> 
14 #include·<new>9 mpiguard.hh·File·Reference
 10 Common·»·Parallel_Communication
 11 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·More...
 12 #include·"mpihelper.hh"
 13 #include·"communication.hh"
 14 #include·"mpicommunication.hh"
 15 #include·<dune/common/exceptions.hh>
15 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
16 ·Classes17 ·Classes
17 ·class· Dune::Pool<_T,_s_> 
18  ·······A·memory·pool·of·objects.·More...18 class· Dune::MPIGuardError
 19  ······This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote
 20 ········process.·More...
19  21  
 22 class· Dune::MPIGuard
 23  ······detects·a·thrown·exception·and·communicates·to·all·other·processes
 24 ········More...
20 ·class· Dune::PoolAllocator<_T,_s_> 
21  ·······An·allocator·managing·a·pool·of·objects·for·reuse.·More... 
22   
23 struct· Dune::PoolAllocator<_T,_s_>::rebind<_U_> 
24  ·······Rebind·the·allocator·to·another·type.·More... 
25   
26 ·class· Dune::PoolAllocator<_void,_s_> 
27   
28 struct· Dune::PoolAllocator<_void,_s_>::rebind<_U_> 
29  25  
30 ·Namespaces26 ·Namespaces
31 namespace· Dune27 namespace· Dune
32  ··········Dune·namespace.28  ··········Dune·namespace.
33  29  
34 namespace· std 
35  ··········STL·namespace. 
36   
37 ·Functions 
38 template<typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2> 
39 bool Dune::operator==·(const·PoolAllocator<·T1,·t1·>·&,·const·PoolAllocator< 
40 ······T2,·t2·>·&) 
41   
42 template<typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2> 
43 bool Dune::operator!=·(const·PoolAllocator<·T1,·t1·>·&,·const·PoolAllocator< 
44 ······T2,·t2·>·&) 
45   
46 template<typename·T·,·std::size_t·t1,·std::size_t·t2> 
47 bool Dune::operator==·(const·PoolAllocator<·T,·t1·>·&p1,·const·PoolAllocator< 
48 ······T,·t2·>·&p2) 
49   
50 template<typename·T·,·std::size_t·t1,·std::size_t·t2> 
51 bool Dune::operator!=·(const·PoolAllocator<·T,·t1·>·&p1,·const·PoolAllocator< 
52 ······T,·t2·>·&p2) 
53   
54 template<typename·T·,·std::size_t·t1,·std::size_t·t2> 
55 bool Dune::operator==·(const·PoolAllocator<·void,·t1·>·&,·const·PoolAllocator< 
56 ······T,·t2·>·&) 
57   
58 template<typename·T·,·std::size_t·t1,·std::size_t·t2> 
59 bool Dune::operator!=·(const·PoolAllocator<·void,·t1·>·&,·const·PoolAllocator< 
60 ······T,·t2·>·&) 
61   
62 template<std::size_t·t1,·std::size_t·t2> 
63 bool Dune::operator==·(const·PoolAllocator<·void,·t1·>·&p1,·const 
64 ······PoolAllocator<·void,·t2·>·&p2) 
65   
66 template<std::size_t·t1,·std::size_t·t2> 
67 bool Dune::operator!=·(const·PoolAllocator<·void,·t1·>·&p1,·const 
68 ······PoolAllocator<·void,·t2·>·&p2) 
69   
70 *****·Detailed·Description·*****30 *****·Detailed·Description·*****
 31 Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.
71 An·stl-compliant·pool·allocator. 
72 This·file·implements·the·classes·Pool·and·PoolAllocator·providing·memory 
73 allocation·for·objects·in·chunks. 
74 ··Author32 ··Author
75 ······Markus·Blatt33 ······Christian·Engwer
  
76 ===============================================================================34 ===============================================================================
77 ·····Generated·by [doxygen]·1.9.435 ·····Generated·by [doxygen]·1.9.4
138 KB
./usr/share/doc/libdune-common-doc/doxygen/a00371_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·poolallocator.hh·Source·File</title>8 <title>dune-common:·mpiguard.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 465 lines modifiedOffset 58, 196 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">poolallocator.hh</div></div>68 ··<div·class="headertitle"><div·class="title">mpiguard.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00371.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00371.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_POOLALLOCATOR_HH</span></div> 
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_POOLALLOCATOR_HH</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;numeric&gt;</span></div> 
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>76 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#ifndef·DUNE_COMMON_MPIGUARD_HH</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>77 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#define·DUNE_COMMON_MPIGUARD_HH</span></div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div> 
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;new&gt;</span></div> 
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>78 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>79 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00335.html">mpihelper.hh</a>&quot;</span></div>
 80 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00368.html">communication.hh</a>&quot;</span></div>
 81 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00347.html">mpicommunication.hh</a>&quot;</span></div>
 82 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//·forward·declarations.</span></div> 
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·we·need·to·know·the·test·function·to·declare·it·friend</span></div> 
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·size,·<span·class="keyword">typename</span>·T&gt;</div> 
88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">struct·</span>testPoolMain;</div> 
89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div> 
90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>83 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>84 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>{</div>
93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>86 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·std::<span·class="keywordtype">size_t</span>·s&gt;</div>87 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
 88 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 89 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="comment">/*</span></div>
 90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="comment">·····Interface·class·for·the·communication·needed·by·MPIGuard</span></div>
 91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="comment">···*/</span></div>
95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">class·</span>Pool;</div>92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">struct·</span>GuardCommunicator</div>
96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>93 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··{</div>
97 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·std::<span·class="keywordtype">size_t</span>·s&gt;</div>94 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····<span·class="comment">//·cleanup</span></div>
98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">class·</span>PoolAllocator;</div>95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····<span·class="keyword">virtual</span>·~GuardCommunicator()·{};</div>
 96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>····<span·class="comment">//·all·the·communication·methods·we·need</span></div>
 97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·rank()·=·0;</div>
 98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·size()·=·0;</div>
 99 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">int</span>·sum(<span·class="keywordtype">int</span>·i)·=·0;</div>
 100 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>····<span·class="comment">//·create·a·new·GuardCommunicator·pointer</span></div>
 101 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·C&gt;</div>
 102 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····<span·class="keyword">static</span>·GuardCommunicator·*·create(<span·class="keyword">const</span>·Communication&lt;C&gt;·&amp;·c);</div>
 103 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 104 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····<span·class="keyword">inline</span></div>
 105 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">static</span>·GuardCommunicator·*·create(<span·class="keyword">const</span>·MPI_Comm·&amp;·c);</div>
99 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>106 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#endif</span></div>
100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>}</div>107 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··};</div>
101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>108 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>
102 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00424.html">std</a></div>109 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<span·class="keyword">namespace·</span>{</div>
103 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div> 
104 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="comment">/*</span></div>110 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="comment">/*</span></div>
105 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">·····template&lt;class·T,·std::size_t·S&gt;</span></div>111 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·······templated·implementation·of·different·communication·classes</span></div>
106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">·····inline·ostream&amp;·operator&lt;&lt;(ostream&amp;·os,·Dune::Pool&lt;T,S&gt;&amp;·pool)</span></div> 
107 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">·····{</span></div>112 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">·····*/</span></div>
 113 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>····<span·class="comment">//·the·default·class·will·always·fail,·due·to·the·missing·implementation·of·&quot;sum&quot;</span></div>
 114 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·Imp&gt;</div>
108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">·····os&lt;&lt;&quot;pool=&quot;&lt;&lt;&amp;pool&lt;&lt;&quot;·allocated_=&quot;&lt;&lt;pool.allocated_;</span></div> 
109 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">·····return·os;</span></div> 
110 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">·····}</span></div> 
111 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment"></span>·</div> 
112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">·····template&lt;class·T,·std::size_t·S&gt;</span></div> 
113 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">·····inline·ostream&amp;·operator&lt;&lt;(ostream&amp;·os,·Dune::PoolAllocator&lt;T,S&gt;&amp;·pool)</span></div> 
114 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·····{</span></div> 
115 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">·····os&lt;&lt;pool.memoryPool_&lt;&lt;std::endl;</span></div> 
116 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">·····return·os;</span></div> 
117 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">·····}</span></div> 
118 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">···*/</span></div>115 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>····<span·class="keyword">struct·</span>GenericGuardCommunicator</div>
119 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div>116 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·<span·class="keyword">public</span>·GuardCommunicator</div>
120 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>117 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{};</div>
 118 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="comment">//·specialization·for·Communication</span></div>
 119 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·T&gt;</div>
 120 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">struct·</span>GenericGuardCommunicator&lt;·Communication&lt;T&gt;·&gt;</div>
 121 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>······:·<span·class="keyword">public</span>·GuardCommunicator</div>
 122 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····{</div>
 123 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>······<span·class="keyword">const</span>·Communication&lt;T&gt;·comm;</div>
 124 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>······GenericGuardCommunicator(<span·class="keyword">const</span>·Communication&lt;T&gt;·&amp;·c)·:</div>
 125 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>········comm(c)·{}</div>
 126 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······<span·class="keywordtype">int</span>·rank()<span·class="keyword">·override·</span>{·<span·class="keywordflow">return</span>·comm.rank();·};</div>
 127 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>······<span·class="keywordtype">int</span>·size()<span·class="keyword">·override·</span>{·<span·class="keywordflow">return</span>·comm.size();·};</div>
 128 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>······<span·class="keywordtype">int</span>·sum(<span·class="keywordtype">int</span>·i)<span·class="keyword">·override·</span>{·<span·class="keywordflow">return</span>·comm.sum(i);·}</div>
 129 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····};</div>
 130 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 131 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
 132 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="comment">//·specialization·for·MPI_Comm</span></div>
 133 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">template</span>·&lt;&gt;</div>
 134 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keyword">struct·</span>GenericGuardCommunicator&lt;MPI_Comm&gt;</div>
 135 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>······:·<span·class="keyword">public</span>·GenericGuardCommunicator&lt;·Communication&lt;MPI_Comm&gt;·&gt;</div>
 136 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····{</div>
 137 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······GenericGuardCommunicator(<span·class="keyword">const</span>·MPI_Comm·&amp;·c)·:</div>
 138 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········GenericGuardCommunicator&lt;·Communication&lt;MPI_Comm&gt;·&gt;(</div>
 139 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··········Communication&lt;MPI_Comm&gt;(c))·{}</div>
 140 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····};</div>
 141 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span><span·class="preprocessor">#endif</span></div>
 142 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··}···<span·class="comment">//·anonymous·namespace</span></div>
 143 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div>
 144 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·C&gt;</div>
 145 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··GuardCommunicator·*·GuardCommunicator::create(<span·class="keyword">const</span>·Communication&lt;C&gt;·&amp;·comm)</div>
Max diff block lines reached; 96405/119363 bytes (80.77%) of diff not shown.
21.8 KB
html2text {}
    
Offset 4, 599 lines modifiedOffset 4, 230 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 poolallocator.hh7 ····*·parallel
 8 mpiguard.hh
8 Go_to_the_documentation_of_this_file.9 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:11 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root13 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 15 ·5
14 ·5#ifndef·DUNE_COMMON_POOLALLOCATOR_HH16 ·13#ifndef·DUNE_COMMON_MPIGUARD_HH
15 ·6#define·DUNE_COMMON_POOLALLOCATOR_HH17 ·14#define·DUNE_COMMON_MPIGUARD_HH
 18 ·15
 19 ·16#include·"mpihelper.hh"
 20 ·17#include·"communication.hh"
 21 ·18#include·"mpicommunication.hh"
 22 ·19#include·<dune/common/exceptions.hh>
 23 ·20
16 ·7 
17 ·12#include·<numeric> 
18 ·13#include·<typeinfo> 
19 ·14#include·<iostream> 
20 ·15#include·<cassert> 
21 ·16#include·<new> 
22 ·17 
23 ·18#ifndef·DOXYGEN 
24 ·19//·forward·declarations. 
25 ·20//·we·need·to·know·the·test·function·to·declare·it·friend 
26 ·21template<std::size_t·size,·typename·T> 
27 ·22struct·testPoolMain; 
28 ·23#endif 
29 ·24 
30 ·25namespace·Dune24 ·21namespace·Dune
31 ·26{25 ·22{
32 ·27 
33 ·28·template<typename·T,·std::size_t·s> 
34 ·29·class·Pool;26 ·23
 27 ·24#ifndef·DOXYGEN
 28 ·25
 29 ·26·/*
 30 ·27·Interface·class·for·the·communication·needed·by·MPIGuard
 31 ·28·*/
 32 ·29·struct·GuardCommunicator
35 ·3033 ·30·{
36 ·31·template<typename·T,·std::size_t·s> 
37 ·32·class·PoolAllocator; 
38 ·33 
39 ·34} 
40 ·35 
41 ·36namespace·std 
42 ·37{ 
43 ·38·/* 
44 ·39·template<class·T,·std::size_t·S> 
45 ·40·inline·ostream&·operator<<(ostream&·os,·Dune::Pool<T,S>&·pool) 
46 ·41·{ 
47 ·42·os<<"pool="<<&pool<<"·allocated_="<<pool.allocated_; 
48 ·43·return·os;34 ·31·//·cleanup
 35 ·32·virtual·~GuardCommunicator()·{};
 36 ·33·//·all·the·communication·methods·we·need
 37 ·34·virtual·int·rank()·=·0;
 38 ·35·virtual·int·size()·=·0;
 39 ·36·virtual·int·sum(int·i)·=·0;
 40 ·37·//·create·a·new·GuardCommunicator·pointer
 41 ·38·template·<class·C>
 42 ·39·static·GuardCommunicator·*·create(const·Communication<C>·&·c);
 43 ·40#if·HAVE_MPI
 44 ·41·inline
 45 ·42·static·GuardCommunicator·*·create(const·MPI_Comm·&·c);
 46 ·43#endif
49 ·44·}47 ·44·};
50 ·4548 ·45
51 ·46·template<class·T,·std::size_t·S> 
52 ·47·inline·ostream&·operator<<(ostream&·os,·Dune::PoolAllocator<T,S>&·pool) 
53 ·48·{ 
54 ·49·os<<pool.memoryPool_<<std::endl; 
55 ·50·return·os; 
56 ·51·} 
57 ·52·*/ 
58 ·53} 
59 ·54 
60 ·55 
61 ·56namespace·Dune49 ·46·namespace·{
62 ·57{ 
63 ·88·template<class·T,·std::size_t·s> 
64 89·class·Pool50 ·47·/*
 51 ·48·templated·implementation·of·different·communication·classes
 52 ·49·*/
 53 ·50·//·the·default·class·will·always·fail,·due·to·the·missing·implementation·of
 54 "sum"
 55 ·51·template·<class·Imp>
 56 ·52·struct·GenericGuardCommunicator
 57 ·53·:·public·GuardCommunicator
 58 ·54·{};
 59 ·55·//·specialization·for·Communication
 60 ·56·template·<class·T>
 61 ·57·struct·GenericGuardCommunicator<·Communication<T>·>
 62 ·58·:·public·GuardCommunicator
65 ·90·{63 ·59·{
66 ·91·//·make·the·test·function·friend 
67 ·92·friend·struct·::testPoolMain<s,T>;64 ·60·const·Communication<T>·comm;
 65 ·61·GenericGuardCommunicator(const·Communication<T>·&·c)·:
 66 ·62·comm(c)·{}
 67 ·63·int·rank()·override·{·return·comm.rank();·};
 68 ·64·int·size()·override·{·return·comm.size();·};
 69 ·65·int·sum(int·i)·override·{·return·comm.sum(i);·}
 70 ·66·};
 71 ·67
 72 ·68#if·HAVE_MPI
 73 ·69·//·specialization·for·MPI_Comm
 74 ·70·template·<>
 75 ·71·struct·GenericGuardCommunicator<MPI_Comm>
 76 ·72·:·public·GenericGuardCommunicator<·Communication<MPI_Comm>·>
 77 ·73·{
 78 ·74·GenericGuardCommunicator(const·MPI_Comm·&·c)·:
 79 ·75·GenericGuardCommunicator<·Communication<MPI_Comm>·>(
 80 ·76·Communication<MPI_Comm>(c))·{}
 81 ·77·};
 82 ·78#endif
 83 ·79·}·//·anonymous·namespace
 84 ·80
 85 ·81·template<class·C>
Max diff block lines reached; 18326/22280 bytes (82.25%) of diff not shown.
18.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00374.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·stdstreams.hh·File·Reference</title>8 <title>dune-common:·gmpfield.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 84 lines modifiedOffset 63, 55 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>··</div>
71 <a·href="#define-members">Macros</a>·&#124; 
72 <a·href="#typedef-members">Typedefs</a>·&#124; 
73 <a·href="#var-members">Variables</a>··</div> 
74 ··<div·class="headertitle"><div·class="title">stdstreams.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">gmpfield.hh·File·Reference</div></div>
75 </div><!--header-->73 </div><!--header-->
76 <div·class="contents">74 <div·class="contents">
  
77 <p>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.··75 <p>Wrapper·for·the·GNU·multiprecision·(GMP)·library.··
78 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00101_source.html">debugstream.hh</a>&quot;</code><br·/>77 <div·class="textblock"><code>#include·&lt;iostream&gt;</code><br·/>
 78 <code>#include·&lt;string&gt;</code><br·/>
 79 <code>#include·&lt;type_traits&gt;</code><br·/>
 80 <code>#include·&lt;gmpxx.h&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/promotiontraits.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
80 </div>83 </div>
81 <p><a·href="a00374_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00374_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">85 <table·class="memberdecls">
 86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 87 Classes</h2></td></tr>
 88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01832.html">Dune::GMPField&lt;·precision·&gt;</a></td></tr>
 89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation.··<a·href="a01832.html#details">More...</a><br·/></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01836.html">Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01840.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision1·&gt;,·GMPField&lt;·precision2·&gt;·&gt;</a></td></tr>
 94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01844.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01848.html">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·T·&gt;</a></td></tr>
 98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01852.html">Dune::PromotionTraits&lt;·T,·GMPField&lt;·precision·&gt;·&gt;</a></td></tr>
 100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 101 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
84 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
85 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>104 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
86 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>105 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 </table><table·class="memberdecls"> 
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
90 Macros</h2></td></tr> 
91 <tr·class="memitem:ga3a5303f96d33ae7299d9acd71b736998"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">DUNE_MINIMAL_DEBUG_LEVEL</a>&#160;&#160;&#160;4</td></tr> 
92 <tr·class="memdesc:ga3a5303f96d33ae7299d9acd71b736998"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·default·minimum·debug·level.··<a·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">More...</a><br·/></td></tr> 
93 <tr·class="separator:ga3a5303f96d33ae7299d9acd71b736998"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
94 </table><table·class="memberdecls"> 
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="typedef-members"·name="typedef-members"></a> 
96 Typedefs</h2></td></tr> 
97 <tr·class="memitem:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·VERY_VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">Dune::DVVerbType</a></td></tr> 
98 <tr·class="memdesc:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·very·verbose·debug·stream.··<a·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">More...</a><br·/></td></tr> 
99 <tr·class="separator:ga08d48df3a7a0e3bd9c0425aba8004488"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">Dune::DVerbType</a></td></tr> 
101 <tr·class="memdesc:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·more·verbose·debug·stream.··<a·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">More...</a><br·/></td></tr> 
102 <tr·class="separator:ga65d14f278ea400db87ffb6a4bc7ed7b2"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:gab41f4590c73d6408c89475e28bf18a8e"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·INFO_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">Dune::DInfoType</a></td></tr> 
104 <tr·class="memdesc:gab41f4590c73d6408c89475e28bf18a8e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·with·info·level.··<a·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">More...</a><br·/></td></tr> 
105 <tr·class="separator:gab41f4590c73d6408c89475e28bf18a8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
106 <tr·class="memitem:ga20379ab9c4472509d420e98659683fe6"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·WARN_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">Dune::DWarnType</a></td></tr> 
107 <tr·class="memdesc:ga20379ab9c4472509d420e98659683fe6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·with·warn·level.··<a·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">More...</a><br·/></td></tr> 
108 <tr·class="separator:ga20379ab9c4472509d420e98659683fe6"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
109 <tr·class="memitem:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·GRAVE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">Dune::DGraveType</a></td></tr> 
110 <tr·class="memdesc:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·debug·stream·for·fatal·errors.··<a·href="a00423.html#ga70e0eedd6c7f613d6e9608fabb4d240d">More...</a><br·/></td></tr> 
111 <tr·class="separator:ga70e0eedd6c7f613d6e9608fabb4d240d"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
112 <tr·class="memitem:ga768c0b513889d713fd0017ef7ae35056"><td·class="memItemLeft"·align="right"·valign="top">typedef·DebugStream&lt;·1·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">Dune::DErrType</a></td></tr> 
113 <tr·class="memdesc:ga768c0b513889d713fd0017ef7ae35056"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·stream·used·for·error·messages.··<a·href="a00423.html#ga768c0b513889d713fd0017ef7ae35056">More...</a><br·/></td></tr> 
114 <tr·class="separator:ga768c0b513889d713fd0017ef7ae35056"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
115 </table><table·class="memberdecls"> 
116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="var-members"·name="var-members"></a> 
117 Variables</h2></td></tr> 
118 <tr·class="memitem:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">Dune::MINIMAL_DEBUG_LEVEL</a>·=·<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">DUNE_MINIMAL_DEBUG_LEVEL</a></td></tr> 
119 <tr·class="separator:ga2c074d4df6d5fa8fbe8b4e9d44b35df0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
120 <tr·class="memitem:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">Dune::VERY_VERBOSE_DEBUG_LEVEL</a>·=·1</td></tr> 
121 <tr·class="memdesc:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·very·verbose·debug·stream.··<a·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">More...</a><br·/></td></tr> 
122 <tr·class="separator:ga490cf91178ed464c3eff5871b4b03c8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
123 <tr·class="memitem:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">Dune::VERBOSE_DEBUG_LEVEL</a>·=·2</td></tr> 
124 <tr·class="memdesc:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·verbose·debug·stream.··<a·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">More...</a><br·/></td></tr> 
125 <tr·class="separator:gabdcf3b4c1aefae00afd3ecaf84f755bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
126 <tr·class="memitem:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">Dune::INFO_DEBUG_LEVEL</a>·=·3</td></tr> 
127 <tr·class="memdesc:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·informative·debug·stream.··<a·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">More...</a><br·/></td></tr> 
128 <tr·class="separator:gaabd88387e7eb826323b9f7d3a53a283e"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
129 <tr·class="memitem:gaed2aba7a7e55b026716d5027406566a0"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">Dune::WARN_DEBUG_LEVEL</a>·=·4</td></tr> 
130 <tr·class="memdesc:gaed2aba7a7e55b026716d5027406566a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·debug·stream·for·warnings.··<a·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">More...</a><br·/></td></tr> 
131 <tr·class="separator:gaed2aba7a7e55b026716d5027406566a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
132 <tr·class="memitem:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="memItemLeft"·align="right"·valign="top">static·const·DebugLevel&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html#ga4fc828eb9bb6c6b6143034b9211d2b72">Dune::GRAVE_DEBUG_LEVEL</a>·=·5</td></tr> 
133 <tr·class="memdesc:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·level·of·the·debug·stream·for·fatal·errors.··<a·href="a00423.html#ga4fc828eb9bb6c6b6143034b9211d2b72">More...</a><br·/></td></tr> 
134 <tr·class="separator:ga4fc828eb9bb6c6b6143034b9211d2b72"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
135 </table>107 </table>
136 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>108 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 109 <div·class="textblock"><p·>Wrapper·for·the·GNU·multiprecision·(GMP)·library.·</p>
137 <div·class="textblock"><p·>Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams.·</p> 
138 <p·>The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This·file·declares·the·stream·types·and·the·global·debug·level.·</p> 
139 </div></div><!--·contents·-->110 </div></div><!--·contents·-->
140 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
141 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
142 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
143 </small></address>114 </small></address>
144 </body>115 </body>
145 </html>116 </html>
3.75 KB
html2text {}
    
Offset 4, 78 lines modifiedOffset 4, 42 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Namespaces·|·Macros·|·Typedefs·|·Variables 
8 stdstreams.hh·File·Reference 
9 Standard·Dune·debug·streams.·More... 
10 #include·"debugstream.hh"7 Classes·|·Namespaces
 8 gmpfield.hh·File·Reference
 9 Wrapper·for·the·GNU·multiprecision·(GMP)·library.·More...
 10 #include·<iostream>
 11 #include·<string>
 12 #include·<type_traits>
 13 #include·<gmpxx.h>
 14 #include·<dune/common/promotiontraits.hh>
 15 #include·<dune/common/typetraits.hh>
11 Go_to_the_source_code_of_this_file.16 Go_to_the_source_code_of_this_file.
 17 ·Classes
 18 ·class· Dune::GMPField<_precision_>
 19  ·······Number·class·for·high·precision·floating·point·number·using·the·GMP
 20 ·········library·mpf_class·implementation.·More...
 21  
 22 struct· Dune::IsNumber<_GMPField<_precision_>_>
 23  
 24 struct· Dune::PromotionTraits<_GMPField<_precision1_>,_GMPField<_precision2_>
 25 ·········>
 26  
 27 struct· Dune::PromotionTraits<_GMPField<_precision_>,_GMPField<_precision_>_>
 28  
 29 struct· Dune::PromotionTraits<_GMPField<_precision_>,_T_>
 30  
 31 struct· Dune::PromotionTraits<_T,_GMPField<_precision_>_>
 32  
12 ·Namespaces33 ·Namespaces
13 namespace· Dune34 namespace· Dune
14  ··········Dune·namespace.35  ··········Dune·namespace.
15  36  
16 ·Macros 
17 #define DUNE_MINIMAL_DEBUG_LEVEL   4 
18  ·······The·default·minimum·debug·level.·More... 
19   
20 ·Typedefs 
21 ····················typedef·DebugStream< 
22 ···············VERY_VERBOSE_DEBUG_LEVEL, 
23 ··················MINIMAL_DEBUG_LEVEL·> Dune::DVVerbType 
24  ·······································Type·of·very·verbose·debug·stream. 
25 ·········································More... 
26   
27 ····················typedef·DebugStream< 
28 VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL 
29 ······································> Dune::DVerbType 
30  ·······································Type·of·more·verbose·debug·stream. 
31 ·········································More... 
32   
33 ··typedef·DebugStream<·INFO_DEBUG_LEVEL, 
34 ··················MINIMAL_DEBUG_LEVEL·> Dune::DInfoType 
35  ·······································Type·of·debug·stream·with·info·level. 
36 ·········································More... 
37   
38 ··typedef·DebugStream<·WARN_DEBUG_LEVEL, 
39 ··················MINIMAL_DEBUG_LEVEL·> Dune::DWarnType 
40  ·······································Type·of·debug·stream·with·warn·level. 
41 ·········································More... 
42   
43 ·typedef·DebugStream<·GRAVE_DEBUG_LEVEL, 
44 ··················MINIMAL_DEBUG_LEVEL·> Dune::DGraveType 
45  ·······································Type·of·debug·stream·for·fatal·errors. 
46 ·········································More... 
47   
48 ···············typedef·DebugStream<·1·> Dune::DErrType 
49  ·······································The·type·of·the·stream·used·for·error 
50 ·········································messages.·More... 
51   
52 ·Variables 
53 static·const·DebugLevel Dune::MINIMAL_DEBUG_LEVEL·=·DUNE_MINIMAL_DEBUG_LEVEL 
54   
55 static·const·DebugLevel Dune::VERY_VERBOSE_DEBUG_LEVEL·=·1 
56  ·······················The·level·of·the·very·verbose·debug·stream.·More... 
57   
58 static·const·DebugLevel Dune::VERBOSE_DEBUG_LEVEL·=·2 
59  ·······················The·level·of·the·verbose·debug·stream.·More... 
60   
61 static·const·DebugLevel Dune::INFO_DEBUG_LEVEL·=·3 
62  ·······················The·level·of·the·informative·debug·stream.·More... 
63   
64 static·const·DebugLevel Dune::WARN_DEBUG_LEVEL·=·4 
65  ·······················The·level·of·the·debug·stream·for·warnings.·More... 
66   
67 static·const·DebugLevel Dune::GRAVE_DEBUG_LEVEL·=·5 
68  ·······················The·level·of·the·debug·stream·for·fatal·errors. 
69 ·························More... 
70   
71 *****·Detailed·Description·*****37 *****·Detailed·Description·*****
 38 Wrapper·for·the·GNU·multiprecision·(GMP)·library.
72 Standard·Dune·debug·streams. 
73 The·standard·debug·streams·are·compiled·into·libdune·to·exist·globally.·This 
74 file·declares·the·stream·types·and·the·global·debug·level. 
  
75 ===============================================================================39 ===============================================================================
76 ·····Generated·by [doxygen]·1.9.440 ·····Generated·by [doxygen]·1.9.4
46.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a00374_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·stdstreams.hh·Source·File</title>8 <title>dune-common:·gmpfield.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 94 lines modifiedOffset 62, 119 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">stdstreams.hh</div></div>68 ··<div·class="headertitle"><div·class="title">gmpfield.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00374.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00374.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_GMPFIELD_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_GMPFIELD_HH</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
76 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STDSTREAMS_HH</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;string&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
77 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#define·DUNE_COMMON_STDSTREAMS_HH</span></div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#if·HAVE_GMP·||·DOXYGEN</span></div>
78 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
79 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00101.html">debugstream.hh</a>&quot;</span></div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;gmpxx.h&gt;</span></div>
80 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00035.html">dune/common/promotiontraits.hh</a>&gt;</span></div>
 87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>
82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 92 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision·&gt;</div>
 93 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01832.html">···31</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01832.html">GMPField</a></div>
 94 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>····:·<span·class="keyword">public</span>·mpf_class</div>
 95 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··{</div>
 96 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>····<span·class="keyword">typedef</span>·mpf_class·Base;</div>
 97 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
83 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#ifndef·DUNE_MINIMAL_DEBUG_LEVEL</span></div>98 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>
84 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">···67</a></span><span·class="preprocessor">#define·DUNE_MINIMAL_DEBUG_LEVEL·4</span></div>99 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a01832.html#a1c98f1cff0e1a4f47f21c8da20ab3d7a">···38</a></span>····<a·class="code·hl_function"·href="a01832.html#a1c98f1cff0e1a4f47f21c8da20ab3d7a">GMPField</a>·()</div>
 100 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······:·Base(0,precision)</div>
 101 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>····{}</div>
 102 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>
 103 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a01832.html#a638036e0a8202b2b10a7ab75f2971abd">···45</a></span>····<a·class="code·hl_function"·href="a01832.html#a638036e0a8202b2b10a7ab75f2971abd">GMPField</a>·(·<span·class="keyword">const</span>·<span·class="keywordtype">char</span>*·str·)</div>
 104 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>······:·Base(str,precision)</div>
 105 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····{}</div>
 106 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 107 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01832.html#a2dba914e372f4ebaf7723700e70b895d">···52</a></span>····<a·class="code·hl_function"·href="a01832.html#a2dba914e372f4ebaf7723700e70b895d">GMPField</a>·(·<span·class="keyword">const</span>·std::string&amp;·str·)</div>
 108 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>······:·Base(str,precision)</div>
 109 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····{}</div>
 110 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class·</span>T,</div>
 112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··············<span·class="keyword">typename</span>·EnableIf·=·<span·class="keyword">typename</span>·std::enable_if&lt;</div>
 113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>················std::is_convertible&lt;T,·mpf_class&gt;::value&gt;::type</div>
 114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··············&gt;</div>
 115 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01832.html#a04962d934cef35d60d59a9bd3142e22d">···62</a></span>····<a·class="code·hl_function"·href="a01832.html#a04962d934cef35d60d59a9bd3142e22d">GMPField</a>·(·<span·class="keyword">const</span>·T·&amp;v·)</div>
 116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>······:·Base(·v,precision·)</div>
 117 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>····{}</div>
 118 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
 119 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="comment">//·type·conversion·operators</span></div>
 120 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01832.html#ac68f8e4c99a27750b3543f180882ac84">···67</a></span>····<span·class="keyword">operator</span>·double·()<span·class="keyword">·const</span></div>
85 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="preprocessor">#endif</span></div>121 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="keyword">····</span>{</div>
86 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga2c074d4df6d5fa8fbe8b4e9d44b35df0">···69</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·<[·...·truncated·by·diffoscope;·len:·215,·SHA:·bda702c6297fe90e16d455277557b38d0b0b91b4ad48ad0a922ae23307b25507·...·];</div>122 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>······<span·class="keywordflow">return</span>·this-&gt;get_d();</div>
87 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>123 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····}</div>
88 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">···75</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·<a·class="code·hl_variable"·href="a00423.html#ga490cf91178ed464c3eff5871b4b03c8f">VERY_VERBOSE_DEBUG_LEVEL</a>·=·1;</div> 
89 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>124 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div>
90 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga08d48df3a7a0e3bd9c0425aba8004488">···81</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;VERY_VERBOSE_DEBUG_LEVEL,·MIN[·...·truncated·by·diffoscope;·len:·120,·SHA:·903edcb81b25c37eb1f438ad057be3c6747bc6a58c9b8c5fa661faf42abf2e03·...·];</div>125 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··};</div>
 126 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>·</div>
 127 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>·&lt;<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision&gt;</div>
 128 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a01836.html">···75</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01300.html">IsNumber</a>&lt;<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;precision&gt;&gt;</div>
 129 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>····:·<span·class="keyword">public</span>·std::integral_constant&lt;bool,·true&gt;·{</div>
 130 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··};</div>
91 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>131 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>
92 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga20bcb085658a3b88393e47a1d36d667c">···95</a></span>··<span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01396.html">DVVerbType</a>·<a·class="code·hl_variable"·hr[·...·truncated·by·diffoscope;·len:·62,·SHA:·f63c628380cd8fdae67b0717707353d9186ffc9490744a92b7ad1bcd09e8f633·...·];</div>132 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span>&lt;·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision1,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype[·...·truncated·by·diffoscope;·len:·27,·SHA:·499312bf15fbc32effbbd7a19fa14233d289a287476fc62e7ee1ec25112a9a35·...·];</div>
 133 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno"><a·class="line"·href="a01840.html">···80</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;precision1&gt;,·<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;precision2&gt;&gt;</div>
 134 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··{</div>
 135 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a01840.html#af814fa56640f9019d2b096b3aa365e0e">···82</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;(precision1·&gt;·precision2·?·precision1·:·precision2)&gt;·<a·class="code·hl_class"·href="a01832.html">PromotedType</a>;</div>
 136 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··};</div>
 137 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>
 138 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>&lt;·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision·&gt;</div>
 139 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a01844.html">···86</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;precision&gt;,<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;precision&gt;&gt;</div>
 140 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>
 141 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a01844.html#aeda98e0b61d7a6958bdd1f1ba93dfd79">···88</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01832.html">GMPField&lt;precision&gt;</a>·<a·class="code·hl_typedef"·href="a01844.html#aeda98e0b61d7a6958bdd1f1ba93dfd79">PromotedType</a>;</div>
 142 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
 143 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 144 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision,·<span·class="keyword">class</span>·T·&gt;</div>
 145 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01848.html">···92</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;precision&gt;,·T&gt;</div>
 146 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··{</div>
 147 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno"><a·class="line"·href="a01848.html#ab29744d04f497ab356bb62f42d77c866">···94</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01832.html">GMPField&lt;precision&gt;</a>·<a·class="code·hl_typedef"·href="a01848.html#ab29744d04f497ab356bb62f42d77c866">PromotedType</a>;</div>
 148 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··};</div>
93 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>149 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
94 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a00423.html#gabdcf3b4c1aefae00afd3ecaf84f755bb">··101</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef[·...·truncated·by·diffoscope;·len:·152,·SHA:·c340fc030fb43a0a753db216093380fe2db87efcecc5e8d29ab125b1024001b0·...·];</div>150 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·T,·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·precision·&gt;</div>
 151 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01852.html">···98</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a02432.html">PromotionTraits</a>&lt;T,·<a·class="code·hl_class"·href="a01832.html">GMPField</a>&lt;precision&gt;&gt;</div>
 152 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··{</div>
 153 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01852.html#af819792396739bc1bdf908b5741ae9bd">··100</a></span>····<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01832.html">GMPField&lt;precision&gt;</a>·<a·class="code·hl_typedef"·href="a01852.html#af819792396739bc1bdf908b5741ae9bd">PromotedType</a>;</div>
 154 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··};</div>
95 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div>155 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>}</div>
96 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">··107</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;VERBOSE_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL&gt;</a>·<a·class="code·hl_typedef"·href="a00423.html#ga65d14f278ea400db87ffb6a4bc7ed7b2">DVerbType</a>;</div> 
97 <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div>156 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 157 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_GMP</span></div>
98 <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno"><a·class="line"·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">··116</a></span>··<span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01396.html">DVerbType</a>·<a·class="code·hl_variable"·href="a00423.html#gab8900dadc584357856d4f6cc06324cea">dverb</a>;</div> 
99 <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>·</div> 
100 <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">··122</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·<a·class="code·hl_variable"·href="a00423.html#gaabd88387e7eb826323b9f7d3a53a283e">INFO_DEBUG_LEVEL</a>·=·3;</div> 
101 <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>·</div> 
102 <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno"><a·class="line"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">··128</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;INFO_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL&gt;</a>·<a·class="code·hl_typedef"·href="a00423.html#gab41f4590c73d6408c89475e28bf18a8e">DInfoType</a>;</div> 
103 <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>·</div> 
104 <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno"><a·class="line"·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">··140</a></span>··<span·class="keyword">extern</span>·<a·class="code·hl_class"·href="a01396.html">DInfoType</a>·<a·class="code·hl_variable"·href="a00423.html#gab5d2fce8ed49f95067d9b5b54d6f5def">dinfo</a>;</div> 
105 <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> 
106 <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno"><a·class="line"·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">··146</a></span>··<span·class="keyword">static</span>·<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·<a·class="code·hl_variable"·href="a00423.html#gaed2aba7a7e55b026716d5027406566a0">WARN_DEBUG_LEVEL</a>·=·4;</div> 
107 <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> 
108 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno"><a·class="line"·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">··152</a></span>··<span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a01396.html">DebugStream&lt;WARN_DEBUG_LEVEL,·MINIMAL_DEBUG_LEVEL&gt;</a>·<a·class="code·hl_typedef"·href="a00423.html#ga20379ab9c4472509d420e98659683fe6">DWarnType</a>;</div> 
109 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>·</div>158 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div>
Max diff block lines reached; 3895/39254 bytes (9.92%) of diff not shown.
7.91 KB
html2text {}
    
Offset 4, 155 lines modifiedOffset 4, 148 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 stdstreams.hh7 gmpfield.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
 14 ·5#ifndef·DUNE_GMPFIELD_HH
 15 ·6#define·DUNE_GMPFIELD_HH
 16 ·7
 17 ·12#include·<iostream>
 18 ·13#include·<string>
 19 ·14#include·<type_traits>
14 ·520 ·15
 21 ·16#if·HAVE_GMP·||·DOXYGEN
15 ·15#ifndef·DUNE_COMMON_STDSTREAMS_HH 
16 ·16#define·DUNE_COMMON_STDSTREAMS_HH 
17 ·1722 ·17
18 ·18#include·"debugstream.hh"23 ·18#include·<gmpxx.h>
19 ·1924 ·19
 25 ·20#include·<dune/common/promotiontraits.hh>
 26 ·21#include·<dune/common/typetraits.hh>
 27 ·22
20 ·20namespace·Dune·{28 ·23namespace·Dune
21 ·21 
22 ·66#ifndef·DUNE_MINIMAL_DEBUG_LEVEL 
23 67#define·DUNE_MINIMAL_DEBUG_LEVEL·4 
24 ·68#endif 
25 69·static·const·DebugLevel·MINIMAL_DEBUG_LEVEL·=·DUNE_MINIMAL_DEBUG_LEVEL;29 ·24{
 30 ·25
 31 ·30·template<·unsigned·int·precision·>
 32 31·class·GMPField
 33 ·32·:·public·mpf_class
 34 ·33·{
 35 ·34·typedef·mpf_class·Base;
 36 ·35
 37 ·36·public:
 38 38·GMPField·()
 39 ·39·:·Base(0,precision)
 40 ·40·{}
 41 ·41
 42 45·GMPField·(·const·char*·str·)
 43 ·46·:·Base(str,precision)
 44 ·47·{}
 45 ·48
 46 52·GMPField·(·const·std::string&·str·)
 47 ·53·:·Base(str,precision)
 48 ·54·{}
 49 ·55
 50 ·58·template<·class·T,
 51 ·59·typename·EnableIf·=·typename·std::enable_if<
 52 ·60·std::is_convertible<T,·mpf_class>::value>::type
 53 ·61·>
 54 62·GMPField·(·const·T·&v·)
 55 ·63·:·Base(·v,precision·)
 56 ·64·{}
 57 ·65
 58 ·66·//·type·conversion·operators
 59 67·operator·double·()·const
 60 ·68·{
 61 ·69·return·this->get_d();
26 ·7062 ·70·}
27 75·static·const·DebugLevel·VERY_VERBOSE_DEBUG_LEVEL·=·1; 
28 ·76 
29 81·typedef·DebugStream<VERY_VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL> 
30 DVVerbType; 
31 ·82 
32 95·extern·DVVerbType·dvverb;63 ·71
 64 ·72·};
 65 ·73
 66 ·74·template·<unsigned·int·precision>
 67 75·struct·IsNumber<GMPField<precision>>
 68 ·76·:·public·std::integral_constant<bool,·true>·{
 69 ·77·};
 70 ·78
 71 ·79·template<·unsigned·int·precision1,·unsigned·int·precision2·>
 72 80·struct·PromotionTraits<GMPField<precision1>,·GMPField<precision2>>
 73 ·81·{
 74 82·typedef·GMPField<(precision1·>·precision2·?·precision1·:·precision2)>
 75 PromotedType;
 76 ·83·};
 77 ·84
 78 ·85·template<·unsigned·int·precision·>
 79 86·struct·PromotionTraits<GMPField<precision>,GMPField<precision>>
 80 ·87·{
 81 88·typedef·GMPField<precision>·PromotedType;
 82 ·89·};
 83 ·90
 84 ·91·template<·unsigned·int·precision,·class·T·>
 85 92·struct·PromotionTraits<GMPField<precision>,·T>
 86 ·93·{
 87 94·typedef·GMPField<precision>·PromotedType;
 88 ·95·};
33 ·9689 ·96
34 101·static·const·DebugLevel·VERBOSE_DEBUG_LEVEL·=·2;90 ·97·template<·class·T,·unsigned·int·precision·>
 91 98·struct·PromotionTraits<T,·GMPField<precision>>
 92 ·99·{
 93 100·typedef·GMPField<precision>·PromotedType;
 94 ·101·};
35 ·10295 ·102}
36 107·typedef·DebugStream<VERBOSE_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DVerbType; 
37 ·10896 ·103
 97 ·104#endif·//·HAVE_GMP
38 116·extern·DVerbType·dverb; 
39 ·117 
40 122·static·const·DebugLevel·INFO_DEBUG_LEVEL·=·3; 
41 ·123 
42 128·typedef·DebugStream<INFO_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DInfoType; 
43 ·129 
44 140·extern·DInfoType·dinfo; 
45 ·141 
46 146·static·const·DebugLevel·WARN_DEBUG_LEVEL·=·4; 
47 ·147 
48 152·typedef·DebugStream<WARN_DEBUG_LEVEL,_MINIMAL_DEBUG_LEVEL>·DWarnType; 
49 ·15398 ·105
 99 ·106#endif·//·#ifndef·DUNE_GMPFIELD_HH
 100 promotiontraits.hh
 101 Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different
 102 number·types.
 103 typetraits.hh
Max diff block lines reached; 1526/8073 bytes (18.90%) of diff not shown.
10.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a00377.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·proxymemberaccess.hh·File·Reference</title>8 <title>dune-common:·function.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 42 lines modifiedOffset 63, 77 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#nested-classes">Classes</a>·&#124;
70 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
 72 <a·href="#define-members">Macros</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>73 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">proxymemberaccess.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">function.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
73 </div><!--header-->75 </div><!--header-->
74 <div·class="contents">76 <div·class="contents">
  
75 <p>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies··77 <p>Simple·base·class·templates·for·functions.··
76 <a·href="#details">More...</a></p>78 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;type_traits&gt;</code><br·/>79 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>
78 <code>#include·&lt;utility&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00113_source.html">dune/common/deprecated.hh</a>&gt;</code><br·/>
 81 <code>#include·&quot;<a·class="el"·href="a00083_source.html">typetraits.hh</a>&quot;</code><br·/>
79 </div>82 </div>
80 <p><a·href="a00377_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a00377_source.html">Go·to·the·source·code·of·this·file.</a></p>
81 <table·class="memberdecls">84 <table·class="memberdecls">
 85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
 86 Classes</h2></td></tr>
 87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01760.html">Dune::Function&lt;·Domain,·Range·&gt;</a></td></tr>
 88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·template·for·function·classes.··<a·href="a01760.html#details">More...</a><br·/></td></tr>
 89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01764.html">Dune::Function&lt;·Domain,·Range·&gt;::Traits</a></td></tr>
 91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01764.html"·title="Traits·class·containing·raw·types.">Traits</a>·class·containing·raw·types.··<a·href="a01764.html#details">More...</a><br·/></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01768.html">Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;</a></td></tr>
 94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Virtual·base·class·template·for·function·classes.··<a·href="a01768.html#details">More...</a><br·/></td></tr>
 95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 96 </table><table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
83 Namespaces</h2></td></tr>98 Namespaces</h2></td></tr>
84 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
85 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table><table·class="memberdecls">102 </table><table·class="memberdecls">
 103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
 104 Macros</h2></td></tr>
 105 <tr·class="memitem:aeca4539848c4c95eebbb2389446432c0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00377.html#aeca4539848c4c95eebbb2389446432c0">DUNE_FUNCTION_HH</a></td></tr>
 106 <tr·class="separator:aeca4539848c4c95eebbb2389446432c0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 </table><table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
89 Functions</h2></td></tr>109 Functions</h2></td></tr>
90 <tr·class="memitem:gab204e4c1df410966214b242af99406a1"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr> 
91 <tr·class="memitem:gab204e4c1df410966214b242af99406a1"><td·class="memTemplItemLeft"·align="right"·valign="top">pointer_or_proxy_holder&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00406.html#gab204e4c1df410966214b242af99406a1">Dune::handle_proxy_member_access</a>·(T·&amp;&amp;t)</td></tr> 
92 <tr·class="memdesc:gab204e4c1df410966214b242af99406a1"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Transparent·support·for·providing·member·access·to·both·lvalues·and·rvalues·(temporary·proxies).··<a·href="a00406.html#gab204e4c1df410966214b242af99406a1">More[·...·truncated·by·diffoscope;·len:·13,·SHA:·2ffae5d66f7399c7c7a4b9ca8b5c3c5b162103e2b9972f0bc8f0809d14732824·...·]</td></tr>110 <tr·class="memitem:gab09a4489130d8c57186ca1f50efd8287"><td·class="memTemplParams"·colspan="2">template&lt;typename·Domain·,·typename·Range·,·typename·F·&gt;·</td></tr>
 111 <tr·class="memitem:gab09a4489130d8c57186ca1f50efd8287"><td·class="memTemplItemLeft"·align="right"·valign="top">Impl::LambdaVirtualFunction&lt;·Domain,·Range,·std::decay_t&lt;·F·&gt;·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab09a4489130d8c57186ca1f50efd8287">Dune::makeVirtualFunction</a>·(F·&amp;&amp;f)</td></tr>
 112 <tr·class="memdesc:gab09a4489130d8c57186ca1f50efd8287"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">make·<code><a·class="el"·href="a01768.html"·title="Virtual·base·class·template·for·function·classes.">VirtualFunction</a></code>·out·of·a·function·object··<a·href="a00397.html#gab09a4489130d8c57186ca1f50efd8287">More...</a><br·/></td></tr>
93 <tr·class="separator:gab204e4c1df410966214b242af99406a1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:gab09a4489130d8c57186ca1f50efd8287"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table>114 </table>
95 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
96 <div·class="textblock"><p·>infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·</p>116 <div·class="textblock"><p·>Simple·base·class·templates·for·functions.·</p>
 117 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 118 <a·id="aeca4539848c4c95eebbb2389446432c0"·name="aeca4539848c4c95eebbb2389446432c0"></a>
 119 <h2·class="memtitle"><span·class="permalink"><a·href="#aeca4539848c4c95eebbb2389446432c0">&#9670;&nbsp;</a></span>DUNE_FUNCTION_HH</h2>
  
 120 <div·class="memitem">
 121 <div·class="memproto">
 122 ······<table·class="memname">
 123 ········<tr>
 124 ··········<td·class="memname">#define·DUNE_FUNCTION_HH</td>
 125 ········</tr>
 126 ······</table>
 127 </div><div·class="memdoc">
  
 128 </div>
 129 </div>
97 </div></div><!--·contents·-->130 </div><!--·contents·-->
98 <!--·start·footer·part·-->131 <!--·start·footer·part·-->
99 <hr·class="footer"/><address·class="footer"><small>132 <hr·class="footer"/><address·class="footer"><small>
100 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4133 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
101 </small></address>134 </small></address>
102 </body>135 </body>
103 </html>136 </html>
1.89 KB
html2text {}
    
Offset 4, 30 lines modifiedOffset 4, 47 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Classes·|·Namespaces·|·Macros·|·Functions
 8 function.hh·File·Reference
 9 Common
 10 Simple·base·class·templates·for·functions.·More...
7 Namespaces·|·Functions 
8 proxymemberaccess.hh·File·Reference 
9 Common·»·Utilities·»·C++_utilities_and_backports 
10 infrastructure·for·supporting·operator->()·on·both·references·and·proxies 
11 More... 
12 #include·<type_traits> 
13 #include·<utility>11 #include·<utility>
 12 #include·<dune/common/deprecated.hh>
 13 #include·"typetraits.hh"
14 Go_to_the_source_code_of_this_file.14 Go_to_the_source_code_of_this_file.
 15 ·Classes
 16 ·class· Dune::Function<_Domain,_Range_>
 17  ·······Base·class·template·for·function·classes.·More...
 18  
 19 struct· Dune::Function<_Domain,_Range_>::Traits
 20  ·······Traits·class·containing·raw·types.·More...
 21  
 22 ·class· Dune::VirtualFunction<_DomainType,_RangeType_>
 23  ·······Virtual·base·class·template·for·function·classes.·More...
 24  
15 ·Namespaces25 ·Namespaces
16 namespace· Dune26 namespace· Dune
17  ··········Dune·namespace.27  ··········Dune·namespace.
18  28  
 29 ·Macros
 30 #define DUNE_FUNCTION_HH
 31  
19 ·Functions32 ·Functions
20 template<typename·T·> 
21 pointer_or_proxy_holder Dune::handle_proxy_member_access·(T·&&t) 
22  ·······················Transparent·support·for·providing·member·access·to 
23 ·························both·lvalues·and·rvalues·(temporary·proxies).·More...33 template<typename·Domain·,·typename·Range·,·typename·F·>
 34 Impl::LambdaVirtualFunction<·Domain,
 35 ·········Range,·std::decay_t<·F·>·> Dune::makeVirtualFunction·(F·&&f)
 36  ···································make·VirtualFunction·out·of·a·function
 37 ·····································object·More...
24  38  
25 *****·Detailed·Description·*****39 *****·Detailed·Description·*****
26 infrastructure·for·supporting·operator->()·on·both·references·and·proxies40 Simple·base·class·templates·for·functions.
 41 *****·Macro·Definition·Documentation·*****
 42 *****·◆ DUNE_FUNCTION_HH·*****
 43 #define·DUNE_FUNCTION_HH
  
27 ===============================================================================44 ===============================================================================
28 ·····Generated·by [doxygen]·1.9.445 ·····Generated·by [doxygen]·1.9.4
43.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a00377_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·proxymemberaccess.hh·Source·File</title>8 <title>dune-common:·function.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 107 lines modifiedOffset 62, 135 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">proxymemberaccess.hh</div></div>68 ··<div·class="headertitle"><div·class="title">function.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00377.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00377.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#warning·This·file·is·deprecated·after·Dune·2.7!··Use·C++·function·objects·and·std::function·stuff·instead!</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#else·</span><span·class="comment">//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_PROXYMEMBERACCESS_HH</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#undef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#endif·</span><span·class="comment">//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·DUNE_FUNCTION_HH</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno"><a·class="line"·href="a00377.html#aeca4539848c4c95eebbb2389446432c0">···12</a></span><span·class="preprocessor">#define·DUNE_FUNCTION_HH</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>
79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div>85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00113.html">dune/common/deprecated.hh</a>&gt;</span></div>
81 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00083.html">typetraits.hh</a>&quot;</span></div>
82 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
83 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··<span·class="keyword">namespace·</span>Impl·{</div>89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
84 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>
 91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·Range&gt;</div>
 92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01760.html">···37</a></span>··<span·class="keyword">class</span></div>
 93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··[[deprecated(<span·class="stringliteral">&quot;Dune::Function·is·deprecated·after·Dune·2.7.··Use·C++·&quot;</span></div>
 94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············<span·class="stringliteral">&quot;function·objects·instead!&quot;</span>)]]</div>
85 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>····<span·class="comment">//·helper·struct·to·store·a·temporary·/·proxy</span></div> 
86 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>····<span·class="comment">//·for·the·duration·of·the·member·access</span></div> 
87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="keyword">struct·</span>member_access_proxy_holder</div> 
89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····{</div> 
90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div> 
91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>······<span·class="comment">//·only·support·moving·the·temporary·into·the·holder·object</span></div> 
92 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>······member_access_proxy_holder(T&amp;&amp;·t)</div> 
93 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>········:·_t(<a·class="code·hl_namespace"·href="a00424.html">std</a>::move(t))</div>95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<a·class="code·hl_class"·href="a01760.html">Function</a></div>
94 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>······{}</div> 
95 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>·</div> 
96 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="comment">//·The·object·is·fundamentally·a·temporary,·i.e.·an·rvalue,</span></div> 
97 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="comment">//</span></div> 
98 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">const</span>·T*·operator-&gt;()<span·class="keyword">·const</span></div> 
99 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span><span·class="keyword">······</span>{</div> 
100 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>········<span·class="keywordflow">return</span>·&amp;_t;</div> 
101 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······}</div> 
102 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> 
103 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>······T·_t;</div> 
104 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div> 
105 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>····};</div>96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div>
106 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> 
107 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··}·<span·class="comment">//·end·Impl·namespace</span></div>97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::remove_cv&lt;typename·std::remove_reference&lt;·Domain·&gt;::type·&gt;::type·RawDomainType;</div>
 98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::remove_cv&lt;typename·std::remove_reference&lt;·Range·&gt;::type·&gt;::type·RawRangeType;</div>
108 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div>
109 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>·</div>101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01760.html#aee694ec3111307a12bdec1eed399965d">···48</a></span>····<span·class="keyword">typedef</span>·RawRangeType·<a·class="code·hl_typedef"·href="a01760.html#aee694ec3111307a12bdec1eed399965d">RangeType</a>;</div>
110 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div> 
111 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> 
112 <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="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01760.html#ab05c710b26671cefdfac5a1a403aa6aa">···51</a></span>····<span·class="keyword">typedef</span>·RawDomainType·<a·class="code·hl_typedef"·href="a01760.html#ab05c710b26671cefdfac5a1a403aa6aa">DomainType</a>;</div>
113 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
114 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··pointer_or_proxy_holder</div> 
115 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a00406.html#gab204e4c1df410966214b242af99406a1">···81</a></span>··<a·class="code·hl_function"·href="a00406.html#gab204e4c1df410966214b242af99406a1">handle_proxy_member_access</a>(T&amp;&amp;·t);</div> 
116 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div>105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>
117 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span><span·class="preprocessor">#else·</span><span·class="comment">//·DOXYGEN</span></div>106 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01764.html">···54</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01764.html">Traits</a></div>
 107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····{</div>
 108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">···56</a></span>······<span·class="keyword">typedef</span>·RawDomainType·<a·class="code·hl_typedef"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">DomainType</a>;</div>
 109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01764.html#aaea602c51557193beda54005f318361e">···57</a></span>······<span·class="keyword">typedef</span>·RawRangeType·<a·class="code·hl_typedef"·href="a01764.html#aaea602c51557193beda54005f318361e">RangeType</a>;</div>
118 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div>110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····};</div>
119 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div>111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 112 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01760.html#adac10ee9c30ce5fb8162ddf6c56f4872">···66</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01760.html#adac10ee9c30ce5fb8162ddf6c56f4872">evaluate</a>(<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">Traits::DomainType</a>&amp;·x,·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01764.html#aaea602c51557193beda54005f318361e">Traits::RangeType</a>&amp;·y)·<span·class="keyword">const</span>;</div>
120 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="comment">//·This·version·matches·lvalues·(the·C++·type·deduction·rules·state·that</span></div> 
121 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="comment">//·the·T&amp;&amp;·signature·deduces·to·a·reference·iff·the·argument·is·an·lvalue).</span></div> 
122 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="comment">//·As·the·argument·is·an·lvalue,·we·do·not·have·to·worry·about·its·lifetime</span></div> 
123 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="comment">//·and·can·just·return·its·address.</span></div>113 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··};·<span·class="comment">//·end·of·Function·class</span></div>
124 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T&gt;</div> 
125 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">inline</span>·<span·class="keyword">typename</span>·std::enable_if&lt;</div> 
126 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····std::is_lvalue_reference&lt;T&gt;::value,</div>114 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div>
127 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keyword">typename</span>·std::add_pointer&lt;</div> 
128 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keyword">typename</span>·std::remove_reference&lt;</div> 
129 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>········T</div>115 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>
130 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>········&gt;::type</div> 
131 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>······&gt;::type</div>116 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div>
 117 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<a·class="code·hl_define"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">DUNE_NO_DEPRECATED_BEGIN</a></div>
 118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·DomainType,·<span·class="keyword">class</span>·RangeType&gt;</div>
 119 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01768.html">···83</a></span>··<span·class="keyword">class</span></div>
 120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··[[deprecated(<span·class="stringliteral">&quot;Dune::VirtualFunction·is·deprecated·after·Dune·2.7.··Use·C++·&quot;</span></div>
 121 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>···············<span·class="stringliteral">&quot;function·objects·and·std::function·instead!&quot;</span>)]]</div>
 122 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<a·class="code·hl_class"·href="a01768.html">VirtualFunction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01760.html">Function&lt;const·DomainType&amp;,·RangeType&amp;&gt;</a></div>
132 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>····&gt;::type</div>123 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>
133 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<a·class="code·hl_function"·href="a00406.html#gab204e4c1df410966214b242af99406a1">handle_proxy_member_access</a>(T&amp;&amp;·target)</div>124 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">public</span>:</div>
 125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01768.html#a0c59491db875413888b419291ec50b16">···89</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a01760.html">Function&lt;const·DomainType&amp;,·RangeType&amp;&gt;::Traits</a>·<a·class="code·hl_typedef"·href="a01768.html#a0c59491db875413888b419291ec50b16">Traits</a>;</div>
 126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 127 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01768.html#a30df51e33c5f7ace1cdc1dba02dc50ea">···91</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01768.html#a30df51e33c5f7ace1cdc1dba02dc50ea">~VirtualFunction</a>()·{}</div>
 128 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01768.html#a9b9122921a590c9152704edbc0476609">···98</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01768.html#a9b9122921a590c9152704edbc0476609">evaluate</a>(<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">Traits::DomainType</a>&amp;·x,·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01764.html#aaea602c51557193beda54005f318361e">Traits::RangeType</a>&amp;·y)·<span·class="keyword">const</span>·=·0;</div>
 129 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··};·<span·class="comment">//·end·of·VirtualFunction·class</span></div>
 130 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<a·class="code·hl_define"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">DUNE_NO_DEPRECATED_END</a></div>
134 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div>131 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>·</div>
135 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordflow">return</span>·&amp;target;</div>132 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··<span·class="keyword">namespace·</span>Impl·{</div>
136 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··}</div> 
137 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>133 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
138 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="comment">//·This·version·matches·rvalues·(the·C++·type·deduction·rules·state·that</span></div> 
139 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="comment">//·the·T&amp;&amp;·signature·deduces·to·a·non-reference·iff·the·argument·is·an·rvalue).</span></div> 
140 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="comment">//·In·this·case,·we·have·to·capture·the·rvalue·in·a·new·object·to·make·sure·it</span></div> 
141 <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="comment">//·is·kept·alive·for·the·duration·of·the·member·access.·For·this·purpose,·we·move</span></div> 
Max diff block lines reached; 9112/36322 bytes (25.09%) of diff not shown.
7.55 KB
html2text {}
    
Offset 4, 112 lines modifiedOffset 4, 176 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 proxymemberaccess.hh7 function.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_PROXYMEMBERACCESS_HH 
15 ·6#define·DUNE_COMMON_PROXYMEMBERACCESS_HH 
16 ·7 
17 ·14#include·<type_traits>14 ·5#ifndef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION
 15 ·6#warning·This·file·is·deprecated·after·Dune·2.7!·Use·C++·function·objects·and
 16 std::function·stuff·instead!
 17 ·7#else·//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION
 18 ·8#undef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION
 19 ·9#endif·//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION
 20 ·10
 21 ·11#ifndef·DUNE_FUNCTION_HH
 22 12#define·DUNE_FUNCTION_HH
 23 ·13
18 ·15#include·<utility>24 ·14#include·<utility>
19 ·16 
20 ·17namespace·Dune·{25 ·15
 26 ·16#include·<dune/common/deprecated.hh>
 27 ·17#include·"typetraits.hh"
21 ·1828 ·18
22 ·19·namespace·Impl·{29 ·19namespace·Dune·{
23 ·2030 ·20
 31 ·36·template·<class·Domain,·class·Range>
 32 37·class
 33 ·38·[[deprecated("Dune::Function·is·deprecated·after·Dune·2.7.·Use·C++·"
 34 ·39·"function·objects·instead!")]]
 35 ·40·Function
 36 ·41·{
 37 ·42·typedef·typename·std::remove_cv<typename·std::remove_reference<·Domain·>::
 38 type·>::type·RawDomainType;
 39 ·43·typedef·typename·std::remove_cv<typename·std::remove_reference<·Range·>::
 40 type·>::type·RawRangeType;
24 ·21·//·helper·struct·to·store·a·temporary·/·proxy 
25 ·22·//·for·the·duration·of·the·member·access 
26 ·23·template<typename·T> 
27 ·24·struct·member_access_proxy_holder 
28 ·25·{ 
29 ·26 
30 ·27·//·only·support·moving·the·temporary·into·the·holder·object 
31 ·28·member_access_proxy_holder(T&&·t) 
32 ·29·:·_t(std::move(t)) 
33 ·30·{} 
34 ·31 
35 ·32·//·The·object·is·fundamentally·a·temporary,·i.e.·an·rvalue, 
36 ·33·// 
37 ·34·const·T*·operator->()·const 
38 ·35·{ 
39 ·36·return·&_t; 
40 ·37·} 
41 ·38 
42 ·39·T·_t; 
43 ·40 
44 ·41·}; 
45 ·42 
46 ·43·}·//·end·Impl·namespace 
47 ·4441 ·44
48 ·45 
49 ·46#ifdef·DOXYGEN 
50 ·4742 ·45·public:
 43 ·46
 44 48·typedef·RawRangeType·RangeType;
51 ·4945 ·49
52 ·79·template<typename·T> 
53 ·80·pointer_or_proxy_holder 
54 81·handle_proxy_member_access(T&&·t); 
55 ·82 
56 ·83#else·//·DOXYGEN 
57 ·84 
58 ·85 
59 ·86·//·This·version·matches·lvalues·(the·C++·type·deduction·rules·state·that 
60 ·87·//·the·T&&·signature·deduces·to·a·reference·iff·the·argument·is·an·lvalue). 
61 ·88·//·As·the·argument·is·an·lvalue,·we·do·not·have·to·worry·about·its·lifetime 
62 ·89·//·and·can·just·return·its·address. 
63 ·90·template<typename·T> 
64 ·91·inline·typename·std::enable_if< 
65 ·92·std::is_lvalue_reference<T>::value, 
66 ·93·typename·std::add_pointer< 
67 ·94·typename·std::remove_reference< 
68 ·95·T 
69 ·96·>::type 
70 ·97·>::type 
71 ·98·>::type 
72 ·99·handle_proxy_member_access(T&&·target) 
73 ·100·{ 
74 ·101·return·&target; 
75 ·102·}46 51·typedef·RawDomainType·DomainType;
 47 ·52
 48 54·struct·Traits
 49 ·55·{
 50 56·typedef·RawDomainType·DomainType;
 51 57·typedef·RawRangeType·RangeType;
 52 ·58·};
 53 ·59
 54 66·void·evaluate(const·typename·Traits::DomainType&·x,·typename·Traits::
 55 RangeType&·y)·const;
 56 ·67·};·//·end·of·Function·class
 57 ·68
 58 ·69
 59 ·70
 60 ·71·DUNE_NO_DEPRECATED_BEGIN
 61 ·82·template·<class·DomainType,·class·RangeType>
 62 83·class
 63 ·84·[[deprecated("Dune::VirtualFunction·is·deprecated·after·Dune·2.7.·Use·C++·"
 64 ·85·"function·objects·and·std::function·instead!")]]
 65 ·86·VirtualFunction·:·public·Function<const_DomainType&,_RangeType&>
 66 ·87·{
 67 ·88·public:
 68 89·typedef·typename·Function<const_DomainType&,_RangeType&>::Traits·Traits;
 69 ·90
 70 91·virtual·~VirtualFunction()·{}
 71 98·virtual·void·evaluate(const·typename·Traits::DomainType&·x,·typename
 72 Traits::RangeType&·y)·const·=·0;
 73 ·99·};·//·end·of·VirtualFunction·class
 74 ·100·DUNE_NO_DEPRECATED_END
Max diff block lines reached; 3926/7711 bytes (50.91%) of diff not shown.
1.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a00380.html
    
Offset 73, 16 lines modifiedOffset 73, 16 lines modified
73 <code>#include·&lt;iostream&gt;</code><br·/>73 <code>#include·&lt;iostream&gt;</code><br·/>
74 <code>#include·&lt;ostream&gt;</code><br·/>74 <code>#include·&lt;ostream&gt;</code><br·/>
75 <code>#include·&lt;string&gt;</code><br·/>75 <code>#include·&lt;string&gt;</code><br·/>
76 <code>#include·&lt;sstream&gt;</code><br·/>76 <code>#include·&lt;sstream&gt;</code><br·/>
77 <code>#include·&lt;fstream&gt;</code><br·/>77 <code>#include·&lt;fstream&gt;</code><br·/>
78 <code>#include·&lt;set&gt;</code><br·/>78 <code>#include·&lt;set&gt;</code><br·/>
79 <code>#include·&lt;algorithm&gt;</code><br·/>79 <code>#include·&lt;algorithm&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code><br·/>
82 </div></div><!--·contents·-->82 </div></div><!--·contents·-->
83 <!--·start·footer·part·-->83 <!--·start·footer·part·-->
84 <hr·class="footer"/><address·class="footer"><small>84 <hr·class="footer"/><address·class="footer"><small>
85 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.485 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
86 </small></address>86 </small></address>
87 </body>87 </body>
88 </html>88 </html>
11.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00383.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·classname.hh·File·Reference</title>8 <title>dune-common:·path.cc·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 47 lines modifiedOffset 65, 57 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#namespaces">Namespaces</a>·&#124;70 <a·href="#namespaces">Namespaces</a>·&#124;
71 <a·href="#func-members">Functions</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
72 ··<div·class="headertitle"><div·class="title">classname.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">path.cc·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00400.html">Filesystem·Paths</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.··75 <p>Utilities·for·handling·filesystem·paths.··
76 <a·href="#details">More...</a></p>76 <a·href="#details">More...</a></p>
77 <div·class="textblock"><code>#include·&lt;cstdlib&gt;</code><br·/>77 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
78 <code>#include·&lt;memory&gt;</code><br·/>78 <code>#include·&lt;iterator&gt;</code><br·/>
79 <code>#include·&lt;string&gt;</code><br·/>79 <code>#include·&lt;string&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/stringutility.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00176_source.html">dune/common/path.hh</a>&gt;</code><br·/>
80 <code>#include·&lt;typeinfo&gt;</code><br·/> 
81 <code>#include·&lt;type_traits&gt;</code><br·/> 
82 </div> 
83 <p><a·href="a00383_source.html">Go·to·the·source·code·of·this·file.</a></p> 
84 <table·class="memberdecls">83 </div><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
86 Namespaces</h2></td></tr>85 Namespaces</h2></td></tr>
87 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>86 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
88 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>87 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
92 Functions</h2></td></tr>91 Functions</h2></td></tr>
93 <tr·class="memitem:a33ac30656648b528235c913852c28ac7"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
94 <tr·class="memitem:a33ac30656648b528235c913852c28ac7"><td·class="memTemplItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a33ac30656648b528235c913852c28ac7">Dune::className</a>·()</td></tr> 
95 <tr·class="memdesc:a33ac30656648b528235c913852c28ac7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provide·the·demangled·class·name·of·a·type·T·as·a·string.··<a·href="a00425.html#a33ac30656648b528235c913852c28ac7">More...</a><br·/></td></tr>92 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">Dune::concatPaths</a>·(const·std:[·...·truncated·by·diffoscope;·len:·44,·SHA:·17151cf494c516ead6177291f9fd3baa7123b51af7c7d15b4ee6e2a74bc19c72·...·]</td></tr>
 93 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<a·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">More...</a><br·/></td></tr>
 94 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 95 <tr·class="memitem:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">Dune::processPath</a>·(const·std::string·&amp;p)</td></tr>
 96 <tr·class="memdesc:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">sanitize·a·path·for·further·processing··<a·href="a00400.html#ga1b4c87bd874abdd0db9f6dc51d9588b0">More...</a><br·/></td></tr>
 97 <tr·class="separator:ga1b4c87bd874abdd0db9f6dc51d9588b0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 98 <tr·class="memitem:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">Dune::pathIndicatesDirectory</a>·(const·std::string·&amp;p)</td></tr>
 99 <tr·class="memdesc:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">check·whether·the·given·path·indicates·that·it·is·a·directory··<a·href="a00400.html#ga1d1669ed8677a07b152b1de21640b3f9">More...</a><br·/></td></tr>
96 <tr·class="separator:a33ac30656648b528235c913852c28ac7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:ga1d1669ed8677a07b152b1de21640b3f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr> 
98 <tr·class="memitem:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memTemplItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00425.html#a1d7665500285ebc74f89523cb8cf4fae">Dune::className</a>·(T·&amp;&amp;v)</td></tr> 
99 <tr·class="memdesc:a1d7665500285ebc74f89523cb8cf4fae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provide·the·demangled·class·name·of·a·given·object·as·a·string.··<a·href="a00425.html#a1d7665500285ebc74f89523cb8cf4fae">More...</a><br·/></td></tr>101 <tr·class="memitem:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">Dune::prettyPath</a>·(const·std::[·...·truncated·by·diffoscope;·len:·32,·SHA:·e6db8458548123a04ae90ba074d5da9583fb1f313913fb87b88e8fac61d2d65f·...·]</td></tr>
 102 <tr·class="memdesc:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<a·href="a00400.html#gaa9908e9eb153f3d37d7c7063ffc9b6a2">More...</a><br·/></td></tr>
 103 <tr·class="separator:gaa9908e9eb153f3d37d7c7063ffc9b6a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8">Dune::prettyPath</a>·(const·std::string·&amp;p)</td></tr>
 105 <tr·class="memdesc:gae07624c824232706454d5d6d1d1cb5c8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">pretty·print·path··<a·href="a00400.html#gae07624c824232706454d5d6d1d1cb5c8">More...</a><br·/></td></tr>
 106 <tr·class="separator:gae07624c824232706454d5d6d1d1cb5c8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 107 <tr·class="memitem:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">Dune::relativePath</a>·(const·std::string·&amp;newbase,·const·std::string·&amp;p)</td></tr>
 108 <tr·class="memdesc:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">compute·a·relative·path·between·two·paths··<a·href="a00400.html#gab2ce1b1de5e4a5c74802d615b4027a7b">More...</a><br·/></td></tr>
100 <tr·class="separator:a1d7665500285ebc74f89523cb8cf4fae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:gab2ce1b1de5e4a5c74802d615b4027a7b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
101 </table>110 </table>
102 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
103 <div·class="textblock"><p·>A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.·</p>112 <div·class="textblock"><p·>Utilities·for·handling·filesystem·paths.·</p>
 113 <dl·class="section·author"><dt>Author</dt><dd>Jö·Fahlke·<a·href="#"·onclick="location.href='mai'+'lto:'+'jor'+'ri'+'t@j'+'or'+'rit'+'.d'+'e';·return·false;">jorri<span·class="obfuscator">.nosp@m.</span>t@jo<span·class="obfuscator">.nosp@m.</span>rrit.<span·class="obfuscator">.nosp@m.</span>de</a>·</dd></dl>
104 </div></div><!--·contents·-->114 </div></div><!--·contents·-->
105 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>118 </small></address>
109 </body>119 </body>
110 </html>120 </html>
45.0 B
encoding
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 us-ascii1 utf-8
2.08 KB
html2text {}
    
Offset 5, 36 lines modifiedOffset 5, 48 lines modified
  
5 dune-common 2.9.05 dune-common 2.9.0
  
  
6 ····*·dune6 ····*·dune
7 ····*·common7 ····*·common
8 Namespaces·|·Functions8 Namespaces·|·Functions
9 classname.hh·File·Reference 
10 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type 
11 as·a·string.·More... 
12 #include·<cstdlib>9 path.cc·File·Reference
 10 Common·»·Utilities·»·Filesystem_Paths
 11 Utilities·for·handling·filesystem·paths.·More...
 12 #include·<algorithm>
13 #include·<memory>13 #include·<iterator>
14 #include·<string>14 #include·<string>
15 #include·<typeinfo> 
16 #include·<type_traits> 
17 Go_to_the_source_code_of_this_file.15 #include·<dune/common/exceptions.hh>
 16 #include·<dune/common/stringutility.hh>
 17 #include·<dune/common/path.hh>
18 ·Namespaces18 ·Namespaces
19 namespace· Dune19 namespace· Dune
20  ··········Dune·namespace.20  ··········Dune·namespace.
21  21  
22 ·Functions22 ·Functions
 23 std::string Dune::concatPaths·(const·std::string·&base,·const·std::string·&p)
 24  ···········concatenate·two·paths·More...
23 template<class·T·> 
24 std::string Dune::className·() 
25  ···········Provide·the·demangled·class·name·of·a·type·T·as·a·string.·More... 
26  25  
27 template<class·T·> 
28 std::string Dune::className·(T·&&v) 
29  ···········Provide·the·demangled·class·name·of·a·given·object·as·a·string.26 std::string Dune::processPath·(const·std::string·&p)
 27  ···········sanitize·a·path·for·further·processing·More...
 28  
 29 ·······bool Dune::pathIndicatesDirectory·(const·std::string·&p)
 30  ···········check·whether·the·given·path·indicates·that·it·is·a·directory
30 ·············More...31 ·············More...
31  32  
 33 std::string Dune::prettyPath·(const·std::string·&p,·bool·isDirectory)
 34  ···········pretty·print·path·More...
 35  
 36 std::string Dune::prettyPath·(const·std::string·&p)
 37  ···········pretty·print·path·More...
 38  
 39 std::string Dune::relativePath·(const·std::string·&newbase,·const·std::string
 40 ·············&p)
 41  ···········compute·a·relative·path·between·two·paths·More...
 42  
32 *****·Detailed·Description·*****43 *****·Detailed·Description·*****
33 A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type 
34 as·a·string.44 Utilities·for·handling·filesystem·paths.
 45 ··Author
 46 ·······Fahlke·jorri.nosp@m.t@jo.nosp@m.rrit..nosp@m.de
  
35 ===============================================================================47 ===============================================================================
36 ·····Generated·by [doxygen]·1.9.448 ·····Generated·by [doxygen]·1.9.4
18.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00386.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·function.hh·File·Reference</title>8 <title>dune-common:·poolallocator.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 75 lines modifiedOffset 65, 84 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#define-members">Macros</a>·&#124; 
73 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
74 ··<div·class="headertitle"><div·class="title">function.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">poolallocator.hh·File·Reference</div></div>
75 </div><!--header-->74 </div><!--header-->
76 <div·class="contents">75 <div·class="contents">
  
77 <p>Simple·base·class·templates·for·functions.··76 <p>An·stl-compliant·pool·allocator.··
78 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
79 <div·class="textblock"><code>#include·&lt;utility&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;numeric&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00299_source.html">dune/common/deprecated.hh</a>&gt;</code><br·/> 
81 <code>#include·&quot;<a·class="el"·href="a00224_source.html">typetraits.hh</a>&quot;</code><br·/>79 <code>#include·&lt;typeinfo&gt;</code><br·/>
 80 <code>#include·&lt;iostream&gt;</code><br·/>
 81 <code>#include·&lt;cassert&gt;</code><br·/>
 82 <code>#include·&lt;new&gt;</code><br·/>
82 </div>83 </div>
83 <p><a·href="a00386_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00386_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">85 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
86 Classes</h2></td></tr>87 Classes</h2></td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01760.html">Dune::Function&lt;·Domain,·Range·&gt;</a></td></tr>88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02392.html">Dune::Pool&lt;·T,·s·&gt;</a></td></tr>
88 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·template·for·function·classes.··<a·href="a01760.html#details">More...</a><br·/></td></tr>89 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·memory·pool·of·objects.··<a·href="a02392.html#details">More...</a><br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01764.html">Dune::Function&lt;·Domain,·Range·&gt;::Traits</a></td></tr>91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02396.html">Dune::PoolAllocator&lt;·T,·s·&gt;</a></td></tr>
91 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a01764.html"·title="Traits·class·containing·raw·types.">Traits</a>·class·containing·raw·types.··<a·href="a01764.html#details">More...</a><br·/></td></tr>92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">An·allocator·managing·a·pool·of·objects·for·reuse.··<a·href="a02396.html#details">More...</a><br·/></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02408.html">Dune::PoolAllocator&lt;·T,·s·&gt;::rebind&lt;·U·&gt;</a></td></tr>
 95 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Rebind·the·allocator·to·another·type.··<a·href="a02408.html#details">More...</a><br·/></td></tr>
 96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01768.html">Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02412.html">Dune::PoolAllocator&lt;·void,·s·&gt;</a></td></tr>
94 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Virtual·base·class·template·for·function·classes.··<a·href="a01768.html#details">More...</a><br·/></td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02416.html">Dune::PoolAllocator&lt;·void,·s·&gt;::rebind&lt;·U·&gt;</a></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>100 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">101 </table><table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>102 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
98 Namespaces</h2></td></tr>103 Namespaces</h2></td></tr>
99 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>104 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
100 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>105 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 </table><table·class="memberdecls"> 
103 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a> 
104 Macros</h2></td></tr> 
105 <tr·class="memitem:aeca4539848c4c95eebbb2389446432c0"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00386.html#aeca4539848c4c95eebbb2389446432c0">DUNE_FUNCTION_HH</a></td></tr>107 <tr·class="memitem:a00424"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00424.html">std</a></td></tr>
 108 <tr·class="memdesc:a00424"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">STL·namespace.·<br·/></td></tr>
106 <tr·class="separator:aeca4539848c4c95eebbb2389446432c0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table><table·class="memberdecls">110 </table><table·class="memberdecls">
108 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>111 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
109 Functions</h2></td></tr>112 Functions</h2></td></tr>
110 <tr·class="memitem:gab09a4489130d8c57186ca1f50efd8287"><td·class="memTemplParams"·colspan="2">template&lt;typename·Domain·,·typename·Range·,·typename·F·&gt;·</td></tr> 
111 <tr·class="memitem:gab09a4489130d8c57186ca1f50efd8287"><td·class="memTemplItemLeft"·align="right"·valign="top">Impl::LambdaVirtualFunction&lt;·Domain,·Range,·std::decay_t&lt;·F·&gt;·&gt;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gab09a4489130d8c57186ca1f50efd8287">Dune::makeVirtualFunction</a>·(F·&amp;&amp;f)</td></tr> 
112 <tr·class="memdesc:gab09a4489130d8c57186ca1f50efd8287"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">make·<code><a·class="el"·href="a01768.html"·title="Virtual·base·class·template·for·function·classes.">VirtualFunction</a></code>·out·of·a·function·object··<a·h[·...·truncated·by·diffoscope;·len:·70,·SHA:·e097f0ec590de352163fdcfb6cf3f1b3381f85f8479a1a0ba52a89d7579a742e·...·]</td></tr>113 <tr·class="memitem:ga67f486062c5bfb92aa3365373d491836"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2&gt;·</td></tr>
 114 <tr·class="memitem:ga67f486062c5bfb92aa3365373d491836"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#ga67f486062c5bfb92aa3365373d491836">Dune::operator==</a>·(const·PoolAllocator&lt;·T1,·t1·&gt;·&amp;,·const·PoolAllocator&lt;·T2,·t2·&gt;·&amp;)</td></tr>
 115 <tr·class="separator:ga67f486062c5bfb92aa3365373d491836"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memTemplParams"·colspan="2">template&lt;typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2&gt;·</td></tr>
 117 <tr·class="memitem:gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#gaf0e4942c0493dceaf371ba9f0ec29ab6">Dune::operator!=</a>·(const·PoolAllocator&lt;·T1,·t1·&gt;·&amp;,·const·PoolAllocator&lt;·T2,·t2·&gt;·&amp;)</td></tr>
 118 <tr·class="separator:gaf0e4942c0493dceaf371ba9f0ec29ab6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 119 <tr·class="memitem:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 120 <tr·class="memitem:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#gab6358d63f2012e81c5066d6c6d9cb94a">Dune::operator==</a>·(const·PoolAllocator&lt;·T,·t1·&gt;·&amp;p1,·const·PoolAllocator&lt;·T,·t2·&gt;·&amp;p2)</td></tr>
113 <tr·class="separator:gab09a4489130d8c57186ca1f50efd8287"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:gab6358d63f2012e81c5066d6c6d9cb94a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 122 <tr·class="memitem:ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 123 <tr·class="memitem:ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#ga2c515ca850107e6807b75f4d90ca4dcc">Dune::operator!=</a>·(const·PoolAllocator&lt;·T,·t1·&gt;·&amp;p1,·const·PoolAllocator&lt;·T,·t2·&gt;·&amp;p2)</td></tr>
 124 <tr·class="separator:ga2c515ca850107e6807b75f4d90ca4dcc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 125 <tr·class="memitem:gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 126 <tr·class="memitem:gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#gab00b326f648ee860460ddeec2f4b6d3b">Dune::operator==</a>·(const·PoolAllocator&lt;·void,·t1·&gt;·&amp;,·const·PoolAllocator&lt;·T,·t2·&gt;·&amp;)</td></tr>
 127 <tr·class="separator:gab00b326f648ee860460ddeec2f4b6d3b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·,·std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 129 <tr·class="memitem:gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#gace25a69f0bcd5ba1fffd567af1d9a9cf">Dune::operator!=</a>·(const·PoolAllocator&lt;·void,·t1·&gt;·&amp;,·const·PoolAllocator&lt;·T,·t2·&gt;·&amp;)</td></tr>
 130 <tr·class="separator:gace25a69f0bcd5ba1fffd567af1d9a9cf"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 131 <tr·class="memitem:ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 132 <tr·class="memitem:ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#ga5bc475e78eb7d029ee0782eab49d5938">Dune::operator==</a>·(const·PoolAllocator&lt;·void,·t1·&gt;·&amp;p1,·const·PoolAllocator&lt;·void,·t2·&gt;·&amp;p2)</td></tr>
 133 <tr·class="separator:ga5bc475e78eb7d029ee0782eab49d5938"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 134 <tr·class="memitem:ga6795aefd733bd618db889c6f15f1552f"><td·class="memTemplParams"·colspan="2">template&lt;std::size_t·t1,·std::size_t·t2&gt;·</td></tr>
 135 <tr·class="memitem:ga6795aefd733bd618db889c6f15f1552f"><td·class="memTemplItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00398.html#ga6795aefd733bd618db889c6f15f1552f">Dune::operator!=</a>·(const·PoolAllocator&lt;·void,·t1·&gt;·&amp;p1,·const·PoolAllocator&lt;·void,·t2·&gt;·&amp;p2)</td></tr>
 136 <tr·class="separator:ga6795aefd733bd618db889c6f15f1552f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table>137 </table>
115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>138 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
 139 <div·class="textblock"><p·>An·stl-compliant·pool·allocator.·</p>
 140 <p·>This·file·implements·the·classes·Pool·and·PoolAllocator·providing·memory·allocation·for·objects·in·chunks.·</p><dl·class="section·author"><dt>Author</dt><dd>Markus·Blatt·</dd></dl>
116 <div·class="textblock"><p·>Simple·base·class·templates·for·functions.·</p> 
117 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
118 <a·id="aeca4539848c4c95eebbb2389446432c0"·name="aeca4539848c4c95eebbb2389446432c0"></a> 
119 <h2·class="memtitle"><span·class="permalink"><a·href="#aeca4539848c4c95eebbb2389446432c0">&#9670;&nbsp;</a></span>DUNE_FUNCTION_HH</h2> 
  
120 <div·class="memitem"> 
121 <div·class="memproto"> 
122 ······<table·class="memname"> 
123 ········<tr> 
124 ··········<td·class="memname">#define·DUNE_FUNCTION_HH</td> 
125 ········</tr> 
126 ······</table> 
127 </div><div·class="memdoc"> 
  
128 </div> 
129 </div> 
130 </div><!--·contents·-->141 </div></div><!--·contents·-->
131 <!--·start·footer·part·-->142 <!--·start·footer·part·-->
132 <hr·class="footer"/><address·class="footer"><small>143 <hr·class="footer"/><address·class="footer"><small>
133 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4144 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
134 </small></address>145 </small></address>
135 </body>146 </body>
136 </html>147 </html>
3.38 KB
html2text {}
    
Offset 4, 47 lines modifiedOffset 4, 79 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Macros·|·Functions7 Classes·|·Namespaces·|·Functions
8 function.hh·File·Reference 
9 Common 
10 Simple·base·class·templates·for·functions.·More... 
11 #include·<utility> 
12 #include·<dune/common/deprecated.hh> 
13 #include·"typetraits.hh"8 poolallocator.hh·File·Reference
 9 An·stl-compliant·pool·allocator.·More...
 10 #include·<numeric>
 11 #include·<typeinfo>
 12 #include·<iostream>
 13 #include·<cassert>
 14 #include·<new>
14 Go_to_the_source_code_of_this_file.15 Go_to_the_source_code_of_this_file.
15 ·Classes16 ·Classes
16 ·class· Dune::Function<_Domain,_Range_> 
17  ·······Base·class·template·for·function·classes.·More...17 ·class· Dune::Pool<_T,_s_>
 18  ·······A·memory·pool·of·objects.·More...
18  19  
19 struct· Dune::Function<_Domain,_Range_>::Traits 
20  ·······Traits·class·containing·raw·types.·More...20 ·class· Dune::PoolAllocator<_T,_s_>
 21  ·······An·allocator·managing·a·pool·of·objects·for·reuse.·More...
21  22  
22 ·class· Dune::VirtualFunction<_DomainType,_RangeType_> 
23  ·······Virtual·base·class·template·for·function·classes.·More...23 struct· Dune::PoolAllocator<_T,_s_>::rebind<_U_>
 24  ·······Rebind·the·allocator·to·another·type.·More...
 25  
 26 ·class· Dune::PoolAllocator<_void,_s_>
 27  
 28 struct· Dune::PoolAllocator<_void,_s_>::rebind<_U_>
24  29  
25 ·Namespaces30 ·Namespaces
26 namespace· Dune31 namespace· Dune
27  ··········Dune·namespace.32  ··········Dune·namespace.
28  33  
29 ·Macros 
30 #define DUNE_FUNCTION_HH34 namespace· std
 35  ··········STL·namespace.
31  36  
32 ·Functions37 ·Functions
33 template<typename·Domain·,·typename·Range·,·typename·F·> 
34 Impl::LambdaVirtualFunction<·Domain, 
35 ·········Range,·std::decay_t<·F·>·> Dune::makeVirtualFunction·(F·&&f) 
36  ···································make·VirtualFunction·out·of·a·function 
37 ·····································object·More...38 template<typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2>
 39 bool Dune::operator==·(const·PoolAllocator<·T1,·t1·>·&,·const·PoolAllocator<
 40 ······T2,·t2·>·&)
 41  
 42 template<typename·T1·,·std::size_t·t1,·typename·T2·,·std::size_t·t2>
 43 bool Dune::operator!=·(const·PoolAllocator<·T1,·t1·>·&,·const·PoolAllocator<
 44 ······T2,·t2·>·&)
 45  
 46 template<typename·T·,·std::size_t·t1,·std::size_t·t2>
 47 bool Dune::operator==·(const·PoolAllocator<·T,·t1·>·&p1,·const·PoolAllocator<
 48 ······T,·t2·>·&p2)
 49  
 50 template<typename·T·,·std::size_t·t1,·std::size_t·t2>
 51 bool Dune::operator!=·(const·PoolAllocator<·T,·t1·>·&p1,·const·PoolAllocator<
 52 ······T,·t2·>·&p2)
 53  
 54 template<typename·T·,·std::size_t·t1,·std::size_t·t2>
 55 bool Dune::operator==·(const·PoolAllocator<·void,·t1·>·&,·const·PoolAllocator<
 56 ······T,·t2·>·&)
 57  
 58 template<typename·T·,·std::size_t·t1,·std::size_t·t2>
 59 bool Dune::operator!=·(const·PoolAllocator<·void,·t1·>·&,·const·PoolAllocator<
 60 ······T,·t2·>·&)
 61  
 62 template<std::size_t·t1,·std::size_t·t2>
 63 bool Dune::operator==·(const·PoolAllocator<·void,·t1·>·&p1,·const
 64 ······PoolAllocator<·void,·t2·>·&p2)
 65  
 66 template<std::size_t·t1,·std::size_t·t2>
 67 bool Dune::operator!=·(const·PoolAllocator<·void,·t1·>·&p1,·const
 68 ······PoolAllocator<·void,·t2·>·&p2)
38  69  
39 *****·Detailed·Description·*****70 *****·Detailed·Description·*****
40 Simple·base·class·templates·for·functions. 
41 *****·Macro·Definition·Documentation·***** 
42 *****·◆ DUNE_FUNCTION_HH·***** 
43 #define·DUNE_FUNCTION_HH71 An·stl-compliant·pool·allocator.
 72 This·file·implements·the·classes·Pool·and·PoolAllocator·providing·memory
 73 allocation·for·objects·in·chunks.
 74 ··Author
 75 ······Markus·Blatt
  
44 ===============================================================================76 ===============================================================================
45 ·····Generated·by [doxygen]·1.9.477 ·····Generated·by [doxygen]·1.9.4
131 KB
./usr/share/doc/libdune-common-doc/doxygen/a00386_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·function.hh·Source·File</title>8 <title>dune-common:·poolallocator.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 135 lines modifiedOffset 62, 461 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">function.hh</div></div>68 ··<div·class="headertitle"><div·class="title">poolallocator.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00386.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00386.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_POOLALLOCATOR_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#warning·This·file·is·deprecated·after·Dune·2.7!··Use·C++·function·objects·and·std::function·stuff·instead!</span></div> 
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span><span·class="preprocessor">#else·</span><span·class="comment">//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION</span></div> 
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#undef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_POOLALLOCATOR_HH</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#endif·</span><span·class="comment">//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION</span></div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;numeric&gt;</span></div>
 79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;typeinfo&gt;</span></div>
 80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
 81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
 82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;new&gt;</span></div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#ifndef·DUNE_FUNCTION_HH</span></div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div>
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno"><a·class="line"·href="a00386.html#aeca4539848c4c95eebbb2389446432c0">···12</a></span><span·class="preprocessor">#define·DUNE_FUNCTION_HH</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>·</div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="comment">//·forward·declarations.</span></div>
 86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="comment">//·we·need·to·know·the·test·function·to·declare·it·friend</span></div>
 87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·size,·<span·class="keyword">typename</span>·T&gt;</div>
 88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="keyword">struct·</span>testPoolMain;</div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#endif</span></div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00299.html">dune/common/deprecated.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00224.html">typetraits.hh</a>&quot;</span></div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>·</div>90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
91 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·Domain,·<span·class="keyword">class</span>·Range&gt;</div> 
92 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a01760.html">···37</a></span>··<span·class="keyword">class</span></div> 
93 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··[[deprecated(<span·class="stringliteral">&quot;Dune::Function·is·deprecated·after·Dune·2.7.··Use·C++·&quot;</span></div> 
94 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>···············<span·class="stringliteral">&quot;function·objects·instead!&quot;</span>)]]</div> 
95 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··<a·class="code·hl_class"·href="a01760.html">Function</a></div>91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
96 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··{</div> 
97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::remove_cv&lt;typename·std::remove_reference&lt;·Domain·&gt;::type·&gt;::type·RawDomainType;</div> 
98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::remove_cv&lt;typename·std::remove_reference&lt;·Range·&gt;::type·&gt;::type·RawRangeType;</div> 
99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div> 
100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div> 
101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>
102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="a01760.html#aee694ec3111307a12bdec1eed399965d">···48</a></span>····<span·class="keyword">typedef</span>·RawRangeType·<a·class="code·hl_typedef"·href="a01760.html#aee694ec3111307a12bdec1eed399965d">RangeType</a>;</div> 
103 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> 
104 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01760.html#ab05c710b26671cefdfac5a1a403aa6aa">···51</a></span>····<span·class="keyword">typedef</span>·RawDomainType·<a·class="code·hl_typedef"·href="a01760.html#ab05c710b26671cefdfac5a1a403aa6aa">DomainType</a>;</div> 
105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div>93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
 94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·std::<span·class="keywordtype">size_t</span>·s&gt;</div>
 95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··<span·class="keyword">class·</span>Pool;</div>
 96 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
 97 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·T,·std::<span·class="keywordtype">size_t</span>·s&gt;</div>
 98 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">class·</span>PoolAllocator;</div>
 99 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
 100 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>}</div>
 101 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
106 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="a01764.html">···54</a></span>····<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01764.html">Traits</a></div>102 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00424.html">std</a></div>
 103 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>{</div>
 104 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="comment">/*</span></div>
 105 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="comment">·····template&lt;class·T,·std::size_t·S&gt;</span></div>
 106 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">·····inline·ostream&amp;·operator&lt;&lt;(ostream&amp;·os,·Dune::Pool&lt;T,S&gt;&amp;·pool)</span></div>
 107 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">·····{</span></div>
 108 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="comment">·····os&lt;&lt;&quot;pool=&quot;&lt;&lt;&amp;pool&lt;&lt;&quot;·allocated_=&quot;&lt;&lt;pool.allocated_;</span></div>
 109 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">·····return·os;</span></div>
 110 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">·····}</span></div>
 111 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment"></span>·</div>
 112 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">·····template&lt;class·T,·std::size_t·S&gt;</span></div>
 113 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="comment">·····inline·ostream&amp;·operator&lt;&lt;(ostream&amp;·os,·Dune::PoolAllocator&lt;T,S&gt;&amp;·pool)</span></div>
 114 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span><span·class="comment">·····{</span></div>
 115 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span><span·class="comment">·····os&lt;&lt;pool.memoryPool_&lt;&lt;std::endl;</span></div>
 116 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">·····return·os;</span></div>
 117 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">·····}</span></div>
 118 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="comment">···*/</span></div>
 119 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>}</div>
 120 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>
107 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····{</div>121 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 122 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
108 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno"><a·class="line"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">···56</a></span>······<span·class="keyword">typedef</span>·RawDomainType·<a·class="code·hl_typedef"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">DomainType</a>;</div> 
109 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a01764.html#aaea602c51557193beda54005f318361e">···57</a></span>······<span·class="keyword">typedef</span>·RawRangeType·<a·class="code·hl_typedef"·href="a01764.html#aaea602c51557193beda54005f318361e">RangeType</a>;</div> 
110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>····};</div> 
111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> 
112 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01760.html#adac10ee9c30ce5fb8162ddf6c56f4872">···66</a></span>····<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01760.html#adac10ee9c30ce5fb8162ddf6c56f4872">evaluate</a>(<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">Traits::DomainType</a>&amp;·x,·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01764.html#aaea602c51557193beda54005f318361e">Traits::RangeType</a>&amp;·y)·<span·class="keyword">const</span>;</div> 
113 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··};·<span·class="comment">//·end·of·Function·class</span></div> 
114 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
115 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> 
116 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>·</div> 
117 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<a·class="code·hl_define"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">DUNE_NO_DEPRECATED_BEGIN</a></div> 
118 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">class</span>·DomainType,·<span·class="keyword">class</span>·RangeType&gt;</div> 
119 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01768.html">···83</a></span>··<span·class="keyword">class</span></div> 
120 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··[[deprecated(<span·class="stringliteral">&quot;Dune::VirtualFunction·is·deprecated·after·Dune·2.7.··Use·C++·&quot;</span></div> 
121 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>···············<span·class="stringliteral">&quot;function·objects·and·std::function·instead!&quot;</span>)]]</div> 
122 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<a·class="code·hl_class"·href="a01768.html">VirtualFunction</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01760.html">Function&lt;const·DomainType&amp;,·RangeType&amp;&gt;</a></div> 
123 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>123 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>{</div>
124 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">public</span>:</div> 
125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a01768.html#a0c59491db875413888b419291ec50b16">···89</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_class"·href="a01760.html">Functi[·...·truncated·by·diffoscope;·len:·150,·SHA:·6b3e3dc739ebcffd568521d03ca38d703f744722640d988bc2b7a31016b2277e·...·];</div>124 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·std::<span·class="keywordtype">size_t</span>·s&gt;</div>
 125 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a02392.html">···89</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02392.html">Pool</a></div>
126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>126 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··{</div>
127 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="a01768.html#a30df51e33c5f7ace1cdc1dba02dc50ea">···91</a></span>····<span·class="keyword">virtual</span>·<a·class="code·hl_function"·href="a01768.html#a30df51e33c5f7ace1cdc1dba02dc50ea">~VirtualFunction</a>()·{}</div> 
128 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01768.html#a9b9122921a590c9152704edbc0476609">···98</a></span>····<span·class="keyword">virtual</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="a01768.html#a9b9122921a590c9152704edbc0476609">evaluate</a>(<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">Traits::DomainType</a>&amp;·x,·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01764.html#aaea602c51557193beda54005f318361e">Traits::RangeType</a>&amp;·y)·<span·class="keyword">const</span>·=·0;</div> 
129 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··};·<span·class="comment">//·end·of·VirtualFunction·class</span></div>127 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>····<span·class="comment">//·make·the·test·function·friend</span></div>
130 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<a·class="code·hl_define"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">DUNE_NO_DEPRECATED_END</a></div>128 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····<span·class="keyword">friend</span>·struct·::testPoolMain&lt;s,T&gt;;</div>
 129 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div>
 130 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····<span·class="comment">//friend·std::ostream&amp;·std::operator&lt;&lt;&lt;&gt;(std::ostream&amp;,Pool&lt;T,s&gt;&amp;);</span></div>
 131 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a02392.html#ab4ef76ca65d09c6bef68b70a037dde05">···95</a></span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>,·std::<span·class="keywordtype">size_t</span>·&gt;·<span·class="keyword">friend</span>·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02396.html">PoolAllocator</a>;</div>
 132 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 133 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">private</span>:</div>
Max diff block lines reached; 84287/112345 bytes (75.03%) of diff not shown.
20.8 KB
html2text {}
    
Offset 4, 176 lines modifiedOffset 4, 599 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 function.hh7 poolallocator.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION 
15 ·6#warning·This·file·is·deprecated·after·Dune·2.7!·Use·C++·function·objects·and 
16 std::function·stuff·instead! 
17 ·7#else·//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION 
18 ·8#undef·DUNE_FUNCTION_HH_SILENCE_DEPRECATION 
19 ·9#endif·//·!DUNE_FUNCTION_HH_SILENCE_DEPRECATION 
20 ·10 
21 ·11#ifndef·DUNE_FUNCTION_HH 
22 12#define·DUNE_FUNCTION_HH 
23 ·13 
24 ·14#include·<utility> 
25 ·15 
26 ·16#include·<dune/common/deprecated.hh> 
27 ·17#include·"typetraits.hh" 
28 ·1814 ·5#ifndef·DUNE_COMMON_POOLALLOCATOR_HH
 15 ·6#define·DUNE_COMMON_POOLALLOCATOR_HH
 16 ·7
 17 ·12#include·<numeric>
 18 ·13#include·<typeinfo>
 19 ·14#include·<iostream>
 20 ·15#include·<cassert>
 21 ·16#include·<new>
 22 ·17
 23 ·18#ifndef·DOXYGEN
 24 ·19//·forward·declarations.
 25 ·20//·we·need·to·know·the·test·function·to·declare·it·friend
 26 ·21template<std::size_t·size,·typename·T>
 27 ·22struct·testPoolMain;
 28 ·23#endif
 29 ·24
29 ·19namespace·Dune·{30 ·25namespace·Dune
30 ·20 
31 ·36·template·<class·Domain,·class·Range> 
32 37·class 
33 ·38·[[deprecated("Dune::Function·is·deprecated·after·Dune·2.7.·Use·C++·" 
34 ·39·"function·objects·instead!")]] 
35 ·40·Function31 ·26{
 32 ·27
 33 ·28·template<typename·T,·std::size_t·s>
 34 ·29·class·Pool;
 35 ·30
 36 ·31·template<typename·T,·std::size_t·s>
 37 ·32·class·PoolAllocator;
 38 ·33
 39 ·34}
 40 ·35
 41 ·36namespace·std
 42 ·37{
 43 ·38·/*
 44 ·39·template<class·T,·std::size_t·S>
 45 ·40·inline·ostream&·operator<<(ostream&·os,·Dune::Pool<T,S>&·pool)
36 ·41·{46 ·41·{
 47 ·42·os<<"pool="<<&pool<<"·allocated_="<<pool.allocated_;
 48 ·43·return·os;
37 ·42·typedef·typename·std::remove_cv<typename·std::remove_reference<·Domain·>:: 
38 type·>::type·RawDomainType; 
39 ·43·typedef·typename·std::remove_cv<typename·std::remove_reference<·Range·>:: 
40 type·>::type·RawRangeType; 
41 ·4449 ·44·}
 50 ·45
 51 ·46·template<class·T,·std::size_t·S>
 52 ·47·inline·ostream&·operator<<(ostream&·os,·Dune::PoolAllocator<T,S>&·pool)
42 ·45·public: 
43 ·46 
44 48·typedef·RawRangeType·RangeType; 
45 ·49 
46 51·typedef·RawDomainType·DomainType; 
47 ·52 
48 54·struct·Traits 
49 ·55·{ 
50 56·typedef·RawDomainType·DomainType; 
51 57·typedef·RawRangeType·RangeType; 
52 ·58·}; 
53 ·59 
54 66·void·evaluate(const·typename·Traits::DomainType&·x,·typename·Traits:: 
55 RangeType&·y)·const; 
56 ·67·};·//·end·of·Function·class 
57 ·68 
58 ·69 
59 ·70 
60 ·71·DUNE_NO_DEPRECATED_BEGIN 
61 ·82·template·<class·DomainType,·class·RangeType> 
62 83·class 
63 ·84·[[deprecated("Dune::VirtualFunction·is·deprecated·after·Dune·2.7.·Use·C++·" 
64 ·85·"function·objects·and·std::function·instead!")]] 
65 ·86·VirtualFunction·:·public·Function<const_DomainType&,_RangeType&> 
66 ·87·{53 ·48·{
67 ·88·public: 
68 89·typedef·typename·Function<const_DomainType&,_RangeType&>::Traits·Traits;54 ·49·os<<pool.memoryPool_<<std::endl;
 55 ·50·return·os;
 56 ·51·}
 57 ·52·*/
 58 ·53}
 59 ·54
 60 ·55
 61 ·56namespace·Dune
 62 ·57{
 63 ·88·template<class·T,·std::size_t·s>
 64 89·class·Pool
69 ·9065 ·90·{
 66 ·91·//·make·the·test·function·friend
 67 ·92·friend·struct·::testPoolMain<s,T>;
 68 ·93
 69 ·94·//friend·std::ostream&·std::operator<<<>(std::ostream&,Pool<T,s>&);
 70 95·template<·class,·std::size_t·>·friend·class·PoolAllocator;
 71 ·96
 72 ·97·private:
 73 ·98
 74 ·100·struct·Reference
70 91·virtual·~VirtualFunction()·{} 
71 98·virtual·void·evaluate(const·typename·Traits::DomainType&·x,·typename 
72 Traits::RangeType&·y)·const·=·0; 
73 ·99·};·//·end·of·VirtualFunction·class 
Max diff block lines reached; 16778/21254 bytes (78.94%) of diff not shown.
12.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00389.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·densematrix.hh·File·Reference</title>8 <title>dune-common:·reservedvector.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 65, 71 lines modifiedOffset 65, 70 lines modified
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#namespaces">Namespaces</a>·&#124;71 <a·href="#namespaces">Namespaces</a>·&#124;
72 <a·href="#func-members">Functions</a>··</div>72 <a·href="#define-members">Macros</a>··</div>
73 ··<div·class="headertitle"><div·class="title">densematrix.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">reservedvector.hh·File·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.··76 <p>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.··
77 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;cmath&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;algorithm&gt;</code><br·/>
 79 <code>#include·&lt;array&gt;</code><br·/>
79 <code>#include·&lt;cstddef&gt;</code><br·/>80 <code>#include·&lt;cassert&gt;</code><br·/>
80 <code>#include·&lt;iostream&gt;</code><br·/>81 <code>#include·&lt;iostream&gt;</code><br·/>
81 <code>#include·&lt;type_traits&gt;</code><br·/> 
82 <code>#include·&lt;utility&gt;</code><br·/> 
83 <code>#include·&lt;vector&gt;</code><br·/>82 <code>#include·&lt;iterator&gt;</code><br·/>
 83 <code>#include·&lt;cstddef&gt;</code><br·/>
 84 <code>#include·&lt;initializer_list&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/boundschecking.hh</a>&gt;</code><br·/> 
85 <code>#include·&lt;<a·class="el"·href="a00383_source.html">dune/common/classname.hh</a>&gt;</code><br·/> 
86 <code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/> 
87 <code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code><br·/> 
88 <code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/hash.hh</a>&gt;</code><br·/>
89 <code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/precision.hh</a>&gt;</code><br·/> 
90 <code>#include·&lt;<a·class="el"·href="a04448_source.html">dune/common/simd/simd.hh</a>&gt;</code><br·/> 
91 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/> 
92 <code>#include·&lt;<a·class="el"·href="a00134_source.html">dune/common/scalarvectorview.hh</a>&gt;</code><br·/> 
93 </div>86 </div>
94 <p><a·href="a00389_source.html">Go·to·the·source·code·of·this·file.</a></p>87 <p><a·href="a00389_source.html">Go·to·the·source·code·of·this·file.</a></p>
95 <table·class="memberdecls">88 <table·class="memberdecls">
96 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
97 Classes</h2></td></tr>90 Classes</h2></td></tr>
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01404.html">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&gt;·&gt;</a></td></tr> 
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01420.html">Dune::FMatrixError</a></td></tr> 
101 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Error·thrown·if·operations·of·a·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·fail.··<a·href="a01420.html#details">More...</a><br·/></td></tr> 
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01400.html">Dune::DenseMatrix&lt;·MAT·&gt;</a></td></tr>91 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02552.html">Dune::ReservedVector&lt;·T,·n·&gt;</a></td></tr>
104 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·dense·n·x·m·matrix.··<a·href="a01400.html#details">More...</a><br·/></td></tr>92 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·Vector·class·with·statically·reserved·memory.··<a·href="a02552.html#details">More...</a><br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
107 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
108 Namespaces</h2></td></tr>96 Namespaces</h2></td></tr>
109 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>97 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
110 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>98 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00431"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00431.html">Dune::DenseMatrixHelp</a></td></tr> 
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
114 </table><table·class="memberdecls">100 </table><table·class="memberdecls">
115 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>101 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>
116 Functions</h2></td></tr>102 Macros</h2></td></tr>
 103 <tr·class="memitem:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00389.html#a65543e75bc949ecdb95a25b1f4e11675">CHECKSIZE</a>(X)&#160;&#160;&#160;{}</td></tr>
117 <tr·class="memitem:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·,·typename·V1·,·typename·V2·&gt;·</td></tr> 
118 <tr·class="memitem:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00431.html#a4b9cee31bcd8d5a2d4caaa6073c7f7cb">Dune::DenseMatrixHelp::multAssign</a>·(const·DenseMatrix&lt;·MAT·&gt;·&amp;matrix,·const·DenseVector&lt;·V1·&gt;·&amp;x,·DenseVector&lt;·V2·&gt;·&amp;ret)</td></tr> 
119 <tr·class="memdesc:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">calculates·ret·=·matrix·*·x··<a·href="a00431.html#a4b9cee31bcd8d5a2d4caaa6073c7f7cb">More...</a><br·/></td></tr> 
120 <tr·class="separator:a4b9cee31bcd8d5a2d4caaa6073c7f7cb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:a65543e75bc949ecdb95a25b1f4e11675"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 <tr·class="memitem:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memTemplParams"·colspan="2">template&lt;typename·MAT·&gt;·</td></tr> 
122 <tr·class="memitem:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memTemplItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gaaf67fddab3978a57f94f556513bc0d77">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;s,·const·DenseMatrix&lt;·MAT·&gt;·&amp;a)</td></tr> 
123 <tr·class="memdesc:gaaf67fddab3978a57f94f556513bc0d77"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Sends·the·matrix·to·an·output·stream.··<a·href="a00411.html#gaaf67fddab3978a57f94f556513bc0d77">More...</a><br·/></td></tr> 
124 <tr·class="separator:gaaf67fddab3978a57f94f556513bc0d77"><td·class="memSeparator"·colspan="2">&#160;</td></tr> 
125 </table>105 </table>
126 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>106 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
127 <div·class="textblock"><p·>Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.·</p>107 <div·class="textblock"><p·>An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.·</p>
 108 </div><h2·class="groupheader">Macro·Definition·Documentation</h2>
 109 <a·id="a65543e75bc949ecdb95a25b1f4e11675"·name="a65543e75bc949ecdb95a25b1f4e11675"></a>
 110 <h2·class="memtitle"><span·class="permalink"><a·href="#a65543e75bc949ecdb95a25b1f4e11675">&#9670;&nbsp;</a></span>CHECKSIZE</h2>
  
 111 <div·class="memitem">
 112 <div·class="memproto">
 113 ······<table·class="memname">
 114 ········<tr>
 115 ··········<td·class="memname">#define·CHECKSIZE</td>
 116 ··········<td>(</td>
 117 ··········<td·class="paramtype">&#160;</td>
 118 ··········<td·class="paramname">X</td><td>)</td>
 119 ··········<td>&#160;&#160;&#160;{}</td>
 120 ········</tr>
 121 ······</table>
 122 </div><div·class="memdoc">
  
 123 </div>
 124 </div>
128 </div></div><!--·contents·-->125 </div><!--·contents·-->
129 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
130 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
132 </small></address>129 </small></address>
133 </body>130 </body>
134 </html>131 </html>
2.47 KB
html2text {}
    
Offset 4, 59 lines modifiedOffset 4, 39 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 Classes·|·Namespaces·|·Functions7 Classes·|·Namespaces·|·Macros
8 densematrix.hh·File·Reference8 reservedvector.hh·File·Reference
9 Common·»·Dense_Matrix_and_Vector_Template_Library 
10 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a 
11 compile-time·given·number·of·rows·and·columns.·More...9 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.
 10 More...
 11 #include·<algorithm>
 12 #include·<array>
12 #include·<cmath>13 #include·<cassert>
13 #include·<cstddef> 
14 #include·<iostream>14 #include·<iostream>
15 #include·<type_traits> 
16 #include·<utility> 
17 #include·<vector>15 #include·<iterator>
 16 #include·<cstddef>
 17 #include·<initializer_list>
18 #include·<dune/common/boundschecking.hh> 
19 #include·<dune/common/classname.hh> 
20 #include·<dune/common/exceptions.hh> 
21 #include·<dune/common/fvector.hh> 
22 #include·<dune/common/math.hh>18 #include·<dune/common/hash.hh>
23 #include·<dune/common/precision.hh> 
24 #include·<dune/common/simd/simd.hh> 
25 #include·<dune/common/typetraits.hh> 
26 #include·<dune/common/scalarvectorview.hh> 
27 Go_to_the_source_code_of_this_file.19 Go_to_the_source_code_of_this_file.
28 ·Classes20 ·Classes
 21 class· Dune::ReservedVector<_T,_n_>
 22  ······A·Vector·class·with·statically·reserved·memory.·More...
29 struct· Dune::FieldTraits<_DenseMatrix<_M_>_> 
30   
31 ·class· Dune::FMatrixError 
32  ·······Error·thrown·if·operations·of·a·FieldMatrix·fail.·More... 
33   
34 ·class· Dune::DenseMatrix<_MAT_> 
35  ·······A·dense·n·x·m·matrix.·More... 
36  23  
37 ·Namespaces24 ·Namespaces
38 namespace· Dune25 namespace· Dune
39  ··········Dune·namespace.26  ··········Dune·namespace.
40  27  
 28 ·Macros
 29 #define CHECKSIZE(X)   {}
41 namespace· Dune::DenseMatrixHelp 
42   
43 ·Functions 
44 template<typename·MAT·,·typename·V1·,·typename·V2·> 
45 ···static·void Dune::DenseMatrixHelp::multAssign·(const·DenseMatrix<·MAT·> 
46 ················&matrix,·const·DenseVector<·V1·>·&x,·DenseVector<·V2·>·&ret) 
47  ··············calculates·ret·=·matrix·*·x·More... 
48   
49 template<typename·MAT·> 
50 std::ostream·& Dune::operator<<·(std::ostream·&s,·const·DenseMatrix<·MAT·>·&a) 
51  ··············Sends·the·matrix·to·an·output·stream.·More... 
52  30  
53 *****·Detailed·Description·*****31 *****·Detailed·Description·*****
54 Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a 
55 compile-time·given·number·of·rows·and·columns.32 An·stl-compliant·random-access·container·which·stores·everything·on·the·stack.
 33 *****·Macro·Definition·Documentation·*****
 34 *****·◆ CHECKSIZE·*****
 35 #define·CHECKSIZE·(· X·)·   {}
  
56 ===============================================================================36 ===============================================================================
57 ·····Generated·by [doxygen]·1.9.437 ·····Generated·by [doxygen]·1.9.4
393 KB
./usr/share/doc/libdune-common-doc/doxygen/a00389_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·densematrix.hh·Source·File</title>8 <title>dune-common:·reservedvector.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 1212 lines modifiedOffset 62, 434 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">densematrix.hh</div></div>68 ··<div·class="headertitle"><div·class="title">reservedvector.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00389.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00389.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DENSEMATRIX_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_RESERVEDVECTOR_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DENSEMATRIX_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_RESERVEDVECTOR_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;algorithm&gt;</span></div>
 79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;array&gt;</span></div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cmath&gt;</span></div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;vector&gt;</span></div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;iterator&gt;</span></div>
 83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;initializer_list&gt;</span></div>
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00104.html">dune/common/boundschecking.hh</a>&gt;</span></div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00383.html">dune/common/classname.hh</a>&gt;</span></div> 
87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/fvector.hh</a>&gt;</span></div> 
89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00119.html">dune/common/math.hh</a>&gt;</span></div> 
90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00323.html">dune/common/precision.hh</a>&gt;</span></div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00188.html">dune/common/hash.hh</a>&gt;</span></div>
91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04448.html">dune/common/simd/simd.hh</a>&gt;</span></div> 
92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00134.html">dune/common/scalarvectorview.hh</a>&gt;</span></div> 
94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>88 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#ifdef·CHECK_RESERVEDVECTOR</span></div>
 89 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#define·CHECKSIZE(X)·assert(X)</span></div>
 90 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="preprocessor">#else</span></div>
 91 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno"><a·class="line"·href="a00389.html#a65543e75bc949ecdb95a25b1f4e11675">···25</a></span><span·class="preprocessor">#define·CHECKSIZE(X)·{}</span></div>
96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>{</div>92 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="preprocessor">#endif</span></div>
97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>93 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div>
98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·M&gt;·<span·class="keyword">class·</span>DenseMatrix;</div>94 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>95 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>{</div>
100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·M&gt;</div> 
101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno"><a·class="line"·href="a01404.html">···31</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01740.html">FieldTraits</a>&lt;·<a·class="code·hl_class"·href="a01400.html">DenseMatrix</a>[·...·truncated·by·diffoscope;·len:·10,·SHA:·dda55c66666bfa5bb56002aa87bf565bd0ff7658dc10979a8510daaa83988912·...·]&gt;</div>96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·n&gt;</div>
 97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a02552.html">···46</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02552.html">ReservedVector</a></div>
102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··{</div>98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··{</div>
 99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····<span·class="keyword">using·</span>storage_type·=·std::array&lt;T,n&gt;;</div>
103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01404.html#a7e3a65001054390715e170cec97311e2">···33</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01740.html">FieldTraits&lt;·typename·DenseMatVecTraits&lt;M&gt;::value_type</a>·&gt;<a·class="code·hl_typedef"·href="a01740.html#aaaf5412c6ed2f4ac627eec87a2d1de1b">::field_type</a>·<a·class="code·hl_typedef"·href="a01404.html#a7e3a65001054390715e170cec97311e2">field_type</a>;</div> 
104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a01404.html#a28aafc36c8f6db71d2c7a1533239a9d6">···34</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">const</span>·<span·class="keyword">typename</span>·<a·class="code·hl_struct"·href="a01740.html">FieldTraits&lt;·typename·DenseMatVecTraits&lt;M&gt;::value_type</a>·&gt;<a·class="code·hl_typedef"·href="a01740.html#ab1c1583160e1c47c4909273c82ae7a63">::real_type</a>·<a·class="code·hl_typedef"·href="a01404.html#a28aafc36c8f6db71d2c7a1533239a9d6">real_type</a>;</div> 
105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··};</div> 
106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>·</div> 
107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·N,·<span·class="keywordtype">int</span>·M&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01408.html">FieldMatrix</a>;</div> 
108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·K,·<span·class="keywordtype">int</span>·N&gt;·<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01412.html">FieldVector</a>;</div> 
109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div>100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div>
110 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DenseMatrix,·<span·class="keyword">class</span>·RHS·&gt;</div> 
111 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a01416.html">···59</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a01416.html">DenseMatrixAssigner</a>;</div>101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">public</span>:</div>
 102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div>
 103 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">···55</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::value_type·<a·class="code·hl_typedef"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">value_type</a>;</div>
 104 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno"><a·class="line"·href="a02552.html#a0fb89a52c9cc4ef3aaabb7f0054a0aef">···57</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::pointer·<a·class="code·hl_typedef"·href="a02552.html#a0fb89a52c9cc4ef3aaabb7f0054a0aef">pointer</a>;</div>
 105 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno"><a·class="line"·href="a02552.html#ad7c848c42ec1ebaa857da5c4021f44df">···59</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::const_pointer·<a·class="code·hl_typedef"·href="a02552.html#ad7c848c42ec1ebaa857da5c4021f44df">const_pointer</a>;</div>
 106 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a02552.html#ae6b033aa6b81d978fa07e49ceb8c17f9">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::reference·<a·class="code·hl_typedef"·href="a02552.html#ae6b033aa6b81d978fa07e49ceb8c17f9">reference</a>;</div>
 107 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a02552.html#a92511702be65a27dcd3adbc54bb714ae">···63</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::const_reference·<a·class="code·hl_typedef"·href="a02552.html#a92511702be65a27dcd3adbc54bb714ae">const_reference</a>;</div>
 108 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a02552.html#a88668f6bf71eadf870ae4afdb45d00ff">···65</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::size_type·<a·class="code·hl_typedef"·href="a02552.html#a88668f6bf71eadf870ae4afdb45d00ff">size_type</a>;</div>
 109 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a02552.html#a66aac69f2818e2ce344af1549eeea424">···67</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::difference_type·<a·class="code·hl_typedef"·href="a02552.html#a66aac69f2818e2ce344af1549eeea424">difference_type</a>;</div>
 110 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="a02552.html#a3aecff162ed17ede2d259d903fdd3a5b">···69</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::iterator·<a·class="code·hl_typedef"·href="a02552.html#a3aecff162ed17ede2d259d903fdd3a5b">iterator</a>;</div>
 111 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno"><a·class="line"·href="a02552.html#a78cc2411c3bda7ccdaeb922603adc4a8">···71</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·storage_type::const_iterator·<a·class="code·hl_typedef"·href="a02552.html#a78cc2411c3bda7ccdaeb922603adc4a8">const_iterator</a>;</div>
 112 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="a02552.html#a29a0ce77672ef20b5d949591848a774a">···73</a></span>····<span·class="keyword">typedef</span>·std::reverse_iterator&lt;iterator&gt;·<a·class="code·hl_typedef"·href="a02552.html#a29a0ce77672ef20b5d949591848a774a">reverse_iterator</a>;</div>
 113 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a02552.html#a45f3dd7312d31fa1a833e0822b9abee9">···75</a></span>····<span·class="keyword">typedef</span>·std::reverse_iterator&lt;const_iterator&gt;·<a·class="code·hl_typedef"·href="a02552.html#a45f3dd7312d31fa1a833e0822b9abee9">const_reverse_iterator</a>;</div>
112 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div>114 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
 115 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">···82</a></span>····<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a02552.html#a7713ac10cedfac010ef80e71eaca913c">ReservedVector</a>()</div>
 116 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··········noexcept(<a·class="code·hl_namespace"·href="a00424.html">std</a>::is_nothrow_default_constructible_v&lt;<a·class="code·hl_typedef"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">value_type</a>&gt;)</div>
113 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="preprocessor">#ifndef·DOXYGEN</span></div> 
114 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">namespace·</span>Impl</div> 
115 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··{</div> 
116 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> 
117 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DenseMatrix,·<span·class="keyword">class</span>·RHS,·<span·class="keyword">class</span>·=·<span·class="keywordtype">void</span>·&gt;</div> 
118 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>····<span·class="keyword">class·</span><a·class="code·hl_struct"·href="a01416.html">DenseMatrixAssigner</a></div> 
119 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····{};</div> 
120 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> 
121 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DenseMatrix,·<span·class="keyword">class</span>·RHS·&gt;</div> 
122 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<span·class="keyword">class·</span><a·class="code·hl_struct"·href="a01416.html">DenseMatrixAssigner</a>&lt;·<a·class="code·hl_class"·href="a01400.html">DenseMatrix</a>,·RHS,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::enable_if_t&lt;·Dune::IsNumber&lt;·RHS·&gt;::value·&gt;·&gt;</div> 
123 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····{</div> 
124 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">public</span>:</div> 
125 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>······<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply·(·<a·class="code·hl_class"·href="a01400.html">DenseMatrix</a>·&amp;denseMatrix,·<span·class="keyword">const</span>·RHS·&amp;rhs·)</div> 
126 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>······{</div>117 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······:·storage_()</div>
127 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>········<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#a15e463e056cf166bb3e6cd64fcee19d5">DenseMatrix::field_type</a>·field_type;</div> 
128 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>········std::fill(·denseMatrix.<a·class="code·hl_function"·href="a01400.html#af395a6acbd619840c57861b7fb79ec8b">begin</a>(),·denseMatrix.<a·class="code·hl_function"·href="a01400.html#a68e5a5f0a33471a5a408d04b4789ec11">end</a>(),·<span·class="keyword">static_cast&lt;</span>·field_type·<span·class="keyword">&gt;</span>(·rhs·)·);</div> 
129 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>······}</div> 
130 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>····};</div> 
131 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
132 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>····<span·class="keyword">template</span>&lt;·<span·class="keyword">class</span>·DenseMatrix,·<span·class="keyword">class</span>·RHS·&gt;</div> 
133 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>····<span·class="keyword">class·</span>DenseMatrixAssigner&lt;·DenseMatrix,·RHS,·<a·class="code·hl_namespace"·href="a00424.html">std</a>::enable_if_t&lt;·!std::is_same&lt;·typename·RHS::const_iterator,·void·&gt;::value</div> 
134 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>········&amp;&amp;·std::is_convertible&lt;·typename·RHS::const_iterator::value_type,·typename·DenseMatrix::iterator::value_type·&gt;::value·&gt;·&gt;</div> 
135 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····{</div>118 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······,·size_(0)</div>
136 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>····<span·class="keyword">public</span>:</div> 
137 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·apply·(·DenseMatrix·&amp;denseMatrix,·<span·class="keyword">const</span>·RHS·&amp;rhs·)</div> 
138 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>······{</div>119 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····{}</div>
 120 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 121 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno"><a·class="line"·href="a02552.html#a092827f9243a1f334584d9b629564840">···89</a></span>····<span·class="keyword">explicit</span>·<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a02552.html#a092827f9243a1f334584d9b629564840">ReservedVector</a>(<a·class="code·hl_typedef"·href="a02552.html#a88668f6bf71eadf870ae4afdb45d00ff">size_type</a>·count)</div>
139 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>········<a·class="code·hl_define"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a>(rhs.N()·==·denseMatrix.N());</div> 
140 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>········<a·class="code·hl_define"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">DUNE_ASSERT_BOUNDS</a>(rhs.M()·==·denseMatrix.M());</div> 
141 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>········<span·class="keyword">typename</span>·<a·class="code·hl_typedef"·href="a01400.html#ae27c09bc18467479c702b41b4dcff748">DenseMatrix::iterator</a>·tIt·=·std::begin(denseMatrix);</div> 
142 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>········<span·class="keyword">typename</span>·RHS::const_iterator·sIt·=·std::begin(rhs);</div>122 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··········<span·class="keyword">noexcept</span>(std::is_nothrow_default_constructible_v&lt;value_type&gt;)</div>
143 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>········<span·class="keywordflow">for</span>(;·sIt·!=·std::end(rhs);·++tIt,·++sIt)</div>123 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······:·storage_()</div>
144 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··········std::copy(std::begin(*sIt),·std::end(*sIt),·std::begin(*tIt));</div>124 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······,·size_(count)</div>
145 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>······}</div>125 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div>
146 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>····};</div>126 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······assert(count·&lt;=·n);</div>
Max diff block lines reached; 252461/334098 bytes (75.56%) of diff not shown.
66.3 KB
html2text {}
    
Offset 4, 1552 lines modifiedOffset 4, 642 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 densematrix.hh7 reservedvector.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DENSEMATRIX_HH 
15 ·6#define·DUNE_DENSEMATRIX_HH14 ·5#ifndef·DUNE_COMMON_RESERVEDVECTOR_HH
 15 ·6#define·DUNE_COMMON_RESERVEDVECTOR_HH
16 ·716 ·7
 17 ·12#include·<algorithm>
 18 ·13#include·<array>
17 ·8#include·<cmath>19 ·14#include·<cassert>
18 ·9#include·<cstddef> 
19 ·10#include·<iostream>20 ·15#include·<iostream>
20 ·11#include·<type_traits> 
21 ·12#include·<utility> 
22 ·13#include·<vector>21 ·16#include·<iterator>
 22 ·17#include·<cstddef>
 23 ·18#include·<initializer_list>
 24 ·19
23 ·14 
24 ·15#include·<dune/common/boundschecking.hh> 
25 ·16#include·<dune/common/classname.hh> 
26 ·17#include·<dune/common/exceptions.hh> 
27 ·18#include·<dune/common/fvector.hh> 
28 ·19#include·<dune/common/math.hh>25 ·20#include·<dune/common/hash.hh>
 26 ·21
 27 ·22#ifdef·CHECK_RESERVEDVECTOR
 28 ·23#define·CHECKSIZE(X)·assert(X)
 29 ·24#else
 30 25#define·CHECKSIZE(X)·{}
 31 ·26#endif
29 ·20#include·<dune/common/precision.hh> 
30 ·21#include·<dune/common/simd/simd.hh> 
31 ·22#include·<dune/common/typetraits.hh> 
32 ·23#include·<dune/common/scalarvectorview.hh> 
33 ·24 
34 ·25namespace·Dune 
35 ·26{ 
36 ·2732 ·27
37 ·28·template<typename·M>·class·DenseMatrix;33 ·28namespace·Dune
38 ·2934 ·29{
 35 ·45·template<class·T,·int·n>
 36 46·class·ReservedVector
39 ·30·template<typename·M> 
40 31·struct·FieldTraits<·DenseMatrix<M>·> 
41 ·32·{ 
42 33·typedef·const·typename·FieldTraits<_typename_DenseMatVecTraits<M>:: 
43 value_type·>::field_type·field_type; 
44 34·typedef·const·typename·FieldTraits<_typename_DenseMatVecTraits<M>:: 
45 value_type·>::real_type·real_type; 
46 ·35·}; 
47 ·36 
48 ·37·template<class·K,·int·N,·int·M>·class·FieldMatrix; 
49 ·38·template<class·K,·int·N>·class·FieldVector; 
50 ·39 
51 ·58·template<·class·DenseMatrix,·class·RHS·> 
52 59·struct·DenseMatrixAssigner; 
53 ·60 
54 ·61#ifndef·DOXYGEN 
55 ·62·namespace·Impl 
56 ·63·{ 
57 ·64 
58 ·65·template<·class·DenseMatrix,·class·RHS,·class·=·void·> 
59 ·66·class·DenseMatrixAssigner 
60 ·67·{}; 
61 ·68 
62 ·69·template<·class·DenseMatrix,·class·RHS·> 
63 ·70·class·DenseMatrixAssigner<·DenseMatrix,·RHS,·std::enable_if_t<·Dune:: 
64 IsNumber<·RHS·>::value·>·> 
65 ·71·{37 ·47·{
 38 ·48·using·storage_type·=·std::array<T,n>;
66 ·72·public: 
67 ·73·static·void·apply·(·DenseMatrix·&denseMatrix,·const·RHS·&rhs·) 
68 ·74·{ 
69 ·75·typedef·typename·DenseMatrix::field_type·field_type; 
70 ·76·std::fill(·denseMatrix.begin(),·denseMatrix.end(),·static_cast<·field_type 
71 >(·rhs·)·); 
72 ·77·} 
73 ·78·}; 
74 ·79 
75 ·80·template<·class·DenseMatrix,·class·RHS·> 
76 ·81·class·DenseMatrixAssigner<·DenseMatrix,·RHS,·std::enable_if_t<·!std:: 
77 is_same<·typename·RHS::const_iterator,·void·>::value 
78 ·82·&&·std::is_convertible<·typename·RHS::const_iterator::value_type,·typename 
79 DenseMatrix::iterator::value_type·>::value·>·> 
80 ·83·{ 
81 ·84·public: 
82 ·85·static·void·apply·(·DenseMatrix·&denseMatrix,·const·RHS·&rhs·) 
83 ·86·{ 
84 ·87·DUNE_ASSERT_BOUNDS(rhs.N()·==·denseMatrix.N()); 
85 ·88·DUNE_ASSERT_BOUNDS(rhs.M()·==·denseMatrix.M()); 
86 ·89·typename·DenseMatrix::iterator·tIt·=·std::begin(denseMatrix); 
87 ·90·typename·RHS::const_iterator·sIt·=·std::begin(rhs); 
88 ·91·for(;·sIt·!=·std::end(rhs);·++tIt,·++sIt) 
89 ·92·std::copy(std::begin(*sIt),·std::end(*sIt),·std::begin(*tIt)); 
90 ·93·} 
91 ·94·}; 
92 ·95 
93 ·96·}·//·namespace·Impl 
94 ·97 
95 ·98 
96 ·99 
97 ·100·template<·class·DenseMatrix,·class·RHS·> 
98 ·101·struct·DenseMatrixAssigner 
99 ·102·:·public·Impl::DenseMatrixAssigner<·DenseMatrix,·RHS·> 
100 ·103·{}; 
101 ·104 
102 ·105 
103 ·106·namespace·Impl 
104 ·107·{ 
105 ·108 
106 ·109·template<·class·DenseMatrix,·class·RHS·> 
107 ·110·std::true_type·hasDenseMatrixAssigner·(·DenseMatrix·&,·const·RHS·&, 
108 decltype(·Dune::DenseMatrixAssigner<_DenseMatrix,_RHS_>::apply(·std::declval< 
109 DenseMatrix·&·>(),·std::declval<·const·RHS·&·>()·)·)·*·=·nullptr·); 
110 ·111 
111 ·112·std::false_type·hasDenseMatrixAssigner·(·...·); 
Max diff block lines reached; 55461/67874 bytes (81.71%) of diff not shown.
21.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a00392.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·bartonnackmanifcheck.hh·File·Reference</title>8 <title>dune-common:·hybridutilities.hh·File·Reference</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 63, 75 lines modifiedOffset 63, 85 lines modified
63 <div·id="nav-path"·class="navpath">63 <div·id="nav-path"·class="navpath">
64 ··<ul>64 ··<ul>
65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>65 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="summary">69 ··<div·class="summary">
 70 <a·href="#namespaces">Namespaces</a>·&#124;
70 <a·href="#define-members">Macros</a>··</div>71 <a·href="#func-members">Functions</a>··</div>
71 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh·File·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">hybridutilities.hh·File·Reference</div></div>
72 </div><!--header-->73 </div><!--header-->
73 <div·class="contents">74 <div·class="contents">
  
74 <p>Provides·check·for·implementation·of·interface·methods·when·using·static·polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging·purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up·possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has·to·be·defined.·· 
75 <a·href="#details">More...</a></p>75 <div·class="textblock"><code>#include·&lt;tuple&gt;</code><br·/>
 76 <code>#include·&lt;utility&gt;</code><br·/>
 77 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
 78 <code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/typeutilities.hh</a>&gt;</code><br·/>
76 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code><br·/>
 80 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
 81 <code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/assertandreturn.hh</a>&gt;</code><br·/>
 82 <code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code><br·/>
77 </div>83 </div>
78 <p><a·href="a00392_source.html">Go·to·the·source·code·of·this·file.</a></p>84 <p><a·href="a00392_source.html">Go·to·the·source·code·of·this·file.</a></p>
79 <table·class="memberdecls">85 <table·class="memberdecls">
 86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
 87 Namespaces</h2></td></tr>
 88 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
 89 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
 90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 91 <tr·class="memitem:a00439"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00439.html">Dune::Hybrid</a></td></tr>
 92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 93 </table><table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="define-members"·name="define-members"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
81 Macros</h2></td></tr>95 Functions</h2></td></tr>
82 <tr·class="memitem:acd7d9df83980a2517813af61e0eb22e1"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00392.html#acd7d9df83980a2517813af61e0eb22e1">CHECK_INTERFACE_IMPLEMENTATION</a>(dummy)</td></tr>96 <tr·class="memitem:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
 97 <tr·class="memitem:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">Dune::Hybrid::size</a>·(const·T·&amp;t)</td></tr>
 98 <tr·class="memdesc:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Size·query.··<a·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">More...</a><br·/></td></tr>
 99 <tr·class="separator:ga0df72c8cdbb69ecf6da9483d5cdac1de"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 100 <tr·class="memitem:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memTemplParams"·colspan="2">template&lt;class·Container·,·class·Index·&gt;·</td></tr>
 101 <tr·class="memitem:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">Dune::Hybrid::elementAt</a>·(Container·&amp;&amp;c,·Index·&amp;&amp;i)</td></tr>
 102 <tr·class="memdesc:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·element·at·given·position·from·container.··<a·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">More...</a><br·/></td></tr>
 103 <tr·class="separator:gac85f9d601905a3d0001edd94bd67b2d7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 104 <tr·class="memitem:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memTemplParams"·colspan="2">template&lt;class·Begin·,·class·End·&gt;·</td></tr>
 105 <tr·class="memitem:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gaacd5d1927ffa1d96adf1db1fdbaba28c">Dune::Hybrid::integralRange</a>·(const·Begin·&amp;begin,·const·End·&amp;end)</td></tr>
 106 <tr·class="memdesc:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·integral·range.··<a·href="a00405.html#gaacd5d1927ffa1d96adf1db1fdbaba28c">More...</a><br·/></td></tr>
83 <tr·class="separator:acd7d9df83980a2517813af61e0eb22e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:gaacd5d1927ffa1d96adf1db1fdbaba28c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memItemLeft"·align="right"·valign="top">#define&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00392.html#a3ae5cb4f2a5339eb07e94108e67bcca7">CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</a>([·...·truncated·by·diffoscope;·len:·79,·SHA:·60a04fad6ee3c7e92a47d2336ed29fa3e73a015c081618bfd9f6f634a00187c2·...·]</td></tr>108 <tr·class="memitem:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memTemplParams"·colspan="2">template&lt;class·End·&gt;·</td></tr>
 109 <tr·class="memitem:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga1a44b7c50255662ec8d3553925ce9b46">Dune::Hybrid::integralRange</a>·(const·End·&amp;end)</td></tr>
 110 <tr·class="memdesc:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Create·an·integral·range·starting·from·0.··<a·href="a00405.html#ga1a44b7c50255662ec8d3553925ce9b46">More...</a><br·/></td></tr>
 111 <tr·class="separator:ga1a44b7c50255662ec8d3553925ce9b46"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 112 <tr·class="memitem:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·F·&gt;·</td></tr>
 113 <tr·class="memitem:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">Dune::Hybrid::forEach</a>·(Range·&amp;&amp;range,·F·&amp;&amp;f)</td></tr>
 114 <tr·class="memdesc:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Range·based·for·loop.··<a·href="a00405.html#ga2df9e60e21091ed59c4a636b99abbedc">More...</a><br·/></td></tr>
 115 <tr·class="separator:ga2df9e60e21091ed59c4a636b99abbedc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 116 <tr·class="memitem:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memTemplParams"·colspan="2">template&lt;class·Range·,·class·T·,·class·F·&gt;·</td></tr>
 117 <tr·class="memitem:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·T&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gaf41421cb94c1a0a3d334eeb409701620">Dune::Hybrid::accumulate</a>·(Range·&amp;&amp;range,·T·value,·F·&amp;&amp;f)</td></tr>
 118 <tr·class="memdesc:gaf41421cb94c1a0a3d334eeb409701620"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Accumulate·values.··<a·href="a00405.html#gaf41421cb94c1a0a3d334eeb409701620">More...</a><br·/></td></tr>
 119 <tr·class="separator:gaf41421cb94c1a0a3d334eeb409701620"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 120 <tr·class="memitem:gaac1691e6004f0428bdacab6407152807"><td·class="memTemplParams"·colspan="2">template&lt;class·Condition·,·class·IfFunc·,·class·ElseFunc·&gt;·</td></tr>
 121 <tr·class="memitem:gaac1691e6004f0428bdacab6407152807"><td·class="memTemplItemLeft"·align="right"·valign="top">decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gaac1691e6004f0428bdacab6407152807">Dune::Hybrid::ifElse</a>·(const·Condition·&amp;condition,·IfFunc·&amp;&amp;ifFunc,·ElseFunc·&amp;&amp;elseFunc)</td></tr>
 122 <tr·class="memdesc:gaac1691e6004f0428bdacab6407152807"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·conditional·expression.··<a·href="a00405.html#gaac1691e6004f0428bdacab6407152807">More...</a><br·/></td></tr>
85 <tr·class="separator:a3ae5cb4f2a5339eb07e94108e67bcca7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:gaac1691e6004f0428bdacab6407152807"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 124 <tr·class="memitem:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memTemplParams"·colspan="2">template&lt;class·Condition·,·class·IfFunc·&gt;·</td></tr>
 125 <tr·class="memitem:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga044cfa54089ac3509d0a3a24b85ef42b">Dune::Hybrid::ifElse</a>·(const·Condition·&amp;condition,·IfFunc·&amp;&amp;ifFunc)</td></tr>
 126 <tr·class="memdesc:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·conditional·expression.··<a·href="a00405.html#ga044cfa54089ac3509d0a3a24b85ef42b">More...</a><br·/></td></tr>
 127 <tr·class="separator:ga044cfa54089ac3509d0a3a24b85ef42b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 128 <tr·class="memitem:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memTemplParams"·colspan="2">template&lt;class·T1·,·class·T2·&gt;·</td></tr>
 129 <tr·class="memitem:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga1f6da8119c5af45fe0413b9f75ef9861">Dune::Hybrid::equals</a>·(T1·&amp;&amp;t1,·T2·&amp;&amp;t2)</td></tr>
 130 <tr·class="memdesc:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Equality·comparison.··<a·href="a00405.html#ga1f6da8119c5af45fe0413b9f75ef9861">More...</a><br·/></td></tr>
 131 <tr·class="separator:ga1f6da8119c5af45fe0413b9f75ef9861"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 132 <tr·class="memitem:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memTemplParams"·colspan="2">template&lt;class·Cases·,·class·Value·,·class·Branches·,·class·ElseBranch·&gt;·</td></tr>
 133 <tr·class="memitem:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·decltype(auto)&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#ga57705e4850c91cd0a92b452384bdc0a0">Dune::Hybrid::switchCases</a>·(const·Cases·&amp;cases,·const·Value·&amp;value,·Branches·&amp;&amp;branches,·ElseBranch·&amp;&amp;elseBranch)</td></tr>
 134 <tr·class="memdesc:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Switch·statement.··<a·href="a00405.html#ga57705e4850c91cd0a92b452384bdc0a0">More...</a><br·/></td></tr>
 135 <tr·class="separator:ga57705e4850c91cd0a92b452384bdc0a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
 136 <tr·class="memitem:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memTemplParams"·colspan="2">template&lt;class·Cases·,·class·Value·,·class·Branches·&gt;·</td></tr>
 137 <tr·class="memitem:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00405.html#gaa3c378c2ae090a6b608ec667486ede4b">Dune::Hybrid::switchCases</a>·(const·Cases·&amp;cases,·const·Value·&amp;value,·Branches·&amp;&amp;branches)</td></tr>
 138 <tr·class="memdesc:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Switch·statement.··<a·href="a00405.html#gaa3c378c2ae090a6b608ec667486ede4b">More...</a><br·/></td></tr>
 139 <tr·class="separator:gaa3c378c2ae090a6b608ec667486ede4b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table>140 </table>
87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2> 
88 <div·class="textblock"><p·>Provides·check·for·implementation·of·interface·methods·when·using·static·polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging·purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up·possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has·to·be·defined.·</p> 
89 <dl·class="section·author"><dt>Author</dt><dd>Robert·Kloefkorn</dd></dl> 
90 <p>Use·by·invoking·CHECK_INTERFACE_IMPLEMENTATION(asImp().methodToCheck())·and·for·template·methods·double·(CHECK_INTERFACE_IMPLEMENTATION((asImp().template·methodToCheck&lt;param&gt;·())).·If·either·NDEBUG·is·defined·or·DUNE_INTERFACECHECK·is·undefined·the·CHECK_INTERFACE_IMPLEMENTATION·macro·is·empty.</p> 
91 <p·>Note:·adding·the·interface·check·to·a·method·will·cause·the·implementation·of·the·method·to·be·called·twice,·so·before·use·make·sure·that·this·will·not·cause·problems·e.g.·if·internal·counters·are·updated.·</p> 
92 </div><h2·class="groupheader">Macro·Definition·Documentation</h2> 
93 <a·id="a3ae5cb4f2a5339eb07e94108e67bcca7"·name="a3ae5cb4f2a5339eb07e94108e67bcca7"></a> 
94 <h2·class="memtitle"><span·class="permalink"><a·href="#a3ae5cb4f2a5339eb07e94108e67bcca7">&#9670;&nbsp;</a></span>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</h2> 
  
95 <div·class="memitem"> 
96 <div·class="memproto"> 
97 ······<table·class="memname"> 
98 ········<tr> 
99 ··········<td·class="memname">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</td> 
100 ··········<td>(</td> 
101 ··········<td·class="paramtype">&#160;</td> 
102 ··········<td·class="paramname">__interface_method_to_call__</td><td>)</td> 
103 ··········<td>&#160;&#160;&#160;··(__interface_method_to_call__)</td> 
104 ········</tr> 
105 ······</table> 
106 </div><div·class="memdoc"> 
107 <p·>The·macro·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION·throws·an·exception,·if·the·interface·method·is·not·implemented·and·just·calls·the·method·otherwise.·If·NDEBUG·is·defined·no·checking·is·done·and·the·method·is·just·called.·</p> 
  
108 </div> 
109 </div> 
110 <a·id="acd7d9df83980a2517813af61e0eb22e1"·name="acd7d9df83980a2517813af61e0eb22e1"></a> 
111 <h2·class="memtitle"><span·class="permalink"><a·href="#acd7d9df83980a2517813af61e0eb22e1">&#9670;&nbsp;</a></span>CHECK_INTERFACE_IMPLEMENTATION</h2> 
  
112 <div·class="memitem"> 
113 <div·class="memproto"> 
114 ······<table·class="memname"> 
Max diff block lines reached; 271/17257 bytes (1.57%) of diff not shown.
4.98 KB
html2text {}
    
Offset 4, 49 lines modifiedOffset 4, 79 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 Namespaces·|·Functions
 8 hybridutilities.hh·File·Reference
 9 #include·<tuple>
 10 #include·<utility>
 11 #include·<dune/common/typetraits.hh>
 12 #include·<dune/common/typeutilities.hh>
7 Macros 
8 bartonnackmanifcheck.hh·File·Reference 
9 Provides·check·for·implementation·of·interface·methods·when·using·static 
10 polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging 
11 purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up 
12 possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has 
13 to·be·defined.·More... 
14 #include·<dune/common/exceptions.hh>13 #include·<dune/common/fvector.hh>
 14 #include·<dune/common/indices.hh>
 15 #include·<dune/common/assertandreturn.hh>
 16 #include·<dune/common/rangeutilities.hh>
15 Go_to_the_source_code_of_this_file.17 Go_to_the_source_code_of_this_file.
16 ·Macros 
17 #define CHECK_INTERFACE_IMPLEMENTATION(dummy)18 ·Namespaces
 19 namespace· Dune
 20  ··········Dune·namespace.
18  21  
19 #define CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)    
20 ·········(__interface_method_to_call__)22 namespace· Dune::Hybrid
 23  
 24 ·Functions
 25 template<class·T·>
 26 ··········constexpr·auto Dune::Hybrid::size·(const·T·&t)
 27  ························Size·query.·More...
 28  
 29 template<class·Container·,·class·Index·>
 30 constexpr·decltype(auto) Dune::Hybrid::elementAt·(Container·&&c,·Index·&&i)
 31  ························Get·element·at·given·position·from·container.·More...
 32  
 33 template<class·Begin·,·class·End·>
 34 ··········constexpr·auto Dune::Hybrid::integralRange·(const·Begin·&begin,
 35 ··························const·End·&end)
 36  ························Create·an·integral·range.·More...
 37  
 38 template<class·End·>
 39 ··········constexpr·auto Dune::Hybrid::integralRange·(const·End·&end)
 40  ························Create·an·integral·range·starting·from·0.·More...
 41  
 42 template<class·Range·,·class·F·>
 43 ··········constexpr·void Dune::Hybrid::forEach·(Range·&&range,·F·&&f)
 44  ························Range·based·for·loop.·More...
 45  
 46 template<class·Range·,·class·T·,·class·F·>
 47 ·············constexpr·T Dune::Hybrid::accumulate·(Range·&&range,·T·value,·F
 48 ··························&&f)
 49  ························Accumulate·values.·More...
 50  
 51 template<class·Condition·,·class·IfFunc·,·class·ElseFunc·>
 52 ··········decltype(auto) Dune::Hybrid::ifElse·(const·Condition·&condition,
 53 ··························IfFunc·&&ifFunc,·ElseFunc·&&elseFunc)
 54  ························A·conditional·expression.·More...
 55  
 56 template<class·Condition·,·class·IfFunc·>
 57 ····················void Dune::Hybrid::ifElse·(const·Condition·&condition,
 58 ··························IfFunc·&&ifFunc)
 59  ························A·conditional·expression.·More...
 60  
 61 template<class·T1·,·class·T2·>
 62 ··········constexpr·auto Dune::Hybrid::equals·(T1·&&t1,·T2·&&t2)
 63  ························Equality·comparison.·More...
 64  
 65 template<class·Cases·,·class·Value·,·class·Branches·,·class·ElseBranch·>
 66 constexpr·decltype(auto) Dune::Hybrid::switchCases·(const·Cases·&cases,·const
 67 ··························Value·&value,·Branches·&&branches,·ElseBranch
 68 ··························&&elseBranch)
 69  ························Switch·statement.·More...
 70  
 71 template<class·Cases·,·class·Value·,·class·Branches·>
 72 ··········constexpr·void Dune::Hybrid::switchCases·(const·Cases·&cases,·const
 73 ··························Value·&value,·Branches·&&branches)
 74  ························Switch·statement.·More...
21  75  
22 *****·Detailed·Description·***** 
23 Provides·check·for·implementation·of·interface·methods·when·using·static 
24 polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging 
25 purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up 
26 possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has 
27 to·be·defined. 
28 ··Author 
29 ······Robert·Kloefkorn 
30 Use·by·invoking·CHECK_INTERFACE_IMPLEMENTATION(asImp().methodToCheck())·and·for 
31 template·methods·double·(CHECK_INTERFACE_IMPLEMENTATION((asImp().template 
32 methodToCheck<param>·())).·If·either·NDEBUG·is·defined·or·DUNE_INTERFACECHECK 
33 is·undefined·the·CHECK_INTERFACE_IMPLEMENTATION·macro·is·empty. 
34 Note:·adding·the·interface·check·to·a·method·will·cause·the·implementation·of 
35 the·method·to·be·called·twice,·so·before·use·make·sure·that·this·will·not·cause 
36 problems·e.g.·if·internal·counters·are·updated. 
37 *****·Macro·Definition·Documentation·***** 
38 *****·◆ CHECK_AND_CALL_INTERFACE_IMPLEMENTATION·***** 
39 #define·································(· __interface_method_to_call__·)·    
40 CHECK_AND_CALL_INTERFACE_IMPLEMENTATION····································(__interface_method_to_call__) 
41 The·macro·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION·throws·an·exception,·if·the 
42 interface·method·is·not·implemented·and·just·calls·the·method·otherwise.·If 
43 NDEBUG·is·defined·no·checking·is·done·and·the·method·is·just·called. 
44 *****·◆ CHECK_INTERFACE_IMPLEMENTATION·***** 
45 #define·CHECK_INTERFACE_IMPLEMENTATION·(· dummy·) 
  
46 ===============================================================================76 ===============================================================================
47 ·····Generated·by [doxygen]·1.9.477 ·····Generated·by [doxygen]·1.9.4
82.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a00392_source.html
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·bartonnackmanifcheck.hh·Source·File</title>8 <title>dune-common:·hybridutilities.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 60 lines modifiedOffset 62, 354 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">bartonnackmanifcheck.hh</div></div>68 ··<div·class="headertitle"><div·class="title">hybridutilities.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00392.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00392.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span><span·class="comment"></span><span·class="comment">//-·Dune·includes</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_HYBRIDUTILITIES_HH</span></div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_HYBRIDUTILITIES_HH</span></div>
 77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
 78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
76 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00092.html">dune/common/typeutilities.hh</a>&gt;</span></div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00098.html">dune/common/fvector.hh</a>&gt;</span></div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00275.html">dune/common/indices.hh</a>&gt;</span></div>
 85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00218.html">dune/common/assertandreturn.hh</a>&gt;</span></div>
 86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00302.html">dune/common/rangeutilities.hh</a>&gt;</span></div>
 87 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>·</div>
 88 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div>
 89 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>·</div>
 90 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 91 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a00439.html">···21</a></span><span·class="keyword">namespace·</span>Hybrid·{</div>
77 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>92 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>·</div>
78 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span><span·class="preprocessor">#ifdef·CHECK_INTERFACE_IMPLEMENTATION</span></div> 
79 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span><span·class="preprocessor">#undef·CHECK_INTERFACE_IMPLEMENTATION</span></div> 
80 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span><span·class="preprocessor">#endif</span></div>93 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span>Impl·{</div>
81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span><span·class="preprocessor">#ifdef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</span></div> 
82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">#undef·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</span></div>94 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 95 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="comment">//·Try·if·tuple_size·is·implemented·for·class</span></div>
 96 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T,·<span·class="keywordtype">int</span>·i&gt;</div>
 97 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="a01412.html">Dune::FieldVector&lt;T,·i&gt;</a>&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;5&gt;</a>&amp;)</div>
 98 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>····-&gt;·<span·class="keyword">decltype</span>(std::integral_constant&lt;std::size_t,i&gt;())</div>
 99 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>··{</div>
83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">#endif</span></div>100 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keywordflow">return</span>·{};</div>
 101 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>··}</div>
84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>102 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
85 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="preprocessor">#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK</span></div> 
86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno"><a·class="line"·href="a00392.html#acd7d9df83980a2517813af61e0eb22e1">···35</a></span><span·class="preprocessor">#define·CHECK_INTERFACE_IMPLEMENTATION(dummy)</span></div> 
87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#else</span></div> 
88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#define·CHECK_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\</span></div> 
89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">··{\</span></div>103 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··<span·class="comment">//·Try·if·tuple_size·is·implemented·for·class</span></div>
 104 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 105 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·T&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;3&gt;</a>&amp;)</div>
 106 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····-&gt;·<span·class="keyword">decltype</span>(std::integral_constant&lt;std::size_t,std::tuple_size&lt;T&gt;::value&gt;())</div>
90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">····static·bool·call·=·false;·\</span></div> 
91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">····if(·call·==·true·)·\</span></div> 
92 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">······DUNE_THROW(NotImplemented,&quot;Interface·method·not·implemented!&quot;</span>);\</div> 
93 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>····call·=·true;·\</div> 
94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····try·{·\</div>107 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··{</div>
 108 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>····<span·class="keywordflow">return</span>·{};</div>
 109 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··}</div>
95 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>······(__interface_method_to_call__);·\</div>110 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 111 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="comment">//·Try·if·there&#39;s·a·static·constexpr·size()</span></div>
 112 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 113 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·T&amp;,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;1&gt;</a>&amp;)</div>
 114 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>····-&gt;·<span·class="keyword">decltype</span>(std::integral_constant&lt;std::size_t,T::size()&gt;())</div>
96 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>······call·=·false;·\</div>115 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··{</div>
 116 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····<span·class="keywordflow">return</span>·{};</div>
97 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····}·\</div>117 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··}</div>
98 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····catch·(·...·)·\</div> 
99 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>····{·\</div>118 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
100 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>······call·=·false;·\</div> 
101 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······throw;·\</div> 
102 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>····}·\</div>119 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="comment">//·As·a·last·resort·try·if·there&#39;s·a·static·constexpr·size()</span></div>
 120 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 121 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·T&amp;·t,·<span·class="keyword">const</span>·<a·class="code·hl_struct"·href="a03184.html">PriorityTag&lt;0&gt;</a>&amp;)</div>
103 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··}</div>122 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div>
104 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div>123 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keywordflow">return</span>·t.size();</div>
105 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div>124 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··}</div>
 125 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
106 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#if·defined·NDEBUG·||·!defined·DUNE_INTERFACECHECK</span></div> 
107 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a00392.html#a3ae5cb4f2a5339eb07e94108e67bcca7">···61</a></span><span·class="preprocessor">#define·CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)·\</span></div> 
108 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="preprocessor">··(__interface_method_to_call__)</span></div>126 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>}·<span·class="comment">//·namespace·Impl</span></div>
 127 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div>
 128 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
 129 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div>
 130 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
 131 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">···82</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">size</a>(<span·class="keyword">const</span>·T&amp;·t)</div>
 132 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>{</div>
 133 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00405.html#ga0df72c8cdbb69ecf6da9483d5cdac1de">Impl::size</a>(t,·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;42&gt;</a>());</div>
 134 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>}</div>
 135 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>
 136 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>
 137 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
 138 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">namespace·</span>Impl·{</div>
 139 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 140 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>Container,·<span·class="keyword">class·</span>Index,</div>
 141 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>····std::enable_if_t&lt;IsTuple&lt;std::decay_t&lt;Container&gt;&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div>
 142 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">elementAt</a>(Container&amp;&amp;·c,·Index&amp;&amp;,·<a·class="code·hl_struct"·href="a03180.html">PriorityTag&lt;2&gt;</a>)</div>
 143 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··{</div>
 144 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····<span·class="keywordflow">return</span>·std::get&lt;std::decay_t&lt;Index&gt;::value&gt;(c);</div>
 145 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··}</div>
 146 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div>
 147 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>T,·T...·t,·<span·class="keyword">class·</span>Index&gt;</div>
 148 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">elementAt</a>(std::integer_sequence&lt;T,·t...&gt;·c,·Index,·PriorityTag&lt;1&gt;)</div>
 149 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··{</div>
 150 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="a00406.html#ga0fe355ad7447f0f4bc8ae0b6a39f6318">Dune::integerSequenceEntry</a>(c,·std::integral_constant&lt;std::size_t,·Index::value&gt;());</div>
 151 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>··}</div>
 152 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div>
 153 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·Container,·<span·class="keyword">class</span>·Index&gt;</div>
 154 <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<a·class="code·hl_function"·href="a00405.html#gac85f9d601905a3d0001edd94bd67b2d7">elementAt</a>(Container&amp;&amp;·c,·Index&amp;&amp;·i,·PriorityTag&lt;0&gt;)</div>
 155 <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··{</div>
Max diff block lines reached; 271/70180 bytes (0.39%) of diff not shown.
14.1 KB
html2text {}
    
Offset 4, 59 lines modifiedOffset 4, 447 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 bartonnackmanifcheck.hh7 hybridutilities.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·24//-·Dune·includes14 ·5#ifndef·DUNE_COMMON_HYBRIDUTILITIES_HH
 15 ·6#define·DUNE_COMMON_HYBRIDUTILITIES_HH
 16 ·7
 17 ·8#include·<tuple>
 18 ·9#include·<utility>
 19 ·10
 20 ·11#include·<dune/common/typetraits.hh>
 21 ·12#include·<dune/common/typeutilities.hh>
15 ·25#include·<dune/common/exceptions.hh>22 ·13#include·<dune/common/fvector.hh>
 23 ·14#include·<dune/common/indices.hh>
 24 ·15#include·<dune/common/assertandreturn.hh>
 25 ·16#include·<dune/common/rangeutilities.hh>
 26 ·17
 27 ·18
 28 ·19
 29 ·20namespace·Dune·{
 30 21namespace·Hybrid·{
 31 ·22
 32 ·23namespace·Impl·{
 33 ·24
 34 ·25·//·Try·if·tuple_size·is·implemented·for·class
 35 ·26·template<class·T,·int·i>
 36 ·27·constexpr·auto·size(const·Dune::FieldVector<T,_i>&,·const·PriorityTag<5>&)
 37 ·28·->·decltype(std::integral_constant<std::size_t,i>())
 38 ·29·{
 39 ·30·return·{};
 40 ·31·}
 41 ·32
 42 ·33·//·Try·if·tuple_size·is·implemented·for·class
 43 ·34·template<class·T>
 44 ·35·constexpr·auto·size(const·T&,·const·PriorityTag<3>&)
 45 ·36·->·decltype(std::integral_constant<std::size_t,std::tuple_size<T>::value>
 46 ())
 47 ·37·{
 48 ·38·return·{};
 49 ·39·}
 50 ·40
 51 ·41·//·Try·if·there's·a·static·constexpr·size()
 52 ·42·template<class·T>
 53 ·43·constexpr·auto·size(const·T&,·const·PriorityTag<1>&)
 54 ·44·->·decltype(std::integral_constant<std::size_t,T::size()>())
 55 ·45·{
 56 ·46·return·{};
 57 ·47·}
 58 ·48
 59 ·49·//·As·a·last·resort·try·if·there's·a·static·constexpr·size()
 60 ·50·template<class·T>
 61 ·51·constexpr·auto·size(const·T&·t,·const·PriorityTag<0>&)
 62 ·52·{
 63 ·53·return·t.size();
 64 ·54·}
 65 ·55
 66 ·56}·//·namespace·Impl
 67 ·57
 68 ·58
 69 ·59
 70 ·81template<class·T>
 71 82constexpr·auto·size(const·T&·t)
 72 ·83{
 73 ·84·return·Impl::size(t,·PriorityTag<42>());
 74 ·85}
 75 ·86
 76 ·87
 77 ·88
 78 ·89namespace·Impl·{
 79 ·90
 80 ·91·template<class·Container,·class·Index,
 81 ·92·std::enable_if_t<IsTuple<std::decay_t<Container>>::value,·int>·=·0>
 82 ·93·constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&,·PriorityTag<2>)
 83 ·94·{
 84 ·95·return·std::get<std::decay_t<Index>::value>(c);
 85 ·96·}
 86 ·97
 87 ·98·template<class·T,·T...·t,·class·Index>
 88 ·99·constexpr·decltype(auto)·elementAt(std::integer_sequence<T,·t...>·c,·Index,
 89 PriorityTag<1>)
 90 ·100·{
 91 ·101·return·Dune::integerSequenceEntry(c,·std::integral_constant<std::size_t,
 92 Index::value>());
 93 ·102·}
 94 ·103
 95 ·104·template<class·Container,·class·Index>
 96 ·105·constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&·i,
 97 PriorityTag<0>)
 98 ·106·{
 99 ·107·return·c[i];
 100 ·108·}
 101 ·109
 102 ·110}·//·namespace·Impl
 103 ·111
 104 ·112
 105 ·113
 106 ·134template<class·Container,·class·Index>
 107 135constexpr·decltype(auto)·elementAt(Container&&·c,·Index&&·i)
 108 ·136{
 109 ·137·return·Impl::elementAt(std::forward<Container>(c),·std::forward<Index>(i),
 110 PriorityTag<42>());
 111 ·138}
 112 ·139
 113 ·140
 114 ·141
 115 ·142namespace·Impl·{
 116 ·143
 117 ·144·template<class·Begin,·class·End,
 118 ·145·std::enable_if_t<IsIntegralConstant<Begin>::value·and
 119 IsIntegralConstant<End>::value,·int>·=·0>
 120 ·146·constexpr·auto·integralRange(const·Begin&·/*begin*/,·const·End&·/*end*/,
 121 const·PriorityTag<1>&)
 122 ·147·{
 123 ·148·static_assert(Begin::value·<=·End::value,·"You·cannot·create·an
 124 integralRange·where·end<begin");
 125 ·149·return·Dune::StaticIntegralRange<std::size_t,_End::value,_Begin::value>();
 126 ·150·}
Max diff block lines reached; 116/14372 bytes (0.81%) of diff not shown.
2.99 KB
./usr/share/doc/libdune-common-doc/doxygen/a00396.html
    
Offset 73, 22 lines modifiedOffset 73, 22 lines modified
73 <dt>Member·<a·class="el"·href="a02204.html#a6f7959361cf241356fb6cd7a1618e643">Dune::FakeMPIHelper::getCollectiveCommunication</a>··()</dt>73 <dt>Member·<a·class="el"·href="a02204.html#a6f7959361cf241356fb6cd7a1618e643">Dune::FakeMPIHelper::getCollectiveCommunication</a>··()</dt>
74 <dd><a·class="anchor"·id="_deprecated000003"></a>getCollectionCommunication·is·deprecated·and·will·be·removed·after·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·2.9.·</dd>74 <dd><a·class="anchor"·id="_deprecated000003"></a>getCollectionCommunication·is·deprecated·and·will·be·removed·after·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·2.9.·</dd>
75 <dt>Member·<a·class="el"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">Dune::makeToUnique</a>··(Args·&amp;&amp;...·args)</dt>75 <dt>Member·<a·class="el"·href="a00425.html#a6eaf1fedf356f1f09c981cd6863fbb7b">Dune::makeToUnique</a>··(Args·&amp;&amp;...·args)</dt>
76 <dd><a·class="anchor"·id="_deprecated000012"></a>··</dd>76 <dd><a·class="anchor"·id="_deprecated000012"></a>··</dd>
77 <dt>Member·<a·class="el"·href="a02208.html#accdbef5c68d94f5dfa9a1f5ed24cddc6">Dune::MPIHelper::getCollectiveCommunication</a>··()</dt>77 <dt>Member·<a·class="el"·href="a02208.html#accdbef5c68d94f5dfa9a1f5ed24cddc6">Dune::MPIHelper::getCollectiveCommunication</a>··()</dt>
78 <dd><a·class="anchor"·id="_deprecated000004"></a>getCollectionCommunication·is·deprecated·and·will·be·removed·after·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·2.9.·</dd>78 <dd><a·class="anchor"·id="_deprecated000004"></a>getCollectionCommunication·is·deprecated·and·will·be·removed·after·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·2.9.·</dd>
79 <dt>Class·<a·class="el"·href="a02424.html">Dune::Power&lt;·p·&gt;</a>··</dt>79 <dt>Class·<a·class="el"·href="a02424.html">Dune::Power&lt;·p·&gt;</a>··</dt>
80 <dd><a·class="anchor"·id="_deprecated000006"></a>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00119.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!·</dd>80 <dd><a·class="anchor"·id="_deprecated000006"></a>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00281.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!·</dd>
81 <dt>Class·<a·class="el"·href="a02420.html">Dune::StaticPower&lt;·b,·p·&gt;</a>··</dt>81 <dt>Class·<a·class="el"·href="a02420.html">Dune::StaticPower&lt;·b,·p·&gt;</a>··</dt>
82 <dd><a·class="anchor"·id="_deprecated000005"></a>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00119.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!··</dd>82 <dd><a·class="anchor"·id="_deprecated000005"></a>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00281.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!··</dd>
83 <dt>Member·<a·class="el"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">Dune::Std::make_array</a>··(const·Args·&amp;...·args)</dt>83 <dt>Member·<a·class="el"·href="a00406.html#ga7c124024a54a49656588ff974ee67996">Dune::Std::make_array</a>··(const·Args·&amp;...·args)</dt>
84 <dd><a·class="anchor"·id="_deprecated000009"></a>Use·deduction·guide·of·<code>std::array</code>·or·<code>std::to_array</code>.··</dd>84 <dd><a·class="anchor"·id="_deprecated000009"></a>Use·deduction·guide·of·<code>std::array</code>·or·<code>std::to_array</code>.··</dd>
85 <dt>Member·<a·class="el"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">Dune::ToUniquePtr</a>··</dt>85 <dt>Member·<a·class="el"·href="a00425.html#a9bbde85cc655ad122680398fef8fa5cd">Dune::ToUniquePtr</a>··</dt>
86 <dd><a·class="anchor"·id="_deprecated000011"></a>··</dd>86 <dd><a·class="anchor"·id="_deprecated000011"></a>··</dd>
87 <dt>File·<a·class="el"·href="a00239.html">simd.hh</a>··</dt>87 <dt>File·<a·class="el"·href="a00059.html">simd.hh</a>··</dt>
88 <dd><a·class="anchor"·id="_deprecated000007"></a>Use·the·newer·simd·architecture·from·<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>·instead.·</dd>88 <dd><a·class="anchor"·id="_deprecated000007"></a>Use·the·newer·simd·architecture·from·<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>·instead.·</dd>
89 </dl>89 </dl>
90 </div></div><!--·contents·-->90 </div></div><!--·contents·-->
91 </div><!--·PageDoc·-->91 </div><!--·PageDoc·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
5.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a00397.html
    
Offset 122, 28 lines modifiedOffset 122, 28 lines modified
122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>122 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
123 <tr·class="memitem:a00417"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00417.html">Vectorization</a></td></tr>123 <tr·class="memitem:a00417"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00417.html">Vectorization</a></td></tr>
124 <tr·class="memdesc:a00417"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Abstractions·for·using·vectorization·libraries.·<br·/></td></tr>124 <tr·class="memdesc:a00417"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Abstractions·for·using·vectorization·libraries.·<br·/></td></tr>
125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>125 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
126 </table><table·class="memberdecls">126 </table><table·class="memberdecls">
127 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>127 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
128 Files</h2></td></tr>128 Files</h2></td></tr>
129 <tr·class="memitem:a00386"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00386.html">function.hh</a></td></tr>129 <tr·class="memitem:a00377"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00377.html">function.hh</a></td></tr>
130 <tr·class="memdesc:a00386"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>130 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>
131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
132 <tr·class="memitem:a00293"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00293.html">indent.hh</a></td></tr>132 <tr·class="memitem:a00248"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00248.html">indent.hh</a></td></tr>
133 <tr·class="memdesc:a00293"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>133 <tr·class="memdesc:a00248"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>
134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>134 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
135 <tr·class="memitem:a00317"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">ios_state.hh</a></td></tr>135 <tr·class="memitem:a00029"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">ios_state.hh</a></td></tr>
136 <tr·class="memdesc:a00317"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·storing·and·resetting·stream·attributes.·<br·/></td></tr>136 <tr·class="memdesc:a00029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·storing·and·resetting·stream·attributes.·<br·/></td></tr>
137 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>137 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
138 <tr·class="memitem:a00176"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00176.html">sllist.hh</a></td></tr>138 <tr·class="memitem:a00272"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00272.html">sllist.hh</a></td></tr>
139 <tr·class="memdesc:a00176"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·singly·linked·list·together·with·the·necessary·iterators.·<br·/></td></tr>139 <tr·class="memdesc:a00272"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·singly·linked·list·together·with·the·necessary·iterators.·<br·/></td></tr>
140 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>140 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
141 <tr·class="memitem:a00368"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00368.html">timer.hh</a></td></tr>141 <tr·class="memitem:a00245"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00245.html">timer.hh</a></td></tr>
142 <tr·class="memdesc:a00368"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·timing·class.·<br·/></td></tr>142 <tr·class="memdesc:a00245"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·simple·timing·class.·<br·/></td></tr>
143 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>143 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
144 </table><table·class="memberdecls">144 </table><table·class="memberdecls">
145 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>145 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
146 Namespaces</h2></td></tr>146 Namespaces</h2></td></tr>
147 <tr·class="memitem:a00441"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00441.html">Dune::Indices</a></td></tr>147 <tr·class="memitem:a00441"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00441.html">Dune::Indices</a></td></tr>
148 <tr·class="memdesc:a00441"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·with·predefined·compile·time·indices·for·the·range·[0,19].·<br·/></td></tr>148 <tr·class="memdesc:a00441"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·with·predefined·compile·time·indices·for·the·range·[0,19].·<br·/></td></tr>
149 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>149 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.76 KB
./usr/share/doc/libdune-common-doc/doxygen/a00400.html
    
Offset 79, 19 lines modifiedOffset 79, 19 lines modified
79 <area·shape="rect"·title="Utilities·for·filesystem·path·management."·alt=""·coords="120,5,243,31"/>79 <area·shape="rect"·title="Utilities·for·filesystem·path·management."·alt=""·coords="120,5,243,31"/>
80 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,5,72,31"/>80 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,5,72,31"/>
81 </map>81 </map>
82 </div>82 </div>
83 <table·class="memberdecls">83 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
85 Files</h2></td></tr>85 Files</h2></td></tr>
86 <tr·class="memitem:a00125"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00125.html">path.cc</a></td></tr>86 <tr·class="memitem:a00383"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00383.html">path.cc</a></td></tr>
87 <tr·class="memdesc:a00125"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>87 <tr·class="memdesc:a00383"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a00194"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00194.html">path.hh</a></td></tr>89 <tr·class="memitem:a00176"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00176.html">path.hh</a></td></tr>
90 <tr·class="memdesc:a00194"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>90 <tr·class="memdesc:a00176"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utilities·for·handling·filesystem·paths.·<br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="func-members"·name="func-members"></a>
94 Functions</h2></td></tr>94 Functions</h2></td></tr>
95 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">Dune::concatPaths</a>·(const·std::string·&amp;base,·const·std::string·&amp;p)</td></tr>95 <tr·class="memitem:gaf35055b90526b3266f36956a4e361f50"><td·class="memItemLeft"·align="right"·valign="top">std::string&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">Dune::concatPaths</a>·(const·std::string·&amp;base,·const·std::string·&amp;p)</td></tr>
96 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<a·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">More...</a><br·/></td></tr>96 <tr·class="memdesc:gaf35055b90526b3266f36956a4e361f50"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">concatenate·two·paths··<a·href="a00400.html#gaf35055b90526b3266f36956a4e361f50">More...</a><br·/></td></tr>
97 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:gaf35055b90526b3266f36956a4e361f50"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a00403.html
    
Offset 81, 16 lines modifiedOffset 81, 16 lines modified
81 <area·shape="rect"·title="Utility·classes·which·can·be·used·with·std::tuple."·alt=""·coords="120,5,221,31"/>81 <area·shape="rect"·title="Utility·classes·which·can·be·used·with·std::tuple."·alt=""·coords="120,5,221,31"/>
82 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,5,72,31"/>82 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,5,72,31"/>
83 </map>83 </map>
84 </div>84 </div>
85 <table·class="memberdecls">85 <table·class="memberdecls">
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
87 Files</h2></td></tr>87 Files</h2></td></tr>
88 <tr·class="memitem:a00212"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00212.html">tupleutility.hh</a></td></tr>88 <tr·class="memitem:a00284"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00284.html">tupleutility.hh</a></td></tr>
89 <tr·class="memdesc:a00212"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Contains·utility·classes·which·can·be·used·with·std::tuple.·<br·/></td></tr>89 <tr·class="memdesc:a00284"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Contains·utility·classes·which·can·be·used·with·std::tuple.·<br·/></td></tr>
90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table><table·class="memberdecls">91 </table><table·class="memberdecls">
92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>92 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
93 Classes</h2></td></tr>93 Classes</h2></td></tr>
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02916.html">Dune::TupleAccessTraits&lt;·T·&gt;</a></td></tr>94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02916.html">Dune::TupleAccessTraits&lt;·T·&gt;</a></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02920.html">Dune::TupleAccessTraits&lt;·T·*·&gt;</a></td></tr>96 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02920.html">Dune::TupleAccessTraits&lt;·T·*·&gt;</a></td></tr>
2.76 KB
./usr/share/doc/libdune-common-doc/doxygen/a00406.html
    
Offset 85, 19 lines modifiedOffset 85, 19 lines modified
85 <area·shape="rect"·href="a00408.html"·title="Class·implementing·different·number·representations·and·helper·functions."·alt=""·coords="447,7,523,33"/>85 <area·shape="rect"·href="a00408.html"·title="Class·implementing·different·number·representations·and·helper·functions."·alt=""·coords="447,7,523,33"/>
86 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,7,72,33"/>86 <area·shape="rect"·href="a00399.html"·title="Collection·of·helper·classes,·type·traits,·etc."·alt=""·coords="5,7,72,33"/>
87 </map>87 </map>
88 </div>88 </div>
89 <table·class="memberdecls">89 <table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
91 Files</h2></td></tr>91 Files</h2></td></tr>
92 <tr·class="memitem:a00182"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00182.html">keywords.hh</a></td></tr>92 <tr·class="memitem:a00308"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00308.html">keywords.hh</a></td></tr>
93 <tr·class="memdesc:a00182"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.·<br·/></td></tr>93 <tr·class="memdesc:a00308"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available.·<br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:a00377"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00377.html">proxymemberaccess.hh</a></td></tr>95 <tr·class="memitem:a00209"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00209.html">proxymemberaccess.hh</a></td></tr>
96 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·<br·/></td></tr>96 <tr·class="memdesc:a00209"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">98 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
100 Namespaces</h2></td></tr>100 Namespaces</h2></td></tr>
101 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>101 <tr·class="memitem:a00450"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00450.html">Dune::Std</a></td></tr>
102 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>102 <tr·class="memdesc:a00450"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·features·backported·from·new·C++·standards.·<br·/></td></tr>
103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.09 KB
./usr/share/doc/libdune-common-doc/doxygen/a00410.html
    
Offset 86, 16 lines modifiedOffset 86, 16 lines modified
86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="groups"·name="groups"></a>86 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="groups"·name="groups"></a>
87 Modules</h2></td></tr>87 Modules</h2></td></tr>
88 <tr·class="memitem:a00423"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html">Standard·Debug·Streams</a></td></tr>88 <tr·class="memitem:a00423"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00423.html">Standard·Debug·Streams</a></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table><table·class="memberdecls">90 </table><table·class="memberdecls">
91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>91 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
92 Files</h2></td></tr>92 Files</h2></td></tr>
93 <tr·class="memitem:a00101"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00101.html">debugstream.hh</a></td></tr>93 <tr·class="memitem:a00185"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">debugstream.hh</a></td></tr>
94 <tr·class="memdesc:a00101"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<br·/></td></tr>94 <tr·class="memdesc:a00185"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<br·/></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table><table·class="memberdecls">96 </table><table·class="memberdecls">
97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>97 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
98 Classes</h2></td></tr>98 Classes</h2></td></tr>
99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&gt;</a></td></tr>99 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01376.html">Dune::greater_or_equal&lt;·current,·threshold·&gt;</a></td></tr>
100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Greater·or·equal·template·test.··<a·href="a01376.html#details">More...</a><br·/></td></tr>100 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Greater·or·equal·template·test.··<a·href="a01376.html#details">More...</a><br·/></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
7.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a00411.html
    
Offset 84, 37 lines modifiedOffset 84, 37 lines modified
84 <area·shape="rect"·title="Type·traits·to·retrieve·the·field·and·the·real·type·of·classes."·alt=""·coords="129,5,296,45"/>84 <area·shape="rect"·title="Type·traits·to·retrieve·the·field·and·the·real·type·of·classes."·alt=""·coords="129,5,296,45"/>
85 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="376,13,536,38"/>85 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="376,13,536,38"/>
86 </map>86 </map>
87 </div>87 </div>
88 <table·class="memberdecls">88 <table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
90 Files</h2></td></tr>90 Files</h2></td></tr>
91 <tr·class="memitem:a00389"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00389.html">densematrix.hh</a></td></tr>91 <tr·class="memitem:a00236"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00236.html">densematrix.hh</a></td></tr>
92 <tr·class="memdesc:a00389"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.·<br·/></td></tr>92 <tr·class="memdesc:a00236"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.·<br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:a00128"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00128.html">densevector.hh</a></td></tr>94 <tr·class="memitem:a00104"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">densevector.hh</a></td></tr>
95 <tr·class="memdesc:a00128"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·<br·/></td></tr>95 <tr·class="memdesc:a00104"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·<br·/></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:a00197"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html">dynmatrix.hh</a></td></tr>97 <tr·class="memitem:a00305"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00305.html">dynmatrix.hh</a></td></tr>
98 <tr·class="memdesc:a00197"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·<br·/></td></tr>98 <tr·class="memdesc:a00305"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:a00179"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00179.html">dynvector.hh</a></td></tr>100 <tr·class="memitem:a00242"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00242.html">dynvector.hh</a></td></tr>
101 <tr·class="memdesc:a00179"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·vector·with·a·dynamic·size.·<br·/></td></tr>101 <tr·class="memdesc:a00242"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·vector·with·a·dynamic·size.·<br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:a00251"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html">fmatrix.hh</a></td></tr>103 <tr·class="memitem:a00107"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00107.html">fmatrix.hh</a></td></tr>
104 <tr·class="memdesc:a00251"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.·<br·/></td></tr>104 <tr·class="memdesc:a00107"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00122"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00122.html">fvector.hh</a></td></tr>106 <tr·class="memitem:a00098"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00098.html">fvector.hh</a></td></tr>
107 <tr·class="memdesc:a00122"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·<br·/></td></tr>107 <tr·class="memdesc:a00098"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·<br·/></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00167"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00167.html">scalarmatrixview.hh</a></td></tr>109 <tr·class="memitem:a00167"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00167.html">scalarmatrixview.hh</a></td></tr>
110 <tr·class="memdesc:a00167"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·<br·/></td></tr>110 <tr·class="memdesc:a00167"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00134"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00134.html">scalarvectorview.hh</a></td></tr>112 <tr·class="memitem:a00131"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00131.html">scalarvectorview.hh</a></td></tr>
113 <tr·class="memdesc:a00134"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·<br·/></td></tr>113 <tr·class="memdesc:a00131"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar.·<br·/></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 </table><table·class="memberdecls">115 </table><table·class="memberdecls">
116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>116 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
117 Namespaces</h2></td></tr>117 Namespaces</h2></td></tr>
118 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>118 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
119 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>119 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
8.69 KB
./usr/share/doc/libdune-common-doc/doxygen/a00412.html
    
Offset 79, 16 lines modifiedOffset 79, 16 lines modified
79 <area·shape="rect"·title="·"·alt=""·coords="129,7,260,33"/>79 <area·shape="rect"·title="·"·alt=""·coords="129,7,260,33"/>
80 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="419,7,579,33"/>80 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="419,7,579,33"/>
81 </map>81 </map>
82 </div>82 </div>
83 <table·class="memberdecls">83 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
85 Files</h2></td></tr>85 Files</h2></td></tr>
86 <tr·class="memitem:a00185"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">exceptions.hh</a></td></tr>86 <tr·class="memitem:a00122"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00122.html">exceptions.hh</a></td></tr>
87 <tr·class="memdesc:a00185"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<br·/></td></tr>87 <tr·class="memdesc:a00122"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
91 Classes</h2></td></tr>91 Classes</h2></td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01548.html">Dune::Exception</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01548.html">Dune::Exception</a></td></tr>
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·Dune-Exceptions.··<a·href="a01548.html#details">More...</a><br·/></td></tr>93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·for·Dune-Exceptions.··<a·href="a01548.html#details">More...</a><br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 <tr·class="separator:gab7d05055167bdb067cce622f051cb551"><td·class="memSeparator"·colspan="2">&#160;</td></tr>147 <tr·class="separator:gab7d05055167bdb067cce622f051cb551"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
148 <tr·class="memitem:gad42c9f04f7871a06e6149e1a11185404"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gad42c9f04f7871a06e6149e1a11185404">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;stream,·const·<a·class="el"·href="a01548.html">Exception</a>·&amp;e)</td></tr>148 <tr·class="memitem:gad42c9f04f7871a06e6149e1a11185404"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gad42c9f04f7871a06e6149e1a11185404">Dune::operator&lt;&lt;</a>·(std::ostream·&amp;stream,·const·<a·class="el"·href="a01548.html">Exception</a>·&amp;e)</td></tr>
149 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr>149 <tr·class="separator:gad42c9f04f7871a06e6149e1a11185404"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
150 </table>150 </table>
151 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>151 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
152 <p·>The·Dune-exceptions·are·designed·to·allow·a·simple·derivation·of·subclasses·and·to·accept·a·text·written·in·the·'&lt;&lt;'·syntax.</p>152 <p·>The·Dune-exceptions·are·designed·to·allow·a·simple·derivation·of·subclasses·and·to·accept·a·text·written·in·the·'&lt;&lt;'·syntax.</p>
153 <p·>Example·of·usage:</p>153 <p·>Example·of·usage:</p>
154 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div>154 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
155 <div·class="line">·</div>155 <div·class="line">·</div>
156 <div·class="line">...</div>156 <div·class="line">...</div>
157 <div·class="line">·</div>157 <div·class="line">·</div>
158 <div·class="line">class·FileNotFoundError·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01556.html">Dune::IOError</a>·{};</div>158 <div·class="line">class·FileNotFoundError·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01556.html">Dune::IOError</a>·{};</div>
159 <div·class="line">·</div>159 <div·class="line">·</div>
160 <div·class="line">...</div>160 <div·class="line">...</div>
161 <div·class="line">·</div>161 <div·class="line">·</div>
Offset 170, 31 lines modifiedOffset 170, 31 lines modified
170 <div·class="line">...</div>170 <div·class="line">...</div>
171 <div·class="line">·</div>171 <div·class="line">·</div>
172 <div·class="line">file.close();</div>172 <div·class="line">file.close();</div>
173 <div·class="line">}</div>173 <div·class="line">}</div>
174 <div·class="line">·</div>174 <div·class="line">·</div>
175 <div·class="line">...</div>175 <div·class="line">...</div>
176 <div·class="line">·</div>176 <div·class="line">·</div>
177 <div·class="line">int·<a·class="code·hl_function"·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>·()·{</div>177 <div·class="line">int·<a·class="code·hl_function"·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>·()·{</div>
178 <div·class="line"><span·class="keywordflow">try</span>·{</div>178 <div·class="line"><span·class="keywordflow">try</span>·{</div>
179 <div·class="line">·...</div>179 <div·class="line">·...</div>
180 <div·class="line">}·<span·class="keywordflow">catch</span>·(<a·class="code·hl_class"·href="a01556.html">Dune::IOError</a>·&amp;e)·{</div>180 <div·class="line">}·<span·class="keywordflow">catch</span>·(<a·class="code·hl_class"·href="a01556.html">Dune::IOError</a>·&amp;e)·{</div>
181 <div·class="line">·std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;I/O·error:·&quot;</span>·&lt;&lt;·e·&lt;&lt;·std::endl;</div>181 <div·class="line">·std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;I/O·error:·&quot;</span>·&lt;&lt;·e·&lt;&lt;·std::endl;</div>
182 <div·class="line">·<span·class="keywordflow">return</span>·1;</div>182 <div·class="line">·<span·class="keywordflow">return</span>·1;</div>
183 <div·class="line">}·<span·class="keywordflow">catch</span>·(<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>·&amp;e)·{</div>183 <div·class="line">}·<span·class="keywordflow">catch</span>·(<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>·&amp;e)·{</div>
184 <div·class="line">·std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;Generic·Dune·error:·&quot;</span>·&lt;&lt;·e·&lt;&lt;·std::endl;</div>184 <div·class="line">·std::cerr·&lt;&lt;·<span·class="stringliteral">&quot;Generic·Dune·error:·&quot;</span>·&lt;&lt;·e·&lt;&lt;·std::endl;</div>
185 <div·class="line">·<span·class="keywordflow">return</span>·2;</div>185 <div·class="line">·<span·class="keywordflow">return</span>·2;</div>
186 <div·class="line">}</div>186 <div·class="line">}</div>
187 <div·class="line">}</div>187 <div·class="line">}</div>
 188 <div·class="ttc"·id="aa00122_html"><div·class="ttname"><a·href="a00122.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
188 <div·class="ttc"·id="aa00071_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div>189 <div·class="ttc"·id="aa00332_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div>
189 <div·class="ttc"·id="aa00185_html"><div·class="ttname"><a·href="a00185.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div> 
190 <div·class="ttc"·id="aa00412_html_gad7fce127d6eaabe773adbc409514f21e"><div·class="ttname"><a·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a></div><div·class="ttdeci">#define·DUNE_THROW(E,·m)</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:218</div></div>190 <div·class="ttc"·id="aa00412_html_gad7fce127d6eaabe773adbc409514f21e"><div·class="ttname"><a·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a></div><div·class="ttdeci">#define·DUNE_THROW(E,·m)</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:218</div></div>
191 <div·class="ttc"·id="aa01548_html"><div·class="ttname"><a·href="a01548.html">Dune::Exception</a></div><div·class="ttdoc">Base·class·for·Dune-Exceptions.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:96</div></div>191 <div·class="ttc"·id="aa01548_html"><div·class="ttname"><a·href="a01548.html">Dune::Exception</a></div><div·class="ttdoc">Base·class·for·Dune-Exceptions.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:96</div></div>
192 <div·class="ttc"·id="aa01556_html"><div·class="ttname"><a·href="a01556.html">Dune::IOError</a></div><div·class="ttdoc">Default·exception·class·for·I/O·errors.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:231</div></div>192 <div·class="ttc"·id="aa01556_html"><div·class="ttname"><a·href="a01556.html">Dune::IOError</a></div><div·class="ttdoc">Default·exception·class·for·I/O·errors.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:231</div></div>
193 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00185.html"·title="A·few·common·exception·classes.">exceptions.hh</a>·for·detailed·info·</dd></dl>193 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00122.html"·title="A·few·common·exception·classes.">exceptions.hh</a>·for·detailed·info·</dd></dl>
194 <h2·class="groupheader">Macro·Definition·Documentation</h2>194 <h2·class="groupheader">Macro·Definition·Documentation</h2>
195 <a·id="gad7fce127d6eaabe773adbc409514f21e"·name="gad7fce127d6eaabe773adbc409514f21e"></a>195 <a·id="gad7fce127d6eaabe773adbc409514f21e"·name="gad7fce127d6eaabe773adbc409514f21e"></a>
196 <h2·class="memtitle"><span·class="permalink"><a·href="#gad7fce127d6eaabe773adbc409514f21e">&#9670;&nbsp;</a></span>DUNE_THROW</h2>196 <h2·class="memtitle"><span·class="permalink"><a·href="#gad7fce127d6eaabe773adbc409514f21e">&#9670;&nbsp;</a></span>DUNE_THROW</h2>
  
197 <div·class="memitem">197 <div·class="memitem">
198 <div·class="memproto">198 <div·class="memproto">
199 ······<table·class="memname">199 ······<table·class="memname">
Offset 217, 15 lines modifiedOffset 217, 15 lines modified
217 ········</tr>217 ········</tr>
218 ······</table>218 ······</table>
219 </div><div·class="memdoc">219 </div><div·class="memdoc">
220 <b>Value:</b><div·class="fragment"><div·class="line">······························<span·class="keywordflow">do</span>·{·E·th__ex;·std::ostringstream·th__out;·\</div>220 <b>Value:</b><div·class="fragment"><div·class="line">······························<span·class="keywordflow">do</span>·{·E·th__ex;·std::ostringstream·th__out;·\</div>
221 <div·class="line">······························th__out·&lt;&lt;·THROWSPEC(E)·&lt;&lt;·m;·th__ex.message(th__out.str());·<span·class="keywordflow">throw</span>·th__ex;·\</div>221 <div·class="line">······························th__out·&lt;&lt;·THROWSPEC(E)·&lt;&lt;·m;·th__ex.message(th__out.str());·<span·class="keywordflow">throw</span>·th__ex;·\</div>
222 <div·class="line">}·<span·class="keywordflow">while</span>·(0)</div>222 <div·class="line">}·<span·class="keywordflow">while</span>·(0)</div>
223 </div><!--·fragment·--><p·>Macro·to·throw·an·exception</p>223 </div><!--·fragment·--><p·>Macro·to·throw·an·exception</p>
224 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div>224 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
225 </div><!--·fragment·--><dl·class="params"><dt>Parameters</dt><dd>225 </div><!--·fragment·--><dl·class="params"><dt>Parameters</dt><dd>
226 ··<table·class="params">226 ··<table·class="params">
227 ····<tr><td·class="paramname">E</td><td>exception·class·derived·from·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>·</td></tr>227 ····<tr><td·class="paramname">E</td><td>exception·class·derived·from·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>·</td></tr>
228 ····<tr><td·class="paramname">m</td><td>reason·for·this·exception·in·ostream-notation</td></tr>228 ····<tr><td·class="paramname">m</td><td>reason·for·this·exception·in·ostream-notation</td></tr>
229 ··</table>229 ··</table>
230 ··</dd>230 ··</dd>
231 </dl>231 </dl>
551 B
html2text {}
    
Offset 96, 19 lines modifiedOffset 96, 19 lines modified
96 std::cerr·<<·"I/O·error:·"·<<·e·<<·std::endl;96 std::cerr·<<·"I/O·error:·"·<<·e·<<·std::endl;
97 return·1;97 return·1;
98 }·catch·(Dune::Exception·&e)·{98 }·catch·(Dune::Exception·&e)·{
99 std::cerr·<<·"Generic·Dune·error:·"·<<·e·<<·std::endl;99 std::cerr·<<·"Generic·Dune·error:·"·<<·e·<<·std::endl;
100 return·2;100 return·2;
101 }101 }
102 }102 }
 103 exceptions.hh
 104 A·few·common·exception·classes.
103 main105 main
104 int·main(int·argc,·char·**argv)106 int·main(int·argc,·char·**argv)
105 Definition:·mpi_collective_benchmark.cc:293107 Definition:·mpi_collective_benchmark.cc:293
106 exceptions.hh 
107 A·few·common·exception·classes. 
108 DUNE_THROW108 DUNE_THROW
109 #define·DUNE_THROW(E,·m)109 #define·DUNE_THROW(E,·m)
110 Definition:·exceptions.hh:218110 Definition:·exceptions.hh:218
111 Dune::Exception111 Dune::Exception
112 Base·class·for·Dune-Exceptions.112 Base·class·for·Dune-Exceptions.
113 Definition:·exceptions.hh:96113 Definition:·exceptions.hh:96
114 Dune::IOError114 Dune::IOError
3.62 KB
./usr/share/doc/libdune-common-doc/doxygen/a00414.html
    
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 <tr·class="memdesc:ga7185b695129604b07bfddf92f3a01c04"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·difference·between·two·pointers.··<a·href="a00414.html#ga7185b695129604b07bfddf92f3a01c04">More...</a><br·/></td></tr>148 <tr·class="memdesc:ga7185b695129604b07bfddf92f3a01c04"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·difference·between·two·pointers.··<a·href="a00414.html#ga7185b695129604b07bfddf92f3a01c04">More...</a><br·/></td></tr>
149 <tr·class="separator:ga7185b695129604b07bfddf92f3a01c04"><td·class="memSeparator"·colspan="2">&#160;</td></tr>149 <tr·class="separator:ga7185b695129604b07bfddf92f3a01c04"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
150 </table>150 </table>
151 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>151 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
152 <p·>Iterator·facades·for·writing·stl·conformant·iterators.·</p>152 <p·>Iterator·facades·for·writing·stl·conformant·iterators.·</p>
153 <p·>With·using·these·facades·writing·iterators·for·arbitrary·containers·becomes·much·less·cumbersome·as·only·few·functions·have·to·be·implemented.·All·other·functions·needed·by·the·stl·are·provided·by·the·facades·using·the·Barton-Nackman·trick·(also·known·as·curiously·recurring·template·pattern).</p>153 <p·>With·using·these·facades·writing·iterators·for·arbitrary·containers·becomes·much·less·cumbersome·as·only·few·functions·have·to·be·implemented.·All·other·functions·needed·by·the·stl·are·provided·by·the·facades·using·the·Barton-Nackman·trick·(also·known·as·curiously·recurring·template·pattern).</p>
154 <p·>The·following·example·illustrates·how·a·random·access·iterator·might·be·written:</p>154 <p·>The·following·example·illustrates·how·a·random·access·iterator·might·be·written:</p>
155 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include&lt;<a·class="code"·href="a00170.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>155 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include&lt;<a·class="code"·href="a00137.html">dune/common/iteratorfacades.hh</a>&gt;</span></div>
156 <div·class="line">·</div>156 <div·class="line">·</div>
157 <div·class="line">...</div>157 <div·class="line">...</div>
158 <div·class="line">·</div>158 <div·class="line">·</div>
159 <div·class="line">template&lt;<span·class="keyword">class·</span>C,·class·T&gt;</div>159 <div·class="line">template&lt;<span·class="keyword">class·</span>C,·class·T&gt;</div>
160 <div·class="line">class·TestIterator·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01880.html">Dune::BidirectionalIteratorFacade</a>&lt;TestIterator&lt;C,T&gt;,T,·T&amp;,·int&gt;</div>160 <div·class="line">class·TestIterator·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01880.html">Dune::BidirectionalIteratorFacade</a>&lt;TestIterator&lt;C,T&gt;,T,·T&amp;,·int&gt;</div>
161 <div·class="line">{</div>161 <div·class="line">{</div>
162 <div·class="line">·<span·class="keyword">friend</span>·<span·class="keyword">class·</span>TestIterator&lt;typename·<a·class="code·hl_namespace"·href="a00424.html">std</a>::remove_const&lt;C&gt;::type,·typename·std::remove_const&lt;T&gt;::type·&gt;;</div>162 <div·class="line">·<span·class="keyword">friend</span>·<span·class="keyword">class·</span>TestIterator&lt;typename·<a·class="code·hl_namespace"·href="a00424.html">std</a>::remove_const&lt;C&gt;::type,·typename·std::remove_const&lt;T&gt;::type·&gt;;</div>
Offset 231, 15 lines modifiedOffset 231, 15 lines modified
231 <div·class="line">···assert(other.container_==container_);</div>231 <div·class="line">···assert(other.container_==container_);</div>
232 <div·class="line">···<span·class="keywordflow">return</span>·other.position_·-·position_;</div>232 <div·class="line">···<span·class="keywordflow">return</span>·other.position_·-·position_;</div>
233 <div·class="line">·}</div>233 <div·class="line">·}</div>
234 <div·class="line"><span·class="keyword">private</span>:</div>234 <div·class="line"><span·class="keyword">private</span>:</div>
235 <div·class="line">·C·*container_;</div>235 <div·class="line">·C·*container_;</div>
236 <div·class="line">·<span·class="keywordtype">size_t</span>·position_;</div>236 <div·class="line">·<span·class="keywordtype">size_t</span>·position_;</div>
237 <div·class="line">};</div>237 <div·class="line">};</div>
238 <div·class="ttc"·id="aa00170_html"><div·class="ttname"><a·href="a00170.html">iteratorfacades.hh</a></div><div·class="ttdoc">This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.</div></div>238 <div·class="ttc"·id="aa00137_html"><div·class="ttname"><a·href="a00137.html">iteratorfacades.hh</a></div><div·class="ttdoc">This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators.</div></div>
239 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>239 <div·class="ttc"·id="aa00424_html"><div·class="ttname"><a·href="a00424.html">std</a></div><div·class="ttdoc">STL·namespace.</div></div>
240 <div·class="ttc"·id="aa01880_html"><div·class="ttname"><a·href="a01880.html">Dune::BidirectionalIteratorFacade</a></div><div·class="ttdoc">Facade·class·for·stl·conformant·bidirectional·iterators.</div><div·class="ttdef"><b>Definition:</b>·iteratorfacades.hh:274</div></div>240 <div·class="ttc"·id="aa01880_html"><div·class="ttname"><a·href="a01880.html">Dune::BidirectionalIteratorFacade</a></div><div·class="ttdoc">Facade·class·for·stl·conformant·bidirectional·iterators.</div><div·class="ttdef"><b>Definition:</b>·iteratorfacades.hh:274</div></div>
241 </div><!--·fragment·--><p>·See·dune/common/test/iteratorbase.hh·for·details.·</p>241 </div><!--·fragment·--><p>·See·dune/common/test/iteratorbase.hh·for·details.·</p>
242 <h2·class="groupheader">Function·Documentation</h2>242 <h2·class="groupheader">Function·Documentation</h2>
243 <a·id="ga920ece963b8c9993e176bcfde00c9224"·name="ga920ece963b8c9993e176bcfde00c9224"></a>243 <a·id="ga920ece963b8c9993e176bcfde00c9224"·name="ga920ece963b8c9993e176bcfde00c9224"></a>
244 <h2·class="memtitle"><span·class="permalink"><a·href="#ga920ece963b8c9993e176bcfde00c9224">&#9670;&nbsp;</a></span>operator!=()·<span·class="overload">[1/3]</span></h2>244 <h2·class="memtitle"><span·class="permalink"><a·href="#ga920ece963b8c9993e176bcfde00c9224">&#9670;&nbsp;</a></span>operator!=()·<span·class="overload">[1/3]</span></h2>
  
7.66 KB
./usr/share/doc/libdune-common-doc/doxygen/a00415.html
    
Offset 90, 37 lines modifiedOffset 90, 37 lines modified
90 Modules</h2></td></tr>90 Modules</h2></td></tr>
91 <tr·class="memitem:a00416"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></td></tr>91 <tr·class="memitem:a00416"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></td></tr>
92 <tr·class="memdesc:a00416"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·syncing·distributed·indexed·data·structures.·<br·/></td></tr>92 <tr·class="memdesc:a00416"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·syncing·distributed·indexed·data·structures.·<br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 </table><table·class="memberdecls">94 </table><table·class="memberdecls">
95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>95 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
96 Files</h2></td></tr>96 Files</h2></td></tr>
97 <tr·class="memitem:a00023"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">communication.hh</a></td></tr>97 <tr·class="memitem:a00368"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00368.html">communication.hh</a></td></tr>
98 <tr·class="memdesc:a00023"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></td></tr>98 <tr·class="memdesc:a00368"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:a00023"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">communication.hh</a></td></tr>100 <tr·class="memitem:a00368"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00368.html">communication.hh</a></td></tr>
101 <tr·class="memdesc:a00023"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></td></tr>101 <tr·class="memdesc:a00368"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:a00038"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html">mpicommunication.hh</a></td></tr>103 <tr·class="memitem:a00347"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00347.html">mpicommunication.hh</a></td></tr>
104 <tr·class="memdesc:a00038"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·<br·/></td></tr>104 <tr·class="memdesc:a00347"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00050"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00050.html">mpidata.hh</a></td></tr>106 <tr·class="memitem:a00356"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00356.html">mpidata.hh</a></td></tr>
107 <tr·class="memdesc:a00050"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·<br·/></td></tr>107 <tr·class="memdesc:a00356"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·<br·/></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00032"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00032.html">mpiguard.hh</a></td></tr>109 <tr·class="memitem:a00371"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00371.html">mpiguard.hh</a></td></tr>
110 <tr·class="memdesc:a00032"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·<br·/></td></tr>110 <tr·class="memdesc:a00371"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00026"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">mpihelper.hh</a></td></tr>112 <tr·class="memitem:a00335"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00335.html">mpihelper.hh</a></td></tr>
113 <tr·class="memdesc:a00026"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<br·/></td></tr>113 <tr·class="memdesc:a00335"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<br·/></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 <tr·class="memitem:a00014"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">mpipack.hh</a></td></tr>115 <tr·class="memitem:a00341"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">mpipack.hh</a></td></tr>
116 <tr·class="memdesc:a00014"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<br·/></td></tr>116 <tr·class="memdesc:a00341"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<br·/></td></tr>
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 <tr·class="memitem:a00029"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">mpitraits.hh</a></td></tr>118 <tr·class="memitem:a00365"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00365.html">mpitraits.hh</a></td></tr>
119 <tr·class="memdesc:a00029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<br·/></td></tr>119 <tr·class="memdesc:a00365"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<br·/></td></tr>
120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>120 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
121 </table><table·class="memberdecls">121 </table><table·class="memberdecls">
122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>122 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
123 Namespaces</h2></td></tr>123 Namespaces</h2></td></tr>
124 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>124 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
125 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>125 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
8.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a00416.html
    
Offset 84, 40 lines modifiedOffset 84, 40 lines modified
84 <area·shape="rect"·title="Provides·classes·for·syncing·distributed·indexed·data·structures."·alt=""·coords="213,5,353,45"/>84 <area·shape="rect"·title="Provides·classes·for·syncing·distributed·indexed·data·structures."·alt=""·coords="213,5,353,45"/>
85 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="5,13,165,38"/>85 <area·shape="rect"·href="a00415.html"·title="Abstractions·for·parallel·computing."·alt=""·coords="5,13,165,38"/>
86 </map>86 </map>
87 </div>87 </div>
88 <table·class="memberdecls">88 <table·class="memberdecls">
89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>89 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
90 Files</h2></td></tr>90 Files</h2></td></tr>
91 <tr·class="memitem:a00056"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">communicator.hh</a></td></tr>91 <tr·class="memitem:a00362"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00362.html">communicator.hh</a></td></tr>
92 <tr·class="memdesc:a00056"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·<br·/></td></tr>92 <tr·class="memdesc:a00362"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·<br·/></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:a00035"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.html">indexset.hh</a></td></tr>94 <tr·class="memitem:a00314"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html">indexset.hh</a></td></tr>
95 <tr·class="memdesc:a00035"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<br·/></td></tr>95 <tr·class="memdesc:a00314"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<br·/></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:a00044"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">indicessyncer.hh</a></td></tr>97 <tr·class="memitem:a00329"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html">indicessyncer.hh</a></td></tr>
98 <tr·class="memdesc:a00044"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·<br·/></td></tr>98 <tr·class="memdesc:a00329"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:a04442"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04442.html">parallel/interface.hh</a></td></tr>100 <tr·class="memitem:a04442"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04442.html">parallel/interface.hh</a></td></tr>
101 <tr·class="memdesc:a04442"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·building·the·communication·interface·between·remote·indices.·<br·/></td></tr>101 <tr·class="memdesc:a04442"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·building·the·communication·interface·between·remote·indices.·<br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:a00062"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">localindex.hh</a></td></tr>103 <tr·class="memitem:a00317"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">localindex.hh</a></td></tr>
104 <tr·class="memdesc:a00062"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·<br·/></td></tr>104 <tr·class="memdesc:a00317"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:a00068"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">plocalindex.hh</a></td></tr>106 <tr·class="memitem:a00320"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html">plocalindex.hh</a></td></tr>
107 <tr·class="memdesc:a00068"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·<br·/></td></tr>107 <tr·class="memdesc:a00320"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·<br·/></td></tr>
108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:a00017"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">remoteindices.hh</a></td></tr>109 <tr·class="memitem:a00359"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html">remoteindices.hh</a></td></tr>
110 <tr·class="memdesc:a00017"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<br·/></td></tr>110 <tr·class="memdesc:a00359"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<br·/></td></tr>
111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a00011"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">selection.hh</a></td></tr>112 <tr·class="memitem:a00323"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00323.html">selection.hh</a></td></tr>
113 <tr·class="memdesc:a00011"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>113 <tr·class="memdesc:a00323"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>
114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>114 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
115 <tr·class="memitem:a00059"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00059.html">variablesizecommunicator.hh</a></td></tr>115 <tr·class="memitem:a00338"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00338.html">variablesizecommunicator.hh</a></td></tr>
116 <tr·class="memdesc:a00059"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·<br·/></td></tr>116 <tr·class="memdesc:a00338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·<br·/></td></tr>
117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>117 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
118 </table><table·class="memberdecls">118 </table><table·class="memberdecls">
119 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>119 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
120 Classes</h2></td></tr>120 Classes</h2></td></tr>
121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01992.html">Dune::SizeOne</a></td></tr>121 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01992.html">Dune::SizeOne</a></td></tr>
122 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.··<a·href="a01992.html#details">More...</a><br·/></td></tr>122 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.··<a·href="a01992.html#details">More...</a><br·/></td></tr>
123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.01 KB
./usr/share/doc/libdune-common-doc/doxygen/a00419.html
    
Offset 82, 16 lines modifiedOffset 82, 16 lines modified
82 </div>82 </div>
83 <table·class="memberdecls">83 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
85 Files</h2></td></tr>85 Files</h2></td></tr>
86 <tr·class="memitem:a04445"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.html">simd/interface.hh</a></td></tr>86 <tr·class="memitem:a04445"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.html">simd/interface.hh</a></td></tr>
87 <tr·class="memdesc:a04445"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">User·interface·of·the·SIMD·abstraction.·<br·/></td></tr>87 <tr·class="memdesc:a04445"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">User·interface·of·the·SIMD·abstraction.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:a00281"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00281.html">io.hh</a></td></tr>89 <tr·class="memitem:a00056"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">io.hh</a></td></tr>
90 <tr·class="memdesc:a00281"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>90 <tr·class="memdesc:a00056"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 </table><table·class="memberdecls">92 </table><table·class="memberdecls">
93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>93 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
94 Namespaces</h2></td></tr>94 Namespaces</h2></td></tr>
95 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>95 <tr·class="memitem:a00429"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00429.html">Dune::Simd</a></td></tr>
96 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>96 <tr·class="memdesc:a00429"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·vectorization·interface·functions·used·by·library·developers.·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.62 KB
./usr/share/doc/libdune-common-doc/doxygen/a00420.html
    
Offset 80, 19 lines modifiedOffset 80, 19 lines modified
80 <area·shape="rect"·href="a00417.html"·title="Abstractions·for·using·vectorization·libraries."·alt=""·coords="5,13,103,38"/>80 <area·shape="rect"·href="a00417.html"·title="Abstractions·for·using·vectorization·libraries."·alt=""·coords="5,13,103,38"/>
81 <area·shape="rect"·title="How·to·add·support·for·a·new·vectorization·library."·alt=""·coords="151,5,311,45"/>81 <area·shape="rect"·title="How·to·add·support·for·a·new·vectorization·library."·alt=""·coords="151,5,311,45"/>
82 </map>82 </map>
83 </div>83 </div>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
86 Files</h2></td></tr>86 Files</h2></td></tr>
87 <tr·class="memitem:a00269"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00269.html">base.hh</a></td></tr>87 <tr·class="memitem:a00068"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">base.hh</a></td></tr>
88 <tr·class="memdesc:a00269"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<br·/></td></tr>88 <tr·class="memdesc:a00068"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<br·/></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:a00272"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00272.html">defaults.hh</a></td></tr>90 <tr·class="memitem:a00062"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">defaults.hh</a></td></tr>
91 <tr·class="memdesc:a00272"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<br·/></td></tr>91 <tr·class="memdesc:a00062"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<br·/></td></tr>
92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
95 Namespaces</h2></td></tr>95 Namespaces</h2></td></tr>
96 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr>96 <tr·class="memitem:a00430"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00430.html">Dune::Simd::Overloads</a></td></tr>
97 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr>97 <tr·class="memdesc:a00430"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Namespace·for·the·overloads·and·specializations·that·make·up·a·SIMD·implementation.·<br·/></td></tr>
98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>98 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
2.11 KB
./usr/share/doc/libdune-common-doc/doxygen/a00421.html
    
Offset 75, 16 lines modifiedOffset 75, 16 lines modified
75 <area·shape="rect"·href="a00418.html"·title="How·to·request·vectorization·from·Dune."·alt=""·coords="5,5,164,45"/>75 <area·shape="rect"·href="a00418.html"·title="How·to·request·vectorization·from·Dune."·alt=""·coords="5,5,164,45"/>
76 <area·shape="rect"·title="·"·alt=""·coords="212,5,431,45"/>76 <area·shape="rect"·title="·"·alt=""·coords="212,5,431,45"/>
77 </map>77 </map>
78 </div>78 </div>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
81 Files</h2></td></tr>81 Files</h2></td></tr>
82 <tr·class="memitem:a00275"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00275.html">standard.hh</a></td></tr>82 <tr·class="memitem:a00065"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html">standard.hh</a></td></tr>
83 <tr·class="memdesc:a00275"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·the·standard·built-in·types.·<br·/></td></tr>83 <tr·class="memdesc:a00065"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·the·standard·built-in·types.·<br·/></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>85 </table>
86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
87 <p·>This·implements·the·vectorization·interface·for·scalar·types.·It·applies·to·any·type·that·does·not·have·a·specialized·interface·implementation.</p>87 <p·>This·implements·the·vectorization·interface·for·scalar·types.·It·applies·to·any·type·that·does·not·have·a·specialized·interface·implementation.</p>
88 <p·>As·an·application·developer,·there·is·nothing·special·you·need·to·do·to·get·support·for·standard·types·in·the·vectorization·abstraction.·If·the·dune·classes·you·are·using·provide·support·for·vectorization,·they·will·include·<code>&lt;<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>&gt;</code>,·which·will·pull·in·the·abstraction·for·standard·types·automatically.·You·simply·need·to·make·sure·that·the·types·themselves·are·supported:</p><ul>88 <p·>As·an·application·developer,·there·is·nothing·special·you·need·to·do·to·get·support·for·standard·types·in·the·vectorization·abstraction.·If·the·dune·classes·you·are·using·provide·support·for·vectorization,·they·will·include·<code>&lt;<a·class="el"·href="a04448.html"·title="Include·file·for·users·of·the·SIMD·abstraction·layer.">dune/common/simd/simd.hh</a>&gt;</code>,·which·will·pull·in·the·abstraction·for·standard·types·automatically.·You·simply·need·to·make·sure·that·the·types·themselves·are·supported:</p><ul>
89 <li>for·built-in·types·there·is·nothing·you·need·to·do,</li>89 <li>for·built-in·types·there·is·nothing·you·need·to·do,</li>
90 <li>for·<code>std::complex</code>,·you·need·to·<code>#include·&lt;complex&gt;</code></li>90 <li>for·<code>std::complex</code>,·you·need·to·<code>#include·&lt;complex&gt;</code></li>
5.64 KB
./usr/share/doc/libdune-common-doc/doxygen/a00423.html
    
Offset 280, 16 lines modifiedOffset 280, 16 lines modified
280 ··········<td·class="paramname"></td><td>)</td>280 ··········<td·class="paramname"></td><td>)</td>
281 ··········<td></td>281 ··········<td></td>
282 ········</tr>282 ········</tr>
283 ······</table>283 ······</table>
284 </div><div·class="memdoc">284 </div><div·class="memdoc">
  
285 <p>Stream·for·error·messages.·</p>285 <p>Stream·for·error·messages.·</p>
286 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div>286 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
287 <div·class="ttc"·id="aa00374_html"><div·class="ttname"><a·href="a00374.html">stdstreams.hh</a></div><div·class="ttdoc">Standard·Dune·debug·streams.</div></div>287 <div·class="ttc"·id="aa00260_html"><div·class="ttname"><a·href="a00260.html">stdstreams.hh</a></div><div·class="ttdoc">Standard·Dune·debug·streams.</div></div>
288 </div><!--·fragment·--><p·>Only·packages·integrating·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·completely·will·redirect·it.·The·output·of·derr·is·independent·of·the·debug-level,·only·the·activation-flag·is·checked.·</p>288 </div><!--·fragment·--><p·>Only·packages·integrating·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·completely·will·redirect·it.·The·output·of·derr·is·independent·of·the·debug-level,·only·the·activation-flag·is·checked.·</p>
  
289 </div>289 </div>
290 </div>290 </div>
291 <a·id="ga765267750e6b2718fa718ab5f9fa1ed9"·name="ga765267750e6b2718fa718ab5f9fa1ed9"></a>291 <a·id="ga765267750e6b2718fa718ab5f9fa1ed9"·name="ga765267750e6b2718fa718ab5f9fa1ed9"></a>
292 <h2·class="memtitle"><span·class="permalink"><a·href="#ga765267750e6b2718fa718ab5f9fa1ed9">&#9670;&nbsp;</a></span>dgrave</h2>292 <h2·class="memtitle"><span·class="permalink"><a·href="#ga765267750e6b2718fa718ab5f9fa1ed9">&#9670;&nbsp;</a></span>dgrave</h2>
  
Offset 303, 15 lines modifiedOffset 303, 15 lines modified
303 ··········<td·class="paramname"></td><td>)</td>303 ··········<td·class="paramname"></td><td>)</td>
304 ··········<td></td>304 ··········<td></td>
305 ········</tr>305 ········</tr>
306 ······</table>306 ······</table>
307 </div><div·class="memdoc">307 </div><div·class="memdoc">
  
308 <p>Stream·for·warnings·indicating·fatal·errors.·</p>308 <p>Stream·for·warnings·indicating·fatal·errors.·</p>
309 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div>309 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
310 </div><!--·fragment·-->·310 </div><!--·fragment·-->·
311 </div>311 </div>
312 </div>312 </div>
313 <a·id="gab5d2fce8ed49f95067d9b5b54d6f5def"·name="gab5d2fce8ed49f95067d9b5b54d6f5def"></a>313 <a·id="gab5d2fce8ed49f95067d9b5b54d6f5def"·name="gab5d2fce8ed49f95067d9b5b54d6f5def"></a>
314 <h2·class="memtitle"><span·class="permalink"><a·href="#gab5d2fce8ed49f95067d9b5b54d6f5def">&#9670;&nbsp;</a></span>dinfo</h2>314 <h2·class="memtitle"><span·class="permalink"><a·href="#gab5d2fce8ed49f95067d9b5b54d6f5def">&#9670;&nbsp;</a></span>dinfo</h2>
  
315 <div·class="memitem">315 <div·class="memitem">
Offset 324, 15 lines modifiedOffset 324, 15 lines modified
324 ··········<td·class="paramname"></td><td>)</td>324 ··········<td·class="paramname"></td><td>)</td>
325 ··········<td></td>325 ··········<td></td>
326 ········</tr>326 ········</tr>
327 ······</table>327 ······</table>
328 </div><div·class="memdoc">328 </div><div·class="memdoc">
  
329 <p>Stream·for·informative·output.·</p>329 <p>Stream·for·informative·output.·</p>
330 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div>330 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
331 </div><!--·fragment·--><p·>Summary·infos·on·what·a·module·does,·runtimes,·etc.·</p>331 </div><!--·fragment·--><p·>Summary·infos·on·what·a·module·does,·runtimes,·etc.·</p>
  
332 </div>332 </div>
333 </div>333 </div>
334 <a·id="gab8900dadc584357856d4f6cc06324cea"·name="gab8900dadc584357856d4f6cc06324cea"></a>334 <a·id="gab8900dadc584357856d4f6cc06324cea"·name="gab8900dadc584357856d4f6cc06324cea"></a>
335 <h2·class="memtitle"><span·class="permalink"><a·href="#gab8900dadc584357856d4f6cc06324cea">&#9670;&nbsp;</a></span>dverb</h2>335 <h2·class="memtitle"><span·class="permalink"><a·href="#gab8900dadc584357856d4f6cc06324cea">&#9670;&nbsp;</a></span>dverb</h2>
  
Offset 346, 15 lines modifiedOffset 346, 15 lines modified
346 ··········<td·class="paramname"></td><td>)</td>346 ··········<td·class="paramname"></td><td>)</td>
347 ··········<td></td>347 ··········<td></td>
348 ········</tr>348 ········</tr>
349 ······</table>349 ······</table>
350 </div><div·class="memdoc">350 </div><div·class="memdoc">
  
351 <p><a·class="el"·href="a02840.html"·title="An·adapter·to·turn·a·class·into·a·singleton.">Singleton</a>·of·verbose·debug·stream.·</p>351 <p><a·class="el"·href="a02840.html"·title="An·adapter·to·turn·a·class·into·a·singleton.">Singleton</a>·of·verbose·debug·stream.·</p>
352 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div>352 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
353 </div><!--·fragment·-->·353 </div><!--·fragment·-->·
354 </div>354 </div>
355 </div>355 </div>
356 <a·id="ga20bcb085658a3b88393e47a1d36d667c"·name="ga20bcb085658a3b88393e47a1d36d667c"></a>356 <a·id="ga20bcb085658a3b88393e47a1d36d667c"·name="ga20bcb085658a3b88393e47a1d36d667c"></a>
357 <h2·class="memtitle"><span·class="permalink"><a·href="#ga20bcb085658a3b88393e47a1d36d667c">&#9670;&nbsp;</a></span>dvverb</h2>357 <h2·class="memtitle"><span·class="permalink"><a·href="#ga20bcb085658a3b88393e47a1d36d667c">&#9670;&nbsp;</a></span>dvverb</h2>
  
358 <div·class="memitem">358 <div·class="memitem">
Offset 367, 15 lines modifiedOffset 367, 15 lines modified
367 ··········<td·class="paramname"></td><td>)</td>367 ··········<td·class="paramname"></td><td>)</td>
368 ··········<td></td>368 ··········<td></td>
369 ········</tr>369 ········</tr>
370 ······</table>370 ······</table>
371 </div><div·class="memdoc">371 </div><div·class="memdoc">
  
372 <p>stream·for·very·verbose·output.·</p>372 <p>stream·for·very·verbose·output.·</p>
373 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div>373 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
374 </div><!--·fragment·--><p·>Information·on·the·lowest·level.·This·is·expected·to·report·insane·amounts·of·information.·Use·of·the·activation-flag·to·only·generate·output·near·the·problem·is·recommended.·</p>374 </div><!--·fragment·--><p·>Information·on·the·lowest·level.·This·is·expected·to·report·insane·amounts·of·information.·Use·of·the·activation-flag·to·only·generate·output·near·the·problem·is·recommended.·</p>
  
375 </div>375 </div>
376 </div>376 </div>
377 <a·id="ga4bff1feeab1e96f08aca7796cc69b4ea"·name="ga4bff1feeab1e96f08aca7796cc69b4ea"></a>377 <a·id="ga4bff1feeab1e96f08aca7796cc69b4ea"·name="ga4bff1feeab1e96f08aca7796cc69b4ea"></a>
378 <h2·class="memtitle"><span·class="permalink"><a·href="#ga4bff1feeab1e96f08aca7796cc69b4ea">&#9670;&nbsp;</a></span>dwarn</h2>378 <h2·class="memtitle"><span·class="permalink"><a·href="#ga4bff1feeab1e96f08aca7796cc69b4ea">&#9670;&nbsp;</a></span>dwarn</h2>
  
Offset 389, 15 lines modifiedOffset 389, 15 lines modified
389 ··········<td·class="paramname"></td><td>)</td>389 ··········<td·class="paramname"></td><td>)</td>
390 ··········<td></td>390 ··········<td></td>
391 ········</tr>391 ········</tr>
392 ······</table>392 ······</table>
393 </div><div·class="memdoc">393 </div><div·class="memdoc">
  
394 <p>Stream·for·warnings·indicating·problems.·</p>394 <p>Stream·for·warnings·indicating·problems.·</p>
395 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00374.html">dune/common/stdstreams.hh</a>&gt;</span></div>395 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00260.html">dune/common/stdstreams.hh</a>&gt;</span></div>
396 </div><!--·fragment·-->·396 </div><!--·fragment·-->·
397 </div>397 </div>
398 </div>398 </div>
399 <a·id="ga4fc828eb9bb6c6b6143034b9211d2b72"·name="ga4fc828eb9bb6c6b6143034b9211d2b72"></a>399 <a·id="ga4fc828eb9bb6c6b6143034b9211d2b72"·name="ga4fc828eb9bb6c6b6143034b9211d2b72"></a>
400 <h2·class="memtitle"><span·class="permalink"><a·href="#ga4fc828eb9bb6c6b6143034b9211d2b72">&#9670;&nbsp;</a></span>GRAVE_DEBUG_LEVEL</h2>400 <h2·class="memtitle"><span·class="permalink"><a·href="#ga4fc828eb9bb6c6b6143034b9211d2b72">&#9670;&nbsp;</a></span>GRAVE_DEBUG_LEVEL</h2>
  
401 <div·class="memitem">401 <div·class="memitem">
3.71 KB
./usr/share/doc/libdune-common-doc/doxygen/a00425.html
    
Offset 1917, 16 lines modifiedOffset 1917, 16 lines modified
1917 ········<tr>1917 ········<tr>
1918 ··········<td·class="memname">anonymous·enum</td>1918 ··········<td·class="memname">anonymous·enum</td>
1919 ········</tr>1919 ········</tr>
1920 ······</table>1920 ······</table>
1921 </div><div·class="memdoc">1921 </div><div·class="memdoc">
1922 <table·class="fieldtable">1922 <table·class="fieldtable">
1923 <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b"·name="ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b"></a>implementationDefined&#160;</td><td·class="fielddoc"><p·>Dummy·integral·value·used·for·documentation·purposes.·</p>1923 <tr><th·colspan="2">Enumerator</th></tr><tr><td·class="fieldname"><a·id="ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b"·name="ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b"></a>implementationDefined&#160;</td><td·class="fielddoc"><p·>Dummy·integral·value·used·for·documentation·purposes.·</p>
1924 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00350.html">dune/common/documentation.hh</a>&gt;</span></div>1924 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00089.html">dune/common/documentation.hh</a>&gt;</span></div>
1925 <div·class="ttc"·id="aa00350_html"><div·class="ttname"><a·href="a00350.html">documentation.hh</a></div><div·class="ttdoc">Documentation·related·stuff.</div></div>1925 <div·class="ttc"·id="aa00089_html"><div·class="ttname"><a·href="a00089.html">documentation.hh</a></div><div·class="ttdoc">Documentation·related·stuff.</div></div>
1926 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a01488.html"·title="Dummy·struct·used·for·documentation·purposes.">ImplementationDefined</a>·</dd></dl>1926 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a01488.html"·title="Dummy·struct·used·for·documentation·purposes.">ImplementationDefined</a>·</dd></dl>
1927 </td></tr>1927 </td></tr>
1928 </table>1928 </table>
  
1929 </div>1929 </div>
1930 </div>1930 </div>
1931 <h2·class="groupheader">Function·Documentation</h2>1931 <h2·class="groupheader">Function·Documentation</h2>
Offset 4591, 16 lines modifiedOffset 4591, 16 lines modified
4591 ··<td·class="mlabels-right">4591 ··<td·class="mlabels-right">
4592 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>4592 <span·class="mlabels"><span·class="mlabel">inline</span></span>··</td>
4593 ··</tr>4593 ··</tr>
4594 </table>4594 </table>
4595 </div><div·class="memdoc">4595 </div><div·class="memdoc">
  
4596 <p>Create·a·shared_ptr·for·a·stack-allocated·object.·</p>4596 <p>Create·a·shared_ptr·for·a·stack-allocated·object.·</p>
4597 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00284.html">dune/common/shared_ptr.hh</a>&gt;</span></div>4597 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/shared_ptr.hh</a>&gt;</span></div>
4598 <div·class="ttc"·id="aa00284_html"><div·class="ttname"><a·href="a00284.html">shared_ptr.hh</a></div><div·class="ttdoc">This·file·implements·several·utilities·related·to·std::shared_ptr.</div></div>4598 <div·class="ttc"·id="aa00221_html"><div·class="ttname"><a·href="a00221.html">shared_ptr.hh</a></div><div·class="ttdoc">This·file·implements·several·utilities·related·to·std::shared_ptr.</div></div>
4599 </div><!--·fragment·--><p·>Usage:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·i·=·10;</div>4599 </div><!--·fragment·--><p·>Usage:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·i·=·10;</div>
4600 <div·class="line">std::shared_ptr&lt;int&gt;·pi·=·<a·class="code·hl_function"·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">stackobject_to_shared_ptr</a>(i);</div>4600 <div·class="line">std::shared_ptr&lt;int&gt;·pi·=·<a·class="code·hl_function"·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">stackobject_to_shared_ptr</a>(i);</div>
4601 <div·class="ttc"·id="aa00425_html_a0ee36ec1f6416afa0487a8a224376e34"><div·class="ttname"><a·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">Dune::stackobject_to_shared_ptr</a></div><div·class="ttdeci">std::shared_ptr&lt;·T·&gt;·stackobject_to_shared_ptr(T·&amp;t)</div><div·class="ttdoc">Create·a·shared_ptr·for·a·stack-allocated·object.</div><div·class="ttdef"><b>Definition:</b>·shared_ptr.hh:72</div></div>4601 <div·class="ttc"·id="aa00425_html_a0ee36ec1f6416afa0487a8a224376e34"><div·class="ttname"><a·href="a00425.html#a0ee36ec1f6416afa0487a8a224376e34">Dune::stackobject_to_shared_ptr</a></div><div·class="ttdeci">std::shared_ptr&lt;·T·&gt;·stackobject_to_shared_ptr(T·&amp;t)</div><div·class="ttdoc">Create·a·shared_ptr·for·a·stack-allocated·object.</div><div·class="ttdef"><b>Definition:</b>·shared_ptr.hh:72</div></div>
4602 </div><!--·fragment·--><p>·The·<code>std::shared_ptr</code>·points·to·the·object·on·the·stack,·but·its·deleter·is·set·to·an·instance·of·<code><a·class="el"·href="a02588.html"·title="implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything">null_deleter</a></code>·so·that·nothing·happens·when·the·<code>shared_ptr</code>·is·destroyed.</p>4602 </div><!--·fragment·--><p>·The·<code>std::shared_ptr</code>·points·to·the·object·on·the·stack,·but·its·deleter·is·set·to·an·instance·of·<code><a·class="el"·href="a02588.html"·title="implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything">null_deleter</a></code>·so·that·nothing·happens·when·the·<code>shared_ptr</code>·is·destroyed.</p>
4603 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a02588.html"·title="implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything">null_deleter</a>·</dd></dl>4603 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a02588.html"·title="implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything">null_deleter</a>·</dd></dl>
  
4604 </div>4604 </div>
2.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a01268.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>Allocators·which·guarantee·alignment·of·the·memory.··78 <p>Allocators·which·guarantee·alignment·of·the·memory.··
79 ·<a·href="a01268.html#details">More...</a></p>79 ·<a·href="a01268.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>
81 <div·class="dynheader">81 <div·class="dynheader">
82 Inheritance·diagram·for·Dune::AlignedAllocator&lt;·T,·Alignment·&gt;:</div>82 Inheritance·diagram·for·Dune::AlignedAllocator&lt;·T,·Alignment·&gt;:</div>
83 <div·class="dyncontent">83 <div·class="dyncontent">
84 <div·class="center"><img·src="a01267.png"·border="0"·usemap="#a_dune_1_1_aligned_allocator_3_01_t_00_01_alignment_01_4_inherit__map"·alt="Inheritance·graph"/></div>84 <div·class="center"><img·src="a01267.png"·border="0"·usemap="#a_dune_1_1_aligned_allocator_3_01_t_00_01_alignment_01_4_inherit__map"·alt="Inheritance·graph"/></div>
85 <map·name="a_dune_1_1_aligned_allocator_3_01_t_00_01_alignment_01_4_inherit__map"·id="a_dune_1_1_aligned_allocator_3_01_t_00_01_alignment_01_4_inherit__map">85 <map·name="a_dune_1_1_aligned_allocator_3_01_t_00_01_alignment_01_4_inherit__map"·id="a_dune_1_1_aligned_allocator_3_01_t_00_01_alignment_01_4_inherit__map">
86 <area·shape="rect"·title="Allocators·which·guarantee·alignment·of·the·memory."·alt=""·coords="19,80,174,121"/>86 <area·shape="rect"·title="Allocators·which·guarantee·alignment·of·the·memory."·alt=""·coords="19,80,174,121"/>
87 <area·shape="rect"·href="a01900.html"·title="Allocators·implementation·which·simply·calls·malloc/free."·alt=""·coords="5,5,188,32"/>87 <area·shape="rect"·href="a01900.html"·title="Allocators·implementation·which·simply·calls·malloc/free."·alt=""·coords="5,5,188,32"/>
Offset 606, 15 lines modifiedOffset 606, 15 lines modified
606 ··</tr>606 ··</tr>
607 </table>607 </table>
608 </div><div·class="memdoc">608 </div><div·class="memdoc">
  
609 </div>609 </div>
610 </div>610 </div>
611 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>611 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
612 <li><a·class="el"·href="a00215_source.html">alignedallocator.hh</a></li>612 <li><a·class="el"·href="a00146_source.html">alignedallocator.hh</a></li>
613 </ul>613 </ul>
614 </div><!--·contents·-->614 </div><!--·contents·-->
615 <!--·start·footer·part·-->615 <!--·start·footer·part·-->
616 <hr·class="footer"/><address·class="footer"><small>616 <hr·class="footer"/><address·class="footer"><small>
617 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4617 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
618 </small></address>618 </small></address>
619 </body>619 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a01272.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01269.html">List·of·all·members</a>··</div>71 <a·href="a01269.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AlignedAllocator&lt;·T,·Alignment·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00146_source.html">dune/common/alignedallocator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a54ac4737293fe076302709983b9a8920"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01268.html">AlignedAllocator</a>&lt;·U,·Alignment·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01272.html#a54ac4737293fe076302709983b9a8920">other</a></td></tr>79 <tr·class="memitem:a54ac4737293fe076302709983b9a8920"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01268.html">AlignedAllocator</a>&lt;·U,·Alignment·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01272.html#a54ac4737293fe076302709983b9a8920">other</a></td></tr>
80 <tr·class="separator:a54ac4737293fe076302709983b9a8920"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a54ac4737293fe076302709983b9a8920"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
96 ········</tr>96 ········</tr>
97 ······</table>97 ······</table>
98 </div><div·class="memdoc">98 </div><div·class="memdoc">
  
99 </div>99 </div>
100 </div>100 </div>
101 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>101 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
102 <li><a·class="el"·href="a00215_source.html">alignedallocator.hh</a></li>102 <li><a·class="el"·href="a00146_source.html">alignedallocator.hh</a></li>
103 </ul>103 </ul>
104 </div><!--·contents·-->104 </div><!--·contents·-->
105 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>108 </small></address>
109 </body>109 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01276.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::ArrayListIterator&lt;·T,·N,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::ArrayListIterator&lt;·T,·N,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>A·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··77 <p>A·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··
78 ·<a·href="a01276.html#details">More...</a></p>78 ·<a·href="a01276.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/arraylist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00203_source.html">dune/common/arraylist.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::ArrayListIterator&lt;·T,·N,·A·&gt;:</div>81 Inheritance·diagram·for·Dune::ArrayListIterator&lt;·T,·N,·A·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a01275.png"·border="0"·usemap="#a_dune_1_1_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a01275.png"·border="0"·usemap="#a_dune_1_1_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·id="a_dune_1_1_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map">84 <map·name="a_dune_1_1_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·id="a_dune_1_1_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map">
85 <area·shape="rect"·title="A·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="677,43,832,85"/>85 <area·shape="rect"·title="A·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="677,43,832,85"/>
86 <area·shape="rect"·href="a02108.html"·title="The·iterator·over·the·pairs."·alt=""·coords="881,43,1037,85"/>86 <area·shape="rect"·href="a02108.html"·title="The·iterator·over·the·pairs."·alt=""·coords="881,43,1037,85"/>
Offset 881, 15 lines modifiedOffset 881, 15 lines modified
  
881 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>881 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>
882 <p·>This·has·to·be·at·least·one.·The·default·is·100.·</p>882 <p·>This·has·to·be·at·least·one.·The·default·is·100.·</p>
  
883 </div>883 </div>
884 </div>884 </div>
885 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>885 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
886 <li><a·class="el"·href="a00344_source.html">arraylist.hh</a></li>886 <li><a·class="el"·href="a00203_source.html">arraylist.hh</a></li>
887 </ul>887 </ul>
888 </div><!--·contents·-->888 </div><!--·contents·-->
889 <!--·start·footer·part·-->889 <!--·start·footer·part·-->
890 <hr·class="footer"/><address·class="footer"><small>890 <hr·class="footer"/><address·class="footer"><small>
891 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4891 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
892 </small></address>892 </small></address>
893 </body>893 </body>
2.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a01280.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>A·constant·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··77 <p>A·constant·random·access·iterator·for·the·<a·class="el"·href="a01284.html"·title="A·dynamically·growing·random·access·list.">Dune::ArrayList</a>·class.··
78 ·<a·href="a01280.html#details">More...</a></p>78 ·<a·href="a01280.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/arraylist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00203_source.html">dune/common/arraylist.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;:</div>81 Inheritance·diagram·for·Dune::ConstArrayListIterator&lt;·T,·N,·A·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a01279.png"·border="0"·usemap="#a_dune_1_1_const_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a01279.png"·border="0"·usemap="#a_dune_1_1_const_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_const_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·id="a_dune_1_1_const_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map">84 <map·name="a_dune_1_1_const_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·id="a_dune_1_1_const_array_list_iterator_3_01_t_00_01_n_00_01_a_01_4_inherit__map">
85 <area·shape="rect"·title="A·constant·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="660,43,849,85"/>85 <area·shape="rect"·title="A·constant·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="660,43,849,85"/>
86 <area·shape="rect"·href="a01280.html"·title="·"·alt=""·coords="1039,29,1245,99"/>86 <area·shape="rect"·href="a01280.html"·title="·"·alt=""·coords="1039,29,1245,99"/>
Offset 844, 15 lines modifiedOffset 844, 15 lines modified
  
844 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>844 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>
845 <p·>This·has·to·be·at·least·one.·The·default·is·100.·</p>845 <p·>This·has·to·be·at·least·one.·The·default·is·100.·</p>
  
846 </div>846 </div>
847 </div>847 </div>
848 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>848 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
849 <li><a·class="el"·href="a00344_source.html">arraylist.hh</a></li>849 <li><a·class="el"·href="a00203_source.html">arraylist.hh</a></li>
850 </ul>850 </ul>
851 </div><!--·contents·-->851 </div><!--·contents·-->
852 <!--·start·footer·part·-->852 <!--·start·footer·part·-->
853 <hr·class="footer"/><address·class="footer"><small>853 <hr·class="footer"/><address·class="footer"><small>
854 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4854 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
855 </small></address>855 </small></address>
856 </body>856 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a01284.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::ArrayList&lt;·T,·N,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::ArrayList&lt;·T,·N,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>A·dynamically·growing·random·access·list.··77 <p>A·dynamically·growing·random·access·list.··
78 ·<a·href="a01284.html#details">More...</a></p>78 ·<a·href="a01284.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/arraylist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00203_source.html">dune/common/arraylist.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::ArrayList&lt;·T,·N,·A·&gt;:</div>81 Inheritance·diagram·for·Dune::ArrayList&lt;·T,·N,·A·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a01283.png"·border="0"·usemap="#a_dune_1_1_array_list_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a01283.png"·border="0"·usemap="#a_dune_1_1_array_list_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_array_list_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·id="a_dune_1_1_array_list_3_01_t_00_01_n_00_01_a_01_4_inherit__map">84 <map·name="a_dune_1_1_array_list_3_01_t_00_01_n_00_01_a_01_4_inherit__map"·id="a_dune_1_1_array_list_3_01_t_00_01_n_00_01_a_01_4_inherit__map">
85 <area·shape="rect"·title="A·dynamically·growing·random·access·list."·alt=""·coords="5,104,141,145"/>85 <area·shape="rect"·title="A·dynamically·growing·random·access·list."·alt=""·coords="5,104,141,145"/>
86 <area·shape="rect"·href="a01284.html"·title="·"·alt=""·coords="371,5,507,47"/>86 <area·shape="rect"·href="a01284.html"·title="·"·alt=""·coords="371,5,507,47"/>
Offset 382, 15 lines modifiedOffset 382, 15 lines modified
382 </div><div·class="memdoc">382 </div><div·class="memdoc">
  
383 <p>The·number·of·elements·in·one·chunk·of·the·list.·This·has·to·be·at·least·one.·The·default·is·100.·</p>383 <p>The·number·of·elements·in·one·chunk·of·the·list.·This·has·to·be·at·least·one.·The·default·is·100.·</p>
  
384 </div>384 </div>
385 </div>385 </div>
386 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>386 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
387 <li><a·class="el"·href="a00344_source.html">arraylist.hh</a></li>387 <li><a·class="el"·href="a00203_source.html">arraylist.hh</a></li>
388 </ul>388 </ul>
389 </div><!--·contents·-->389 </div><!--·contents·-->
390 <!--·start·footer·part·-->390 <!--·start·footer·part·-->
391 <hr·class="footer"/><address·class="footer"><small>391 <hr·class="footer"/><address·class="footer"><small>
392 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4392 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
393 </small></address>393 </small></address>
394 </body>394 </body>
2.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a01288.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::MPITraits&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::MPITraits&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.··76 <p>A·traits·class·describing·the·mapping·of·types·onto·MPI_Datatypes.··
77 ·<a·href="a01288.html#details">More...</a></p>77 ·<a·href="a01288.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/parallel/mpitraits.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
81 Static·Public·Member·Functions</h2></td></tr>81 Static·Public·Member·Functions</h2></td></tr>
82 <tr·class="memitem:ac906f6e9494e6b3f6d097d872a72c0da"><td·class="memItemLeft"·align="right"·valign="top">static·MPI_Datatype&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">getType</a>·()</td></tr>82 <tr·class="memitem:ac906f6e9494e6b3f6d097d872a72c0da"><td·class="memItemLeft"·align="right"·valign="top">static·MPI_Datatype&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01288.html#ac906f6e9494e6b3f6d097d872a72c0da">getType</a>·()</td></tr>
83 <tr·class="separator:ac906f6e9494e6b3f6d097d872a72c0da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ac906f6e9494e6b3f6d097d872a72c0da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
Offset 144, 16 lines modifiedOffset 144, 16 lines modified
144 ··</tr>144 ··</tr>
145 </table>145 </table>
146 </div><div·class="memdoc">146 </div><div·class="memdoc">
  
147 </div>147 </div>
148 </div>148 </div>
149 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>149 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
150 <li><a·class="el"·href="a00260_source.html">bigunsignedint.hh</a></li>150 <li><a·class="el"·href="a00251_source.html">bigunsignedint.hh</a></li>
151 <li><a·class="el"·href="a00029_source.html">mpitraits.hh</a></li>151 <li><a·class="el"·href="a00365_source.html">mpitraits.hh</a></li>
152 </ul>152 </ul>
153 </div><!--·contents·-->153 </div><!--·contents·-->
154 <!--·start·footer·part·-->154 <!--·start·footer·part·-->
155 <hr·class="footer"/><address·class="footer"><small>155 <hr·class="footer"/><address·class="footer"><small>
156 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4156 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
157 </small></address>157 </small></address>
158 </body>158 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a01296.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::bigunsignedint&lt;·k·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::bigunsignedint&lt;·k·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Portable·very·large·unsigned·integers.··76 <p>Portable·very·large·unsigned·integers.··
77 ·<a·href="a01296.html#details">More...</a></p>77 ·<a·href="a01296.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
81 Public·Member·Functions</h2></td></tr>81 Public·Member·Functions</h2></td></tr>
82 <tr·class="memitem:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·()</td></tr>82 <tr·class="memitem:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">bigunsignedint</a>·()</td></tr>
83 <tr·class="memdesc:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·uninitialized.··<a·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">More...</a><br·/></td></tr>83 <tr·class="memdesc:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·uninitialized.··<a·href="a00408.html#ga7276ad3ad9f0130df9307acf08c0dd8f">More...</a><br·/></td></tr>
84 <tr·class="separator:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:ga7276ad3ad9f0130df9307acf08c0dd8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:ga6bf30d701bea2cedf6912f27a9e6bc98"><td·class="memTemplParams"·colspan="2">template&lt;typename·Signed·&gt;·</td></tr>85 <tr·class="memitem:ga6bf30d701bea2cedf6912f27a9e6bc98"><td·class="memTemplParams"·colspan="2">template&lt;typename·Signed·&gt;·</td></tr>
Offset 511, 15 lines modifiedOffset 511, 15 lines modified
511 ··</tr>511 ··</tr>
512 </table>512 </table>
513 </div><div·class="memdoc">513 </div><div·class="memdoc">
  
514 </div>514 </div>
515 </div>515 </div>
516 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>516 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
517 <li><a·class="el"·href="a00260_source.html">bigunsignedint.hh</a></li>517 <li><a·class="el"·href="a00251_source.html">bigunsignedint.hh</a></li>
518 </ul>518 </ul>
519 </div><!--·contents·-->519 </div><!--·contents·-->
520 <!--·start·footer·part·-->520 <!--·start·footer·part·-->
521 <hr·class="footer"/><address·class="footer"><small>521 <hr·class="footer"/><address·class="footer"><small>
522 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4522 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
523 </small></address>523 </small></address>
524 </body>524 </body>
3.62 KB
./usr/share/doc/libdune-common-doc/doxygen/a01300.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a>·&#124;·<a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a>·&#124;·<a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.··72 <p>Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.··
73 ·<a·href="a01300.html#details">More...</a></p>73 ·<a·href="a01300.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsNumber&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::IsNumber&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a01299.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a01299.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_number_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_is_number_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers."·alt=""·coords="13,109,164,136"/>80 <area·shape="rect"·title="Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers."·alt=""·coords="13,109,164,136"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,172,61"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,172,61"/>
Offset 86, 15 lines modifiedOffset 86, 15 lines modified
86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
87 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>87 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
88 struct·Dune::IsNumber&lt;·T·&gt;</div><p·>Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.·</p>88 struct·Dune::IsNumber&lt;·T·&gt;</div><p·>Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.·</p>
89 <p·>All·types·<code>T</code>·for·which·<code><a·class="el"·href="a01300.html"·title="Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.">IsNumber</a>&lt;T&gt;::value</code>·is·<code>true</code>·will·act·as·a·scalar·when·used·with·possibly·hierarchically·blocked·containers,·such·as·<code><a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a></code>,·<code><a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a></code>,·<code>BCRSMatrix</code>,·<code>BlockVector</code>,·<code>MultiTypeBlockVector</code>,·etc.·This·enables·earlier·error·reporting·when·implementing·binary·container-scalar·operators,·such·as·<code>=</code>·or·<code>*=</code>.</p>89 <p·>All·types·<code>T</code>·for·which·<code><a·class="el"·href="a01300.html"·title="Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.">IsNumber</a>&lt;T&gt;::value</code>·is·<code>true</code>·will·act·as·a·scalar·when·used·with·possibly·hierarchically·blocked·containers,·such·as·<code><a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a></code>,·<code><a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a></code>,·<code>BCRSMatrix</code>,·<code>BlockVector</code>,·<code>MultiTypeBlockVector</code>,·etc.·This·enables·earlier·error·reporting·when·implementing·binary·container-scalar·operators,·such·as·<code>=</code>·or·<code>*=</code>.</p>
90 <p·>By·default·is·<code>true</code>·for·all·arithmetic·types·(as·per·<code>std::is_arithmetic</code>),·and·for·<code>T=std::complex&lt;U&gt;</code>,·iff·<code><a·class="el"·href="a01300.html"·title="Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.">IsNumber</a>&lt;U&gt;::value</code>·itself·is·<code>true</code>.</p>90 <p·>By·default·is·<code>true</code>·for·all·arithmetic·types·(as·per·<code>std::is_arithmetic</code>),·and·for·<code>T=std::complex&lt;U&gt;</code>,·iff·<code><a·class="el"·href="a01300.html"·title="Whether·this·type·acts·as·a·scalar·in·the·context·of·(hierarchically·blocked)·containers.">IsNumber</a>&lt;U&gt;::value</code>·itself·is·<code>true</code>.</p>
91 <p·>Should·be·specialized·to·<code>true</code>·for·e.g.·extended·precision·types·or·automatic·differentiation·types,·or·anything·else·that·might·sensibly·be·an·element·of·a·matrix·or·vector.·</p>91 <p·>Should·be·specialized·to·<code>true</code>·for·e.g.·extended·precision·types·or·automatic·differentiation·types,·or·anything·else·that·might·sensibly·be·an·element·of·a·matrix·or·vector.·</p>
92 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>92 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
93 <li><a·class="el"·href="a00260_source.html">bigunsignedint.hh</a></li>93 <li><a·class="el"·href="a00251_source.html">bigunsignedint.hh</a></li>
94 </ul>94 </ul>
95 </div><!--·contents·-->95 </div><!--·contents·-->
96 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
97 <hr·class="footer"/><address·class="footer"><small>97 <hr·class="footer"/><address·class="footer"><small>
98 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.498 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
99 </small></address>99 </small></address>
100 </body>100 </body>
2.14 KB
./usr/share/doc/libdune-common-doc/doxygen/a01304.html
    
Offset 69, 29 lines modifiedOffset 69, 29 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Declare·big·unsigned·int·is·a·number.··72 <p>Declare·big·unsigned·int·is·a·number.··
73 ·<a·href="a01304.html#details">More...</a></p>73 ·<a·href="a01304.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;:</div>76 Inheritance·diagram·for·Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a01303.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01bigunsignedint_3_01k_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a01303.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01bigunsignedint_3_01k_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_number_3_01bigunsignedint_3_01k_01_4_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01bigunsignedint_3_01k_01_4_01_4_inherit__map">79 <map·name="a_dune_1_1_is_number_3_01bigunsignedint_3_01k_01_4_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01bigunsignedint_3_01k_01_4_01_4_inherit__map">
80 <area·shape="rect"·title="Declare·big·unsigned·int·is·a·number."·alt=""·coords="5,80,219,121"/>80 <area·shape="rect"·title="Declare·big·unsigned·int·is·a·number."·alt=""·coords="5,80,219,121"/>
81 <area·shape="rect"·title="·"·alt=""·coords="61,5,163,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="61,5,163,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·k&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·k&gt;<br·/>
86 struct·Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</div><p·>Declare·big·unsigned·int·is·a·number.·</p>86 struct·Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</div><p·>Declare·big·unsigned·int·is·a·number.·</p>
87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
88 <li><a·class="el"·href="a00260_source.html">bigunsignedint.hh</a></li>88 <li><a·class="el"·href="a00251_source.html">bigunsignedint.hh</a></li>
89 </ul>89 </ul>
90 </div><!--·contents·-->90 </div><!--·contents·-->
91 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
92 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
93 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.493 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
94 </small></address>94 </small></address>
95 </body>95 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a01308.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;71 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;
72 <a·href="a01305.html">List·of·all·members</a>··</div>72 <a·href="a01305.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&gt;·Struct·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&gt;·Struct·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00260_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/bigunsignedint.hh</a>&gt;</code></p>
77 <div·class="dynheader">77 <div·class="dynheader">
78 Inheritance·diagram·for·std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&gt;:</div>78 Inheritance·diagram·for·std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&gt;:</div>
79 <div·class="dyncontent">79 <div·class="dyncontent">
80 <div·class="center"><img·src="a01307.png"·border="0"·usemap="#astd_1_1numeric__limits_3_01_dune_1_1bigunsignedint_3_01k_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>80 <div·class="center"><img·src="a01307.png"·border="0"·usemap="#astd_1_1numeric__limits_3_01_dune_1_1bigunsignedint_3_01k_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
81 <map·name="astd_1_1numeric__limits_3_01_dune_1_1bigunsignedint_3_01k_01_4_01_4_inherit__map"·id="astd_1_1numeric__limits_3_01_dune_1_1bigunsignedint_3_01k_01_4_01_4_inherit__map">81 <map·name="astd_1_1numeric__limits_3_01_dune_1_1bigunsignedint_3_01k_01_4_01_4_inherit__map"·id="astd_1_1numeric__limits_3_01_dune_1_1bigunsignedint_3_01k_01_4_01_4_inherit__map">
82 <area·shape="rect"·title="·"·alt=""·coords="5,229,161,285"/>82 <area·shape="rect"·title="·"·alt=""·coords="5,229,161,285"/>
83 <area·shape="rect"·title="·"·alt=""·coords="5,124,161,180"/>83 <area·shape="rect"·title="·"·alt=""·coords="5,124,161,180"/>
Offset 872, 15 lines modifiedOffset 872, 15 lines modified
872 ··</tr>872 ··</tr>
873 </table>873 </table>
874 </div><div·class="memdoc">874 </div><div·class="memdoc">
  
875 </div>875 </div>
876 </div>876 </div>
877 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>877 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
878 <li><a·class="el"·href="a00260_source.html">bigunsignedint.hh</a></li>878 <li><a·class="el"·href="a00251_source.html">bigunsignedint.hh</a></li>
879 </ul>879 </ul>
880 </div><!--·contents·-->880 </div><!--·contents·-->
881 <!--·start·footer·part·-->881 <!--·start·footer·part·-->
882 <hr·class="footer"/><address·class="footer"><small>882 <hr·class="footer"/><address·class="footer"><small>
883 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4883 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
884 </small></address>884 </small></address>
885 </body>885 </body>
2.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a01312.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;71 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
72 <a·href="a01309.html">List·of·all·members</a>··</div>72 <a·href="a01309.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::Min&lt;·Type·&gt;·Struct·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::Min&lt;·Type·&gt;·Struct·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
79 Public·Types</h2></td></tr>79 Public·Types</h2></td></tr>
80 <tr·class="memitem:a82606dcf591eb20e407a2e0bcc41b10d"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">first_argument_type</a>·=·Type</td></tr>80 <tr·class="memitem:a82606dcf591eb20e407a2e0bcc41b10d"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01312.html#a82606dcf591eb20e407a2e0bcc41b10d">first_argument_type</a>·=·Type</td></tr>
81 <tr·class="separator:a82606dcf591eb20e407a2e0bcc41b10d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:a82606dcf591eb20e407a2e0bcc41b10d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:aeeee48475d6ff825b11a1e5d2b33fcb3"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01312.html#aeeee48475d6ff825b11a1e5d2b33fcb3">second_argument_type</a>·=·Type</td></tr>82 <tr·class="memitem:aeeee48475d6ff825b11a1e5d2b33fcb3"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01312.html#aeeee48475d6ff825b11a1e5d2b33fcb3">second_argument_type</a>·=·Type</td></tr>
83 <tr·class="separator:aeeee48475d6ff825b11a1e5d2b33fcb3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:aeeee48475d6ff825b11a1e5d2b33fcb3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 175, 15 lines modifiedOffset 175, 15 lines modified
175 ··</tr>175 ··</tr>
176 </table>176 </table>
177 </div><div·class="memdoc">177 </div><div·class="memdoc">
  
178 </div>178 </div>
179 </div>179 </div>
180 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>180 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
181 <li><a·class="el"·href="a00227_source.html">binaryfunctions.hh</a></li>181 <li><a·class="el"·href="a00170_source.html">binaryfunctions.hh</a></li>
182 </ul>182 </ul>
183 </div><!--·contents·-->183 </div><!--·contents·-->
184 <!--·start·footer·part·-->184 <!--·start·footer·part·-->
185 <hr·class="footer"/><address·class="footer"><small>185 <hr·class="footer"/><address·class="footer"><small>
186 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4186 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
187 </small></address>187 </small></address>
188 </body>188 </body>
2.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a01316.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;71 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
72 <a·href="a01313.html">List·of·all·members</a>··</div>72 <a·href="a01313.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::Max&lt;·Type·&gt;·Struct·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::Max&lt;·Type·&gt;·Struct·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00227_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/binaryfunctions.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
79 Public·Types</h2></td></tr>79 Public·Types</h2></td></tr>
80 <tr·class="memitem:a33e20d90dcf2581c158a748d52146ab8"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01316.html#a33e20d90dcf2581c158a748d52146ab8">first_argument_type</a>·=·Type</td></tr>80 <tr·class="memitem:a33e20d90dcf2581c158a748d52146ab8"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01316.html#a33e20d90dcf2581c158a748d52146ab8">first_argument_type</a>·=·Type</td></tr>
81 <tr·class="separator:a33e20d90dcf2581c158a748d52146ab8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:a33e20d90dcf2581c158a748d52146ab8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:adcf11807cc01644428fbeaa5628964dc"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01316.html#adcf11807cc01644428fbeaa5628964dc">second_argument_type</a>·=·Type</td></tr>82 <tr·class="memitem:adcf11807cc01644428fbeaa5628964dc"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01316.html#adcf11807cc01644428fbeaa5628964dc">second_argument_type</a>·=·Type</td></tr>
83 <tr·class="separator:adcf11807cc01644428fbeaa5628964dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:adcf11807cc01644428fbeaa5628964dc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 175, 15 lines modifiedOffset 175, 15 lines modified
175 ··</tr>175 ··</tr>
176 </table>176 </table>
177 </div><div·class="memdoc">177 </div><div·class="memdoc">
  
178 </div>178 </div>
179 </div>179 </div>
180 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>180 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
181 <li><a·class="el"·href="a00227_source.html">binaryfunctions.hh</a></li>181 <li><a·class="el"·href="a00170_source.html">binaryfunctions.hh</a></li>
182 </ul>182 </ul>
183 </div><!--·contents·-->183 </div><!--·contents·-->
184 <!--·start·footer·part·-->184 <!--·start·footer·part·-->
185 <hr·class="footer"/><address·class="footer"><small>185 <hr·class="footer"/><address·class="footer"><small>
186 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4186 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
187 </small></address>187 </small></address>
188 </body>188 </body>
1.85 KB
./usr/share/doc/libdune-common-doc/doxygen/a01320.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::BitSetVector&lt;·block_size,·Allocator·&gt;·Class·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::BitSetVector&lt;·block_size,·Allocator·&gt;·Class·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>A·dynamic·array·of·blocks·of·booleans.··75 <p>A·dynamic·array·of·blocks·of·booleans.··
76 ·<a·href="a01320.html#details">More...</a></p>76 ·<a·href="a01320.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::BitSetVector&lt;·block_size,·Allocator·&gt;:</div>79 Inheritance·diagram·for·Dune::BitSetVector&lt;·block_size,·Allocator·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a01319.png"·border="0"·usemap="#a_dune_1_1_bit_set_vector_3_01block__size_00_01_allocator_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a01319.png"·border="0"·usemap="#a_dune_1_1_bit_set_vector_3_01block__size_00_01_allocator_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_bit_set_vector_3_01block__size_00_01_allocator_01_4_inherit__map"·id="a_dune_1_1_bit_set_vector_3_01block__size_00_01_allocator_01_4_inherit__map">82 <map·name="a_dune_1_1_bit_set_vector_3_01block__size_00_01_allocator_01_4_inherit__map"·id="a_dune_1_1_bit_set_vector_3_01block__size_00_01_allocator_01_4_inherit__map">
83 <area·shape="rect"·title="A·dynamic·array·of·blocks·of·booleans."·alt=""·coords="5,80,172,121"/>83 <area·shape="rect"·title="A·dynamic·array·of·blocks·of·booleans."·alt=""·coords="5,80,172,121"/>
84 <area·shape="rect"·title="·"·alt=""·coords="31,5,146,32"/>84 <area·shape="rect"·title="·"·alt=""·coords="31,5,146,32"/>
Offset 921, 15 lines modifiedOffset 921, 15 lines modified
921 </div><div·class="memdoc">921 </div><div·class="memdoc">
  
922 <p>Sets·all·entries·to·<code>·false·</code>·</p>922 <p>Sets·all·entries·to·<code>·false·</code>·</p>
  
923 </div>923 </div>
924 </div>924 </div>
925 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>925 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
926 <li><a·class="el"·href="a00314_source.html">bitsetvector.hh</a></li>926 <li><a·class="el"·href="a00086_source.html">bitsetvector.hh</a></li>
927 </ul>927 </ul>
928 </div><!--·contents·-->928 </div><!--·contents·-->
929 <!--·start·footer·part·-->929 <!--·start·footer·part·-->
930 <hr·class="footer"/><address·class="footer"><small>930 <hr·class="footer"/><address·class="footer"><small>
931 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4931 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
932 </small></address>932 </small></address>
933 </body>933 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a01324.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;·Class·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;·Class·Template·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·<a·class="el"·href="a01320.html"·title="A·dynamic·array·of·blocks·of·booleans.">BitSetVector</a>.··79 <p>A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·<a·class="el"·href="a01320.html"·title="A·dynamic·array·of·blocks·of·booleans.">BitSetVector</a>.··
80 ·<a·href="a01324.html#details">More...</a></p>80 ·<a·href="a01324.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;:</div>83 Inheritance·diagram·for·Dune::BitSetVectorReference&lt;·block_size,·Alloc·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a01323.png"·border="0"·usemap="#a_dune_1_1_bit_set_vector_reference_3_01block__size_00_01_alloc_01_4_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a01323.png"·border="0"·usemap="#a_dune_1_1_bit_set_vector_reference_3_01block__size_00_01_alloc_01_4_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_bit_set_vector_reference_3_01block__size_00_01_alloc_01_4_inherit__map"·id="a_dune_1_1_bit_set_vector_reference_3_01block__size_00_01_alloc_01_4_inherit__map">86 <map·name="a_dune_1_1_bit_set_vector_reference_3_01block__size_00_01_alloc_01_4_inherit__map"·id="a_dune_1_1_bit_set_vector_reference_3_01block__size_00_01_alloc_01_4_inherit__map">
87 <area·shape="rect"·title="A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="23,95,216,136"/>87 <area·shape="rect"·title="A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="23,95,216,136"/>
88 <area·shape="rect"·href="a01328.html"·title="A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="5,5,233,47"/>88 <area·shape="rect"·href="a01328.html"·title="A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="5,5,233,47"/>
Offset 1552, 15 lines modifiedOffset 1552, 15 lines modified
1552 ··</tr>1552 ··</tr>
1553 </table>1553 </table>
1554 </div><div·class="memdoc">1554 </div><div·class="memdoc">
  
1555 </div>1555 </div>
1556 </div>1556 </div>
1557 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1557 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1558 <li><a·class="el"·href="a00314_source.html">bitsetvector.hh</a></li>1558 <li><a·class="el"·href="a00086_source.html">bitsetvector.hh</a></li>
1559 </ul>1559 </ul>
1560 </div><!--·contents·-->1560 </div><!--·contents·-->
1561 <!--·start·footer·part·-->1561 <!--·start·footer·part·-->
1562 <hr·class="footer"/><address·class="footer"><small>1562 <hr·class="footer"/><address·class="footer"><small>
1563 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.41563 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
1564 </small></address>1564 </small></address>
1565 </body>1565 </body>
2.14 KB
./usr/share/doc/libdune-common-doc/doxygen/a01328.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·Class·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·Class·Template·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a·<a·class="el"·href="a01320.html"·title="A·dynamic·array·of·blocks·of·booleans.">BitSetVector</a>.··79 <p>A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a·<a·class="el"·href="a01320.html"·title="A·dynamic·array·of·blocks·of·booleans.">BitSetVector</a>.··
80 ·<a·href="a01328.html#details">More...</a></p>80 ·<a·href="a01328.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;:</div>83 Inheritance·diagram·for·Dune::BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a01327.png"·border="0"·usemap="#a_dune_1_1_bit_set_vector_const_reference_3_01block__size_00_01_alloc_01_4_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a01327.png"·border="0"·usemap="#a_dune_1_1_bit_set_vector_const_reference_3_01block__size_00_01_alloc_01_4_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_bit_set_vector_const_reference_3_01block__size_00_01_alloc_01_4_inherit__map"·id="a_dune_1_1_bit_set_vector_const_reference_3_01block__size_00_01_alloc_01_4_inherit__map">86 <map·name="a_dune_1_1_bit_set_vector_const_reference_3_01block__size_00_01_alloc_01_4_inherit__map"·id="a_dune_1_1_bit_set_vector_const_reference_3_01block__size_00_01_alloc_01_4_inherit__map">
87 <area·shape="rect"·title="A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="5,5,233,47"/>87 <area·shape="rect"·title="A·proxy·class·that·acts·as·a·const·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="5,5,233,47"/>
88 <area·shape="rect"·href="a01324.html"·title="A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="23,95,216,136"/>88 <area·shape="rect"·href="a01324.html"·title="A·proxy·class·that·acts·as·a·mutable·reference·to·a·single·bitset·in·a·BitSetVector."·alt=""·coords="23,95,216,136"/>
Offset 886, 15 lines modifiedOffset 886, 15 lines modified
886 ··</tr>886 ··</tr>
887 </table>887 </table>
888 </div><div·class="memdoc">888 </div><div·class="memdoc">
  
889 </div>889 </div>
890 </div>890 </div>
891 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>891 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
892 <li><a·class="el"·href="a00314_source.html">bitsetvector.hh</a></li>892 <li><a·class="el"·href="a00086_source.html">bitsetvector.hh</a></li>
893 </ul>893 </ul>
894 </div><!--·contents·-->894 </div><!--·contents·-->
895 <!--·start·footer·part·-->895 <!--·start·footer·part·-->
896 <hr·class="footer"/><address·class="footer"><small>896 <hr·class="footer"/><address·class="footer"><small>
897 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4897 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
898 </small></address>898 </small></address>
899 </body>899 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a01332.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01329.html">List·of·all·members</a>··</div>71 <a·href="a01329.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:af8e356d0f78378fab592f4890ef8a3c9"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01328.html">BitSetVectorConstReference</a>&lt;·block_size,·Alloc·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01332.html#af8e356d0f78378fab592f4890ef8a3c9">type</a></td></tr>79 <tr·class="memitem:af8e356d0f78378fab592f4890ef8a3c9"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01328.html">BitSetVectorConstReference</a>&lt;·block_size,·Alloc·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01332.html#af8e356d0f78378fab592f4890ef8a3c9">type</a></td></tr>
80 <tr·class="separator:af8e356d0f78378fab592f4890ef8a3c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:af8e356d0f78378fab592f4890ef8a3c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>82 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 97, 15 lines modifiedOffset 97, 15 lines modified
97 ········</tr>97 ········</tr>
98 ······</table>98 ······</table>
99 </div><div·class="memdoc">99 </div><div·class="memdoc">
  
100 </div>100 </div>
101 </div>101 </div>
102 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>102 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
103 <li><a·class="el"·href="a00314_source.html">bitsetvector.hh</a></li>103 <li><a·class="el"·href="a00086_source.html">bitsetvector.hh</a></li>
104 </ul>104 </ul>
105 </div><!--·contents·-->105 </div><!--·contents·-->
106 <!--·start·footer·part·-->106 <!--·start·footer·part·-->
107 <hr·class="footer"/><address·class="footer"><small>107 <hr·class="footer"/><address·class="footer"><small>
108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
109 </small></address>109 </small></address>
110 </body>110 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a01336.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01333.html">List·of·all·members</a>··</div>71 <a·href="a01333.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:af82c7c10665ee84ee6f96ef184c78ceb"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01328.html">BitSetVectorConstReference</a>&lt;·block_size,·Alloc·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01336.html#af82c7c10665ee84ee6f96ef184c78ceb">type</a></td></tr>79 <tr·class="memitem:af82c7c10665ee84ee6f96ef184c78ceb"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01328.html">BitSetVectorConstReference</a>&lt;·block_size,·Alloc·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01336.html#af82c7c10665ee84ee6f96ef184c78ceb">type</a></td></tr>
80 <tr·class="separator:af82c7c10665ee84ee6f96ef184c78ceb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:af82c7c10665ee84ee6f96ef184c78ceb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00314_source.html">bitsetvector.hh</a></li>100 <li><a·class="el"·href="a00086_source.html">bitsetvector.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a01340.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01337.html">List·of·all·members</a>··</div>71 <a·href="a01337.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a427bd69c90cc455bb390f00f5d8521ba"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01324.html">BitSetVectorReference</a>&lt;·block_size,·Alloc·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01340.html#a427bd69c90cc455bb390f00f5d8521ba">type</a></td></tr>79 <tr·class="memitem:a427bd69c90cc455bb390f00f5d8521ba"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01324.html">BitSetVectorReference</a>&lt;·block_size,·Alloc·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01340.html#a427bd69c90cc455bb390f00f5d8521ba">type</a></td></tr>
80 <tr·class="separator:a427bd69c90cc455bb390f00f5d8521ba"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a427bd69c90cc455bb390f00f5d8521ba"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00314_source.html">bitsetvector.hh</a></li>100 <li><a·class="el"·href="a00086_source.html">bitsetvector.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a01344.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01341.html">List·of·all·members</a>··</div>71 <a·href="a01341.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/bitsetvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:abd2d869525047acc396e863a38c6104e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01324.html">BitSetVectorReference</a>&lt;·block_size,·Alloc·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01344.html#abd2d869525047acc396e863a38c6104e">type</a></td></tr>79 <tr·class="memitem:abd2d869525047acc396e863a38c6104e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01324.html">BitSetVectorReference</a>&lt;·block_size,·Alloc·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01344.html#abd2d869525047acc396e863a38c6104e">type</a></td></tr>
80 <tr·class="separator:abd2d869525047acc396e863a38c6104e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:abd2d869525047acc396e863a38c6104e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00314_source.html">bitsetvector.hh</a></li>100 <li><a·class="el"·href="a00086_source.html">bitsetvector.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01348.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Concept::Refines&lt;·BaseConcepts·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00407.html">C++·concepts</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Concept::Refines&lt;·BaseConcepts·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00407.html">C++·concepts</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Base·class·for·refined·concepts.··75 <p>Base·class·for·refined·concepts.··
76 ·<a·href="a01348.html#details">More...</a></p>76 ·<a·href="a01348.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00155_source.html">dune/common/concept.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/concept.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:ae7207e9050eb5211a4dcbea2007a382e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;·BaseConcepts...·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01348.html#ae7207e9050eb5211a4dcbea2007a382e">BaseConceptList</a></td></tr>81 <tr·class="memitem:ae7207e9050eb5211a4dcbea2007a382e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00404.html#ga7e18d05cb5d1e95f0e7c7409ffe9689f">TypeList</a>&lt;·BaseConcepts...·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01348.html#ae7207e9050eb5211a4dcbea2007a382e">BaseConceptList</a></td></tr>
82 <tr·class="separator:ae7207e9050eb5211a4dcbea2007a382e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ae7207e9050eb5211a4dcbea2007a382e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 ········</tr>107 ········</tr>
108 ······</table>108 ······</table>
109 </div><div·class="memdoc">109 </div><div·class="memdoc">
  
110 </div>110 </div>
111 </div>111 </div>
112 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>112 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
113 <li><a·class="el"·href="a00155_source.html">concept.hh</a></li>113 <li><a·class="el"·href="a00110_source.html">concept.hh</a></li>
114 </ul>114 </ul>
115 </div><!--·contents·-->115 </div><!--·contents·-->
116 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>117 <hr·class="footer"/><address·class="footer"><small>
118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
119 </small></address>119 </small></address>
120 </body>120 </body>
1.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a01352.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AlignedBase&lt;·align,·Impl·&gt;·Class·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AlignedBase&lt;·align,·Impl·&gt;·Class·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>CRTP·base·mixin·class·to·check·alignment.··75 <p>CRTP·base·mixin·class·to·check·alignment.··
76 ·<a·href="a01352.html#details">More...</a></p>76 ·<a·href="a01352.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/debugalign.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::AlignedBase&lt;·align,·Impl·&gt;:</div>79 Inheritance·diagram·for·Dune::AlignedBase&lt;·align,·Impl·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a01351.png"·border="0"·usemap="#a_dune_1_1_aligned_base_3_01align_00_01_impl_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a01351.png"·border="0"·usemap="#a_dune_1_1_aligned_base_3_01align_00_01_impl_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_aligned_base_3_01align_00_01_impl_01_4_inherit__map"·id="a_dune_1_1_aligned_base_3_01align_00_01_impl_01_4_inherit__map">82 <map·name="a_dune_1_1_aligned_base_3_01align_00_01_impl_01_4_inherit__map"·id="a_dune_1_1_aligned_base_3_01align_00_01_impl_01_4_inherit__map">
83 <area·shape="rect"·title="CRTP·base·mixin·class·to·check·alignment."·alt=""·coords="27,5,169,47"/>83 <area·shape="rect"·title="CRTP·base·mixin·class·to·check·alignment."·alt=""·coords="27,5,169,47"/>
84 <area·shape="rect"·href="a01352.html"·title="·"·alt=""·coords="23,124,173,180"/>84 <area·shape="rect"·href="a01352.html"·title="·"·alt=""·coords="23,124,173,180"/>
Offset 271, 15 lines modifiedOffset 271, 15 lines modified
271 ··</tr>271 ··</tr>
272 </table>272 </table>
273 </div><div·class="memdoc">273 </div><div·class="memdoc">
  
274 </div>274 </div>
275 </div>275 </div>
276 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>276 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
277 <li><a·class="el"·href="a00188_source.html">debugalign.hh</a></li>277 <li><a·class="el"·href="a00206_source.html">debugalign.hh</a></li>
278 </ul>278 </ul>
279 </div><!--·contents·-->279 </div><!--·contents·-->
280 <!--·start·footer·part·-->280 <!--·start·footer·part·-->
281 <hr·class="footer"/><address·class="footer"><small>281 <hr·class="footer"/><address·class="footer"><small>
282 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4282 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
283 </small></address>283 </small></address>
284 </body>284 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a01356.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·Class·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·Class·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>aligned·wrappers·for·arithmetic·types··75 <p>aligned·wrappers·for·arithmetic·types··
76 ·<a·href="a01356.html#details">More...</a></p>76 ·<a·href="a01356.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/debugalign.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;:</div>79 Inheritance·diagram·for·Dune::AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a01355.png"·border="0"·usemap="#a_dune_1_1_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a01355.png"·border="0"·usemap="#a_dune_1_1_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_inherit__map"·id="a_dune_1_1_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_inherit__map">82 <map·name="a_dune_1_1_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_inherit__map"·id="a_dune_1_1_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_inherit__map">
83 <area·shape="rect"·title="aligned·wrappers·for·arithmetic·types"·alt=""·coords="5,229,191,271"/>83 <area·shape="rect"·title="aligned·wrappers·for·arithmetic·types"·alt=""·coords="5,229,191,271"/>
84 <area·shape="rect"·href="a01352.html"·title="·"·alt=""·coords="23,124,173,180"/>84 <area·shape="rect"·href="a01352.html"·title="·"·alt=""·coords="23,124,173,180"/>
Offset 665, 15 lines modifiedOffset 665, 15 lines modified
665 ··</tr>665 ··</tr>
666 </table>666 </table>
667 </div><div·class="memdoc">667 </div><div·class="memdoc">
  
668 </div>668 </div>
669 </div>669 </div>
670 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>670 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
671 <li><a·class="el"·href="a00188_source.html">debugalign.hh</a></li>671 <li><a·class="el"·href="a00206_source.html">debugalign.hh</a></li>
672 </ul>672 </ul>
673 </div><!--·contents·-->673 </div><!--·contents·-->
674 <!--·start·footer·part·-->674 <!--·start·footer·part·-->
675 <hr·class="footer"/><address·class="footer"><small>675 <hr·class="footer"/><address·class="footer"><small>
676 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4676 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
677 </small></address>677 </small></address>
678 </body>678 </body>
1.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a01360.html
    
Offset 66, 26 lines modifiedOffset 66, 26 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/debugalign.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;:</div>74 Inheritance·diagram·for·Dune::IsNumber&lt;·AlignedNumberImpl::AlignedNumber&lt;·T,·align·&gt;·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01359.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01359.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_is_number_3_01_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map">77 <map·name="a_dune_1_1_is_number_3_01_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01_aligned_number_impl_1_1_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,80,228,121"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,80,228,121"/>
79 <area·shape="rect"·title="·"·alt=""·coords="65,5,168,32"/>79 <area·shape="rect"·title="·"·alt=""·coords="65,5,168,32"/>
80 </map>80 </map>
81 </div>81 </div>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00188_source.html">debugalign.hh</a></li>83 <li><a·class="el"·href="a00206_source.html">debugalign.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a01364.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01361.html">List·of·all·members</a>··</div>71 <a·href="a01361.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/debugalign.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a9998248cc7506f81d922f4fde4f7e781"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01364.html#a9998248cc7506f81d922f4fde4f7e781">type</a>·=·T</td></tr>79 <tr·class="memitem:a9998248cc7506f81d922f4fde4f7e781"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01364.html#a9998248cc7506f81d922f4fde4f7e781">type</a>·=·T</td></tr>
80 <tr·class="separator:a9998248cc7506f81d922f4fde4f7e781"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a9998248cc7506f81d922f4fde4f7e781"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00188_source.html">debugalign.hh</a></li>100 <li><a·class="el"·href="a00206_source.html">debugalign.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a01368.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01365.html">List·of·all·members</a>··</div>71 <a·href="a01365.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·U,·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·U,·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/debugalign.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a764d6a26b5476f8fcfcb45ccd56a8cce"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01368.html#a764d6a26b5476f8fcfcb45ccd56a8cce">type</a>·=·<a·class="el"·href="a01356.html">AlignedNumber</a>&lt;·U,·align·&gt;</td></tr>79 <tr·class="memitem:a764d6a26b5476f8fcfcb45ccd56a8cce"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01368.html#a764d6a26b5476f8fcfcb45ccd56a8cce">type</a>·=·<a·class="el"·href="a01356.html">AlignedNumber</a>&lt;·U,·align·&gt;</td></tr>
80 <tr·class="separator:a764d6a26b5476f8fcfcb45ccd56a8cce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a764d6a26b5476f8fcfcb45ccd56a8cce"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00188_source.html">debugalign.hh</a></li>100 <li><a·class="el"·href="a00206_source.html">debugalign.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a01372.html
    
Offset 66, 26 lines modifiedOffset 66, 26 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/debugalign.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/debugalign.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;:</div>74 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01371.png"·border="0"·usemap="#a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01371.png"·border="0"·usemap="#a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map"·id="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map">77 <map·name="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map"·id="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_aligned_number_3_01_t_00_01align_01_4_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,80,200,136"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,80,200,136"/>
79 <area·shape="rect"·title="·"·alt=""·coords="32,5,173,32"/>79 <area·shape="rect"·title="·"·alt=""·coords="32,5,173,32"/>
80 </map>80 </map>
81 </div>81 </div>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00188_source.html">debugalign.hh</a></li>83 <li><a·class="el"·href="a00206_source.html">debugalign.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
2.56 KB
./usr/share/doc/libdune-common-doc/doxygen/a01376.html
    
Offset 72, 28 lines modifiedOffset 72, 28 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::greater_or_equal&lt;·current,·threshold·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::greater_or_equal&lt;·current,·threshold·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Greater·or·equal·template·test.··75 <p>Greater·or·equal·template·test.··
76 ·<a·href="a01376.html#details">More...</a></p>76 ·<a·href="a01376.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/debugstream.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
80 Static·Public·Attributes</h2></td></tr>80 Static·Public·Attributes</h2></td></tr>
81 <tr·class="memitem:ga9e5ef41221d78830240c1d5586c329da"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga9e5ef41221d78830240c1d5586c329da">value</a>·=·(current·&gt;=·threshold)</td></tr>81 <tr·class="memitem:ga9e5ef41221d78830240c1d5586c329da"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga9e5ef41221d78830240c1d5586c329da">value</a>·=·(current·&gt;=·threshold)</td></tr>
82 <tr·class="separator:ga9e5ef41221d78830240c1d5586c329da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga9e5ef41221d78830240c1d5586c329da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·current,·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·threshold&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·current,·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·threshold&gt;<br·/>
86 struct·Dune::greater_or_equal&lt;·current,·threshold·&gt;</div><p·>Greater·or·equal·template·test.·</p>86 struct·Dune::greater_or_equal&lt;·current,·threshold·&gt;</div><p·>Greater·or·equal·template·test.·</p>
87 <p·>value·is·false·if·current·is·below·the·threshold,·true·otherwise</p>87 <p·>value·is·false·if·current·is·below·the·threshold,·true·otherwise</p>
88 <p·>This·is·the·default·struct·to·control·the·activation·policy·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>·and·deactivates·output·below·the·threshold·</p>88 <p·>This·is·the·default·struct·to·control·the·activation·policy·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>·and·deactivates·output·below·the·threshold·</p>
89 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00101_source.html">debugstream.hh</a></li>90 <li><a·class="el"·href="a00185_source.html">debugstream.hh</a></li>
91 </ul>91 </ul>
92 </div><!--·contents·-->92 </div><!--·contents·-->
93 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>94 <hr·class="footer"/><address·class="footer"><small>
95 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.495 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
96 </small></address>96 </small></address>
97 </body>97 </body>
2.57 KB
./usr/share/doc/libdune-common-doc/doxygen/a01380.html
    
Offset 72, 27 lines modifiedOffset 72, 27 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::common_bits&lt;·current,·mask·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::common_bits&lt;·current,·mask·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>activate·if·current·and·mask·have·common·bits·switched·on.··75 <p>activate·if·current·and·mask·have·common·bits·switched·on.··
76 ·<a·href="a01380.html#details">More...</a></p>76 ·<a·href="a01380.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/debugstream.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
80 Static·Public·Attributes</h2></td></tr>80 Static·Public·Attributes</h2></td></tr>
81 <tr·class="memitem:ga3263b8f57111ddf7a379bb19ad0daf5e"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga3263b8f57111ddf7a379bb19ad0daf5e">value</a>·=·((current·&amp;·mask)·!=·0)</td></tr>81 <tr·class="memitem:ga3263b8f57111ddf7a379bb19ad0daf5e"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga3263b8f57111ddf7a379bb19ad0daf5e">value</a>·=·((current·&amp;·mask)·!=·0)</td></tr>
82 <tr·class="separator:ga3263b8f57111ddf7a379bb19ad0daf5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga3263b8f57111ddf7a379bb19ad0daf5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·current,·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·mask&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·current,·<a·class="el"·href="a00410.html#ga7b78ef57d1b77933ab277ebe66c79d94">DebugLevel</a>·mask&gt;<br·/>
86 struct·Dune::common_bits&lt;·current,·mask·&gt;</div><p·>activate·if·current·and·mask·have·common·bits·switched·on.·</p>86 struct·Dune::common_bits&lt;·current,·mask·&gt;</div><p·>activate·if·current·and·mask·have·common·bits·switched·on.·</p>
87 <p·>This·template·implements·an·alternative·strategy·to·activate·or·deactivate·a·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.·Keep·in·mind·to·number·your·streams·as·powers·of·two·if·using·this·template·</p>87 <p·>This·template·implements·an·alternative·strategy·to·activate·or·deactivate·a·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.·Keep·in·mind·to·number·your·streams·as·powers·of·two·if·using·this·template·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00101_source.html">debugstream.hh</a></li>89 <li><a·class="el"·href="a00185_source.html">debugstream.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.53 KB
./usr/share/doc/libdune-common-doc/doxygen/a01384.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::DebugStreamError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::DebugStreamError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>standard·exception·for·the·debugstream··76 <p>standard·exception·for·the·debugstream··
77 ·<a·href="a01384.html#details">More...</a></p>77 ·<a·href="a01384.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/debugstream.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::DebugStreamError:</div>80 Inheritance·diagram·for·Dune::DebugStreamError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01383.png"·border="0"·usemap="#a_dune_1_1_debug_stream_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01383.png"·border="0"·usemap="#a_dune_1_1_debug_stream_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_debug_stream_error_inherit__map"·id="a_dune_1_1_debug_stream_error_inherit__map">83 <map·name="a_dune_1_1_debug_stream_error_inherit__map"·id="a_dune_1_1_debug_stream_error_inherit__map">
84 <area·shape="rect"·title="standard·exception·for·the·debugstream"·alt=""·coords="5,229,175,256"/>84 <area·shape="rect"·title="standard·exception·for·the·debugstream"·alt=""·coords="5,229,175,256"/>
85 <area·shape="rect"·href="a01556.html"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="39,155,141,181"/>85 <area·shape="rect"·href="a01556.html"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="39,155,141,181"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>standard·exception·for·the·debugstream·</p>112 <div·class="textblock"><p·>standard·exception·for·the·debugstream·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00101_source.html">debugstream.hh</a></li>114 <li><a·class="el"·href="a00185_source.html">debugstream.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
2.76 KB
./usr/share/doc/libdune-common-doc/doxygen/a01388.html
    
Offset 70, 30 lines modifiedOffset 70, 30 lines modified
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
72 <a·href="a01385.html">List·of·all·members</a>··</div>72 <a·href="a01385.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::StreamWrap·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::StreamWrap·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/debugstream.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
79 Public·Member·Functions</h2></td></tr>79 Public·Member·Functions</h2></td></tr>
80 <tr·class="memitem:ga06e3c89ca78a336ab9c5d2d13fbb7d86"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga06e3c89ca78a336ab9c5d2d13fbb7d86">StreamWrap</a>·(std::ostream·&amp;_out)</td></tr>80 <tr·class="memitem:ga06e3c89ca78a336ab9c5d2d13fbb7d86"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga06e3c89ca78a336ab9c5d2d13fbb7d86">StreamWrap</a>·(std::ostream·&amp;_out)</td></tr>
81 <tr·class="separator:ga06e3c89ca78a336ab9c5d2d13fbb7d86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:ga06e3c89ca78a336ab9c5d2d13fbb7d86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">82 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-attribs"·name="pub-attribs"></a>
84 Public·Attributes</h2></td></tr>84 Public·Attributes</h2></td></tr>
85 <tr·class="memitem:ga3eaed1d890bb1bc7ba0593b1565d5fe7"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga3eaed1d890bb1bc7ba0593b1565d5fe7">out</a></td></tr>85 <tr·class="memitem:ga3eaed1d890bb1bc7ba0593b1565d5fe7"><td·class="memItemLeft"·align="right"·valign="top">std::ostream·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga3eaed1d890bb1bc7ba0593b1565d5fe7">out</a></td></tr>
86 <tr·class="separator:ga3eaed1d890bb1bc7ba0593b1565d5fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:ga3eaed1d890bb1bc7ba0593b1565d5fe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 <tr·class="memitem:gaf0931b582e183cb17963d23d7598ae23"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01388.html">StreamWrap</a>·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">next</a></td></tr>87 <tr·class="memitem:gaf0931b582e183cb17963d23d7598ae23"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01388.html">StreamWrap</a>·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#gaf0931b582e183cb17963d23d7598ae23">next</a></td></tr>
88 <tr·class="separator:gaf0931b582e183cb17963d23d7598ae23"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:gaf0931b582e183cb17963d23d7598ae23"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table>89 </table>
90 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>90 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
91 <li><a·class="el"·href="a00101_source.html">debugstream.hh</a></li>91 <li><a·class="el"·href="a00185_source.html">debugstream.hh</a></li>
92 </ul>92 </ul>
93 </div><!--·contents·-->93 </div><!--·contents·-->
94 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>95 <hr·class="footer"/><address·class="footer"><small>
96 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.496 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
97 </small></address>97 </small></address>
98 </body>98 </body>
2.81 KB
./usr/share/doc/libdune-common-doc/doxygen/a01392.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::DebugStreamState·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::DebugStreamState·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.··75 <p>Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.··
76 ·<a·href="a01392.html#details">More...</a></p>76 ·<a·href="a01392.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/debugstream.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::DebugStreamState:</div>79 Inheritance·diagram·for·Dune::DebugStreamState:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a01391.png"·border="0"·usemap="#a_dune_1_1_debug_stream_state_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a01391.png"·border="0"·usemap="#a_dune_1_1_debug_stream_state_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_debug_stream_state_inherit__map"·id="a_dune_1_1_debug_stream_state_inherit__map">82 <map·name="a_dune_1_1_debug_stream_state_inherit__map"·id="a_dune_1_1_debug_stream_state_inherit__map">
83 <area·shape="rect"·title="Intermediate·class·to·implement·tie&#45;operation·of·DebugStream."·alt=""·coords="5,5,177,32"/>83 <area·shape="rect"·title="Intermediate·class·to·implement·tie&#45;operation·of·DebugStream."·alt=""·coords="5,5,177,32"/>
84 <area·shape="rect"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams."·alt=""·coords="17,80,166,136"/>84 <area·shape="rect"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams."·alt=""·coords="17,80,166,136"/>
Offset 101, 15 lines modifiedOffset 101, 15 lines modified
101 <tr·class="memitem:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a></td></tr>101 <tr·class="memitem:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="memItemLeft"·align="right"·valign="top">unsigned·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">_tied_streams</a></td></tr>
102 <tr·class="memdesc:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">how·many·streams·are·tied·to·this·state··<a·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">More...</a><br·/></td></tr>102 <tr·class="memdesc:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">how·many·streams·are·tied·to·this·state··<a·href="a00410.html#ga654bf28c5bd8a705856cd19f4bedfa4e">More...</a><br·/></td></tr>
103 <tr·class="separator:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:ga654bf28c5bd8a705856cd19f4bedfa4e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 </table>104 </table>
105 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>105 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
106 <div·class="textblock"><p·>Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.·</p>106 <div·class="textblock"><p·>Intermediate·class·to·implement·tie-operation·of·<a·class="el"·href="a01396.html"·title="Generic·class·to·implement·debug·output·streams.">DebugStream</a>.·</p>
107 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>107 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
108 <li><a·class="el"·href="a00101_source.html">debugstream.hh</a></li>108 <li><a·class="el"·href="a00185_source.html">debugstream.hh</a></li>
109 </ul>109 </ul>
110 </div><!--·contents·-->110 </div><!--·contents·-->
111 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
114 </small></address>114 </small></address>
115 </body>115 </body>
2.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a01396.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00410.html">Debug·output</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Generic·class·to·implement·debug·output·streams.··76 <p>Generic·class·to·implement·debug·output·streams.··
77 ·<a·href="a01396.html#details">More...</a></p>77 ·<a·href="a01396.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/debugstream.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/debugstream.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;:</div>80 Inheritance·diagram·for·Dune::DebugStream&lt;·thislevel,·dlevel,·alevel,·activator·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01395.png"·border="0"·usemap="#a_dune_1_1_debug_stream_3_01thislevel_00_01dlevel_00_01alevel_00_01activator_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01395.png"·border="0"·usemap="#a_dune_1_1_debug_stream_3_01thislevel_00_01dlevel_00_01alevel_00_01activator_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_debug_stream_3_01thislevel_00_01dlevel_00_01alevel_00_01activator_01_4_inherit__map"·id="a_dune_1_1_debug_stream_3_01thislevel_00_01dlevel_00_01alevel_00_01activator_01_4_inherit__map">83 <map·name="a_dune_1_1_debug_stream_3_01thislevel_00_01dlevel_00_01alevel_00_01activator_01_4_inherit__map"·id="a_dune_1_1_debug_stream_3_01thislevel_00_01dlevel_00_01alevel_00_01activator_01_4_inherit__map">
84 <area·shape="rect"·title="Generic·class·to·implement·debug·output·streams."·alt=""·coords="17,80,166,136"/>84 <area·shape="rect"·title="Generic·class·to·implement·debug·output·streams."·alt=""·coords="17,80,166,136"/>
85 <area·shape="rect"·href="a01392.html"·title="Intermediate·class·to·implement·tie&#45;operation·of·DebugStream."·alt=""·coords="5,5,177,32"/>85 <area·shape="rect"·href="a01392.html"·title="Intermediate·class·to·implement·tie&#45;operation·of·DebugStream."·alt=""·coords="5,5,177,32"/>
Offset 160, 15 lines modifiedOffset 160, 15 lines modified
160 ····<tr><td·class="paramname">alevel</td><td>level·needed·to·switch·activation·flag·on·</td></tr>160 ····<tr><td·class="paramname">alevel</td><td>level·needed·to·switch·activation·flag·on·</td></tr>
161 ····<tr><td·class="paramname">activator</td><td>template·describing·the·activation·policy</td></tr>161 ····<tr><td·class="paramname">activator</td><td>template·describing·the·activation·policy</td></tr>
162 ··</table>162 ··</table>
163 ··</dd>163 ··</dd>
164 </dl>164 </dl>
165 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000006">Todo:</a></b></dt><dd>Fix·visibility·of·internal·data·</dd></dl>165 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000006">Todo:</a></b></dt><dd>Fix·visibility·of·internal·data·</dd></dl>
166 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>166 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
167 <li><a·class="el"·href="a00101_source.html">debugstream.hh</a></li>167 <li><a·class="el"·href="a00185_source.html">debugstream.hh</a></li>
168 </ul>168 </ul>
169 </div><!--·contents·-->169 </div><!--·contents·-->
170 <!--·start·footer·part·-->170 <!--·start·footer·part·-->
171 <hr·class="footer"/><address·class="footer"><small>171 <hr·class="footer"/><address·class="footer"><small>
172 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4172 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
173 </small></address>173 </small></address>
174 </body>174 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a01400.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::DenseMatrix&lt;·MAT·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::DenseMatrix&lt;·MAT·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>A·dense·n·x·m·matrix.··78 <p>A·dense·n·x·m·matrix.··
79 ·<a·href="a01400.html#details">More...</a></p>79 ·<a·href="a01400.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/densematrix.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/densematrix.hh</a>&gt;</code></p>
81 <div·class="dynheader">81 <div·class="dynheader">
82 Inheritance·diagram·for·Dune::DenseMatrix&lt;·MAT·&gt;:</div>82 Inheritance·diagram·for·Dune::DenseMatrix&lt;·MAT·&gt;:</div>
83 <div·class="dyncontent">83 <div·class="dyncontent">
84 <div·class="center"><img·src="a01399.png"·border="0"·usemap="#a_dune_1_1_dense_matrix_3_01_m_a_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>84 <div·class="center"><img·src="a01399.png"·border="0"·usemap="#a_dune_1_1_dense_matrix_3_01_m_a_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
85 <map·name="a_dune_1_1_dense_matrix_3_01_m_a_t_01_4_inherit__map"·id="a_dune_1_1_dense_matrix_3_01_m_a_t_01_4_inherit__map">85 <map·name="a_dune_1_1_dense_matrix_3_01_m_a_t_01_4_inherit__map"·id="a_dune_1_1_dense_matrix_3_01_m_a_t_01_4_inherit__map">
86 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="5,79,148,120"/>86 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="5,79,148,120"/>
87 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="357,5,515,47"/>87 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="357,5,515,47"/>
Offset 2303, 15 lines modifiedOffset 2303, 15 lines modified
2303 </div><div·class="memdoc">2303 </div><div·class="memdoc">
  
2304 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>2304 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>
  
2305 </div>2305 </div>
2306 </div>2306 </div>
2307 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>2307 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
2308 <li><a·class="el"·href="a00389_source.html">densematrix.hh</a></li>2308 <li><a·class="el"·href="a00236_source.html">densematrix.hh</a></li>
2309 </ul>2309 </ul>
2310 </div><!--·contents·-->2310 </div><!--·contents·-->
2311 <!--·start·footer·part·-->2311 <!--·start·footer·part·-->
2312 <hr·class="footer"/><address·class="footer"><small>2312 <hr·class="footer"/><address·class="footer"><small>
2313 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.42313 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
2314 </small></address>2314 </small></address>
2315 </body>2315 </body>
2.35 KB
./usr/share/doc/libdune-common-doc/doxygen/a01404.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01401.html">List·of·all·members</a>··</div>71 <a·href="a01401.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DenseMatrix&lt;·M·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/densematrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/densematrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a7e3a65001054390715e170cec97311e2"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·typenameDenseMatVecTraits&lt;·M·&gt;::value_type·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01404.html#a7e3a65001054390715e170cec97311e2">field_type</a></td></tr>79 <tr·class="memitem:a7e3a65001054390715e170cec97311e2"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·typenameDenseMatVecTraits&lt;·M·&gt;::value_type·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01404.html#a7e3a65001054390715e170cec97311e2">field_type</a></td></tr>
80 <tr·class="separator:a7e3a65001054390715e170cec97311e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a7e3a65001054390715e170cec97311e2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a28aafc36c8f6db71d2c7a1533239a9d6"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·typenameDenseMatVecTraits&lt;·M·&gt;::value_type·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01404.html#a28aafc36c8f6db71d2c7a1533239a9d6">real_type</a></td></tr>81 <tr·class="memitem:a28aafc36c8f6db71d2c7a1533239a9d6"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·typenameDenseMatVecTraits&lt;·M·&gt;::value_type·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01404.html#a28aafc36c8f6db71d2c7a1533239a9d6">real_type</a></td></tr>
82 <tr·class="separator:a28aafc36c8f6db71d2c7a1533239a9d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a28aafc36c8f6db71d2c7a1533239a9d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00389_source.html">densematrix.hh</a></li>118 <li><a·class="el"·href="a00236_source.html">densematrix.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01408.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>76 ··<div·class="headertitle"><div·class="title">Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>A·dense·n·x·m·matrix.··79 <p>A·dense·n·x·m·matrix.··
80 ·<a·href="a01408.html#details">More...</a></p>80 ·<a·href="a01408.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;:</div>83 Inheritance·diagram·for·Dune::FieldMatrix&lt;·K,·ROWS,·COLS·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a01407.png"·border="0"·usemap="#a_dune_1_1_field_matrix_3_01_k_00_01_r_o_w_s_00_01_c_o_l_s_01_4_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a01407.png"·border="0"·usemap="#a_dune_1_1_field_matrix_3_01_k_00_01_r_o_w_s_00_01_c_o_l_s_01_4_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_field_matrix_3_01_k_00_01_r_o_w_s_00_01_c_o_l_s_01_4_inherit__map"·id="a_dune_1_1_field_matrix_3_01_k_00_01_r_o_w_s_00_01_c_o_l_s_01_4_inherit__map">86 <map·name="a_dune_1_1_field_matrix_3_01_k_00_01_r_o_w_s_00_01_c_o_l_s_01_4_inherit__map"·id="a_dune_1_1_field_matrix_3_01_k_00_01_r_o_w_s_00_01_c_o_l_s_01_4_inherit__map">
87 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="17,229,156,271"/>87 <area·shape="rect"·title="A·dense·n·x·m·matrix."·alt=""·coords="17,229,156,271"/>
88 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="5,124,168,180"/>88 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="5,124,168,180"/>
Offset 2700, 16 lines modifiedOffset 2700, 16 lines modified
2700 </div><div·class="memdoc">2700 </div><div·class="memdoc">
  
2701 <p>The·number·of·rows.·</p>2701 <p>The·number·of·rows.·</p>
  
2702 </div>2702 </div>
2703 </div>2703 </div>
2704 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>2704 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
2705 <li><a·class="el"·href="a00389_source.html">densematrix.hh</a></li>2705 <li><a·class="el"·href="a00236_source.html">densematrix.hh</a></li>
2706 <li><a·class="el"·href="a00251_source.html">fmatrix.hh</a></li>2706 <li><a·class="el"·href="a00107_source.html">fmatrix.hh</a></li>
2707 </ul>2707 </ul>
2708 </div><!--·contents·-->2708 </div><!--·contents·-->
2709 <!--·start·footer·part·-->2709 <!--·start·footer·part·-->
2710 <hr·class="footer"/><address·class="footer"><small>2710 <hr·class="footer"/><address·class="footer"><small>
2711 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.42711 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
2712 </small></address>2712 </small></address>
2713 </body>2713 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01412.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::FieldVector&lt;·K,·SIZE·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>76 ··<div·class="headertitle"><div·class="title">Dune::FieldVector&lt;·K,·SIZE·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p>vector·space·out·of·a·tensor·product·of·fields.··79 <p>vector·space·out·of·a·tensor·product·of·fields.··
80 ·<a·href="a01412.html#details">More...</a></p>80 ·<a·href="a01412.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::FieldVector&lt;·K,·SIZE·&gt;:</div>83 Inheritance·diagram·for·Dune::FieldVector&lt;·K,·SIZE·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a01411.png"·border="0"·usemap="#a_dune_1_1_field_vector_3_01_k_00_01_s_i_z_e_01_4_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a01411.png"·border="0"·usemap="#a_dune_1_1_field_vector_3_01_k_00_01_s_i_z_e_01_4_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_field_vector_3_01_k_00_01_s_i_z_e_01_4_inherit__map"·id="a_dune_1_1_field_vector_3_01_k_00_01_s_i_z_e_01_4_inherit__map">86 <map·name="a_dune_1_1_field_vector_3_01_k_00_01_s_i_z_e_01_4_inherit__map"·id="a_dune_1_1_field_vector_3_01_k_00_01_s_i_z_e_01_4_inherit__map">
87 <area·shape="rect"·title="vector·space·out·of·a·tensor·product·of·fields."·alt=""·coords="84,185,219,227"/>87 <area·shape="rect"·title="vector·space·out·of·a·tensor·product·of·fields."·alt=""·coords="84,185,219,227"/>
88 <area·shape="rect"·href="a01412.html"·title="·"·alt=""·coords="5,289,140,331"/>88 <area·shape="rect"·href="a01412.html"·title="·"·alt=""·coords="5,289,140,331"/>
Offset 2244, 16 lines modifiedOffset 2244, 16 lines modified
2244 </div><div·class="memdoc">2244 </div><div·class="memdoc">
  
2245 <p>The·size·of·this·vector.·</p>2245 <p>The·size·of·this·vector.·</p>
  
2246 </div>2246 </div>
2247 </div>2247 </div>
2248 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>2248 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
2249 <li><a·class="el"·href="a00389_source.html">densematrix.hh</a></li>2249 <li><a·class="el"·href="a00236_source.html">densematrix.hh</a></li>
2250 <li><a·class="el"·href="a00122_source.html">fvector.hh</a></li>2250 <li><a·class="el"·href="a00098_source.html">fvector.hh</a></li>
2251 </ul>2251 </ul>
2252 </div><!--·contents·-->2252 </div><!--·contents·-->
2253 <!--·start·footer·part·-->2253 <!--·start·footer·part·-->
2254 <hr·class="footer"/><address·class="footer"><small>2254 <hr·class="footer"/><address·class="footer"><small>
2255 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.42255 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
2256 </small></address>2256 </small></address>
2257 </body>2257 </body>
958 B
./usr/share/doc/libdune-common-doc/doxygen/a01416.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<table·class="tparams">79 ··<table·class="tparams">
80 ····<tr><td·class="paramname"><a·class="el"·href="a01400.html"·title="A·dense·n·x·m·matrix.">DenseMatrix</a></td><td>Some·type·implementing·the·dense·matrix·interface·</td></tr>80 ····<tr><td·class="paramname"><a·class="el"·href="a01400.html"·title="A·dense·n·x·m·matrix.">DenseMatrix</a></td><td>Some·type·implementing·the·dense·matrix·interface·</td></tr>
81 ····<tr><td·class="paramname">RHS</td><td>Right·hand·side·type·</td></tr>81 ····<tr><td·class="paramname">RHS</td><td>Right·hand·side·type·</td></tr>
82 ··</table>82 ··</table>
83 ··</dd>83 ··</dd>
84 </dl>84 </dl>
85 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>85 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
86 <li><a·class="el"·href="a00389_source.html">densematrix.hh</a></li>86 <li><a·class="el"·href="a00236_source.html">densematrix.hh</a></li>
87 </ul>87 </ul>
88 </div><!--·contents·-->88 </div><!--·contents·-->
89 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
90 <hr·class="footer"/><address·class="footer"><small>90 <hr·class="footer"/><address·class="footer"><small>
91 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.491 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
92 </small></address>92 </small></address>
93 </body>93 </body>
2.71 KB
./usr/share/doc/libdune-common-doc/doxygen/a01420.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::FMatrixError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::FMatrixError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Error·thrown·if·operations·of·a·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·fail.··76 <p>Error·thrown·if·operations·of·a·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·fail.··
77 ·<a·href="a01420.html#details">More...</a></p>77 ·<a·href="a01420.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/densematrix.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00236_source.html">dune/common/densematrix.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::FMatrixError:</div>80 Inheritance·diagram·for·Dune::FMatrixError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01419.png"·border="0"·usemap="#a_dune_1_1_f_matrix_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01419.png"·border="0"·usemap="#a_dune_1_1_f_matrix_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_f_matrix_error_inherit__map"·id="a_dune_1_1_f_matrix_error_inherit__map">83 <map·name="a_dune_1_1_f_matrix_error_inherit__map"·id="a_dune_1_1_f_matrix_error_inherit__map">
84 <area·shape="rect"·title="Error·thrown·if·operations·of·a·FieldMatrix·fail."·alt=""·coords="5,229,139,256"/>84 <area·shape="rect"·title="Error·thrown·if·operations·of·a·FieldMatrix·fail."·alt=""·coords="5,229,139,256"/>
85 <area·shape="rect"·href="a01560.html"·title="Default·exception·class·for·mathematical·errors."·alt=""·coords="13,155,131,181"/>85 <area·shape="rect"·href="a01560.html"·title="Default·exception·class·for·mathematical·errors."·alt=""·coords="13,155,131,181"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>Error·thrown·if·operations·of·a·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·fail.·</p>112 <div·class="textblock"><p·>Error·thrown·if·operations·of·a·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·fail.·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00389_source.html">densematrix.hh</a></li>114 <li><a·class="el"·href="a00236_source.html">densematrix.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
2.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a01424.html
    
Offset 76, 15 lines modifiedOffset 76, 15 lines modified
76 ··<div·class="headertitle"><div·class="title">Dune::DenseVector&lt;·V·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>76 ··<div·class="headertitle"><div·class="title">Dune::DenseVector&lt;·V·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><a·class="el"·href="a02148.html"·title="Communication·interface·between·remote·and·local·indices.">Interface</a>·for·a·class·of·dense·vectors·over·a·given·field.··79 <p><a·class="el"·href="a02148.html"·title="Communication·interface·between·remote·and·local·indices.">Interface</a>·for·a·class·of·dense·vectors·over·a·given·field.··
80 ·<a·href="a01424.html#details">More...</a></p>80 ·<a·href="a01424.html#details">More...</a></p>
  
81 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/densevector.hh</a>&gt;</code></p>81 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/densevector.hh</a>&gt;</code></p>
82 <div·class="dynheader">82 <div·class="dynheader">
83 Inheritance·diagram·for·Dune::DenseVector&lt;·V·&gt;:</div>83 Inheritance·diagram·for·Dune::DenseVector&lt;·V·&gt;:</div>
84 <div·class="dyncontent">84 <div·class="dyncontent">
85 <div·class="center"><img·src="a01423.png"·border="0"·usemap="#a_dune_1_1_dense_vector_3_01_v_01_4_inherit__map"·alt="Inheritance·graph"/></div>85 <div·class="center"><img·src="a01423.png"·border="0"·usemap="#a_dune_1_1_dense_vector_3_01_v_01_4_inherit__map"·alt="Inheritance·graph"/></div>
86 <map·name="a_dune_1_1_dense_vector_3_01_v_01_4_inherit__map"·id="a_dune_1_1_dense_vector_3_01_v_01_4_inherit__map">86 <map·name="a_dune_1_1_dense_vector_3_01_v_01_4_inherit__map"·id="a_dune_1_1_dense_vector_3_01_v_01_4_inherit__map">
87 <area·shape="rect"·title="Interface·for·a·class·of·dense·vectors·over·a·given·field."·alt=""·coords="5,133,175,159"/>87 <area·shape="rect"·title="Interface·for·a·class·of·dense·vectors·over·a·given·field."·alt=""·coords="5,133,175,159"/>
88 <area·shape="rect"·href="a01424.html"·title="·"·alt=""·coords="393,17,555,73"/>88 <area·shape="rect"·href="a01424.html"·title="·"·alt=""·coords="393,17,555,73"/>
Offset 1941, 15 lines modifiedOffset 1941, 15 lines modified
1941 </div><div·class="memdoc">1941 </div><div·class="memdoc">
  
1942 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>1942 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>
  
1943 </div>1943 </div>
1944 </div>1944 </div>
1945 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1945 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1946 <li><a·class="el"·href="a00128_source.html">densevector.hh</a></li>1946 <li><a·class="el"·href="a00104_source.html">densevector.hh</a></li>
1947 </ul>1947 </ul>
1948 </div><!--·contents·-->1948 </div><!--·contents·-->
1949 <!--·start·footer·part·-->1949 <!--·start·footer·part·-->
1950 <hr·class="footer"/><address·class="footer"><small>1950 <hr·class="footer"/><address·class="footer"><small>
1951 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.41951 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
1952 </small></address>1952 </small></address>
1953 </body>1953 </body>
2.34 KB
./usr/share/doc/libdune-common-doc/doxygen/a01428.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01425.html">List·of·all·members</a>··</div>71 <a·href="a01425.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DenseVector&lt;·V·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/densevector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/densevector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a6953a4e286d26fdc7b3854b50fcf2f3e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·typenameDenseMatVecTraits&lt;·V·&gt;::value_type·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01428.html#a6953a4e286d26fdc7b3854b50fcf2f3e">field_type</a></td></tr>79 <tr·class="memitem:a6953a4e286d26fdc7b3854b50fcf2f3e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·typenameDenseMatVecTraits&lt;·V·&gt;::value_type·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01428.html#a6953a4e286d26fdc7b3854b50fcf2f3e">field_type</a></td></tr>
80 <tr·class="separator:a6953a4e286d26fdc7b3854b50fcf2f3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a6953a4e286d26fdc7b3854b50fcf2f3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a44da87077b94c3132da34adf380a020c"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·typenameDenseMatVecTraits&lt;·V·&gt;::value_type·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01428.html#a44da87077b94c3132da34adf380a020c">real_type</a></td></tr>81 <tr·class="memitem:a44da87077b94c3132da34adf380a020c"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·typenameDenseMatVecTraits&lt;·V·&gt;::value_type·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01428.html#a44da87077b94c3132da34adf380a020c">real_type</a></td></tr>
82 <tr·class="separator:a44da87077b94c3132da34adf380a020c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a44da87077b94c3132da34adf380a020c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00128_source.html">densevector.hh</a></li>118 <li><a·class="el"·href="a00104_source.html">densevector.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a01440.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::DenseIterator&lt;·C,·T,·R·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::DenseIterator&lt;·C,·T,·R·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Generic·iterator·class·for·dense·vector·and·matrix·implementations.··76 <p>Generic·iterator·class·for·dense·vector·and·matrix·implementations.··
77 ·<a·href="a01440.html#details">More...</a></p>77 ·<a·href="a01440.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00128_source.html">dune/common/densevector.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00104_source.html">dune/common/densevector.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::DenseIterator&lt;·C,·T,·R·&gt;:</div>80 Inheritance·diagram·for·Dune::DenseIterator&lt;·C,·T,·R·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01439.png"·border="0"·usemap="#a_dune_1_1_dense_iterator_3_01_c_00_01_t_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01439.png"·border="0"·usemap="#a_dune_1_1_dense_iterator_3_01_c_00_01_t_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_dense_iterator_3_01_c_00_01_t_00_01_r_01_4_inherit__map"·id="a_dune_1_1_dense_iterator_3_01_c_00_01_t_00_01_r_01_4_inherit__map">83 <map·name="a_dune_1_1_dense_iterator_3_01_c_00_01_t_00_01_r_01_4_inherit__map"·id="a_dune_1_1_dense_iterator_3_01_c_00_01_t_00_01_r_01_4_inherit__map">
84 <area·shape="rect"·title="Generic·iterator·class·for·dense·vector·and·matrix·implementations."·alt=""·coords="615,29,755,70"/>84 <area·shape="rect"·title="Generic·iterator·class·for·dense·vector·and·matrix·implementations."·alt=""·coords="615,29,755,70"/>
85 <area·shape="rect"·href="a01884.html"·title="·"·alt=""·coords="371,14,565,85"/>85 <area·shape="rect"·href="a01884.html"·title="·"·alt=""·coords="371,14,565,85"/>
Offset 1157, 15 lines modifiedOffset 1157, 15 lines modified
1157 ··</dd>1157 ··</dd>
1158 </dl>1158 </dl>
1159 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>1159 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>
  
1160 </div>1160 </div>
1161 </div>1161 </div>
1162 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1162 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1163 <li><a·class="el"·href="a00128_source.html">densevector.hh</a></li>1163 <li><a·class="el"·href="a00104_source.html">densevector.hh</a></li>
1164 </ul>1164 </ul>
1165 </div><!--·contents·-->1165 </div><!--·contents·-->
1166 <!--·start·footer·part·-->1166 <!--·start·footer·part·-->
1167 <hr·class="footer"/><address·class="footer"><small>1167 <hr·class="footer"/><address·class="footer"><small>
1168 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.41168 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
1169 </small></address>1169 </small></address>
1170 </body>1170 </body>
2.76 KB
./usr/share/doc/libdune-common-doc/doxygen/a01444.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;73 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
74 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;74 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
75 <a·href="a01441.html">List·of·all·members</a>··</div>75 <a·href="a01441.html">List·of·all·members</a>··</div>
76 ··<div·class="headertitle"><div·class="title">Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>76 ··<div·class="headertitle"><div·class="title">Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;:</div>81 Inheritance·diagram·for·Dune::DiagonalRowVectorConst&lt;·K,·n·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a01443.png"·border="0"·usemap="#a_dune_1_1_diagonal_row_vector_const_3_01_k_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a01443.png"·border="0"·usemap="#a_dune_1_1_diagonal_row_vector_const_3_01_k_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_diagonal_row_vector_const_3_01_k_00_01n_01_4_inherit__map"·id="a_dune_1_1_diagonal_row_vector_const_3_01_k_00_01n_01_4_inherit__map">84 <map·name="a_dune_1_1_diagonal_row_vector_const_3_01_k_00_01n_01_4_inherit__map"·id="a_dune_1_1_diagonal_row_vector_const_3_01_k_00_01n_01_4_inherit__map">
85 <area·shape="rect"·title="·"·alt=""·coords="5,13,216,54"/>85 <area·shape="rect"·title="·"·alt=""·coords="5,13,216,54"/>
86 <area·shape="rect"·href="a01448.html"·title="·"·alt=""·coords="639,5,815,61"/>86 <area·shape="rect"·href="a01448.html"·title="·"·alt=""·coords="639,5,815,61"/>
Offset 170, 15 lines modifiedOffset 170, 15 lines modified
170 Protected·Attributes</h2></td></tr>170 Protected·Attributes</h2></td></tr>
171 <tr·class="memitem:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memItemLeft"·align="right"·valign="top">K·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga7fdbefcb056f8f38dd2bd91840aeb9e3">p_</a></td></tr>171 <tr·class="memitem:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memItemLeft"·align="right"·valign="top">K·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga7fdbefcb056f8f38dd2bd91840aeb9e3">p_</a></td></tr>
172 <tr·class="separator:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>172 <tr·class="separator:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
173 <tr·class="memitem:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00411.html#gad3922c94874ab3a70ac449a6ba3ccecb">size_type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga38be35b1190cff72ee6a1c7f9e12bcb2">row_</a></td></tr>173 <tr·class="memitem:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00411.html#gad3922c94874ab3a70ac449a6ba3ccecb">size_type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga38be35b1190cff72ee6a1c7f9e12bcb2">row_</a></td></tr>
174 <tr·class="separator:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>174 <tr·class="separator:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
175 </table>175 </table>
176 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>176 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
177 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>177 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
178 </ul>178 </ul>
179 </div><!--·contents·-->179 </div><!--·contents·-->
180 <!--·start·footer·part·-->180 <!--·start·footer·part·-->
181 <hr·class="footer"/><address·class="footer"><small>181 <hr·class="footer"/><address·class="footer"><small>
182 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4182 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
183 </small></address>183 </small></address>
184 </body>184 </body>
2.74 KB
./usr/share/doc/libdune-common-doc/doxygen/a01448.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;73 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
74 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;74 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
75 <a·href="a01445.html">List·of·all·members</a>··</div>75 <a·href="a01445.html">List·of·all·members</a>··</div>
76 ··<div·class="headertitle"><div·class="title">Dune::DiagonalRowVector&lt;·K,·n·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>76 ··<div·class="headertitle"><div·class="title">Dune::DiagonalRowVector&lt;·K,·n·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::DiagonalRowVector&lt;·K,·n·&gt;:</div>81 Inheritance·diagram·for·Dune::DiagonalRowVector&lt;·K,·n·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a01447.png"·border="0"·usemap="#a_dune_1_1_diagonal_row_vector_3_01_k_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a01447.png"·border="0"·usemap="#a_dune_1_1_diagonal_row_vector_3_01_k_00_01n_01_4_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_diagonal_row_vector_3_01_k_00_01n_01_4_inherit__map"·id="a_dune_1_1_diagonal_row_vector_3_01_k_00_01n_01_4_inherit__map">84 <map·name="a_dune_1_1_diagonal_row_vector_3_01_k_00_01n_01_4_inherit__map"·id="a_dune_1_1_diagonal_row_vector_3_01_k_00_01n_01_4_inherit__map">
85 <area·shape="rect"·title="·"·alt=""·coords="23,96,199,137"/>85 <area·shape="rect"·title="·"·alt=""·coords="23,96,199,137"/>
86 <area·shape="rect"·href="a01448.html"·title="·"·alt=""·coords="23,215,199,271"/>86 <area·shape="rect"·href="a01448.html"·title="·"·alt=""·coords="23,215,199,271"/>
Offset 192, 15 lines modifiedOffset 192, 15 lines modified
192 Protected·Attributes</h2></td></tr>192 Protected·Attributes</h2></td></tr>
193 <tr·class="memitem:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memItemLeft"·align="right"·valign="top">K·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga7fdbefcb056f8f38dd2bd91840aeb9e3">p_</a></td></tr>193 <tr·class="memitem:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memItemLeft"·align="right"·valign="top">K·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga7fdbefcb056f8f38dd2bd91840aeb9e3">p_</a></td></tr>
194 <tr·class="separator:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>194 <tr·class="separator:ga7fdbefcb056f8f38dd2bd91840aeb9e3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
195 <tr·class="memitem:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00411.html#gac3ddede43a63f4059d5d79faf65a31b6">size_type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga38be35b1190cff72ee6a1c7f9e12bcb2">row_</a></td></tr>195 <tr·class="memitem:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a00411.html#gac3ddede43a63f4059d5d79faf65a31b6">size_type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga38be35b1190cff72ee6a1c7f9e12bcb2">row_</a></td></tr>
196 <tr·class="separator:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>196 <tr·class="separator:ga38be35b1190cff72ee6a1c7f9e12bcb2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
197 </table>197 </table>
198 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>198 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
199 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>199 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
200 </ul>200 </ul>
201 </div><!--·contents·-->201 </div><!--·contents·-->
202 <!--·start·footer·part·-->202 <!--·start·footer·part·-->
203 <hr·class="footer"/><address·class="footer"><small>203 <hr·class="footer"/><address·class="footer"><small>
204 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4204 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
205 </small></address>205 </small></address>
206 </body>206 </body>
3.25 KB
./usr/share/doc/libdune-common-doc/doxygen/a01452.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="a01449.html">List·of·all·members</a>··</div>71 <a·href="a01449.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::DiagonalMatrixWrapper&lt;·DiagonalMatrixType·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::DiagonalMatrixWrapper&lt;·DiagonalMatrixType·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
78 Public·Member·Functions</h2></td></tr>78 Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:gaec4b856260bbe814628142729127c5d8"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gaec4b856260bbe814628142729127c5d8">DiagonalMatrixWrapper</a>·()</td></tr>79 <tr·class="memitem:gaec4b856260bbe814628142729127c5d8"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gaec4b856260bbe814628142729127c5d8">DiagonalMatrixWrapper</a>·()</td></tr>
80 <tr·class="separator:gaec4b856260bbe814628142729127c5d8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:gaec4b856260bbe814628142729127c5d8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:ga6207194fb0de60699bed536aa655896f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga6207194fb0de60699bed536aa655896f">DiagonalMatrixWrapper</a>·(const·DiagonalMatrixType·*mat)</td></tr>81 <tr·class="memitem:ga6207194fb0de60699bed536aa655896f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga6207194fb0de60699bed536aa655896f">DiagonalMatrixWrapper</a>·(const·DiagonalMatrixType·*mat)</td></tr>
82 <tr·class="separator:ga6207194fb0de60699bed536aa655896f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga6207194fb0de60699bed536aa655896f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 85, 15 lines modifiedOffset 85, 15 lines modified
85 <tr·class="separator:ga946866a34f2a843eed8ddbffa1c9a9f6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:ga946866a34f2a843eed8ddbffa1c9a9f6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 <tr·class="memitem:ga54c25c1ea2d1838200aa68ad86bcdbdb"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01448.html">row_type</a>·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga54c25c1ea2d1838200aa68ad86bcdbdb">pointer</a>·(int·i)·const</td></tr>86 <tr·class="memitem:ga54c25c1ea2d1838200aa68ad86bcdbdb"><td·class="memItemLeft"·align="right"·valign="top"><a·class="el"·href="a01448.html">row_type</a>·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga54c25c1ea2d1838200aa68ad86bcdbdb">pointer</a>·(int·i)·const</td></tr>
87 <tr·class="separator:ga54c25c1ea2d1838200aa68ad86bcdbdb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:ga54c25c1ea2d1838200aa68ad86bcdbdb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:gaa8ff4d2d7d2f8d66275fa39a1854e883"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gaa8ff4d2d7d2f8d66275fa39a1854e883">identical</a>·(const·<a·class="el"·href="a01452.html">DiagonalMatrixWrapper</a>·&amp;other)·const</td></tr>88 <tr·class="memitem:gaa8ff4d2d7d2f8d66275fa39a1854e883"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gaa8ff4d2d7d2f8d66275fa39a1854e883">identical</a>·(const·<a·class="el"·href="a01452.html">DiagonalMatrixWrapper</a>·&amp;other)·const</td></tr>
89 <tr·class="separator:gaa8ff4d2d7d2f8d66275fa39a1854e883"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:gaa8ff4d2d7d2f8d66275fa39a1854e883"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 </table>90 </table>
91 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>91 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
92 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>92 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
93 </ul>93 </ul>
94 </div><!--·contents·-->94 </div><!--·contents·-->
95 <!--·start·footer·part·-->95 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>96 <hr·class="footer"/><address·class="footer"><small>
97 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.497 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
98 </small></address>98 </small></address>
99 </body>99 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a01456.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Iterator·class·for·sparse·vector-like·containers.··76 <p>Iterator·class·for·sparse·vector-like·containers.··
77 ·<a·href="a01456.html#details">More...</a></p>77 ·<a·href="a01456.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;:</div>80 Inheritance·diagram·for·Dune::ContainerWrapperIterator&lt;·CW,·T,·R·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01455.png"·border="0"·usemap="#a_dune_1_1_container_wrapper_iterator_3_01_c_w_00_01_t_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01455.png"·border="0"·usemap="#a_dune_1_1_container_wrapper_iterator_3_01_c_w_00_01_t_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_container_wrapper_iterator_3_01_c_w_00_01_t_00_01_r_01_4_inherit__map"·id="a_dune_1_1_container_wrapper_iterator_3_01_c_w_00_01_t_00_01_r_01_4_inherit__map">83 <map·name="a_dune_1_1_container_wrapper_iterator_3_01_c_w_00_01_t_00_01_r_01_4_inherit__map"·id="a_dune_1_1_container_wrapper_iterator_3_01_c_w_00_01_t_00_01_r_01_4_inherit__map">
84 <area·shape="rect"·title="Iterator·class·for·sparse·vector&#45;like·containers."·alt=""·coords="660,14,867,55"/>84 <area·shape="rect"·title="Iterator·class·for·sparse·vector&#45;like·containers."·alt=""·coords="660,14,867,55"/>
85 <area·shape="rect"·href="a01880.html"·title="·"·alt=""·coords="388,7,611,63"/>85 <area·shape="rect"·href="a01880.html"·title="·"·alt=""·coords="388,7,611,63"/>
Offset 626, 15 lines modifiedOffset 626, 15 lines modified
626 </div><div·class="memdoc">626 </div><div·class="memdoc">
  
627 <p>Postincrement·operator.·</p>627 <p>Postincrement·operator.·</p>
  
628 </div>628 </div>
629 </div>629 </div>
630 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>630 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
631 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>631 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
632 </ul>632 </ul>
633 </div><!--·contents·-->633 </div><!--·contents·-->
634 <!--·start·footer·part·-->634 <!--·start·footer·part·-->
635 <hr·class="footer"/><address·class="footer"><small>635 <hr·class="footer"/><address·class="footer"><small>
636 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4636 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
637 </small></address>637 </small></address>
638 </body>638 </body>
2.56 KB
./usr/share/doc/libdune-common-doc/doxygen/a01460.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::DiagonalMatrix&lt;·K,·n·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::DiagonalMatrix&lt;·K,·n·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>A·diagonal·matrix·of·static·size.··78 <p>A·diagonal·matrix·of·static·size.··
79 ·<a·href="a01460.html#details">More...</a></p>79 ·<a·href="a01460.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
81 <table·class="memberdecls">81 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
83 Public·Types</h2></td></tr>83 Public·Types</h2></td></tr>
84 <tr·class="memitem:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="memItemLeft"·align="right"·valign="top">typedef·K&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a></td></tr>84 <tr·class="memitem:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="memItemLeft"·align="right"·valign="top">typedef·K&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a></td></tr>
85 <tr·class="memdesc:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">export·the·type·representing·the·field··<a·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">More...</a><br·/></td></tr>85 <tr·class="memdesc:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">export·the·type·representing·the·field··<a·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">More...</a><br·/></td></tr>
86 <tr·class="separator:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:gadcf811f77d0dbfbbfbebefe63d8c43c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 <tr·class="memitem:ga87d01fed9cbade66ddcb30e6e7132a9a"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga87d01fed9cbade66ddcb30e6e7132a9a">field_type</a></td></tr>87 <tr·class="memitem:ga87d01fed9cbade66ddcb30e6e7132a9a"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00411.html#gadcf811f77d0dbfbbfbebefe63d8c43c2">value_type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga87d01fed9cbade66ddcb30e6e7132a9a">field_type</a></td></tr>
Offset 318, 15 lines modifiedOffset 318, 15 lines modified
318 ··<table·class="tparams">318 ··<table·class="tparams">
319 ····<tr><td·class="paramname">K</td><td>Type·used·for·scalars·</td></tr>319 ····<tr><td·class="paramname">K</td><td>Type·used·for·scalars·</td></tr>
320 ····<tr><td·class="paramname">n</td><td>Matrix·size·</td></tr>320 ····<tr><td·class="paramname">n</td><td>Matrix·size·</td></tr>
321 ··</table>321 ··</table>
322 ··</dd>322 ··</dd>
323 </dl>323 </dl>
324 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>324 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
325 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>325 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
326 </ul>326 </ul>
327 </div><!--·contents·-->327 </div><!--·contents·-->
328 <!--·start·footer·part·-->328 <!--·start·footer·part·-->
329 <hr·class="footer"/><address·class="footer"><small>329 <hr·class="footer"/><address·class="footer"><small>
330 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4330 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
331 </small></address>331 </small></address>
332 </body>332 </body>
2.34 KB
./usr/share/doc/libdune-common-doc/doxygen/a01464.html
    
Offset 69, 25 lines modifiedOffset 69, 25 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01461.html">List·of·all·members</a>··</div>71 <a·href="a01461.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DiagonalMatrix&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DiagonalMatrix&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ga06947d572d7c28aab71c731e41de6854"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga06947d572d7c28aab71c731e41de6854">field_type</a></td></tr>79 <tr·class="memitem:ga06947d572d7c28aab71c731e41de6854"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga06947d572d7c28aab71c731e41de6854">field_type</a></td></tr>
80 <tr·class="separator:ga06947d572d7c28aab71c731e41de6854"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga06947d572d7c28aab71c731e41de6854"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:gaeaa44fc39dd6d14d3c8b05c45ae146fe"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gaeaa44fc39dd6d14d3c8b05c45ae146fe">real_type</a></td></tr>81 <tr·class="memitem:gaeaa44fc39dd6d14d3c8b05c45ae146fe"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gaeaa44fc39dd6d14d3c8b05c45ae146fe">real_type</a></td></tr>
82 <tr·class="separator:gaeaa44fc39dd6d14d3c8b05c45ae146fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:gaeaa44fc39dd6d14d3c8b05c45ae146fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>84 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
85 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>85 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
86 </ul>86 </ul>
87 </div><!--·contents·-->87 </div><!--·contents·-->
88 <!--·start·footer·part·-->88 <!--·start·footer·part·-->
89 <hr·class="footer"/><address·class="footer"><small>89 <hr·class="footer"/><address·class="footer"><small>
90 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.490 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
91 </small></address>91 </small></address>
92 </body>92 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a01468.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01465.html">List·of·all·members</a>··</div>71 <a·href="a01465.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:gabc526795104d73a60982e4e56d97f9e0"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01444.html">DiagonalRowVectorConst</a>&lt;·K,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gabc526795104d73a60982e4e56d97f9e0">type</a></td></tr>79 <tr·class="memitem:gabc526795104d73a60982e4e56d97f9e0"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01444.html">DiagonalRowVectorConst</a>&lt;·K,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gabc526795104d73a60982e4e56d97f9e0">type</a></td></tr>
80 <tr·class="separator:gabc526795104d73a60982e4e56d97f9e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:gabc526795104d73a60982e4e56d97f9e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a01472.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01469.html">List·of·all·members</a>··</div>71 <a·href="a01469.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ga249ab0cf1a399fb2ddadbeaa51150721"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01444.html">DiagonalRowVectorConst</a>&lt;·K,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga249ab0cf1a399fb2ddadbeaa51150721">type</a></td></tr>79 <tr·class="memitem:ga249ab0cf1a399fb2ddadbeaa51150721"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01444.html">DiagonalRowVectorConst</a>&lt;·K,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga249ab0cf1a399fb2ddadbeaa51150721">type</a></td></tr>
80 <tr·class="separator:ga249ab0cf1a399fb2ddadbeaa51150721"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga249ab0cf1a399fb2ddadbeaa51150721"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a01476.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01473.html">List·of·all·members</a>··</div>71 <a·href="a01473.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·DiagonalRowVector&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ga28c984d0ebcafd7c2d413905dedad07d"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01448.html">DiagonalRowVector</a>&lt;·K,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga28c984d0ebcafd7c2d413905dedad07d">type</a></td></tr>79 <tr·class="memitem:ga28c984d0ebcafd7c2d413905dedad07d"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01448.html">DiagonalRowVector</a>&lt;·K,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga28c984d0ebcafd7c2d413905dedad07d">type</a></td></tr>
80 <tr·class="separator:ga28c984d0ebcafd7c2d413905dedad07d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga28c984d0ebcafd7c2d413905dedad07d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a01480.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01477.html">List·of·all·members</a>··</div>71 <a·href="a01477.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·DiagonalRowVectorConst&lt;·K,·n·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ga6c0dc6df097a09a2706166b882e4b7a2"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01448.html">DiagonalRowVector</a>&lt;·K,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga6c0dc6df097a09a2706166b882e4b7a2">type</a></td></tr>79 <tr·class="memitem:ga6c0dc6df097a09a2706166b882e4b7a2"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01448.html">DiagonalRowVector</a>&lt;·K,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#ga6c0dc6df097a09a2706166b882e4b7a2">type</a></td></tr>
80 <tr·class="separator:ga6c0dc6df097a09a2706166b882e4b7a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga6c0dc6df097a09a2706166b882e4b7a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a01484.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a01481.html">List·of·all·members</a>··</div>71 <a·href="a01481.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatrixAssigner&lt;·DenseMatrix,·DiagonalMatrix&lt;·field,·N·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatrixAssigner&lt;·DenseMatrix,·DiagonalMatrix&lt;·field,·N·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00215_source.html">dune/common/diagonalmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:gacdc8dd0929e24775063d1bae351a6741"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gacdc8dd0929e24775063d1bae351a6741">apply</a>·(<a·class="el"·href="a01400.html">DenseMatrix</a>·&amp;denseMatrix,·<a·class="el"·href="a01460.html">DiagonalMatrix</a>&lt;·field,·N·&gt;·const·&amp;rhs)</td></tr>79 <tr·class="memitem:gacdc8dd0929e24775063d1bae351a6741"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00411.html#gacdc8dd0929e24775063d1bae351a6741">apply</a>·(<a·class="el"·href="a01400.html">DenseMatrix</a>·&amp;denseMatrix,·<a·class="el"·href="a01460.html">DiagonalMatrix</a>&lt;·field,·N·&gt;·const·&amp;rhs)</td></tr>
80 <tr·class="separator:gacdc8dd0929e24775063d1bae351a6741"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:gacdc8dd0929e24775063d1bae351a6741"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00242_source.html">diagonalmatrix.hh</a></li>83 <li><a·class="el"·href="a00215_source.html">diagonalmatrix.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
2.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a01488.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::ImplementationDefined·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::ImplementationDefined·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Dummy·struct·used·for·documentation·purposes.··72 <p>Dummy·struct·used·for·documentation·purposes.··
73 ·<a·href="a01488.html#details">More...</a></p>73 ·<a·href="a01488.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/documentation.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00089_source.html">dune/common/documentation.hh</a>&gt;</code></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><p·>Dummy·struct·used·for·documentation·purposes.·</p>76 <div·class="textblock"><p·>Dummy·struct·used·for·documentation·purposes.·</p>
77 <p·>This·struct·can·be·used·for·documenting·interfaces.·One·example·would·be:·</p><div·class="fragment"><div·class="line"><span·class="comment">//·Traits·class·that·determines·some·property·for·some·other·type·T</span></div>77 <p·>This·struct·can·be·used·for·documenting·interfaces.·One·example·would·be:·</p><div·class="fragment"><div·class="line"><span·class="comment">//·Traits·class·that·determines·some·property·for·some·other·type·T</span></div>
78 <div·class="line"><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>78 <div·class="line"><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·T&gt;</div>
79 <div·class="line"><span·class="keyword">class·</span>SomeTraits·{</div>79 <div·class="line"><span·class="keyword">class·</span>SomeTraits·{</div>
80 <div·class="line">··<span·class="keyword">static_assert</span>(<a·class="code·hl_struct"·href="a03096.html">Dune::AlwaysFalse&lt;T&gt;::value</a>,</div>80 <div·class="line">··<span·class="keyword">static_assert</span>(<a·class="code·hl_struct"·href="a03096.html">Dune::AlwaysFalse&lt;T&gt;::value</a>,</div>
81 <div·class="line">················<span·class="stringliteral">&quot;Sorry,·SomeTraits·must·be·specialized·for·all·types&quot;</span>);</div>81 <div·class="line">················<span·class="stringliteral">&quot;Sorry,·SomeTraits·must·be·specialized·for·all·types&quot;</span>);</div>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 <div·class="line">};</div>92 <div·class="line">};</div>
93 <div·class="line"><span·class="comment">//·...</span></div>93 <div·class="line"><span·class="comment">//·...</span></div>
94 <div·class="line"><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div>94 <div·class="line"><span·class="preprocessor">#endif·</span><span·class="comment">//·DOXYGEN</span></div>
95 <div·class="ttc"·id="aa01488_html"><div·class="ttname"><a·href="a01488.html">Dune::ImplementationDefined</a></div><div·class="ttdoc">Dummy·struct·used·for·documentation·purposes.</div><div·class="ttdef"><b>Definition:</b>·documentation.hh:42</div></div>95 <div·class="ttc"·id="aa01488_html"><div·class="ttname"><a·href="a01488.html">Dune::ImplementationDefined</a></div><div·class="ttdoc">Dummy·struct·used·for·documentation·purposes.</div><div·class="ttdef"><b>Definition:</b>·documentation.hh:42</div></div>
96 <div·class="ttc"·id="aa03096_html"><div·class="ttname"><a·href="a03096.html">Dune::AlwaysFalse</a></div><div·class="ttdoc">template·which·always·yields·a·false·value</div><div·class="ttdef"><b>Definition:</b>·typetraits.hh:124</div></div>96 <div·class="ttc"·id="aa03096_html"><div·class="ttname"><a·href="a03096.html">Dune::AlwaysFalse</a></div><div·class="ttdoc">template·which·always·yields·a·false·value</div><div·class="ttdef"><b>Definition:</b>·typetraits.hh:124</div></div>
97 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00397.html#ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b"·title="Dummy·integral·value·used·for·documentation·purposes.">implementationDefined</a>·</dd></dl>97 </div><!--·fragment·--><dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00397.html#ga90bbc2f44b2002c6431570e453a822a0a7de84f476fd1d9f55ac5e2c25f252c3b"·title="Dummy·integral·value·used·for·documentation·purposes.">implementationDefined</a>·</dd></dl>
98 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>98 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
99 <li><a·class="el"·href="a00350_source.html">documentation.hh</a></li>99 <li><a·class="el"·href="a00089_source.html">documentation.hh</a></li>
100 </ul>100 </ul>
101 </div><!--·contents·-->101 </div><!--·contents·-->
102 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>103 <hr·class="footer"/><address·class="footer"><small>
104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
105 </small></address>105 </small></address>
106 </body>106 </body>
1.64 KB
./usr/share/doc/libdune-common-doc/doxygen/a01492.html
    
Offset 66, 26 lines modifiedOffset 66, 26 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::IsVector&lt;·T,·class·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsVector&lt;·T,·class·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::IsVector&lt;·T,·class·&gt;:</div>74 Inheritance·diagram·for·Dune::IsVector&lt;·T,·class·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01491.png"·border="0"·usemap="#a_dune_1_1_is_vector_3_01_t_00_01class_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01491.png"·border="0"·usemap="#a_dune_1_1_is_vector_3_01_t_00_01class_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_is_vector_3_01_t_00_01class_01_4_inherit__map"·id="a_dune_1_1_is_vector_3_01_t_00_01class_01_4_inherit__map">77 <map·name="a_dune_1_1_is_vector_3_01_t_00_01class_01_4_inherit__map"·id="a_dune_1_1_is_vector_3_01_t_00_01class_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,80,137,121"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,80,137,121"/>
79 <area·shape="rect"·title="·"·alt=""·coords="17,5,125,32"/>79 <area·shape="rect"·title="·"·alt=""·coords="17,5,125,32"/>
80 </map>80 </map>
81 </div>81 </div>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00290_source.html">dotproduct.hh</a></li>83 <li><a·class="el"·href="a00287_source.html">dotproduct.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.85 KB
./usr/share/doc/libdune-common-doc/doxygen/a01496.html
    
Offset 66, 26 lines modifiedOffset 66, 26 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/dotproduct.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;:</div>74 Inheritance·diagram·for·Dune::IsVector&lt;·T,·std::void_t&lt;·typename·T::field_type·&gt;·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01495.png"·border="0"·usemap="#a_dune_1_1_is_vector_3_01_t_00_01std_1_1void__t_3_01typename_01_t_1_1field__type_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01495.png"·border="0"·usemap="#a_dune_1_1_is_vector_3_01_t_00_01std_1_1void__t_3_01typename_01_t_1_1field__type_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_is_vector_3_01_t_00_01std_1_1void__t_3_01typename_01_t_1_1field__type_01_4_01_4_inherit__map"·id="a_dune_1_1_is_vector_3_01_t_00_01std_1_1void__t_3_01typename_01_t_1_1field__type_01_4_01_4_inherit__map">77 <map·name="a_dune_1_1_is_vector_3_01_t_00_01std_1_1void__t_3_01typename_01_t_1_1field__type_01_4_01_4_inherit__map"·id="a_dune_1_1_is_vector_3_01_t_00_01std_1_1void__t_3_01typename_01_t_1_1field__type_01_4_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,80,160,136"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,80,160,136"/>
79 <area·shape="rect"·title="·"·alt=""·coords="31,5,134,32"/>79 <area·shape="rect"·title="·"·alt=""·coords="31,5,134,32"/>
80 </map>80 </map>
81 </div>81 </div>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00290_source.html">dotproduct.hh</a></li>83 <li><a·class="el"·href="a00287_source.html">dotproduct.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a01500.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::DynamicMatrix&lt;·K·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::DynamicMatrix&lt;·K·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>Construct·a·matrix·with·a·dynamic·size.··78 <p>Construct·a·matrix·with·a·dynamic·size.··
79 ·<a·href="a01500.html#details">More...</a></p>79 ·<a·href="a01500.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>
81 <div·class="dynheader">81 <div·class="dynheader">
82 Inheritance·diagram·for·Dune::DynamicMatrix&lt;·K·&gt;:</div>82 Inheritance·diagram·for·Dune::DynamicMatrix&lt;·K·&gt;:</div>
83 <div·class="dyncontent">83 <div·class="dyncontent">
84 <div·class="center"><img·src="a01499.png"·border="0"·usemap="#a_dune_1_1_dynamic_matrix_3_01_k_01_4_inherit__map"·alt="Inheritance·graph"/></div>84 <div·class="center"><img·src="a01499.png"·border="0"·usemap="#a_dune_1_1_dynamic_matrix_3_01_k_01_4_inherit__map"·alt="Inheritance·graph"/></div>
85 <map·name="a_dune_1_1_dynamic_matrix_3_01_k_01_4_inherit__map"·id="a_dune_1_1_dynamic_matrix_3_01_k_01_4_inherit__map">85 <map·name="a_dune_1_1_dynamic_matrix_3_01_k_01_4_inherit__map"·id="a_dune_1_1_dynamic_matrix_3_01_k_01_4_inherit__map">
86 <area·shape="rect"·title="Construct·a·matrix·with·a·dynamic·size."·alt=""·coords="5,200,188,227"/>86 <area·shape="rect"·title="Construct·a·matrix·with·a·dynamic·size."·alt=""·coords="5,200,188,227"/>
87 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="17,109,176,151"/>87 <area·shape="rect"·href="a01400.html"·title="·"·alt=""·coords="17,109,176,151"/>
Offset 2613, 15 lines modifiedOffset 2613, 15 lines modified
2613 </div><div·class="memdoc">2613 </div><div·class="memdoc">
  
2614 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>2614 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>
  
2615 </div>2615 </div>
2616 </div>2616 </div>
2617 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>2617 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
2618 <li><a·class="el"·href="a00197_source.html">dynmatrix.hh</a></li>2618 <li><a·class="el"·href="a00305_source.html">dynmatrix.hh</a></li>
2619 </ul>2619 </ul>
2620 </div><!--·contents·-->2620 </div><!--·contents·-->
2621 <!--·start·footer·part·-->2621 <!--·start·footer·part·-->
2622 <hr·class="footer"/><address·class="footer"><small>2622 <hr·class="footer"/><address·class="footer"><small>
2623 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.42623 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
2624 </small></address>2624 </small></address>
2625 </body>2625 </body>
2.39 KB
./usr/share/doc/libdune-common-doc/doxygen/a01504.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01501.html">List·of·all·members</a>··</div>71 <a·href="a01501.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·DynamicMatrix&lt;·K·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·DynamicMatrix&lt;·K·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ab086d3113b0356d8541bd1414f194b2f"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01500.html">DynamicMatrix</a>&lt;·K·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01504.html#ab086d3113b0356d8541bd1414f194b2f">derived_type</a></td></tr>79 <tr·class="memitem:ab086d3113b0356d8541bd1414f194b2f"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01500.html">DynamicMatrix</a>&lt;·K·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01504.html#ab086d3113b0356d8541bd1414f194b2f">derived_type</a></td></tr>
80 <tr·class="separator:ab086d3113b0356d8541bd1414f194b2f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ab086d3113b0356d8541bd1414f194b2f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a3b63fa35f7a0ce0a293896a6a894486a"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01512.html">DynamicVector</a>&lt;·K·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01504.html#a3b63fa35f7a0ce0a293896a6a894486a">row_type</a></td></tr>81 <tr·class="memitem:a3b63fa35f7a0ce0a293896a6a894486a"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01512.html">DynamicVector</a>&lt;·K·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01504.html#a3b63fa35f7a0ce0a293896a6a894486a">row_type</a></td></tr>
82 <tr·class="separator:a3b63fa35f7a0ce0a293896a6a894486a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a3b63fa35f7a0ce0a293896a6a894486a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 202, 15 lines modifiedOffset 202, 15 lines modified
202 ········</tr>202 ········</tr>
203 ······</table>203 ······</table>
204 </div><div·class="memdoc">204 </div><div·class="memdoc">
  
205 </div>205 </div>
206 </div>206 </div>
207 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>207 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
208 <li><a·class="el"·href="a00197_source.html">dynmatrix.hh</a></li>208 <li><a·class="el"·href="a00305_source.html">dynmatrix.hh</a></li>
209 </ul>209 </ul>
210 </div><!--·contents·-->210 </div><!--·contents·-->
211 <!--·start·footer·part·-->211 <!--·start·footer·part·-->
212 <hr·class="footer"/><address·class="footer"><small>212 <hr·class="footer"/><address·class="footer"><small>
213 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4213 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
214 </small></address>214 </small></address>
215 </body>215 </body>
2.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a01508.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01505.html">List·of·all·members</a>··</div>71 <a·href="a01505.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DynamicMatrix&lt;·K·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DynamicMatrix&lt;·K·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00305_source.html">dune/common/dynmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a56ba0ff08580dfe31323cb76a7869869"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01508.html#a56ba0ff08580dfe31323cb76a7869869">field_type</a></td></tr>79 <tr·class="memitem:a56ba0ff08580dfe31323cb76a7869869"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01508.html#a56ba0ff08580dfe31323cb76a7869869">field_type</a></td></tr>
80 <tr·class="separator:a56ba0ff08580dfe31323cb76a7869869"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a56ba0ff08580dfe31323cb76a7869869"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a145951e3e4ac1843008bd044659498eb"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01508.html#a145951e3e4ac1843008bd044659498eb">real_type</a></td></tr>81 <tr·class="memitem:a145951e3e4ac1843008bd044659498eb"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01508.html#a145951e3e4ac1843008bd044659498eb">real_type</a></td></tr>
82 <tr·class="separator:a145951e3e4ac1843008bd044659498eb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a145951e3e4ac1843008bd044659498eb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00197_source.html">dynmatrix.hh</a></li>118 <li><a·class="el"·href="a00305_source.html">dynmatrix.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a01512.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::DynamicVector&lt;·K,·Allocator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::DynamicVector&lt;·K,·Allocator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>Construct·a·vector·with·a·dynamic·size.··78 <p>Construct·a·vector·with·a·dynamic·size.··
79 ·<a·href="a01512.html#details">More...</a></p>79 ·<a·href="a01512.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/dynvector.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/dynvector.hh</a>&gt;</code></p>
81 <div·class="dynheader">81 <div·class="dynheader">
82 Inheritance·diagram·for·Dune::DynamicVector&lt;·K,·Allocator·&gt;:</div>82 Inheritance·diagram·for·Dune::DynamicVector&lt;·K,·Allocator·&gt;:</div>
83 <div·class="dyncontent">83 <div·class="dyncontent">
84 <div·class="center"><img·src="a01511.png"·border="0"·usemap="#a_dune_1_1_dynamic_vector_3_01_k_00_01_allocator_01_4_inherit__map"·alt="Inheritance·graph"/></div>84 <div·class="center"><img·src="a01511.png"·border="0"·usemap="#a_dune_1_1_dynamic_vector_3_01_k_00_01_allocator_01_4_inherit__map"·alt="Inheritance·graph"/></div>
85 <map·name="a_dune_1_1_dynamic_vector_3_01_k_00_01_allocator_01_4_inherit__map"·id="a_dune_1_1_dynamic_vector_3_01_k_00_01_allocator_01_4_inherit__map">85 <map·name="a_dune_1_1_dynamic_vector_3_01_k_00_01_allocator_01_4_inherit__map"·id="a_dune_1_1_dynamic_vector_3_01_k_00_01_allocator_01_4_inherit__map">
86 <area·shape="rect"·title="Construct·a·vector·with·a·dynamic·size."·alt=""·coords="15,215,165,256"/>86 <area·shape="rect"·title="Construct·a·vector·with·a·dynamic·size."·alt=""·coords="15,215,165,256"/>
87 <area·shape="rect"·href="a01424.html"·title="·"·alt=""·coords="9,109,171,165"/>87 <area·shape="rect"·href="a01424.html"·title="·"·alt=""·coords="9,109,171,165"/>
Offset 2449, 15 lines modifiedOffset 2449, 15 lines modified
2449 </div><div·class="memdoc">2449 </div><div·class="memdoc">
  
2450 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>2450 <p>The·number·of·block·levels·we·contain.·This·is·the·leaf,·that·is,·1.·</p>
  
2451 </div>2451 </div>
2452 </div>2452 </div>
2453 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>2453 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
2454 <li><a·class="el"·href="a00179_source.html">dynvector.hh</a></li>2454 <li><a·class="el"·href="a00242_source.html">dynvector.hh</a></li>
2455 </ul>2455 </ul>
2456 </div><!--·contents·-->2456 </div><!--·contents·-->
2457 <!--·start·footer·part·-->2457 <!--·start·footer·part·-->
2458 <hr·class="footer"/><address·class="footer"><small>2458 <hr·class="footer"/><address·class="footer"><small>
2459 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.42459 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
2460 </small></address>2460 </small></address>
2461 </body>2461 </body>
2.39 KB
./usr/share/doc/libdune-common-doc/doxygen/a01516.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01513.html">List·of·all·members</a>··</div>71 <a·href="a01513.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/dynvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/dynvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:aaa1148eeccbfc9782c9cb2259d7b7d92"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01512.html">DynamicVector</a>&lt;·K,·Allocator·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01516.html#aaa1148eeccbfc9782c9cb2259d7b7d92">derived_type</a></td></tr>79 <tr·class="memitem:aaa1148eeccbfc9782c9cb2259d7b7d92"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01512.html">DynamicVector</a>&lt;·K,·Allocator·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01516.html#aaa1148eeccbfc9782c9cb2259d7b7d92">derived_type</a></td></tr>
80 <tr·class="separator:aaa1148eeccbfc9782c9cb2259d7b7d92"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:aaa1148eeccbfc9782c9cb2259d7b7d92"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:abf9c2cefdfb6ae35bc1d0bfaf6c9da19"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::vector&lt;·K,·Allocator·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01516.html#abf9c2cefdfb6ae35bc1d0bfaf6c9da19">container_type</a></td></tr>81 <tr·class="memitem:abf9c2cefdfb6ae35bc1d0bfaf6c9da19"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::vector&lt;·K,·Allocator·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01516.html#abf9c2cefdfb6ae35bc1d0bfaf6c9da19">container_type</a></td></tr>
82 <tr·class="separator:abf9c2cefdfb6ae35bc1d0bfaf6c9da19"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:abf9c2cefdfb6ae35bc1d0bfaf6c9da19"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ········</tr>148 ········</tr>
149 ······</table>149 ······</table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00179_source.html">dynvector.hh</a></li>154 <li><a·class="el"·href="a00242_source.html">dynvector.hh</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
158 <hr·class="footer"/><address·class="footer"><small>158 <hr·class="footer"/><address·class="footer"><small>
159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
160 </small></address>160 </small></address>
161 </body>161 </body>
2.41 KB
./usr/share/doc/libdune-common-doc/doxygen/a01520.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01517.html">List·of·all·members</a>··</div>71 <a·href="a01517.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·DynamicVector&lt;·K,·Allocator·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/dynvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00242_source.html">dune/common/dynvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:abc5a4bc2b8bd878283c3278fe9b3560e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01520.html#abc5a4bc2b8bd878283c3278fe9b3560e">field_type</a></td></tr>79 <tr·class="memitem:abc5a4bc2b8bd878283c3278fe9b3560e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01520.html#abc5a4bc2b8bd878283c3278fe9b3560e">field_type</a></td></tr>
80 <tr·class="separator:abc5a4bc2b8bd878283c3278fe9b3560e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:abc5a4bc2b8bd878283c3278fe9b3560e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a2f99a07803a3f6151b198b7c02deec83"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01520.html#a2f99a07803a3f6151b198b7c02deec83">real_type</a></td></tr>81 <tr·class="memitem:a2f99a07803a3f6151b198b7c02deec83"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01520.html#a2f99a07803a3f6151b198b7c02deec83">real_type</a></td></tr>
82 <tr·class="separator:a2f99a07803a3f6151b198b7c02deec83"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a2f99a07803a3f6151b198b7c02deec83"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00179_source.html">dynvector.hh</a></li>118 <li><a·class="el"·href="a00242_source.html">dynvector.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
1.99 KB
./usr/share/doc/libdune-common-doc/doxygen/a01524.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::EmptySet&lt;·TA·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::EmptySet&lt;·TA·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>An·empty·set.··76 <p>An·empty·set.··
77 ·<a·href="a01524.html#details">More...</a></p>77 ·<a·href="a01524.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00278_source.html">dune/common/enumset.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a97993af013629e59913a6c9cd41f527c"><td·class="memItemLeft"·align="right"·valign="top">typedef·TA&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">Type</a></td></tr>82 <tr·class="memitem:a97993af013629e59913a6c9cd41f527c"><td·class="memItemLeft"·align="right"·valign="top">typedef·TA&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">Type</a></td></tr>
83 <tr·class="memdesc:a97993af013629e59913a6c9cd41f527c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·POD·type·the·set·holds.··<a·href="a01524.html#a97993af013629e59913a6c9cd41f527c">More...</a><br·/></td></tr>83 <tr·class="memdesc:a97993af013629e59913a6c9cd41f527c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·POD·type·the·set·holds.··<a·href="a01524.html#a97993af013629e59913a6c9cd41f527c">More...</a><br·/></td></tr>
84 <tr·class="separator:a97993af013629e59913a6c9cd41f527c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a97993af013629e59913a6c9cd41f527c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
Offset 110, 15 lines modifiedOffset 110, 15 lines modified
110 </div><div·class="memdoc">110 </div><div·class="memdoc">
  
111 <p>The·POD·type·the·set·holds.·</p>111 <p>The·POD·type·the·set·holds.·</p>
  
112 </div>112 </div>
113 </div>113 </div>
114 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>114 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00353_source.html">enumset.hh</a></li>115 <li><a·class="el"·href="a00278_source.html">enumset.hh</a></li>
116 </ul>116 </ul>
117 </div><!--·contents·-->117 </div><!--·contents·-->
118 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>119 <hr·class="footer"/><address·class="footer"><small>
120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
121 </small></address>121 </small></address>
122 </body>122 </body>
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a01528.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::AllSet&lt;·TA·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::AllSet&lt;·TA·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·set·containing·everything.··76 <p>A·set·containing·everything.··
77 ·<a·href="a01528.html#details">More...</a></p>77 ·<a·href="a01528.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00278_source.html">dune/common/enumset.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a3c41c31d404b64943a46f88d96b1890d"><td·class="memItemLeft"·align="right"·valign="top">typedef·TA&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">Type</a></td></tr>82 <tr·class="memitem:a3c41c31d404b64943a46f88d96b1890d"><td·class="memItemLeft"·align="right"·valign="top">typedef·TA&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">Type</a></td></tr>
83 <tr·class="memdesc:a3c41c31d404b64943a46f88d96b1890d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·POD·type·the·set·holds.··<a·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">More...</a><br·/></td></tr>83 <tr·class="memdesc:a3c41c31d404b64943a46f88d96b1890d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·POD·type·the·set·holds.··<a·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">More...</a><br·/></td></tr>
84 <tr·class="separator:a3c41c31d404b64943a46f88d96b1890d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a3c41c31d404b64943a46f88d96b1890d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
Offset 110, 15 lines modifiedOffset 110, 15 lines modified
110 </div><div·class="memdoc">110 </div><div·class="memdoc">
  
111 <p>The·POD·type·the·set·holds.·</p>111 <p>The·POD·type·the·set·holds.·</p>
  
112 </div>112 </div>
113 </div>113 </div>
114 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>114 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00353_source.html">enumset.hh</a></li>115 <li><a·class="el"·href="a00278_source.html">enumset.hh</a></li>
116 </ul>116 </ul>
117 </div><!--·contents·-->117 </div><!--·contents·-->
118 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>119 <hr·class="footer"/><address·class="footer"><small>
120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
121 </small></address>121 </small></address>
122 </body>122 </body>
2.01 KB
./usr/share/doc/libdune-common-doc/doxygen/a01532.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::EnumItem&lt;·TA,·item·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::EnumItem&lt;·TA,·item·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·set·consisting·only·of·one·item.··76 <p>A·set·consisting·only·of·one·item.··
77 ·<a·href="a01532.html#details">More...</a></p>77 ·<a·href="a01532.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00278_source.html">dune/common/enumset.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a38b6b18d6a44b18e42f42be188baa255"><td·class="memItemLeft"·align="right"·valign="top">typedef·TA&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">Type</a></td></tr>82 <tr·class="memitem:a38b6b18d6a44b18e42f42be188baa255"><td·class="memItemLeft"·align="right"·valign="top">typedef·TA&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">Type</a></td></tr>
83 <tr·class="memdesc:a38b6b18d6a44b18e42f42be188baa255"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·the·set·holds.··<a·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">More...</a><br·/></td></tr>83 <tr·class="memdesc:a38b6b18d6a44b18e42f42be188baa255"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·the·set·holds.··<a·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">More...</a><br·/></td></tr>
84 <tr·class="separator:a38b6b18d6a44b18e42f42be188baa255"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a38b6b18d6a44b18e42f42be188baa255"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
Offset 110, 15 lines modifiedOffset 110, 15 lines modified
110 </div><div·class="memdoc">110 </div><div·class="memdoc">
  
111 <p>The·type·the·set·holds.·</p>111 <p>The·type·the·set·holds.·</p>
  
112 </div>112 </div>
113 </div>113 </div>
114 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>114 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00353_source.html">enumset.hh</a></li>115 <li><a·class="el"·href="a00278_source.html">enumset.hh</a></li>
116 </ul>116 </ul>
117 </div><!--·contents·-->117 </div><!--·contents·-->
118 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>119 <hr·class="footer"/><address·class="footer"><small>
120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
121 </small></address>121 </small></address>
122 </body>122 </body>
2.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a01536.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::EnumRange&lt;·TA,·from,·end·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::EnumRange&lt;·TA,·from,·end·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·set·representing·a·range·including·the·borders.··76 <p>A·set·representing·a·range·including·the·borders.··
77 ·<a·href="a01536.html#details">More...</a></p>77 ·<a·href="a01536.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00278_source.html">dune/common/enumset.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="memItemLeft"·align="right"·valign="top">typedef·TA&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">Type</a></td></tr>82 <tr·class="memitem:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="memItemLeft"·align="right"·valign="top">typedef·TA&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">Type</a></td></tr>
83 <tr·class="memdesc:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·the·set·holds.··<a·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">More...</a><br·/></td></tr>83 <tr·class="memdesc:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·the·set·holds.··<a·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">More...</a><br·/></td></tr>
84 <tr·class="separator:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a66bf0a9ee750c30004df0fcb92605fe2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
Offset 109, 15 lines modifiedOffset 109, 15 lines modified
109 </div><div·class="memdoc">109 </div><div·class="memdoc">
  
110 <p>The·type·the·set·holds.·</p>110 <p>The·type·the·set·holds.·</p>
  
111 </div>111 </div>
112 </div>112 </div>
113 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00353_source.html">enumset.hh</a></li>114 <li><a·class="el"·href="a00278_source.html">enumset.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a01540.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::NegateSet&lt;·S·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::NegateSet&lt;·S·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>The·negation·of·a·set.·An·item·is·contained·in·the·set·if·and·only·if·it·is·not·contained·in·the·negated·set.··76 <p>The·negation·of·a·set.·An·item·is·contained·in·the·set·if·and·only·if·it·is·not·contained·in·the·negated·set.··
77 ·<a·href="a01540.html#details">More...</a></p>77 ·<a·href="a01540.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/enumset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00278_source.html">dune/common/enumset.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a627e2719804a05a0169b0ccb94369eb5"><td·class="memItemLeft"·align="right"·valign="top">typedef·S::Type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01540.html#a627e2719804a05a0169b0ccb94369eb5">Type</a></td></tr>82 <tr·class="memitem:a627e2719804a05a0169b0ccb94369eb5"><td·class="memItemLeft"·align="right"·valign="top">typedef·S::Type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01540.html#a627e2719804a05a0169b0ccb94369eb5">Type</a></td></tr>
83 <tr·class="separator:a627e2719804a05a0169b0ccb94369eb5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a627e2719804a05a0169b0ccb94369eb5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 135, 15 lines modifiedOffset 135, 15 lines modified
135 ··</tr>135 ··</tr>
136 </table>136 </table>
137 </div><div·class="memdoc">137 </div><div·class="memdoc">
  
138 </div>138 </div>
139 </div>139 </div>
140 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>140 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
141 <li><a·class="el"·href="a00353_source.html">enumset.hh</a></li>141 <li><a·class="el"·href="a00278_source.html">enumset.hh</a></li>
142 </ul>142 </ul>
143 </div><!--·contents·-->143 </div><!--·contents·-->
144 <!--·start·footer·part·-->144 <!--·start·footer·part·-->
145 <hr·class="footer"/><address·class="footer"><small>145 <hr·class="footer"/><address·class="footer"><small>
146 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4146 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
147 </small></address>147 </small></address>
148 </body>148 </body>
2.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a01544.html
    
Offset 72, 26 lines modifiedOffset 72, 26 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Combine&lt;·TI1,·TI2,·TA·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Combine&lt;·TI1,·TI2,·TA·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>A·set·combining·two·other·sets.··75 <p>A·set·combining·two·other·sets.··
76 ·<a·href="a01544.html#details">More...</a></p>76 ·<a·href="a01544.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/enumset.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00278_source.html">dune/common/enumset.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
80 Static·Public·Member·Functions</h2></td></tr>80 Static·Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:ga9d4f7c53b0cf0f05e7535a1585e9dda7"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga9d4f7c53b0cf0f05e7535a1585e9dda7">contains</a>·(const·TA·&amp;item)</td></tr>81 <tr·class="memitem:ga9d4f7c53b0cf0f05e7535a1585e9dda7"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga9d4f7c53b0cf0f05e7535a1585e9dda7">contains</a>·(const·TA·&amp;item)</td></tr>
82 <tr·class="separator:ga9d4f7c53b0cf0f05e7535a1585e9dda7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga9d4f7c53b0cf0f05e7535a1585e9dda7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·TI1,·class·TI2,·typename·TA·=·typename·TI1::Type&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·TI1,·class·TI2,·typename·TA·=·typename·TI1::Type&gt;<br·/>
86 class·Dune::Combine&lt;·TI1,·TI2,·TA·&gt;</div><p·>A·set·combining·two·other·sets.·</p>86 class·Dune::Combine&lt;·TI1,·TI2,·TA·&gt;</div><p·>A·set·combining·two·other·sets.·</p>
87 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>87 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
88 <li><a·class="el"·href="a00353_source.html">enumset.hh</a></li>88 <li><a·class="el"·href="a00278_source.html">enumset.hh</a></li>
89 </ul>89 </ul>
90 </div><!--·contents·-->90 </div><!--·contents·-->
91 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
92 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
93 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.493 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
94 </small></address>94 </small></address>
95 </body>95 </body>
3.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a01548.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::Exception·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::Exception·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Base·class·for·Dune-Exceptions.··76 <p>Base·class·for·Dune-Exceptions.··
77 ·<a·href="a01548.html#details">More...</a></p>77 ·<a·href="a01548.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::Exception:</div>80 Inheritance·diagram·for·Dune::Exception:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01547.png"·border="0"·usemap="#a_dune_1_1_exception_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01547.png"·border="0"·usemap="#a_dune_1_1_exception_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_exception_inherit__map"·id="a_dune_1_1_exception_inherit__map">83 <map·name="a_dune_1_1_exception_inherit__map"·id="a_dune_1_1_exception_inherit__map">
84 <area·shape="rect"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="156,265,275,291"/>84 <area·shape="rect"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="156,265,275,291"/>
85 <area·shape="rect"·href="a02384.html"·title="exception·thrown·if·the·user·wants·to·see·help·string"·alt=""·coords="348,54,484,81"/>85 <area·shape="rect"·href="a02384.html"·title="exception·thrown·if·the·user·wants·to·see·help·string"·alt=""·coords="348,54,484,81"/>
Offset 130, 16 lines modifiedOffset 130, 16 lines modified
130 <div·class="textblock"><p·>Base·class·for·Dune-Exceptions.·</p>130 <div·class="textblock"><p·>Base·class·for·Dune-Exceptions.·</p>
131 <p·>all·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·exceptions·are·derived·from·this·class·via·trivial·subclassing:</p>131 <p·>all·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·exceptions·are·derived·from·this·class·via·trivial·subclassing:</p>
132 <div·class="fragment"><div·class="line"><span·class="keyword">class·</span>MyException·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>·{};</div>132 <div·class="fragment"><div·class="line"><span·class="keyword">class·</span>MyException·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>·{};</div>
133 <div·class="ttc"·id="aa01548_html"><div·class="ttname"><a·href="a01548.html">Dune::Exception</a></div><div·class="ttdoc">Base·class·for·Dune-Exceptions.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:96</div></div>133 <div·class="ttc"·id="aa01548_html"><div·class="ttname"><a·href="a01548.html">Dune::Exception</a></div><div·class="ttdoc">Base·class·for·Dune-Exceptions.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:96</div></div>
134 </div><!--·fragment·--><p·>You·should·not·<code>throw</code>·a·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>·directly·but·use·the·macro·<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW()</a>·instead·which·fills·the·message-buffer·of·the·exception·in·a·standard·way·and·features·a·way·to·pass·the·result·in·the·operator&lt;&lt;-style</p>134 </div><!--·fragment·--><p·>You·should·not·<code>throw</code>·a·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>·directly·but·use·the·macro·<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW()</a>·instead·which·fills·the·message-buffer·of·the·exception·in·a·standard·way·and·features·a·way·to·pass·the·result·in·the·operator&lt;&lt;-style</p>
135 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>,·<a·class="el"·href="a01556.html"·title="Default·exception·class·for·I/O·errors.">IOError</a>,·<a·class="el"·href="a01560.html"·title="Default·exception·class·for·mathematical·errors.">MathError</a>·</dd></dl>135 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a>,·<a·class="el"·href="a01556.html"·title="Default·exception·class·for·I/O·errors.">IOError</a>,·<a·class="el"·href="a01560.html"·title="Default·exception·class·for·mathematical·errors.">MathError</a>·</dd></dl>
136 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>136 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
137 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>137 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
138 <li><a·class="el"·href="a00305.html">exceptions.cc</a></li>138 <li><a·class="el"·href="a00080.html">exceptions.cc</a></li>
139 </ul>139 </ul>
140 </div><!--·contents·-->140 </div><!--·contents·-->
141 <!--·start·footer·part·-->141 <!--·start·footer·part·-->
142 <hr·class="footer"/><address·class="footer"><small>142 <hr·class="footer"/><address·class="footer"><small>
143 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4143 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
144 </small></address>144 </small></address>
145 </body>145 </body>
7.86 KB
./usr/share/doc/libdune-common-doc/doxygen/a01552.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::ExceptionHook·Struct·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ExceptionHook·Struct·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Base·class·to·add·a·hook·to·the·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>.··75 <p>Base·class·to·add·a·hook·to·the·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>.··
76 ·<a·href="a01552.html#details">More...</a></p>76 ·<a·href="a01552.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:gac5b2708f8a37c9a4ebb890e4a1545c1c"><td·class="memItemLeft"·align="right"·valign="top">virtual&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gac5b2708f8a37c9a4ebb890e4a1545c1c">~ExceptionHook</a>·()</td></tr>81 <tr·class="memitem:gac5b2708f8a37c9a4ebb890e4a1545c1c"><td·class="memItemLeft"·align="right"·valign="top">virtual&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gac5b2708f8a37c9a4ebb890e4a1545c1c">~ExceptionHook</a>·()</td></tr>
82 <tr·class="separator:gac5b2708f8a37c9a4ebb890e4a1545c1c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:gac5b2708f8a37c9a4ebb890e4a1545c1c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:gab7d05055167bdb067cce622f051cb551"><td·class="memItemLeft"·align="right"·valign="top">virtual·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gab7d05055167bdb067cce622f051cb551">operator()</a>·()=0</td></tr>83 <tr·class="memitem:gab7d05055167bdb067cce622f051cb551"><td·class="memItemLeft"·align="right"·valign="top">virtual·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#gab7d05055167bdb067cce622f051cb551">operator()</a>·()=0</td></tr>
84 <tr·class="separator:gab7d05055167bdb067cce622f051cb551"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:gab7d05055167bdb067cce622f051cb551"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 122, 38 lines modifiedOffset 122, 38 lines modified
122 <div·class="line">·········<span·class="comment">//·send·application·to·sleep</span></div>122 <div·class="line">·········<span·class="comment">//·send·application·to·sleep</span></div>
123 <div·class="line">·········kill(pid,·SIGSTOP);</div>123 <div·class="line">·········kill(pid,·SIGSTOP);</div>
124 <div·class="line">·····}</div>124 <div·class="line">·····}</div>
125 <div·class="line">·}</div>125 <div·class="line">·}</div>
126 <div·class="line">};</div>126 <div·class="line">};</div>
127 <div·class="ttc"·id="aa00412_html_gab7d05055167bdb067cce622f051cb551"><div·class="ttname"><a·href="a00412.html#gab7d05055167bdb067cce622f051cb551">Dune::ExceptionHook::operator()</a></div><div·class="ttdeci">virtual·void·operator()()=0</div></div>127 <div·class="ttc"·id="aa00412_html_gab7d05055167bdb067cce622f051cb551"><div·class="ttname"><a·href="a00412.html#gab7d05055167bdb067cce622f051cb551">Dune::ExceptionHook::operator()</a></div><div·class="ttdeci">virtual·void·operator()()=0</div></div>
128 <div·class="ttc"·id="aa01552_html"><div·class="ttname"><a·href="a01552.html">Dune::ExceptionHook</a></div><div·class="ttdoc">Base·class·to·add·a·hook·to·the·Dune::Exception.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:174</div></div>128 <div·class="ttc"·id="aa01552_html"><div·class="ttname"><a·href="a01552.html">Dune::ExceptionHook</a></div><div·class="ttdoc">Base·class·to·add·a·hook·to·the·Dune::Exception.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:174</div></div>
129 </div><!--·fragment·--><p·>This·hook·is·registered·via·a·static·method·of·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>**·argv)·{</div>129 </div><!--·fragment·--><p·>This·hook·is·registered·via·a·static·method·of·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>**·argv)·{</div>
130 <div·class="line">·<a·class="code·hl_class"·href="a02208.html">Dune::MPIHelper</a>·&amp;·mpihelper·=·<a·class="code·hl_function"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">Dune::MPIHelper::instance</a>(argc,argv);</div>130 <div·class="line">·<a·class="code·hl_class"·href="a02208.html">Dune::MPIHelper</a>·&amp;·mpihelper·=·<a·class="code·hl_function"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">Dune::MPIHelper::instance</a>(argc,argv);</div>
131 <div·class="line">·ExceptionHookDebugger·debugger(argc,·argv,·<span·class="stringliteral">&quot;/usr/bin/ddd&quot;</span>);</div>131 <div·class="line">·ExceptionHookDebugger·debugger(argc,·argv,·<span·class="stringliteral">&quot;/usr/bin/ddd&quot;</span>);</div>
132 <div·class="line">·<a·class="code·hl_function"·href="a00412.html#ga297201b53f24b1d4758c1e8fd94970bd">Dune::Exception::registerHook</a>(&amp;·debugger);</div>132 <div·class="line">·<a·class="code·hl_function"·href="a00412.html#ga297201b53f24b1d4758c1e8fd94970bd">Dune::Exception::registerHook</a>(&amp;·debugger);</div>
133 <div·class="line">·<span·class="keywordflow">try</span></div>133 <div·class="line">·<span·class="keywordflow">try</span></div>
134 <div·class="line">·{</div>134 <div·class="line">·{</div>
135 <div·class="line">·····...</div>135 <div·class="line">·····...</div>
136 <div·class="line">·}</div>136 <div·class="line">·}</div>
137 <div·class="line">·<span·class="keywordflow">catch</span>·(std::string·&amp;·s)·{</div>137 <div·class="line">·<span·class="keywordflow">catch</span>·(std::string·&amp;·s)·{</div>
138 <div·class="line">·····std::cout·&lt;&lt;·mpihelper.<a·class="code·hl_function"·href="a02208.html#a80816db762402ae74393abc7b05cf62c">rank</a>()·&lt;&lt;·<span·class="stringliteral">&quot;:·ERROR:·&quot;</span>·&lt;&lt;·s·&lt;&lt;·std::endl;</div>138 <div·class="line">·····std::cout·&lt;&lt;·mpihelper.<a·class="code·hl_function"·href="a02208.html#a80816db762402ae74393abc7b05cf62c">rank</a>()·&lt;&lt;·<span·class="stringliteral">&quot;:·ERROR:·&quot;</span>·&lt;&lt;·s·&lt;&lt;·std::endl;</div>
139 <div·class="line">·}</div>139 <div·class="line">·}</div>
140 <div·class="line">·<span·class="keywordflow">catch</span>·(<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>·&amp;·e)·{</div>140 <div·class="line">·<span·class="keywordflow">catch</span>·(<a·class="code·hl_class"·href="a01548.html">Dune::Exception</a>·&amp;·e)·{</div>
141 <div·class="line">·····std::cout·&lt;&lt;·mpihelper.<a·class="code·hl_function"·href="a02208.html#a80816db762402ae74393abc7b05cf62c">rank</a>()·&lt;&lt;·<span·class="stringliteral">&quot;:·DUNE·ERROR:·&quot;</span>·&lt;&lt;·e.<a·class="code·hl_function"·href="a00412.html#gad513d0dc7eb0ba16e634b4048409c417">what</a>()·&lt;&lt;·std::endl;</div>141 <div·class="line">·····std::cout·&lt;&lt;·mpihelper.<a·class="code·hl_function"·href="a02208.html#a80816db762402ae74393abc7b05cf62c">rank</a>()·&lt;&lt;·<span·class="stringliteral">&quot;:·DUNE·ERROR:·&quot;</span>·&lt;&lt;·e.<a·class="code·hl_function"·href="a00412.html#gad513d0dc7eb0ba16e634b4048409c417">what</a>()·&lt;&lt;·std::endl;</div>
142 <div·class="line">·}</div>142 <div·class="line">·}</div>
143 <div·class="line">}</div>143 <div·class="line">}</div>
144 <div·class="ttc"·id="aa00071_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div>144 <div·class="ttc"·id="aa00332_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div>
145 <div·class="ttc"·id="aa00412_html_ga297201b53f24b1d4758c1e8fd94970bd"><div·class="ttname"><a·href="a00412.html#ga297201b53f24b1d4758c1e8fd94970bd">Dune::Exception::registerHook</a></div><div·class="ttdeci">static·void·registerHook(ExceptionHook·*hook)</div><div·class="ttdoc">add·a·functor·which·is·called·before·a·Dune::Exception·is·emitted·(see·Dune::ExceptionHook)</div><div·class="ttdef"><b>Definition:</b>·exceptions.cc:22</div></div>145 <div·class="ttc"·id="aa00412_html_ga297201b53f24b1d4758c1e8fd94970bd"><div·class="ttname"><a·href="a00412.html#ga297201b53f24b1d4758c1e8fd94970bd">Dune::Exception::registerHook</a></div><div·class="ttdeci">static·void·registerHook(ExceptionHook·*hook)</div><div·class="ttdoc">add·a·functor·which·is·called·before·a·Dune::Exception·is·emitted·(see·Dune::ExceptionHook)</div><div·class="ttdef"><b>Definition:</b>·exceptions.cc:22</div></div>
146 <div·class="ttc"·id="aa00412_html_gad513d0dc7eb0ba16e634b4048409c417"><div·class="ttname"><a·href="a00412.html#gad513d0dc7eb0ba16e634b4048409c417">Dune::Exception::what</a></div><div·class="ttdeci">const·char·*·what()·const·noexcept·override</div><div·class="ttdoc">output·internal·message·buffer</div><div·class="ttdef"><b>Definition:</b>·exceptions.cc:37</div></div>146 <div·class="ttc"·id="aa00412_html_gad513d0dc7eb0ba16e634b4048409c417"><div·class="ttname"><a·href="a00412.html#gad513d0dc7eb0ba16e634b4048409c417">Dune::Exception::what</a></div><div·class="ttdeci">const·char·*·what()·const·noexcept·override</div><div·class="ttdoc">output·internal·message·buffer</div><div·class="ttdef"><b>Definition:</b>·exceptions.cc:37</div></div>
147 <div·class="ttc"·id="aa01548_html"><div·class="ttname"><a·href="a01548.html">Dune::Exception</a></div><div·class="ttdoc">Base·class·for·Dune-Exceptions.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:96</div></div>147 <div·class="ttc"·id="aa01548_html"><div·class="ttname"><a·href="a01548.html">Dune::Exception</a></div><div·class="ttdoc">Base·class·for·Dune-Exceptions.</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:96</div></div>
148 <div·class="ttc"·id="aa02208_html"><div·class="ttname"><a·href="a02208.html">Dune::MPIHelper</a></div><div·class="ttdoc">A·real·mpi·helper.</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:179</div></div>148 <div·class="ttc"·id="aa02208_html"><div·class="ttname"><a·href="a02208.html">Dune::MPIHelper</a></div><div·class="ttdoc">A·real·mpi·helper.</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:179</div></div>
149 <div·class="ttc"·id="aa02208_html_a25bb6bfa9963548bf4de5ae038815416"><div·class="ttname"><a·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">Dune::MPIHelper::instance</a></div><div·class="ttdeci">static·DUNE_EXPORT·MPIHelper·&amp;·instance()</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:258</div></div>149 <div·class="ttc"·id="aa02208_html_a25bb6bfa9963548bf4de5ae038815416"><div·class="ttname"><a·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">Dune::MPIHelper::instance</a></div><div·class="ttdeci">static·DUNE_EXPORT·MPIHelper·&amp;·instance()</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:258</div></div>
150 <div·class="ttc"·id="aa02208_html_a80816db762402ae74393abc7b05cf62c"><div·class="ttname"><a·href="a02208.html#a80816db762402ae74393abc7b05cf62c">Dune::MPIHelper::rank</a></div><div·class="ttdeci">int·rank()·const</div><div·class="ttdoc">return·rank·of·process</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:268</div></div>150 <div·class="ttc"·id="aa02208_html_a80816db762402ae74393abc7b05cf62c"><div·class="ttname"><a·href="a02208.html#a80816db762402ae74393abc7b05cf62c">Dune::MPIHelper::rank</a></div><div·class="ttdeci">int·rank()·const</div><div·class="ttdoc">return·rank·of·process</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:268</div></div>
151 </div><!--·fragment·-->·</div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>151 </div><!--·fragment·-->·</div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
152 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>152 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
153 </ul>153 </ul>
154 </div><!--·contents·-->154 </div><!--·contents·-->
155 <!--·start·footer·part·-->155 <!--·start·footer·part·-->
156 <hr·class="footer"/><address·class="footer"><small>156 <hr·class="footer"/><address·class="footer"><small>
157 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4157 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
158 </small></address>158 </small></address>
159 </body>159 </body>
1.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a01556.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::IOError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::IOError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Default·exception·class·for·I/O·errors.··76 <p>Default·exception·class·for·I/O·errors.··
77 ·<a·href="a01556.html#details">More...</a></p>77 ·<a·href="a01556.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::IOError:</div>80 Inheritance·diagram·for·Dune::IOError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01555.png"·border="0"·usemap="#a_dune_1_1_i_o_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01555.png"·border="0"·usemap="#a_dune_1_1_i_o_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_i_o_error_inherit__map"·id="a_dune_1_1_i_o_error_inherit__map">83 <map·name="a_dune_1_1_i_o_error_inherit__map"·id="a_dune_1_1_i_o_error_inherit__map">
84 <area·shape="rect"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="129,155,232,181"/>84 <area·shape="rect"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="129,155,232,181"/>
85 <area·shape="rect"·href="a02016.html"·title="Error·thrown·if·there·was·a·problem·with·the·communication."·alt=""·coords="5,229,167,271"/>85 <area·shape="rect"·href="a02016.html"·title="Error·thrown·if·there·was·a·problem·with·the·communication."·alt=""·coords="5,229,167,271"/>
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 <p·>This·is·a·superclass·for·any·errors·dealing·with·file/socket·I/O·problems·like</p>114 <p·>This·is·a·superclass·for·any·errors·dealing·with·file/socket·I/O·problems·like</p>
115 <ul>115 <ul>
116 <li>file·not·found</li>116 <li>file·not·found</li>
117 <li>could·not·write·file</li>117 <li>could·not·write·file</li>
118 <li>could·not·connect·to·remote·socket·</li>118 <li>could·not·connect·to·remote·socket·</li>
119 </ul>119 </ul>
120 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>120 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
121 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>121 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
122 </ul>122 </ul>
123 </div><!--·contents·-->123 </div><!--·contents·-->
124 <!--·start·footer·part·-->124 <!--·start·footer·part·-->
125 <hr·class="footer"/><address·class="footer"><small>125 <hr·class="footer"/><address·class="footer"><small>
126 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4126 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
127 </small></address>127 </small></address>
128 </body>128 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a01560.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::MathError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::MathError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Default·exception·class·for·mathematical·errors.··76 <p>Default·exception·class·for·mathematical·errors.··
77 ·<a·href="a01560.html#details">More...</a></p>77 ·<a·href="a01560.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::MathError:</div>80 Inheritance·diagram·for·Dune::MathError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01559.png"·border="0"·usemap="#a_dune_1_1_math_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01559.png"·border="0"·usemap="#a_dune_1_1_math_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_math_error_inherit__map"·id="a_dune_1_1_math_error_inherit__map">83 <map·name="a_dune_1_1_math_error_inherit__map"·id="a_dune_1_1_math_error_inherit__map">
84 <area·shape="rect"·title="Default·exception·class·for·mathematical·errors."·alt=""·coords="13,155,131,181"/>84 <area·shape="rect"·title="Default·exception·class·for·mathematical·errors."·alt=""·coords="13,155,131,181"/>
85 <area·shape="rect"·href="a01420.html"·title="Error·thrown·if·operations·of·a·FieldMatrix·fail."·alt=""·coords="5,229,139,256"/>85 <area·shape="rect"·href="a01420.html"·title="Error·thrown·if·operations·of·a·FieldMatrix·fail."·alt=""·coords="5,229,139,256"/>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 <div·class="textblock"><p·>Default·exception·class·for·mathematical·errors.·</p>112 <div·class="textblock"><p·>Default·exception·class·for·mathematical·errors.·</p>
113 <p·>This·is·the·superclass·for·all·errors·which·are·caused·by·mathematical·problems·like</p>113 <p·>This·is·the·superclass·for·all·errors·which·are·caused·by·mathematical·problems·like</p>
114 <ul>114 <ul>
115 <li>matrix·not·invertible</li>115 <li>matrix·not·invertible</li>
116 <li>not·convergent·</li>116 <li>not·convergent·</li>
117 </ul>117 </ul>
118 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>118 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>119 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
120 </ul>120 </ul>
121 </div><!--·contents·-->121 </div><!--·contents·-->
122 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>123 <hr·class="footer"/><address·class="footer"><small>
124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
125 </small></address>125 </small></address>
126 </body>126 </body>
2.16 KB
./usr/share/doc/libdune-common-doc/doxygen/a01564.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::RangeError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::RangeError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Default·exception·class·for·range·errors.··76 <p>Default·exception·class·for·range·errors.··
77 ·<a·href="a01564.html#details">More...</a></p>77 ·<a·href="a01564.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::RangeError:</div>80 Inheritance·diagram·for·Dune::RangeError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01563.png"·border="0"·usemap="#a_dune_1_1_range_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01563.png"·border="0"·usemap="#a_dune_1_1_range_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_range_error_inherit__map"·id="a_dune_1_1_range_error_inherit__map">83 <map·name="a_dune_1_1_range_error_inherit__map"·id="a_dune_1_1_range_error_inherit__map">
84 <area·shape="rect"·title="Default·exception·class·for·range·errors."·alt=""·coords="323,46,449,73"/>84 <area·shape="rect"·title="Default·exception·class·for·range·errors."·alt=""·coords="323,46,449,73"/>
85 <area·shape="rect"·href="a02380.html"·title="report·parser·error·while·reading·ParameterTree"·alt=""·coords="507,5,693,47"/>85 <area·shape="rect"·href="a02380.html"·title="report·parser·error·while·reading·ParameterTree"·alt=""·coords="507,5,693,47"/>
Offset 113, 15 lines modifiedOffset 113, 15 lines modified
113 <div·class="textblock"><p·>Default·exception·class·for·range·errors.·</p>113 <div·class="textblock"><p·>Default·exception·class·for·range·errors.·</p>
114 <p·>This·is·the·superclass·for·all·errors·which·are·caused·because·the·user·tries·to·access·data·that·was·not·allocated·before.·These·can·be·problems·like</p>114 <p·>This·is·the·superclass·for·all·errors·which·are·caused·because·the·user·tries·to·access·data·that·was·not·allocated·before.·These·can·be·problems·like</p>
115 <ul>115 <ul>
116 <li>accessing·array·entries·behind·the·last·entry</li>116 <li>accessing·array·entries·behind·the·last·entry</li>
117 <li>adding·the·fourth·non·zero·entry·in·a·sparse·matrix·with·only·three·non·zero·entries·per·row·</li>117 <li>adding·the·fourth·non·zero·entry·in·a·sparse·matrix·with·only·three·non·zero·entries·per·row·</li>
118 </ul>118 </ul>
119 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>119 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
120 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>120 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
121 </ul>121 </ul>
122 </div><!--·contents·-->122 </div><!--·contents·-->
123 <!--·start·footer·part·-->123 <!--·start·footer·part·-->
124 <hr·class="footer"/><address·class="footer"><small>124 <hr·class="footer"/><address·class="footer"><small>
125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
126 </small></address>126 </small></address>
127 </body>127 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a01568.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::NotImplemented·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::NotImplemented·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Default·exception·for·dummy·implementations.··76 <p>Default·exception·for·dummy·implementations.··
77 ·<a·href="a01568.html#details">More...</a></p>77 ·<a·href="a01568.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::NotImplemented:</div>80 Inheritance·diagram·for·Dune::NotImplemented:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01567.png"·border="0"·usemap="#a_dune_1_1_not_implemented_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01567.png"·border="0"·usemap="#a_dune_1_1_not_implemented_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_not_implemented_inherit__map"·id="a_dune_1_1_not_implemented_inherit__map">83 <map·name="a_dune_1_1_not_implemented_inherit__map"·id="a_dune_1_1_not_implemented_inherit__map">
84 <area·shape="rect"·title="Default·exception·for·dummy·implementations."·alt=""·coords="5,155,163,181"/>84 <area·shape="rect"·title="Default·exception·for·dummy·implementations."·alt=""·coords="5,155,163,181"/>
85 <area·shape="rect"·href="a01548.html"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="25,80,143,107"/>85 <area·shape="rect"·href="a01548.html"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="25,80,143,107"/>
Offset 111, 15 lines modifiedOffset 111, 15 lines modified
111 <div·class="textblock"><p·>Default·exception·for·dummy·implementations.·</p>111 <div·class="textblock"><p·>Default·exception·for·dummy·implementations.·</p>
112 <p·>This·exception·can·be·used·for·functions/methods</p>112 <p·>This·exception·can·be·used·for·functions/methods</p>
113 <ul>113 <ul>
114 <li>that·have·to·be·implemented·but·should·never·be·called</li>114 <li>that·have·to·be·implemented·but·should·never·be·called</li>
115 <li>that·are·missing·</li>115 <li>that·are·missing·</li>
116 </ul>116 </ul>
117 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>117 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>118 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
2.33 KB
./usr/share/doc/libdune-common-doc/doxygen/a01572.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::SystemError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::SystemError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Default·exception·class·for·OS·errors.··76 <p>Default·exception·class·for·OS·errors.··
77 ·<a·href="a01572.html#details">More...</a></p>77 ·<a·href="a01572.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::SystemError:</div>80 Inheritance·diagram·for·Dune::SystemError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01571.png"·border="0"·usemap="#a_dune_1_1_system_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01571.png"·border="0"·usemap="#a_dune_1_1_system_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_system_error_inherit__map"·id="a_dune_1_1_system_error_inherit__map">83 <map·name="a_dune_1_1_system_error_inherit__map"·id="a_dune_1_1_system_error_inherit__map">
84 <area·shape="rect"·title="Default·exception·class·for·OS·errors."·alt=""·coords="25,155,158,181"/>84 <area·shape="rect"·title="Default·exception·class·for·OS·errors."·alt=""·coords="25,155,158,181"/>
85 <area·shape="rect"·href="a01576.html"·title="Default·exception·if·memory·allocation·fails."·alt=""·coords="5,229,177,256"/>85 <area·shape="rect"·href="a01576.html"·title="Default·exception·if·memory·allocation·fails."·alt=""·coords="5,229,177,256"/>
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>Default·exception·class·for·OS·errors.·</p>112 <div·class="textblock"><p·>Default·exception·class·for·OS·errors.·</p>
113 <p·>This·class·is·thrown·when·a·system-call·is·used·and·returns·an·error.·</p>113 <p·>This·class·is·thrown·when·a·system-call·is·used·and·returns·an·error.·</p>
114 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>114 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>115 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
116 </ul>116 </ul>
117 </div><!--·contents·-->117 </div><!--·contents·-->
118 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>119 <hr·class="footer"/><address·class="footer"><small>
120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
121 </small></address>121 </small></address>
122 </body>122 </body>
2.55 KB
./usr/share/doc/libdune-common-doc/doxygen/a01576.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::OutOfMemoryError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::OutOfMemoryError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Default·exception·if·memory·allocation·fails.··76 <p>Default·exception·if·memory·allocation·fails.··
77 ·<a·href="a01576.html#details">More...</a></p>77 ·<a·href="a01576.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::OutOfMemoryError:</div>80 Inheritance·diagram·for·Dune::OutOfMemoryError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01575.png"·border="0"·usemap="#a_dune_1_1_out_of_memory_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01575.png"·border="0"·usemap="#a_dune_1_1_out_of_memory_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_out_of_memory_error_inherit__map"·id="a_dune_1_1_out_of_memory_error_inherit__map">83 <map·name="a_dune_1_1_out_of_memory_error_inherit__map"·id="a_dune_1_1_out_of_memory_error_inherit__map">
84 <area·shape="rect"·title="Default·exception·if·memory·allocation·fails."·alt=""·coords="5,229,177,256"/>84 <area·shape="rect"·title="Default·exception·if·memory·allocation·fails."·alt=""·coords="5,229,177,256"/>
85 <area·shape="rect"·href="a01572.html"·title="Default·exception·class·for·OS·errors."·alt=""·coords="25,155,158,181"/>85 <area·shape="rect"·href="a01572.html"·title="Default·exception·class·for·OS·errors."·alt=""·coords="25,155,158,181"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>Default·exception·if·memory·allocation·fails.·</p>112 <div·class="textblock"><p·>Default·exception·if·memory·allocation·fails.·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>114 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
2.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a01580.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::InvalidStateException·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::InvalidStateException·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.··76 <p>Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.··
77 ·<a·href="a01580.html#details">More...</a></p>77 ·<a·href="a01580.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::InvalidStateException:</div>80 Inheritance·diagram·for·Dune::InvalidStateException:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01579.png"·border="0"·usemap="#a_dune_1_1_invalid_state_exception_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01579.png"·border="0"·usemap="#a_dune_1_1_invalid_state_exception_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_invalid_state_exception_inherit__map"·id="a_dune_1_1_invalid_state_exception_inherit__map">83 <map·name="a_dune_1_1_invalid_state_exception_inherit__map"·id="a_dune_1_1_invalid_state_exception_inherit__map">
84 <area·shape="rect"·title="Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function..."·alt=""·coords="323,71,509,98"/>84 <area·shape="rect"·title="Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function..."·alt=""·coords="323,71,509,98"/>
85 <area·shape="rect"·href="a02140.html"·title="·"·alt=""·coords="565,5,741,47"/>85 <area·shape="rect"·href="a02140.html"·title="·"·alt=""·coords="565,5,741,47"/>
Offset 109, 15 lines modifiedOffset 109, 15 lines modified
109 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>109 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
110 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>110 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
111 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 </table>112 </table>
113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>113 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
114 <div·class="textblock"><p·>Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.·</p>114 <div·class="textblock"><p·>Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function.·</p>
115 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>115 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
116 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>116 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
117 </ul>117 </ul>
118 </div><!--·contents·-->118 </div><!--·contents·-->
119 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
120 <hr·class="footer"/><address·class="footer"><small>120 <hr·class="footer"/><address·class="footer"><small>
121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
122 </small></address>122 </small></address>
123 </body>123 </body>
2.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a01584.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::ParallelError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a>·&#124;·<a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::ParallelError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00412.html">Exception·handling</a>·&#124;·<a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.··76 <p>Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.··
77 ·<a·href="a01584.html#details">More...</a></p>77 ·<a·href="a01584.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00185_source.html">dune/common/exceptions.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/exceptions.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::ParallelError:</div>80 Inheritance·diagram·for·Dune::ParallelError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01583.png"·border="0"·usemap="#a_dune_1_1_parallel_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01583.png"·border="0"·usemap="#a_dune_1_1_parallel_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_parallel_error_inherit__map"·id="a_dune_1_1_parallel_error_inherit__map">83 <map·name="a_dune_1_1_parallel_error_inherit__map"·id="a_dune_1_1_parallel_error_inherit__map">
84 <area·shape="rect"·title="Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred."·alt=""·coords="13,155,145,181"/>84 <area·shape="rect"·title="Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred."·alt=""·coords="13,155,145,181"/>
85 <area·shape="rect"·href="a02196.html"·title="This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote·process."·alt=""·coords="5,229,152,256"/>85 <area·shape="rect"·href="a02196.html"·title="This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote·process."·alt=""·coords="5,229,152,256"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.·</p>112 <div·class="textblock"><p·>Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred.·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00185_source.html">exceptions.hh</a></li>114 <li><a·class="el"·href="a00122_source.html">exceptions.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
732 B
./usr/share/doc/libdune-common-doc/doxygen/a01588.html
    
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 </div><div·class="memdoc">107 </div><div·class="memdoc">
  
108 <p>The·epsilon·type·corresponding·to·value·type·T.·</p>108 <p>The·epsilon·type·corresponding·to·value·type·T.·</p>
  
109 </div>109 </div>
110 </div>110 </div>
111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00146.html">float_cmp.cc</a></li>112 <li><a·class="el"·href="a00299.html">float_cmp.cc</a></li>
113 </ul>113 </ul>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>118 </small></address>
119 </body>119 </body>
753 B
./usr/share/doc/libdune-common-doc/doxygen/a01592.html
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 <p>The·epsilon·type·corresponding·to·value·type·std::vector&lt;T,·A&gt;·</p>109 <p>The·epsilon·type·corresponding·to·value·type·std::vector&lt;T,·A&gt;·</p>
  
110 </div>110 </div>
111 </div>111 </div>
112 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>112 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
113 <li><a·class="el"·href="a00146.html">float_cmp.cc</a></li>113 <li><a·class="el"·href="a00299.html">float_cmp.cc</a></li>
114 </ul>114 </ul>
115 </div><!--·contents·-->115 </div><!--·contents·-->
116 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>117 <hr·class="footer"/><address·class="footer"><small>
118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
119 </small></address>119 </small></address>
120 </body>120 </body>
759 B
./usr/share/doc/libdune-common-doc/doxygen/a01596.html
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 <p>The·epsilon·type·corresponding·to·value·type·Dune::FieldVector&lt;T,·n&gt;·</p>109 <p>The·epsilon·type·corresponding·to·value·type·Dune::FieldVector&lt;T,·n&gt;·</p>
  
110 </div>110 </div>
111 </div>111 </div>
112 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>112 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
113 <li><a·class="el"·href="a00146.html">float_cmp.cc</a></li>113 <li><a·class="el"·href="a00299.html">float_cmp.cc</a></li>
114 </ul>114 </ul>
115 </div><!--·contents·-->115 </div><!--·contents·-->
116 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>117 <hr·class="footer"/><address·class="footer"><small>
118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
119 </small></address>119 </small></address>
120 </body>120 </body>
692 B
./usr/share/doc/libdune-common-doc/doxygen/a01600.html
    
Offset 103, 15 lines modifiedOffset 103, 15 lines modified
103 ··</tr>103 ··</tr>
104 </table>104 </table>
105 </div><div·class="memdoc">105 </div><div·class="memdoc">
  
106 </div>106 </div>
107 </div>107 </div>
108 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>108 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00146.html">float_cmp.cc</a></li>109 <li><a·class="el"·href="a00299.html">float_cmp.cc</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>115 </small></address>
116 </body>116 </body>
692 B
./usr/share/doc/libdune-common-doc/doxygen/a01604.html
    
Offset 103, 15 lines modifiedOffset 103, 15 lines modified
103 ··</tr>103 ··</tr>
104 </table>104 </table>
105 </div><div·class="memdoc">105 </div><div·class="memdoc">
  
106 </div>106 </div>
107 </div>107 </div>
108 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>108 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00146.html">float_cmp.cc</a></li>109 <li><a·class="el"·href="a00299.html">float_cmp.cc</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>115 </small></address>
116 </body>116 </body>
692 B
./usr/share/doc/libdune-common-doc/doxygen/a01608.html
    
Offset 103, 15 lines modifiedOffset 103, 15 lines modified
103 ··</tr>103 ··</tr>
104 </table>104 </table>
105 </div><div·class="memdoc">105 </div><div·class="memdoc">
  
106 </div>106 </div>
107 </div>107 </div>
108 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>108 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00146.html">float_cmp.cc</a></li>109 <li><a·class="el"·href="a00299.html">float_cmp.cc</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>115 </small></address>
116 </body>116 </body>
2.33 KB
./usr/share/doc/libdune-common-doc/doxygen/a01716.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::FloatCmp::DefaultEpsilon&lt;·T,·style·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a>·&raquo;·<a·class="el"·href="a00409.html">FloatCmp</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FloatCmp::DefaultEpsilon&lt;·T,·style·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a>·&raquo;·<a·class="el"·href="a00409.html">FloatCmp</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon··75 <p>mapping·from·a·value·type·and·a·compare·style·to·a·default·epsilon··
76 ·<a·href="a01716.html#details">More...</a></p>76 ·<a·href="a01716.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
80 Static·Public·Member·Functions</h2></td></tr>80 Static·Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">value</a>·()</td></tr>81 <tr·class="memitem:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01588.html">EpsilonType</a>&lt;·T·&gt;::Type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">value</a>·()</td></tr>
82 <tr·class="memdesc:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Returns·the·default·epsilon·for·the·given·value·type·and·compare·style.··<a·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">More...</a><br·/></td></tr>82 <tr·class="memdesc:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Returns·the·default·epsilon·for·the·given·value·type·and·compare·style.··<a·href="a01716.html#a8c1b66b1b6246c26c1052a286a1a71af">More...</a><br·/></td></tr>
83 <tr·class="separator:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a8c1b66b1b6246c26c1052a286a1a71af"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
121 </div><div·class="memdoc">121 </div><div·class="memdoc">
  
122 <p>Returns·the·default·epsilon·for·the·given·value·type·and·compare·style.·</p>122 <p>Returns·the·default·epsilon·for·the·given·value·type·and·compare·style.·</p>
  
123 </div>123 </div>
124 </div>124 </div>
125 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>125 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
126 <li><a·class="el"·href="a00137_source.html">float_cmp.hh</a></li>126 <li><a·class="el"·href="a00173_source.html">float_cmp.hh</a></li>
127 </ul>127 </ul>
128 </div><!--·contents·-->128 </div><!--·contents·-->
129 <!--·start·footer·part·-->129 <!--·start·footer·part·-->
130 <hr·class="footer"/><address·class="footer"><small>130 <hr·class="footer"/><address·class="footer"><small>
131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4131 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
132 </small></address>132 </small></address>
133 </body>133 </body>
2.55 KB
./usr/share/doc/libdune-common-doc/doxygen/a01720.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::FloatCmpOps&lt;·T,·cstyle_,·rstyle_·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a>·&raquo;·<a·class="el"·href="a00409.html">FloatCmp</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::FloatCmpOps&lt;·T,·cstyle_,·rstyle_·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a>·&raquo;·<a·class="el"·href="a00409.html">FloatCmp</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Class·encapsulating·a·default·epsilon.··77 <p>Class·encapsulating·a·default·epsilon.··
78 ·<a·href="a01720.html#details">More...</a></p>78 ·<a·href="a01720.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/float_cmp.hh</a>&gt;</code></p>
80 <table·class="memberdecls">80 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
82 Public·Types</h2></td></tr>82 Public·Types</h2></td></tr>
83 <tr·class="memitem:ad2305e7e05141f16470ad1c4178834c2"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01720.html#ad2305e7e05141f16470ad1c4178834c2">ValueType</a></td></tr>83 <tr·class="memitem:ad2305e7e05141f16470ad1c4178834c2"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01720.html#ad2305e7e05141f16470ad1c4178834c2">ValueType</a></td></tr>
84 <tr·class="memdesc:ad2305e7e05141f16470ad1c4178834c2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·the·values·to·compare.··<a·href="a01720.html#ad2305e7e05141f16470ad1c4178834c2">More...</a><br·/></td></tr>84 <tr·class="memdesc:ad2305e7e05141f16470ad1c4178834c2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·the·values·to·compare.··<a·href="a01720.html#ad2305e7e05141f16470ad1c4178834c2">More...</a><br·/></td></tr>
85 <tr·class="separator:ad2305e7e05141f16470ad1c4178834c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:ad2305e7e05141f16470ad1c4178834c2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 <tr·class="memitem:aa865bb7b8fda1c3460ea956c00c48205"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01588.html">FloatCmp::EpsilonType</a>&lt;·T·&gt;::Type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01720.html#aa865bb7b8fda1c3460ea956c00c48205">EpsilonType</a></td></tr>86 <tr·class="memitem:aa865bb7b8fda1c3460ea956c00c48205"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01588.html">FloatCmp::EpsilonType</a>&lt;·T·&gt;::Type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01720.html#aa865bb7b8fda1c3460ea956c00c48205">EpsilonType</a></td></tr>
Offset 576, 16 lines modifiedOffset 576, 16 lines modified
576 </div><div·class="memdoc">576 </div><div·class="memdoc">
  
577 <p>How·rounding·is·done.·</p>577 <p>How·rounding·is·done.·</p>
  
578 </div>578 </div>
579 </div>579 </div>
580 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>580 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
581 <li><a·class="el"·href="a00137_source.html">float_cmp.hh</a></li>581 <li><a·class="el"·href="a00173_source.html">float_cmp.hh</a></li>
582 <li><a·class="el"·href="a00146.html">float_cmp.cc</a></li>582 <li><a·class="el"·href="a00299.html">float_cmp.cc</a></li>
583 </ul>583 </ul>
584 </div><!--·contents·-->584 </div><!--·contents·-->
585 <!--·start·footer·part·-->585 <!--·start·footer·part·-->
586 <hr·class="footer"/><address·class="footer"><small>586 <hr·class="footer"/><address·class="footer"><small>
587 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4587 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
588 </small></address>588 </small></address>
589 </body>589 </body>
2.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a01732.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01729.html">List·of·all·members</a>··</div>71 <a·href="a01729.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a343345362ef65a205b8ca4e46a7076a4"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·ROWS,·COLS·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01732.html#a343345362ef65a205b8ca4e46a7076a4">derived_type</a></td></tr>79 <tr·class="memitem:a343345362ef65a205b8ca4e46a7076a4"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01408.html">FieldMatrix</a>&lt;·K,·ROWS,·COLS·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01732.html#a343345362ef65a205b8ca4e46a7076a4">derived_type</a></td></tr>
80 <tr·class="separator:a343345362ef65a205b8ca4e46a7076a4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a343345362ef65a205b8ca4e46a7076a4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a9870ce2e1a490f38aeb9dc02edbe4005"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·COLS·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01732.html#a9870ce2e1a490f38aeb9dc02edbe4005">row_type</a></td></tr>81 <tr·class="memitem:a9870ce2e1a490f38aeb9dc02edbe4005"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·COLS·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01732.html#a9870ce2e1a490f38aeb9dc02edbe4005">row_type</a></td></tr>
82 <tr·class="separator:a9870ce2e1a490f38aeb9dc02edbe4005"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a9870ce2e1a490f38aeb9dc02edbe4005"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 202, 15 lines modifiedOffset 202, 15 lines modified
202 ········</tr>202 ········</tr>
203 ······</table>203 ······</table>
204 </div><div·class="memdoc">204 </div><div·class="memdoc">
  
205 </div>205 </div>
206 </div>206 </div>
207 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>207 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
208 <li><a·class="el"·href="a00251_source.html">fmatrix.hh</a></li>208 <li><a·class="el"·href="a00107_source.html">fmatrix.hh</a></li>
209 </ul>209 </ul>
210 </div><!--·contents·-->210 </div><!--·contents·-->
211 <!--·start·footer·part·-->211 <!--·start·footer·part·-->
212 <hr·class="footer"/><address·class="footer"><small>212 <hr·class="footer"/><address·class="footer"><small>
213 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4213 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
214 </small></address>214 </small></address>
215 </body>215 </body>
2.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a01736.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01733.html">List·of·all·members</a>··</div>71 <a·href="a01733.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·FieldMatrix&lt;·K,·ROWS,·COLS·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00251_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00107_source.html">dune/common/fmatrix.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a71956c856d1bed6341ba509a9954276b"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01736.html#a71956c856d1bed6341ba509a9954276b">field_type</a></td></tr>79 <tr·class="memitem:a71956c856d1bed6341ba509a9954276b"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01736.html#a71956c856d1bed6341ba509a9954276b">field_type</a></td></tr>
80 <tr·class="separator:a71956c856d1bed6341ba509a9954276b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a71956c856d1bed6341ba509a9954276b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:abf2504393ce409e20a4d2567e8a65a5e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01736.html#abf2504393ce409e20a4d2567e8a65a5e">real_type</a></td></tr>81 <tr·class="memitem:abf2504393ce409e20a4d2567e8a65a5e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01736.html#abf2504393ce409e20a4d2567e8a65a5e">real_type</a></td></tr>
82 <tr·class="separator:abf2504393ce409e20a4d2567e8a65a5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:abf2504393ce409e20a4d2567e8a65a5e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00251_source.html">fmatrix.hh</a></li>118 <li><a·class="el"·href="a00107_source.html">fmatrix.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
1.74 KB
./usr/share/doc/libdune-common-doc/doxygen/a01740.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01737.html">List·of·all·members</a>··</div>71 <a·href="a01737.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/ftraits.hh</a>&gt;</code></p>
76 <div·class="dynheader">76 <div·class="dynheader">
77 Inheritance·diagram·for·Dune::FieldTraits&lt;·T·&gt;:</div>77 Inheritance·diagram·for·Dune::FieldTraits&lt;·T·&gt;:</div>
78 <div·class="dyncontent">78 <div·class="dyncontent">
79 <div·class="center"><img·src="a01739.png"·border="0"·usemap="#a_dune_1_1_field_traits_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>79 <div·class="center"><img·src="a01739.png"·border="0"·usemap="#a_dune_1_1_field_traits_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
80 <map·name="a_dune_1_1_field_traits_3_01_t_01_4_inherit__map"·id="a_dune_1_1_field_traits_3_01_t_01_4_inherit__map">80 <map·name="a_dune_1_1_field_traits_3_01_t_01_4_inherit__map"·id="a_dune_1_1_field_traits_3_01_t_01_4_inherit__map">
81 <area·shape="rect"·title="·"·alt=""·coords="5,60,159,87"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,60,159,87"/>
82 <area·shape="rect"·href="a01740.html"·title="·"·alt=""·coords="331,45,475,101"/>82 <area·shape="rect"·href="a01740.html"·title="·"·alt=""·coords="331,45,475,101"/>
Offset 129, 15 lines modifiedOffset 129, 15 lines modified
129 </div><div·class="memdoc">129 </div><div·class="memdoc">
  
130 <p>export·the·type·representing·the·real·type·of·the·field·</p>130 <p>export·the·type·representing·the·real·type·of·the·field·</p>
  
131 </div>131 </div>
132 </div>132 </div>
133 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>133 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
134 <li><a·class="el"·href="a00086_source.html">ftraits.hh</a></li>134 <li><a·class="el"·href="a00101_source.html">ftraits.hh</a></li>
135 </ul>135 </ul>
136 </div><!--·contents·-->136 </div><!--·contents·-->
137 <!--·start·footer·part·-->137 <!--·start·footer·part·-->
138 <hr·class="footer"/><address·class="footer"><small>138 <hr·class="footer"/><address·class="footer"><small>
139 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4139 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
140 </small></address>140 </small></address>
141 </body>141 </body>
2.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a01744.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01741.html">List·of·all·members</a>··</div>71 <a·href="a01741.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·const·T·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·const·T·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/ftraits.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:aa27c02e1da0f2f0c2df4d004d16dc6c4"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01744.html#aa27c02e1da0f2f0c2df4d004d16dc6c4">field_type</a></td></tr>79 <tr·class="memitem:aa27c02e1da0f2f0c2df4d004d16dc6c4"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01744.html#aa27c02e1da0f2f0c2df4d004d16dc6c4">field_type</a></td></tr>
80 <tr·class="separator:aa27c02e1da0f2f0c2df4d004d16dc6c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:aa27c02e1da0f2f0c2df4d004d16dc6c4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:aa363d2f65a2c96d056733f6cd8cc7f15"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01744.html#aa363d2f65a2c96d056733f6cd8cc7f15">real_type</a></td></tr>81 <tr·class="memitem:aa363d2f65a2c96d056733f6cd8cc7f15"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01744.html#aa363d2f65a2c96d056733f6cd8cc7f15">real_type</a></td></tr>
82 <tr·class="separator:aa363d2f65a2c96d056733f6cd8cc7f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:aa363d2f65a2c96d056733f6cd8cc7f15"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00086_source.html">ftraits.hh</a></li>118 <li><a·class="el"·href="a00101_source.html">ftraits.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a01748.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01745.html">List·of·all·members</a>··</div>71 <a·href="a01745.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·std::complex&lt;·T·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/ftraits.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ac76b233134c70cfa5427c3565a4e37e7"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::complex&lt;·T·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01748.html#ac76b233134c70cfa5427c3565a4e37e7">field_type</a></td></tr>79 <tr·class="memitem:ac76b233134c70cfa5427c3565a4e37e7"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::complex&lt;·T·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01748.html#ac76b233134c70cfa5427c3565a4e37e7">field_type</a></td></tr>
80 <tr·class="separator:ac76b233134c70cfa5427c3565a4e37e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ac76b233134c70cfa5427c3565a4e37e7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a76567b85e3ecbb6218b1791983b71b38"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01748.html#a76567b85e3ecbb6218b1791983b71b38">real_type</a></td></tr>81 <tr·class="memitem:a76567b85e3ecbb6218b1791983b71b38"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01748.html#a76567b85e3ecbb6218b1791983b71b38">real_type</a></td></tr>
82 <tr·class="separator:a76567b85e3ecbb6218b1791983b71b38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a76567b85e3ecbb6218b1791983b71b38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00086_source.html">ftraits.hh</a></li>118 <li><a·class="el"·href="a00101_source.html">ftraits.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
2.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a01752.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01749.html">List·of·all·members</a>··</div>71 <a·href="a01749.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·T[N]·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·T[N]·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/ftraits.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ac0f6d61f79c34c7e88138ff0814603da"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01752.html#ac0f6d61f79c34c7e88138ff0814603da">field_type</a></td></tr>79 <tr·class="memitem:ac0f6d61f79c34c7e88138ff0814603da"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01752.html#ac0f6d61f79c34c7e88138ff0814603da">field_type</a></td></tr>
80 <tr·class="separator:ac0f6d61f79c34c7e88138ff0814603da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ac0f6d61f79c34c7e88138ff0814603da"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:ac42cd4f57abdbe6f4dc2e79848e016f1"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01752.html#ac42cd4f57abdbe6f4dc2e79848e016f1">real_type</a></td></tr>81 <tr·class="memitem:ac42cd4f57abdbe6f4dc2e79848e016f1"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01752.html#ac42cd4f57abdbe6f4dc2e79848e016f1">real_type</a></td></tr>
82 <tr·class="separator:ac42cd4f57abdbe6f4dc2e79848e016f1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ac42cd4f57abdbe6f4dc2e79848e016f1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00086_source.html">ftraits.hh</a></li>118 <li><a·class="el"·href="a00101_source.html">ftraits.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a01756.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01753.html">List·of·all·members</a>··</div>71 <a·href="a01753.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·std::vector&lt;·T·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00086_source.html">dune/common/ftraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00101_source.html">dune/common/ftraits.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a24c2784cd0a4098bcbf1ec9460974e7c"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01756.html#a24c2784cd0a4098bcbf1ec9460974e7c">field_type</a></td></tr>79 <tr·class="memitem:a24c2784cd0a4098bcbf1ec9460974e7c"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01756.html#a24c2784cd0a4098bcbf1ec9460974e7c">field_type</a></td></tr>
80 <tr·class="separator:a24c2784cd0a4098bcbf1ec9460974e7c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a24c2784cd0a4098bcbf1ec9460974e7c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a149ab84bd8a57ccfabdbf483abefc214"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01756.html#a149ab84bd8a57ccfabdbf483abefc214">real_type</a></td></tr>81 <tr·class="memitem:a149ab84bd8a57ccfabdbf483abefc214"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·T·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01756.html#a149ab84bd8a57ccfabdbf483abefc214">real_type</a></td></tr>
82 <tr·class="separator:a149ab84bd8a57ccfabdbf483abefc214"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a149ab84bd8a57ccfabdbf483abefc214"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00086_source.html">ftraits.hh</a></li>118 <li><a·class="el"·href="a00101_source.html">ftraits.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
1.81 KB
./usr/share/doc/libdune-common-doc/doxygen/a01760.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::Function&lt;·Domain,·Range·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::Function&lt;·Domain,·Range·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Base·class·template·for·function·classes.··77 <p>Base·class·template·for·function·classes.··
78 ·<a·href="a01760.html#details">More...</a></p>78 ·<a·href="a01760.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/function.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/function.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::Function&lt;·Domain,·Range·&gt;:</div>81 Inheritance·diagram·for·Dune::Function&lt;·Domain,·Range·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a01759.png"·border="0"·usemap="#a_dune_1_1_function_3_01_domain_00_01_range_01_4_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a01759.png"·border="0"·usemap="#a_dune_1_1_function_3_01_domain_00_01_range_01_4_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_function_3_01_domain_00_01_range_01_4_inherit__map"·id="a_dune_1_1_function_3_01_domain_00_01_range_01_4_inherit__map">84 <map·name="a_dune_1_1_function_3_01_domain_00_01_range_01_4_inherit__map"·id="a_dune_1_1_function_3_01_domain_00_01_range_01_4_inherit__map">
85 <area·shape="rect"·title="Base·class·template·for·function·classes."·alt=""·coords="5,36,177,77"/>85 <area·shape="rect"·title="Base·class·template·for·function·classes."·alt=""·coords="5,36,177,77"/>
86 <area·shape="rect"·href="a01760.html"·title="·"·alt=""·coords="640,5,795,47"/>86 <area·shape="rect"·href="a01760.html"·title="·"·alt=""·coords="640,5,795,47"/>
Offset 198, 15 lines modifiedOffset 198, 15 lines modified
198 ··</table>198 ··</table>
199 ··</dd>199 ··</dd>
200 </dl>200 </dl>
  
201 </div>201 </div>
202 </div>202 </div>
203 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>203 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
204 <li><a·class="el"·href="a00386_source.html">function.hh</a></li>204 <li><a·class="el"·href="a00377_source.html">function.hh</a></li>
205 </ul>205 </ul>
206 </div><!--·contents·-->206 </div><!--·contents·-->
207 <!--·start·footer·part·-->207 <!--·start·footer·part·-->
208 <hr·class="footer"/><address·class="footer"><small>208 <hr·class="footer"/><address·class="footer"><small>
209 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4209 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
210 </small></address>210 </small></address>
211 </body>211 </body>
2.16 KB
./usr/share/doc/libdune-common-doc/doxygen/a01764.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Function&lt;·Domain,·Range·&gt;::Traits·Struct·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Function&lt;·Domain,·Range·&gt;::Traits·Struct·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><a·class="el"·href="a01764.html"·title="Traits·class·containing·raw·types.">Traits</a>·class·containing·raw·types.··75 <p><a·class="el"·href="a01764.html"·title="Traits·class·containing·raw·types.">Traits</a>·class·containing·raw·types.··
76 ·<a·href="a01764.html#details">More...</a></p>76 ·<a·href="a01764.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/function.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/function.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a66c4ebef1a18a71c2c642f40cea94b98"><td·class="memItemLeft"·align="right"·valign="top">typedef·RawDomainType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">DomainType</a></td></tr>81 <tr·class="memitem:a66c4ebef1a18a71c2c642f40cea94b98"><td·class="memItemLeft"·align="right"·valign="top">typedef·RawDomainType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01764.html#a66c4ebef1a18a71c2c642f40cea94b98">DomainType</a></td></tr>
82 <tr·class="separator:a66c4ebef1a18a71c2c642f40cea94b98"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a66c4ebef1a18a71c2c642f40cea94b98"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:aaea602c51557193beda54005f318361e"><td·class="memItemLeft"·align="right"·valign="top">typedef·RawRangeType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01764.html#aaea602c51557193beda54005f318361e">RangeType</a></td></tr>83 <tr·class="memitem:aaea602c51557193beda54005f318361e"><td·class="memItemLeft"·align="right"·valign="top">typedef·RawRangeType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01764.html#aaea602c51557193beda54005f318361e">RangeType</a></td></tr>
84 <tr·class="separator:aaea602c51557193beda54005f318361e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:aaea602c51557193beda54005f318361e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 118, 15 lines modifiedOffset 118, 15 lines modified
118 ········</tr>118 ········</tr>
119 ······</table>119 ······</table>
120 </div><div·class="memdoc">120 </div><div·class="memdoc">
  
121 </div>121 </div>
122 </div>122 </div>
123 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>123 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00386_source.html">function.hh</a></li>124 <li><a·class="el"·href="a00377_source.html">function.hh</a></li>
125 </ul>125 </ul>
126 </div><!--·contents·-->126 </div><!--·contents·-->
127 <!--·start·footer·part·-->127 <!--·start·footer·part·-->
128 <hr·class="footer"/><address·class="footer"><small>128 <hr·class="footer"/><address·class="footer"><small>
129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
130 </small></address>130 </small></address>
131 </body>131 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a01768.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;·Class·Template·Reference<span·class="mlabels"><span·class="mlabel">abstract</span></span><div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Virtual·base·class·template·for·function·classes.··76 <p>Virtual·base·class·template·for·function·classes.··
77 ·<a·href="a01768.html#details">More...</a></p>77 ·<a·href="a01768.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/function.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00377_source.html">dune/common/function.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;:</div>80 Inheritance·diagram·for·Dune::VirtualFunction&lt;·DomainType,·RangeType·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01767.png"·border="0"·usemap="#a_dune_1_1_virtual_function_3_01_domain_type_00_01_range_type_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01767.png"·border="0"·usemap="#a_dune_1_1_virtual_function_3_01_domain_type_00_01_range_type_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_virtual_function_3_01_domain_type_00_01_range_type_01_4_inherit__map"·id="a_dune_1_1_virtual_function_3_01_domain_type_00_01_range_type_01_4_inherit__map">83 <map·name="a_dune_1_1_virtual_function_3_01_domain_type_00_01_range_type_01_4_inherit__map"·id="a_dune_1_1_virtual_function_3_01_domain_type_00_01_range_type_01_4_inherit__map">
84 <area·shape="rect"·title="Virtual·base·class·template·for·function·classes."·alt=""·coords="15,215,205,256"/>84 <area·shape="rect"·title="Virtual·base·class·template·for·function·classes."·alt=""·coords="15,215,205,256"/>
85 <area·shape="rect"·href="a01768.html"·title="·"·alt=""·coords="35,319,185,360"/>85 <area·shape="rect"·href="a01768.html"·title="·"·alt=""·coords="35,319,185,360"/>
Offset 259, 15 lines modifiedOffset 259, 15 lines modified
259 ··</table>259 ··</table>
260 ··</dd>260 ··</dd>
261 </dl>261 </dl>
  
262 </div>262 </div>
263 </div>263 </div>
264 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>264 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
265 <li><a·class="el"·href="a00386_source.html">function.hh</a></li>265 <li><a·class="el"·href="a00377_source.html">function.hh</a></li>
266 </ul>266 </ul>
267 </div><!--·contents·-->267 </div><!--·contents·-->
268 <!--·start·footer·part·-->268 <!--·start·footer·part·-->
269 <hr·class="footer"/><address·class="footer"><small>269 <hr·class="footer"/><address·class="footer"><small>
270 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4270 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
271 </small></address>271 </small></address>
272 </body>272 </body>
2.36 KB
./usr/share/doc/libdune-common-doc/doxygen/a01776.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01773.html">List·of·all·members</a>··</div>71 <a·href="a01773.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:aed7a78fa3310284a3b6b4a581d871648"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·SIZE·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01776.html#aed7a78fa3310284a3b6b4a581d871648">derived_type</a></td></tr>79 <tr·class="memitem:aed7a78fa3310284a3b6b4a581d871648"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·K,·SIZE·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01776.html#aed7a78fa3310284a3b6b4a581d871648">derived_type</a></td></tr>
80 <tr·class="separator:aed7a78fa3310284a3b6b4a581d871648"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:aed7a78fa3310284a3b6b4a581d871648"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:aabd9770f9fa1881a7f26c4d38ca3f1a9"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::array&lt;·K,·SIZE·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01776.html#aabd9770f9fa1881a7f26c4d38ca3f1a9">container_type</a></td></tr>81 <tr·class="memitem:aabd9770f9fa1881a7f26c4d38ca3f1a9"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::array&lt;·K,·SIZE·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01776.html#aabd9770f9fa1881a7f26c4d38ca3f1a9">container_type</a></td></tr>
82 <tr·class="separator:aabd9770f9fa1881a7f26c4d38ca3f1a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:aabd9770f9fa1881a7f26c4d38ca3f1a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ········</tr>148 ········</tr>
149 ······</table>149 ······</table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00122_source.html">fvector.hh</a></li>154 <li><a·class="el"·href="a00098_source.html">fvector.hh</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
158 <hr·class="footer"/><address·class="footer"><small>158 <hr·class="footer"/><address·class="footer"><small>
159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
160 </small></address>160 </small></address>
161 </body>161 </body>
2.39 KB
./usr/share/doc/libdune-common-doc/doxygen/a01780.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01777.html">List·of·all·members</a>··</div>71 <a·href="a01777.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FieldTraits&lt;·FieldVector&lt;·K,·SIZE·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ade3402a89a4d8cdd598ca0a5131d7a83"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01780.html#ade3402a89a4d8cdd598ca0a5131d7a83">field_type</a></td></tr>79 <tr·class="memitem:ade3402a89a4d8cdd598ca0a5131d7a83"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::field_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01780.html#ade3402a89a4d8cdd598ca0a5131d7a83">field_type</a></td></tr>
80 <tr·class="separator:ade3402a89a4d8cdd598ca0a5131d7a83"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ade3402a89a4d8cdd598ca0a5131d7a83"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a45febe4d04b7969068ab107fee6fb667"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01780.html#a45febe4d04b7969068ab107fee6fb667">real_type</a></td></tr>81 <tr·class="memitem:a45febe4d04b7969068ab107fee6fb667"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01740.html">FieldTraits</a>&lt;·K·&gt;::real_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01780.html#a45febe4d04b7969068ab107fee6fb667">real_type</a></td></tr>
82 <tr·class="separator:a45febe4d04b7969068ab107fee6fb667"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a45febe4d04b7969068ab107fee6fb667"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 ········</tr>112 ········</tr>
113 ······</table>113 ······</table>
114 </div><div·class="memdoc">114 </div><div·class="memdoc">
  
115 </div>115 </div>
116 </div>116 </div>
117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>117 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
118 <li><a·class="el"·href="a00122_source.html">fvector.hh</a></li>118 <li><a·class="el"·href="a00098_source.html">fvector.hh</a></li>
119 </ul>119 </ul>
120 </div><!--·contents·-->120 </div><!--·contents·-->
121 <!--·start·footer·part·-->121 <!--·start·footer·part·-->
122 <hr·class="footer"/><address·class="footer"><small>122 <hr·class="footer"/><address·class="footer"><small>
123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4123 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
124 </small></address>124 </small></address>
125 </body>125 </body>
2.43 KB
./usr/share/doc/libdune-common-doc/doxygen/a01784.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::IsFieldVectorSizeCorrect&lt;·C,·SIZE·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::IsFieldVectorSizeCorrect&lt;·C,·SIZE·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible.··75 <p>TMP·to·check·the·size·of·a·DenseVectors·statically,·if·possible.··
76 ·<a·href="a01784.html#details">More...</a></p>76 ·<a·href="a01784.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
80 Static·Public·Attributes</h2></td></tr>80 Static·Public·Attributes</h2></td></tr>
81 <tr·class="memitem:a2ef454b47f5c9d6b7add4aed1b9eb084"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">value</a>·=·true</td></tr>81 <tr·class="memitem:a2ef454b47f5c9d6b7add4aed1b9eb084"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">value</a>·=·true</td></tr>
82 <tr·class="memdesc:a2ef454b47f5c9d6b7add4aed1b9eb084"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·C·is·not·of·type·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a>·or·its·dimension·is·not·equal·SIZE.··<a·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">More...</a><br·/></td></tr>82 <tr·class="memdesc:a2ef454b47f5c9d6b7add4aed1b9eb084"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·C·is·not·of·type·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a>·or·its·dimension·is·not·equal·SIZE.··<a·href="a01784.html#a2ef454b47f5c9d6b7add4aed1b9eb084">More...</a><br·/></td></tr>
83 <tr·class="separator:a2ef454b47f5c9d6b7add4aed1b9eb084"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a2ef454b47f5c9d6b7add4aed1b9eb084"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 118, 15 lines modifiedOffset 118, 15 lines modified
118 </div><div·class="memdoc">118 </div><div·class="memdoc">
  
119 <p>True·if·C·is·not·of·type·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a>·or·its·dimension·is·not·equal·SIZE.·</p>119 <p>True·if·C·is·not·of·type·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a>·or·its·dimension·is·not·equal·SIZE.·</p>
  
120 </div>120 </div>
121 </div>121 </div>
122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
123 <li><a·class="el"·href="a00122_source.html">fvector.hh</a></li>123 <li><a·class="el"·href="a00098_source.html">fvector.hh</a></li>
124 </ul>124 </ul>
125 </div><!--·contents·-->125 </div><!--·contents·-->
126 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
129 </small></address>129 </small></address>
130 </body>130 </body>
2.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a01788.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;70 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;
71 <a·href="a01785.html">List·of·all·members</a>··</div>71 <a·href="a01785.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE·&gt;,·SIZE·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE·&gt;,·SIZE·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
78 Static·Public·Attributes</h2></td></tr>78 Static·Public·Attributes</h2></td></tr>
79 <tr·class="memitem:a3e031c5ca425e889a5f12753d77954a2"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01788.html#a3e031c5ca425e889a5f12753d77954a2">value</a>·=·true</td></tr>79 <tr·class="memitem:a3e031c5ca425e889a5f12753d77954a2"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01788.html#a3e031c5ca425e889a5f12753d77954a2">value</a>·=·true</td></tr>
80 <tr·class="separator:a3e031c5ca425e889a5f12753d77954a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a3e031c5ca425e889a5f12753d77954a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Data·Documentation</h2>82 <h2·class="groupheader">Member·Data·Documentation</h2>
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 ··</tr>102 ··</tr>
103 </table>103 </table>
104 </div><div·class="memdoc">104 </div><div·class="memdoc">
  
105 </div>105 </div>
106 </div>106 </div>
107 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>107 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
108 <li><a·class="el"·href="a00122_source.html">fvector.hh</a></li>108 <li><a·class="el"·href="a00098_source.html">fvector.hh</a></li>
109 </ul>109 </ul>
110 </div><!--·contents·-->110 </div><!--·contents·-->
111 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
114 </small></address>114 </small></address>
115 </body>115 </body>
2.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a01792.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;70 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;
71 <a·href="a01789.html">List·of·all·members</a>··</div>71 <a·href="a01789.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE1·&gt;,·SIZE·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::IsFieldVectorSizeCorrect&lt;·FieldVector&lt;·T,·SIZE1·&gt;,·SIZE·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00122_source.html">dune/common/fvector.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00098_source.html">dune/common/fvector.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
78 Static·Public·Attributes</h2></td></tr>78 Static·Public·Attributes</h2></td></tr>
79 <tr·class="memitem:a44206952cd90ed89888dde55039771f7"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01792.html#a44206952cd90ed89888dde55039771f7">value</a>·=·false</td></tr>79 <tr·class="memitem:a44206952cd90ed89888dde55039771f7"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01792.html#a44206952cd90ed89888dde55039771f7">value</a>·=·false</td></tr>
80 <tr·class="separator:a44206952cd90ed89888dde55039771f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a44206952cd90ed89888dde55039771f7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Data·Documentation</h2>82 <h2·class="groupheader">Member·Data·Documentation</h2>
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 ··</tr>102 ··</tr>
103 </table>103 </table>
104 </div><div·class="memdoc">104 </div><div·class="memdoc">
  
105 </div>105 </div>
106 </div>106 </div>
107 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>107 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
108 <li><a·class="el"·href="a00122_source.html">fvector.hh</a></li>108 <li><a·class="el"·href="a00098_source.html">fvector.hh</a></li>
109 </ul>109 </ul>
110 </div><!--·contents·-->110 </div><!--·contents·-->
111 <!--·start·footer·part·-->111 <!--·start·footer·part·-->
112 <hr·class="footer"/><address·class="footer"><small>112 <hr·class="footer"/><address·class="footer"><small>
113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4113 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
114 </small></address>114 </small></address>
115 </body>115 </body>
1.84 KB
./usr/share/doc/libdune-common-doc/doxygen/a01796.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·R·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·R·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Get·the·'const'·version·of·a·reference·to·a·mutable·object.··75 <p>Get·the·'const'·version·of·a·reference·to·a·mutable·object.··
76 ·<a·href="a01796.html#details">More...</a></p>76 ·<a·href="a01796.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a1e953f3f8e374949e032b7f80fd05a86"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·R&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">type</a></td></tr>81 <tr·class="memitem:a1e953f3f8e374949e032b7f80fd05a86"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·R&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01796.html#a1e953f3f8e374949e032b7f80fd05a86">type</a></td></tr>
82 <tr·class="separator:a1e953f3f8e374949e032b7f80fd05a86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a1e953f3f8e374949e032b7f80fd05a86"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 101, 15 lines modifiedOffset 101, 15 lines modified
101 ········</tr>101 ········</tr>
102 ······</table>102 ······</table>
103 </div><div·class="memdoc">103 </div><div·class="memdoc">
  
104 </div>104 </div>
105 </div>105 </div>
106 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>106 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
107 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
108 </ul>108 </ul>
109 </div><!--·contents·-->109 </div><!--·contents·-->
110 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
111 <hr·class="footer"/><address·class="footer"><small>111 <hr·class="footer"/><address·class="footer"><small>
112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
113 </small></address>113 </small></address>
114 </body>114 </body>
1.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a01800.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01797.html">List·of·all·members</a>··</div>71 <a·href="a01797.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·const·R·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·const·R·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a74cee274ffbf5dc02b9d9ca6a82b1543"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·R&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01800.html#a74cee274ffbf5dc02b9d9ca6a82b1543">type</a></td></tr>79 <tr·class="memitem:a74cee274ffbf5dc02b9d9ca6a82b1543"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·R&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01800.html#a74cee274ffbf5dc02b9d9ca6a82b1543">type</a></td></tr>
80 <tr·class="separator:a74cee274ffbf5dc02b9d9ca6a82b1543"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a74cee274ffbf5dc02b9d9ca6a82b1543"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a01804.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01801.html">List·of·all·members</a>··</div>71 <a·href="a01801.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·R·&amp;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·R·&amp;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a98aab38fc38bbacd88751805f3a0e1c9"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·R·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01804.html#a98aab38fc38bbacd88751805f3a0e1c9">type</a></td></tr>79 <tr·class="memitem:a98aab38fc38bbacd88751805f3a0e1c9"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·R·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01804.html#a98aab38fc38bbacd88751805f3a0e1c9">type</a></td></tr>
80 <tr·class="separator:a98aab38fc38bbacd88751805f3a0e1c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a98aab38fc38bbacd88751805f3a0e1c9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.84 KB
./usr/share/doc/libdune-common-doc/doxygen/a01808.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01805.html">List·of·all·members</a>··</div>71 <a·href="a01805.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·const·R·&amp;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::const_reference&lt;·const·R·&amp;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:af0e679b203aebaf86f048da9bcd4912e"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·R·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01808.html#af0e679b203aebaf86f048da9bcd4912e">type</a></td></tr>79 <tr·class="memitem:af0e679b203aebaf86f048da9bcd4912e"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·R·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01808.html#af0e679b203aebaf86f048da9bcd4912e">type</a></td></tr>
80 <tr·class="separator:af0e679b203aebaf86f048da9bcd4912e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:af0e679b203aebaf86f048da9bcd4912e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a01812.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·R·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·R·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>get·the·'mutable'·version·of·a·reference·to·a·const·object··75 <p>get·the·'mutable'·version·of·a·reference·to·a·const·object··
76 ·<a·href="a01812.html#details">More...</a></p>76 ·<a·href="a01812.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a5df1dcae36e710f8d5a337d6f5810f87"><td·class="memItemLeft"·align="right"·valign="top">typedef·R&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01812.html#a5df1dcae36e710f8d5a337d6f5810f87">type</a></td></tr>81 <tr·class="memitem:a5df1dcae36e710f8d5a337d6f5810f87"><td·class="memItemLeft"·align="right"·valign="top">typedef·R&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01812.html#a5df1dcae36e710f8d5a337d6f5810f87">type</a></td></tr>
82 <tr·class="separator:a5df1dcae36e710f8d5a337d6f5810f87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a5df1dcae36e710f8d5a337d6f5810f87"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 101, 15 lines modifiedOffset 101, 15 lines modified
101 ········</tr>101 ········</tr>
102 ······</table>102 ······</table>
103 </div><div·class="memdoc">103 </div><div·class="memdoc">
  
104 </div>104 </div>
105 </div>105 </div>
106 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>106 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
107 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>107 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
108 </ul>108 </ul>
109 </div><!--·contents·-->109 </div><!--·contents·-->
110 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
111 <hr·class="footer"/><address·class="footer"><small>111 <hr·class="footer"/><address·class="footer"><small>
112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
113 </small></address>113 </small></address>
114 </body>114 </body>
1.82 KB
./usr/share/doc/libdune-common-doc/doxygen/a01816.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01813.html">List·of·all·members</a>··</div>71 <a·href="a01813.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·const·R·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·const·R·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a2d78ceb0438d32d19da9c495cb60264a"><td·class="memItemLeft"·align="right"·valign="top">typedef·R&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01816.html#a2d78ceb0438d32d19da9c495cb60264a">type</a></td></tr>79 <tr·class="memitem:a2d78ceb0438d32d19da9c495cb60264a"><td·class="memItemLeft"·align="right"·valign="top">typedef·R&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01816.html#a2d78ceb0438d32d19da9c495cb60264a">type</a></td></tr>
80 <tr·class="separator:a2d78ceb0438d32d19da9c495cb60264a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a2d78ceb0438d32d19da9c495cb60264a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a01820.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01817.html">List·of·all·members</a>··</div>71 <a·href="a01817.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·R·&amp;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·R·&amp;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a91ae2e13ffe6fbfd651336e97562360a"><td·class="memItemLeft"·align="right"·valign="top">typedef·R·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01820.html#a91ae2e13ffe6fbfd651336e97562360a">type</a></td></tr>79 <tr·class="memitem:a91ae2e13ffe6fbfd651336e97562360a"><td·class="memItemLeft"·align="right"·valign="top">typedef·R·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01820.html#a91ae2e13ffe6fbfd651336e97562360a">type</a></td></tr>
80 <tr·class="separator:a91ae2e13ffe6fbfd651336e97562360a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a91ae2e13ffe6fbfd651336e97562360a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a01824.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01821.html">List·of·all·members</a>··</div>71 <a·href="a01821.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·const·R·&amp;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::mutable_reference&lt;·const·R·&amp;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a83e91c5f25c6fb9ef57644c290ebd498"><td·class="memItemLeft"·align="right"·valign="top">typedef·R·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01824.html#a83e91c5f25c6fb9ef57644c290ebd498">type</a></td></tr>79 <tr·class="memitem:a83e91c5f25c6fb9ef57644c290ebd498"><td·class="memItemLeft"·align="right"·valign="top">typedef·R·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01824.html#a83e91c5f25c6fb9ef57644c290ebd498">type</a></td></tr>
80 <tr·class="separator:a83e91c5f25c6fb9ef57644c290ebd498"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a83e91c5f25c6fb9ef57644c290ebd498"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>100 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
2.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a01828.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::GenericIterator&lt;·C,·T,·R,·D,·IteratorFacade·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00414.html">Iterator·facades</a>·&raquo;·<a·class="el"·href="a00413.html">GenericIterator</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::GenericIterator&lt;·C,·T,·R,·D,·IteratorFacade·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00414.html">Iterator·facades</a>·&raquo;·<a·class="el"·href="a00413.html">GenericIterator</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Generic·class·for·stl-conforming·iterators·for·container·classes·with·operator[].··76 <p>Generic·class·for·stl-conforming·iterators·for·container·classes·with·operator[].··
77 ·<a·href="a01828.html#details">More...</a></p>77 ·<a·href="a01828.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00365_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00257_source.html">dune/common/genericiterator.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::GenericIterator&lt;·C,·T,·R,·D,·IteratorFacade·&gt;:</div>80 Inheritance·diagram·for·Dune::GenericIterator&lt;·C,·T,·R,·D,·IteratorFacade·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01827.png"·border="0"·usemap="#a_dune_1_1_generic_iterator_3_01_c_00_01_t_00_01_r_00_01_d_00_01_iterator_facade_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01827.png"·border="0"·usemap="#a_dune_1_1_generic_iterator_3_01_c_00_01_t_00_01_r_00_01_d_00_01_iterator_facade_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_generic_iterator_3_01_c_00_01_t_00_01_r_00_01_d_00_01_iterator_facade_01_4_inherit__map"·id="a_dune_1_1_generic_iterator_3_01_c_00_01_t_00_01_r_00_01_d_00_01_iterator_facade_01_4_inherit__map">83 <map·name="a_dune_1_1_generic_iterator_3_01_c_00_01_t_00_01_r_00_01_d_00_01_iterator_facade_01_4_inherit__map"·id="a_dune_1_1_generic_iterator_3_01_c_00_01_t_00_01_r_00_01_d_00_01_iterator_facade_01_4_inherit__map">
84 <area·shape="rect"·title="Generic·class·for·stl&#45;conforming·iterators·for·container·classes·with·operator[]."·alt=""·coords="708,43,907,85"/>84 <area·shape="rect"·title="Generic·class·for·stl&#45;conforming·iterators·for·container·classes·with·operator[]."·alt=""·coords="708,43,907,85"/>
85 <area·shape="rect"·href="a01884.html"·title="·"·alt=""·coords="443,21,659,107"/>85 <area·shape="rect"·href="a01884.html"·title="·"·alt=""·coords="443,21,659,107"/>
Offset 1141, 15 lines modifiedOffset 1141, 15 lines modified
1141 ··</dd>1141 ··</dd>
1142 </dl>1142 </dl>
1143 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>1143 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>
  
1144 </div>1144 </div>
1145 </div>1145 </div>
1146 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1146 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1147 <li><a·class="el"·href="a00365_source.html">genericiterator.hh</a></li>1147 <li><a·class="el"·href="a00257_source.html">genericiterator.hh</a></li>
1148 </ul>1148 </ul>
1149 </div><!--·contents·-->1149 </div><!--·contents·-->
1150 <!--·start·footer·part·-->1150 <!--·start·footer·part·-->
1151 <hr·class="footer"/><address·class="footer"><small>1151 <hr·class="footer"/><address·class="footer"><small>
1152 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.41152 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
1153 </small></address>1153 </small></address>
1154 </body>1154 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a01832.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::GMPField&lt;·precision·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::GMPField&lt;·precision·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00408.html">Numbers</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation.··75 <p>Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation.··
76 ·<a·href="a01832.html#details">More...</a></p>76 ·<a·href="a01832.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::GMPField&lt;·precision·&gt;:</div>79 Inheritance·diagram·for·Dune::GMPField&lt;·precision·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a01831.png"·border="0"·usemap="#a_dune_1_1_g_m_p_field_3_01precision_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a01831.png"·border="0"·usemap="#a_dune_1_1_g_m_p_field_3_01precision_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_g_m_p_field_3_01precision_01_4_inherit__map"·id="a_dune_1_1_g_m_p_field_3_01precision_01_4_inherit__map">82 <map·name="a_dune_1_1_g_m_p_field_3_01precision_01_4_inherit__map"·id="a_dune_1_1_g_m_p_field_3_01precision_01_4_inherit__map">
83 <area·shape="rect"·title="Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation."·alt=""·coords="5,80,200,107"/>83 <area·shape="rect"·title="Number·class·for·high·precision·floating·point·number·using·the·GMP·library·mpf_class·implementation."·alt=""·coords="5,80,200,107"/>
84 <area·shape="rect"·title="·"·alt=""·coords="61,5,144,32"/>84 <area·shape="rect"·title="·"·alt=""·coords="61,5,144,32"/>
Offset 255, 15 lines modifiedOffset 255, 15 lines modified
255 ··</tr>255 ··</tr>
256 </table>256 </table>
257 </div><div·class="memdoc">257 </div><div·class="memdoc">
  
258 </div>258 </div>
259 </div>259 </div>
260 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>260 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
261 <li><a·class="el"·href="a00362_source.html">gmpfield.hh</a></li>261 <li><a·class="el"·href="a00374_source.html">gmpfield.hh</a></li>
262 </ul>262 </ul>
263 </div><!--·contents·-->263 </div><!--·contents·-->
264 <!--·start·footer·part·-->264 <!--·start·footer·part·-->
265 <hr·class="footer"/><address·class="footer"><small>265 <hr·class="footer"/><address·class="footer"><small>
266 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4266 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
267 </small></address>267 </small></address>
268 </body>268 </body>
1.66 KB
./usr/share/doc/libdune-common-doc/doxygen/a01836.html
    
Offset 66, 26 lines modifiedOffset 66, 26 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;:</div>74 Inheritance·diagram·for·Dune::IsNumber&lt;·GMPField&lt;·precision·&gt;·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a01835.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01_g_m_p_field_3_01precision_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a01835.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01_g_m_p_field_3_01precision_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_is_number_3_01_g_m_p_field_3_01precision_01_4_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01_g_m_p_field_3_01precision_01_4_01_4_inherit__map">77 <map·name="a_dune_1_1_is_number_3_01_g_m_p_field_3_01precision_01_4_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01_g_m_p_field_3_01precision_01_4_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,95,192,136"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,95,192,136"/>
79 <area·shape="rect"·title="·"·alt=""·coords="25,5,172,47"/>79 <area·shape="rect"·title="·"·alt=""·coords="25,5,172,47"/>
80 </map>80 </map>
81 </div>81 </div>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00362_source.html">gmpfield.hh</a></li>83 <li><a·class="el"·href="a00374_source.html">gmpfield.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a01840.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01837.html">List·of·all·members</a>··</div>71 <a·href="a01837.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision1·&gt;,·GMPField&lt;·precision2·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision1·&gt;,·GMPField&lt;·precision2·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:af814fa56640f9019d2b096b3aa365e0e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01832.html">GMPField</a>&lt;(precision1·&gt;·precision2·?·precision1·:precision2)&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01840.html#af814fa56640f9019d2b096b3aa365e0e">PromotedType</a></td></tr>79 <tr·class="memitem:af814fa56640f9019d2b096b3aa365e0e"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01832.html">GMPField</a>&lt;(precision1·&gt;·precision2·?·precision1·:precision2)&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01840.html#af814fa56640f9019d2b096b3aa365e0e">PromotedType</a></td></tr>
80 <tr·class="separator:af814fa56640f9019d2b096b3aa365e0e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:af814fa56640f9019d2b096b3aa365e0e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00362_source.html">gmpfield.hh</a></li>100 <li><a·class="el"·href="a00374_source.html">gmpfield.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a01844.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01841.html">List·of·all·members</a>··</div>71 <a·href="a01841.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:aeda98e0b61d7a6958bdd1f1ba93dfd79"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01832.html">GMPField</a>&lt;·precision·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01844.html#aeda98e0b61d7a6958bdd1f1ba93dfd79">PromotedType</a></td></tr>79 <tr·class="memitem:aeda98e0b61d7a6958bdd1f1ba93dfd79"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01832.html">GMPField</a>&lt;·precision·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01844.html#aeda98e0b61d7a6958bdd1f1ba93dfd79">PromotedType</a></td></tr>
80 <tr·class="separator:aeda98e0b61d7a6958bdd1f1ba93dfd79"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:aeda98e0b61d7a6958bdd1f1ba93dfd79"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00362_source.html">gmpfield.hh</a></li>100 <li><a·class="el"·href="a00374_source.html">gmpfield.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a01848.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01845.html">List·of·all·members</a>··</div>71 <a·href="a01845.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·T·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·GMPField&lt;·precision·&gt;,·T·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ab29744d04f497ab356bb62f42d77c866"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01832.html">GMPField</a>&lt;·precision·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01848.html#ab29744d04f497ab356bb62f42d77c866">PromotedType</a></td></tr>79 <tr·class="memitem:ab29744d04f497ab356bb62f42d77c866"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01832.html">GMPField</a>&lt;·precision·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01848.html#ab29744d04f497ab356bb62f42d77c866">PromotedType</a></td></tr>
80 <tr·class="separator:ab29744d04f497ab356bb62f42d77c866"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ab29744d04f497ab356bb62f42d77c866"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00362_source.html">gmpfield.hh</a></li>100 <li><a·class="el"·href="a00374_source.html">gmpfield.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a01852.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01849.html">List·of·all·members</a>··</div>71 <a·href="a01849.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·T,·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·T,·GMPField&lt;·precision·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00374_source.html">dune/common/gmpfield.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:af819792396739bc1bdf908b5741ae9bd"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01832.html">GMPField</a>&lt;·precision·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01852.html#af819792396739bc1bdf908b5741ae9bd">PromotedType</a></td></tr>79 <tr·class="memitem:af819792396739bc1bdf908b5741ae9bd"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01832.html">GMPField</a>&lt;·precision·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01852.html#af819792396739bc1bdf908b5741ae9bd">PromotedType</a></td></tr>
80 <tr·class="separator:af819792396739bc1bdf908b5741ae9bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:af819792396739bc1bdf908b5741ae9bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00362_source.html">gmpfield.hh</a></li>100 <li><a·class="el"·href="a00374_source.html">gmpfield.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a01856.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::hash&lt;·T·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::hash&lt;·T·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Functor·for·hashing·objects·of·type·T.··75 <p>Functor·for·hashing·objects·of·type·T.··
76 ·<a·href="a01856.html#details">More...</a></p>76 ·<a·href="a01856.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/hash.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00188_source.html">dune/common/hash.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:ae27633febd753959d3b8ab013e8bb4a7"><td·class="memItemLeft"·align="right"·valign="top">std::size_t&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01856.html#ae27633febd753959d3b8ab013e8bb4a7">operator()</a>·(const·T·&amp;t)·const</td></tr>81 <tr·class="memitem:ae27633febd753959d3b8ab013e8bb4a7"><td·class="memItemLeft"·align="right"·valign="top">std::size_t&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01856.html#ae27633febd753959d3b8ab013e8bb4a7">operator()</a>·(const·T·&amp;t)·const</td></tr>
82 <tr·class="memdesc:ae27633febd753959d3b8ab013e8bb4a7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·hash·of·t.··<a·href="a01856.html#ae27633febd753959d3b8ab013e8bb4a7">More...</a><br·/></td></tr>82 <tr·class="memdesc:ae27633febd753959d3b8ab013e8bb4a7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Calculates·the·hash·of·t.··<a·href="a01856.html#ae27633febd753959d3b8ab013e8bb4a7">More...</a><br·/></td></tr>
83 <tr·class="separator:ae27633febd753959d3b8ab013e8bb4a7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ae27633febd753959d3b8ab013e8bb4a7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 116, 15 lines modifiedOffset 116, 15 lines modified
116 </div><div·class="memdoc">116 </div><div·class="memdoc">
  
117 <p>Calculates·the·hash·of·t.·</p>117 <p>Calculates·the·hash·of·t.·</p>
  
118 </div>118 </div>
119 </div>119 </div>
120 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>120 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
121 <li><a·class="el"·href="a00083_source.html">hash.hh</a></li>121 <li><a·class="el"·href="a00188_source.html">hash.hh</a></li>
122 </ul>122 </ul>
123 </div><!--·contents·-->123 </div><!--·contents·-->
124 <!--·start·footer·part·-->124 <!--·start·footer·part·-->
125 <hr·class="footer"/><address·class="footer"><small>125 <hr·class="footer"/><address·class="footer"><small>
126 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4126 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
127 </small></address>127 </small></address>
128 </body>128 </body>
4.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a01864.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Indent·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Indent·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Utility·class·for·handling·nested·indentation·in·output.··75 <p>Utility·class·for·handling·nested·indentation·in·output.··
76 ·<a·href="a01864.html#details">More...</a></p>76 ·<a·href="a01864.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/indent.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00248_source.html">dune/common/indent.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Indent</a>·(const·std::string·&amp;basic_indent_=&quot;··&quot;,·unsigned·level_=0)</td></tr>81 <tr·class="memitem:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">Indent</a>·(const·std::string·&amp;basic_indent_=&quot;··&quot;,·unsigned·level_=0)</td></tr>
82 <tr·class="memdesc:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">setup·without·parent··<a·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">More...</a><br·/></td></tr>82 <tr·class="memdesc:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">setup·without·parent··<a·href="a00397.html#gabb0f032ac7f93f75e8918741c6da79c5">More...</a><br·/></td></tr>
83 <tr·class="separator:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:gabb0f032ac7f93f75e8918741c6da79c5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:ga1f1ea564f5a91476186d98f86bc9e9c5"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1f1ea564f5a91476186d98f86bc9e9c5">Indent</a>·(unsigned·level_)</td></tr>84 <tr·class="memitem:ga1f1ea564f5a91476186d98f86bc9e9c5"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga1f1ea564f5a91476186d98f86bc9e9c5">Indent</a>·(unsigned·level_)</td></tr>
Offset 110, 15 lines modifiedOffset 110, 15 lines modified
110 <p·>An·indentation·object·hast·a·string·basic_indent·and·an·indentation·level.·When·it·is·put·into·a·std::ostream·using·&lt;&lt;·it·will·print·its·basic_indent·as·many·times·as·its·indentation·level.·By·default·the·basic_indent·will·be·two·spaces·and·the·indentation·level·will·be·0.</p>110 <p·>An·indentation·object·hast·a·string·basic_indent·and·an·indentation·level.·When·it·is·put·into·a·std::ostream·using·&lt;&lt;·it·will·print·its·basic_indent·as·many·times·as·its·indentation·level.·By·default·the·basic_indent·will·be·two·spaces·and·the·indentation·level·will·be·0.</p>
111 <p·>An·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·object·may·also·have·a·reference·to·a·parent·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·object.·If·it·has,·that·object·it·put·into·the·stream·with·the·&lt;&lt;·operator·before·the·indentation·of·this·object·is·put·into·the·stream.·This·effectively·chains·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·objects·together.</p>111 <p·>An·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·object·may·also·have·a·reference·to·a·parent·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·object.·If·it·has,·that·object·it·put·into·the·stream·with·the·&lt;&lt;·operator·before·the·indentation·of·this·object·is·put·into·the·stream.·This·effectively·chains·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·objects·together.</p>
112 <p·>You·can·use·the·++·operator·to·raise·and·the·&ndash;·operator·to·lower·the·indentation·by·one·level.</p>112 <p·>You·can·use·the·++·operator·to·raise·and·the·&ndash;·operator·to·lower·the·indentation·by·one·level.</p>
113 <p·>You·can·use·the·+·operator·with·a·numeric·second·argument·morelevel·to·create·a·copy·of·the·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·object·with·the·indentation·level·increased·morelevel·times.·This·is·mainly·useful·to·pass·indent+1·to·a·function,·where·indent·is·an·indentation·object.</p>113 <p·>You·can·use·the·+·operator·with·a·numeric·second·argument·morelevel·to·create·a·copy·of·the·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·object·with·the·indentation·level·increased·morelevel·times.·This·is·mainly·useful·to·pass·indent+1·to·a·function,·where·indent·is·an·indentation·object.</p>
114 <p·>You·can·use·the·+·operator·with·a·string·second·argument·newindent·to·create·a·new·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·object·with·this·object·as·parent,·a·basic_indent·of·newindent,·and·an·indentation·level·of·one.·This·is·mainly·useful·to·pass·indent+"&gt;·"·to·a·function,·where·"&gt;·"·is·a·possibly·different·indentation·string·then·the·one·used·by·indent·indentation·object.</p>114 <p·>You·can·use·the·+·operator·with·a·string·second·argument·newindent·to·create·a·new·<a·class="el"·href="a01864.html"·title="Utility·class·for·handling·nested·indentation·in·output.">Indent</a>·object·with·this·object·as·parent,·a·basic_indent·of·newindent,·and·an·indentation·level·of·one.·This·is·mainly·useful·to·pass·indent+"&gt;·"·to·a·function,·where·"&gt;·"·is·a·possibly·different·indentation·string·then·the·one·used·by·indent·indentation·object.</p>
115 <dl·class="section·note"><dt>Note</dt><dd>The·idea·is·for·functions·receive·indentation·objects·as·call·by·value·parameters.·This·way,·the·indentation·object·of·the·caller·will·not·be·modified·by·the·function·and·the·function·can·simply·return·at·anytime·without·having·to·clean·up.·</dd></dl>115 <dl·class="section·note"><dt>Note</dt><dd>The·idea·is·for·functions·receive·indentation·objects·as·call·by·value·parameters.·This·way,·the·indentation·object·of·the·caller·will·not·be·modified·by·the·function·and·the·function·can·simply·return·at·anytime·without·having·to·clean·up.·</dd></dl>
116 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>116 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
117 <li><a·class="el"·href="a00293_source.html">indent.hh</a></li>117 <li><a·class="el"·href="a00248_source.html">indent.hh</a></li>
118 </ul>118 </ul>
119 </div><!--·contents·-->119 </div><!--·contents·-->
120 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
121 <hr·class="footer"/><address·class="footer"><small>121 <hr·class="footer"/><address·class="footer"><small>
122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
123 </small></address>123 </small></address>
124 </body>124 </body>
2.85 KB
./usr/share/doc/libdune-common-doc/doxygen/a01872.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::ios_base_all_saver·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::ios_base_all_saver·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Utility·class·for·storing·and·resetting·stream·attributes.··76 <p>Utility·class·for·storing·and·resetting·stream·attributes.··
77 ·<a·href="a01872.html#details">More...</a></p>77 ·<a·href="a01872.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00317_source.html">dune/common/ios_state.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00029_source.html">dune/common/ios_state.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::ios_base&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a></td></tr>82 <tr·class="memitem:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::ios_base&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">state_type</a></td></tr>
83 <tr·class="memdesc:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·type·of·object·we·save·the·state·for.··<a·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">More...</a><br·/></td></tr>83 <tr·class="memdesc:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·type·of·object·we·save·the·state·for.··<a·href="a00397.html#gaab42b8e2cf5e10c794a7957e003edd76">More...</a><br·/></td></tr>
84 <tr·class="separator:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:gaab42b8e2cf5e10c794a7957e003edd76"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
Offset 99, 16 lines modifiedOffset 99, 16 lines modified
99 </table>99 </table>
100 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>100 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
101 <div·class="textblock"><p·>Utility·class·for·storing·and·resetting·stream·attributes.·</p>101 <div·class="textblock"><p·>Utility·class·for·storing·and·resetting·stream·attributes.·</p>
102 <p·>The·constructor·saves·the·attributes·currently·set·in·the·ios_base·object·and·the·destructor·restores·these·attributes·again.·The·attributes·can·also·be·restores·at·any·time·by·calling·the·method·<a·class="el"·href="a00397.html#ga11e7a466cb1a43b36026a751364ae564"·title="Restore·flags·now.">restore()</a>.</p>102 <p·>The·constructor·saves·the·attributes·currently·set·in·the·ios_base·object·and·the·destructor·restores·these·attributes·again.·The·attributes·can·also·be·restores·at·any·time·by·calling·the·method·<a·class="el"·href="a00397.html#ga11e7a466cb1a43b36026a751364ae564"·title="Restore·flags·now.">restore()</a>.</p>
103 <p·>The·saved·attributes·are·the·format·flags,·precision,·and·width.</p>103 <p·>The·saved·attributes·are·the·format·flags,·precision,·and·width.</p>
104 <dl·class="section·note"><dt>Note</dt><dd>The·interface·of·this·class·is·meant·to·be·drop-in·compatible·the·the·class·of·the·same·name·from·&lt;boost/io/ios_state.hpp&gt;.·</dd></dl>104 <dl·class="section·note"><dt>Note</dt><dd>The·interface·of·this·class·is·meant·to·be·drop-in·compatible·the·the·class·of·the·same·name·from·&lt;boost/io/ios_state.hpp&gt;.·</dd></dl>
105 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>105 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
106 <li><a·class="el"·href="a00317_source.html">ios_state.hh</a></li>106 <li><a·class="el"·href="a00029_source.html">ios_state.hh</a></li>
107 <li><a·class="el"·href="a00164.html">ios_state.cc</a></li>107 <li><a·class="el"·href="a00311.html">ios_state.cc</a></li>
108 </ul>108 </ul>
109 </div><!--·contents·-->109 </div><!--·contents·-->
110 <!--·start·footer·part·-->110 <!--·start·footer·part·-->
111 <hr·class="footer"/><address·class="footer"><small>111 <hr·class="footer"/><address·class="footer"><small>
112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4112 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
113 </small></address>113 </small></address>
114 </body>114 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a01876.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00414.html">Iterator·facades</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00414.html">Iterator·facades</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Base·class·for·stl·conformant·forward·iterators.··76 <p>Base·class·for·stl·conformant·forward·iterators.··
77 ·<a·href="a01876.html#details">More...</a></p>77 ·<a·href="a01876.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>80 Inheritance·diagram·for·Dune::ForwardIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01875.png"·border="0"·usemap="#a_dune_1_1_forward_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01875.png"·border="0"·usemap="#a_dune_1_1_forward_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_forward_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·id="a_dune_1_1_forward_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map">83 <map·name="a_dune_1_1_forward_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·id="a_dune_1_1_forward_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map">
84 <area·shape="rect"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,175,197,217"/>84 <area·shape="rect"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,175,197,217"/>
85 <area·shape="rect"·href="a01876.html"·title="·"·alt=""·coords="436,7,628,78"/>85 <area·shape="rect"·href="a01876.html"·title="·"·alt=""·coords="436,7,628,78"/>
Offset 449, 15 lines modifiedOffset 449, 15 lines modified
449 ··</tr>449 ··</tr>
450 </table>450 </table>
451 </div><div·class="memdoc">451 </div><div·class="memdoc">
  
452 </div>452 </div>
453 </div>453 </div>
454 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>454 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
455 <li><a·class="el"·href="a00170_source.html">iteratorfacades.hh</a></li>455 <li><a·class="el"·href="a00137_source.html">iteratorfacades.hh</a></li>
456 </ul>456 </ul>
457 </div><!--·contents·-->457 </div><!--·contents·-->
458 <!--·start·footer·part·-->458 <!--·start·footer·part·-->
459 <hr·class="footer"/><address·class="footer"><small>459 <hr·class="footer"/><address·class="footer"><small>
460 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4460 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
461 </small></address>461 </small></address>
462 </body>462 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a01880.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00414.html">Iterator·facades</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00414.html">Iterator·facades</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Facade·class·for·stl·conformant·bidirectional·iterators.··76 <p>Facade·class·for·stl·conformant·bidirectional·iterators.··
77 ·<a·href="a01880.html#details">More...</a></p>77 ·<a·href="a01880.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>80 Inheritance·diagram·for·Dune::BidirectionalIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01879.png"·border="0"·usemap="#a_dune_1_1_bidirectional_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01879.png"·border="0"·usemap="#a_dune_1_1_bidirectional_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_bidirectional_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·id="a_dune_1_1_bidirectional_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map">83 <map·name="a_dune_1_1_bidirectional_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·id="a_dune_1_1_bidirectional_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map">
84 <area·shape="rect"·title="Facade·class·for·stl·conformant·bidirectional·iterators."·alt=""·coords="5,14,179,55"/>84 <area·shape="rect"·title="Facade·class·for·stl·conformant·bidirectional·iterators."·alt=""·coords="5,14,179,55"/>
85 <area·shape="rect"·href="a01880.html"·title="·"·alt=""·coords="388,7,611,63"/>85 <area·shape="rect"·href="a01880.html"·title="·"·alt=""·coords="388,7,611,63"/>
Offset 497, 15 lines modifiedOffset 497, 15 lines modified
497 ··</tr>497 ··</tr>
498 </table>498 </table>
499 </div><div·class="memdoc">499 </div><div·class="memdoc">
  
500 </div>500 </div>
501 </div>501 </div>
502 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>502 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
503 <li><a·class="el"·href="a00170_source.html">iteratorfacades.hh</a></li>503 <li><a·class="el"·href="a00137_source.html">iteratorfacades.hh</a></li>
504 </ul>504 </ul>
505 </div><!--·contents·-->505 </div><!--·contents·-->
506 <!--·start·footer·part·-->506 <!--·start·footer·part·-->
507 <hr·class="footer"/><address·class="footer"><small>507 <hr·class="footer"/><address·class="footer"><small>
508 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4508 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
509 </small></address>509 </small></address>
510 </body>510 </body>
2.1 KB
./usr/share/doc/libdune-common-doc/doxygen/a01884.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00414.html">Iterator·facades</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00414.html">Iterator·facades</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Base·class·for·stl·conformant·forward·iterators.··76 <p>Base·class·for·stl·conformant·forward·iterators.··
77 ·<a·href="a01884.html#details">More...</a></p>77 ·<a·href="a01884.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00170_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00137_source.html">dune/common/iteratorfacades.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>80 Inheritance·diagram·for·Dune::RandomAccessIteratorFacade&lt;·T,·V,·R,·D·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a01883.png"·border="0"·usemap="#a_dune_1_1_random_access_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a01883.png"·border="0"·usemap="#a_dune_1_1_random_access_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_random_access_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·id="a_dune_1_1_random_access_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map">83 <map·name="a_dune_1_1_random_access_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map"·id="a_dune_1_1_random_access_iterator_facade_3_01_t_00_01_v_00_01_r_00_01_d_01_4_inherit__map">
84 <area·shape="rect"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,230,200,271"/>84 <area·shape="rect"·title="Base·class·for·stl·conformant·forward·iterators."·alt=""·coords="5,230,200,271"/>
85 <area·shape="rect"·href="a01884.html"·title="·"·alt=""·coords="485,35,728,106"/>85 <area·shape="rect"·href="a01884.html"·title="·"·alt=""·coords="485,35,728,106"/>
Offset 676, 15 lines modifiedOffset 676, 15 lines modified
676 ··</dd>676 ··</dd>
677 </dl>677 </dl>
678 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>678 <dl·class="section·return"><dt>Returns</dt><dd>The·element·at·that·distance.·</dd></dl>
  
679 </div>679 </div>
680 </div>680 </div>
681 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>681 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
682 <li><a·class="el"·href="a00170_source.html">iteratorfacades.hh</a></li>682 <li><a·class="el"·href="a00137_source.html">iteratorfacades.hh</a></li>
683 </ul>683 </ul>
684 </div><!--·contents·-->684 </div><!--·contents·-->
685 <!--·start·footer·part·-->685 <!--·start·footer·part·-->
686 <hr·class="footer"/><address·class="footer"><small>686 <hr·class="footer"/><address·class="footer"><small>
687 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4687 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
688 </small></address>688 </small></address>
689 </body>689 </body>
2.46 KB
./usr/share/doc/libdune-common-doc/doxygen/a01888.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::IteratorRange&lt;·Iterator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::IteratorRange&lt;·Iterator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Simple·range·between·a·begin·and·an·end·iterator.··76 <p>Simple·range·between·a·begin·and·an·end·iterator.··
77 ·<a·href="a01888.html#details">More...</a></p>77 ·<a·href="a01888.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00218_source.html">dune/common/iteratorrange.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00041_source.html">dune/common/iteratorrange.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:ad98380cc975a532110a0838d1c89e029"><td·class="memItemLeft"·align="right"·valign="top">typedef·Iterator&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">iterator</a></td></tr>82 <tr·class="memitem:ad98380cc975a532110a0838d1c89e029"><td·class="memItemLeft"·align="right"·valign="top">typedef·Iterator&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">iterator</a></td></tr>
83 <tr·class="memdesc:ad98380cc975a532110a0838d1c89e029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·iterator·belonging·to·this·range.··<a·href="a01888.html#ad98380cc975a532110a0838d1c89e029">More...</a><br·/></td></tr>83 <tr·class="memdesc:ad98380cc975a532110a0838d1c89e029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·iterator·belonging·to·this·range.··<a·href="a01888.html#ad98380cc975a532110a0838d1c89e029">More...</a><br·/></td></tr>
84 <tr·class="separator:ad98380cc975a532110a0838d1c89e029"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:ad98380cc975a532110a0838d1c89e029"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:a49421ddcbc715d99afed075e73eb4f67"><td·class="memItemLeft"·align="right"·valign="top">typedef·Iterator&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67">const_iterator</a></td></tr>85 <tr·class="memitem:a49421ddcbc715d99afed075e73eb4f67"><td·class="memItemLeft"·align="right"·valign="top">typedef·Iterator&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67">const_iterator</a></td></tr>
Offset 277, 15 lines modifiedOffset 277, 15 lines modified
277 </div><div·class="memdoc">277 </div><div·class="memdoc">
  
278 <p>Returns·an·iterator·pointing·past·the·end·of·the·range.·</p>278 <p>Returns·an·iterator·pointing·past·the·end·of·the·range.·</p>
  
279 </div>279 </div>
280 </div>280 </div>
281 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>281 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
282 <li><a·class="el"·href="a00218_source.html">iteratorrange.hh</a></li>282 <li><a·class="el"·href="a00041_source.html">iteratorrange.hh</a></li>
283 </ul>283 </ul>
284 </div><!--·contents·-->284 </div><!--·contents·-->
285 <!--·start·footer·part·-->285 <!--·start·footer·part·-->
286 <hr·class="footer"/><address·class="footer"><small>286 <hr·class="footer"/><address·class="footer"><small>
287 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4287 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
288 </small></address>288 </small></address>
289 </body>289 </body>
2.13 KB
./usr/share/doc/libdune-common-doc/doxygen/a01896.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::lru&lt;·Key,·Tp,·Traits·&gt;·Class·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::lru&lt;·Key,·Tp,·Traits·&gt;·Class·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>LRU·Cache·Container.··76 <p>LRU·Cache·Container.··
77 ·<a·href="a01896.html#details">More...</a></p>77 ·<a·href="a01896.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00311_source.html">dune/common/lru.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00293_source.html">dune/common/lru.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:aeda92a2b060663bbceb17c16bb0ab3aa"><td·class="memItemLeft"·align="right"·valign="top">typedef·Traits::key_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01896.html#aeda92a2b060663bbceb17c16bb0ab3aa">key_type</a></td></tr>82 <tr·class="memitem:aeda92a2b060663bbceb17c16bb0ab3aa"><td·class="memItemLeft"·align="right"·valign="top">typedef·Traits::key_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01896.html#aeda92a2b060663bbceb17c16bb0ab3aa">key_type</a></td></tr>
83 <tr·class="separator:aeda92a2b060663bbceb17c16bb0ab3aa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:aeda92a2b060663bbceb17c16bb0ab3aa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a40f89573d1b557b338531dcbf81af42c"><td·class="memItemLeft"·align="right"·valign="top">typedef·allocator::value_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01896.html#a40f89573d1b557b338531dcbf81af42c">value_type</a></td></tr>84 <tr·class="memitem:a40f89573d1b557b338531dcbf81af42c"><td·class="memItemLeft"·align="right"·valign="top">typedef·allocator::value_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01896.html#a40f89573d1b557b338531dcbf81af42c">value_type</a></td></tr>
85 <tr·class="separator:a40f89573d1b557b338531dcbf81af42c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:a40f89573d1b557b338531dcbf81af42c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 718, 15 lines modifiedOffset 718, 15 lines modified
  
718 <p>mark·data·associated·with·key·as·most·recent·</p>718 <p>mark·data·associated·with·key·as·most·recent·</p>
719 <dl·class="section·return"><dt>Returns</dt><dd>reference·of·stored·data·</dd></dl>719 <dl·class="section·return"><dt>Returns</dt><dd>reference·of·stored·data·</dd></dl>
  
720 </div>720 </div>
721 </div>721 </div>
722 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>722 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
723 <li><a·class="el"·href="a00311_source.html">lru.hh</a></li>723 <li><a·class="el"·href="a00293_source.html">lru.hh</a></li>
724 </ul>724 </ul>
725 </div><!--·contents·-->725 </div><!--·contents·-->
726 <!--·start·footer·part·-->726 <!--·start·footer·part·-->
727 <hr·class="footer"/><address·class="footer"><small>727 <hr·class="footer"/><address·class="footer"><small>
728 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4728 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
729 </small></address>729 </small></address>
730 </body>730 </body>
1.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a01900.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::MallocAllocator&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::MallocAllocator&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Allocators·implementation·which·simply·calls·malloc/free.··77 <p>Allocators·implementation·which·simply·calls·malloc/free.··
78 ·<a·href="a01900.html#details">More...</a></p>78 ·<a·href="a01900.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::MallocAllocator&lt;·T·&gt;:</div>81 Inheritance·diagram·for·Dune::MallocAllocator&lt;·T·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a01899.png"·border="0"·usemap="#a_dune_1_1_malloc_allocator_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a01899.png"·border="0"·usemap="#a_dune_1_1_malloc_allocator_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_malloc_allocator_3_01_t_01_4_inherit__map"·id="a_dune_1_1_malloc_allocator_3_01_t_01_4_inherit__map">84 <map·name="a_dune_1_1_malloc_allocator_3_01_t_01_4_inherit__map"·id="a_dune_1_1_malloc_allocator_3_01_t_01_4_inherit__map">
85 <area·shape="rect"·title="Allocators·implementation·which·simply·calls·malloc/free."·alt=""·coords="5,5,188,32"/>85 <area·shape="rect"·title="Allocators·implementation·which·simply·calls·malloc/free."·alt=""·coords="5,5,188,32"/>
86 <area·shape="rect"·href="a01268.html"·title="Allocators·which·guarantee·alignment·of·the·memory."·alt=""·coords="19,80,174,121"/>86 <area·shape="rect"·href="a01268.html"·title="Allocators·which·guarantee·alignment·of·the·memory."·alt=""·coords="19,80,174,121"/>
Offset 629, 15 lines modifiedOffset 629, 15 lines modified
629 </div><div·class="memdoc">629 </div><div·class="memdoc">
  
630 <p>max·size·for·allocate·</p>630 <p>max·size·for·allocate·</p>
  
631 </div>631 </div>
632 </div>632 </div>
633 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>633 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
634 <li><a·class="el"·href="a00287_source.html">mallocallocator.hh</a></li>634 <li><a·class="el"·href="a00023_source.html">mallocallocator.hh</a></li>
635 </ul>635 </ul>
636 </div><!--·contents·-->636 </div><!--·contents·-->
637 <!--·start·footer·part·-->637 <!--·start·footer·part·-->
638 <hr·class="footer"/><address·class="footer"><small>638 <hr·class="footer"/><address·class="footer"><small>
639 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4639 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
640 </small></address>640 </small></address>
641 </body>641 </body>
1.89 KB
./usr/share/doc/libdune-common-doc/doxygen/a01904.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a01901.html">List·of·all·members</a>··</div>71 <a·href="a01901.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::MallocAllocator&lt;·T·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::MallocAllocator&lt;·T·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00287_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/mallocallocator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ac7be9e590b210d8694a19e329048982c"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·U·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01904.html#ac7be9e590b210d8694a19e329048982c">other</a></td></tr>79 <tr·class="memitem:ac7be9e590b210d8694a19e329048982c"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01900.html">MallocAllocator</a>&lt;·U·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01904.html#ac7be9e590b210d8694a19e329048982c">other</a></td></tr>
80 <tr·class="separator:ac7be9e590b210d8694a19e329048982c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ac7be9e590b210d8694a19e329048982c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
96 ········</tr>96 ········</tr>
97 ······</table>97 ······</table>
98 </div><div·class="memdoc">98 </div><div·class="memdoc">
  
99 </div>99 </div>
100 </div>100 </div>
101 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>101 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
102 <li><a·class="el"·href="a00287_source.html">mallocallocator.hh</a></li>102 <li><a·class="el"·href="a00023_source.html">mallocallocator.hh</a></li>
103 </ul>103 </ul>
104 </div><!--·contents·-->104 </div><!--·contents·-->
105 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>108 </small></address>
109 </body>109 </body>
1.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a01908.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::StandardMathematicalConstants&lt;·T·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::StandardMathematicalConstants&lt;·T·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Standard·implementation·of·<a·class="el"·href="a01912.html"·title="Provides·commonly·used·mathematical·constants.">MathematicalConstants</a>.··75 <p>Standard·implementation·of·<a·class="el"·href="a01912.html"·title="Provides·commonly·used·mathematical·constants.">MathematicalConstants</a>.··
76 ·<a·href="a01908.html#details">More...</a></p>76 ·<a·href="a01908.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::StandardMathematicalConstants&lt;·T·&gt;:</div>79 Inheritance·diagram·for·Dune::StandardMathematicalConstants&lt;·T·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a01907.png"·border="0"·usemap="#a_dune_1_1_standard_mathematical_constants_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a01907.png"·border="0"·usemap="#a_dune_1_1_standard_mathematical_constants_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_standard_mathematical_constants_3_01_t_01_4_inherit__map"·id="a_dune_1_1_standard_mathematical_constants_3_01_t_01_4_inherit__map">82 <map·name="a_dune_1_1_standard_mathematical_constants_3_01_t_01_4_inherit__map"·id="a_dune_1_1_standard_mathematical_constants_3_01_t_01_4_inherit__map">
83 <area·shape="rect"·title="Standard·implementation·of·MathematicalConstants."·alt=""·coords="9,5,200,47"/>83 <area·shape="rect"·title="Standard·implementation·of·MathematicalConstants."·alt=""·coords="9,5,200,47"/>
84 <area·shape="rect"·href="a01908.html"·title="·"·alt=""·coords="9,109,200,151"/>84 <area·shape="rect"·href="a01908.html"·title="·"·alt=""·coords="9,109,200,151"/>
Offset 158, 15 lines modifiedOffset 158, 15 lines modified
158 </div><div·class="memdoc">158 </div><div·class="memdoc">
  
159 <p>Archimedes'·constant.·</p>159 <p>Archimedes'·constant.·</p>
  
160 </div>160 </div>
161 </div>161 </div>
162 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>162 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
163 <li><a·class="el"·href="a00119_source.html">math.hh</a></li>163 <li><a·class="el"·href="a00281_source.html">math.hh</a></li>
164 </ul>164 </ul>
165 </div><!--·contents·-->165 </div><!--·contents·-->
166 <!--·start·footer·part·-->166 <!--·start·footer·part·-->
167 <hr·class="footer"/><address·class="footer"><small>167 <hr·class="footer"/><address·class="footer"><small>
168 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4168 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
169 </small></address>169 </small></address>
170 </body>170 </body>
1.79 KB
./usr/share/doc/libdune-common-doc/doxygen/a01912.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::MathematicalConstants&lt;·Field·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::MathematicalConstants&lt;·Field·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Provides·commonly·used·mathematical·constants.··75 <p>Provides·commonly·used·mathematical·constants.··
76 ·<a·href="a01912.html#details">More...</a></p>76 ·<a·href="a01912.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::MathematicalConstants&lt;·Field·&gt;:</div>79 Inheritance·diagram·for·Dune::MathematicalConstants&lt;·Field·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a01911.png"·border="0"·usemap="#a_dune_1_1_mathematical_constants_3_01_field_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a01911.png"·border="0"·usemap="#a_dune_1_1_mathematical_constants_3_01_field_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_mathematical_constants_3_01_field_01_4_inherit__map"·id="a_dune_1_1_mathematical_constants_3_01_field_01_4_inherit__map">82 <map·name="a_dune_1_1_mathematical_constants_3_01_field_01_4_inherit__map"·id="a_dune_1_1_mathematical_constants_3_01_field_01_4_inherit__map">
83 <area·shape="rect"·title="Provides·commonly·used·mathematical·constants."·alt=""·coords="5,200,204,241"/>83 <area·shape="rect"·title="Provides·commonly·used·mathematical·constants."·alt=""·coords="5,200,204,241"/>
84 <area·shape="rect"·href="a01908.html"·title="·"·alt=""·coords="9,109,200,151"/>84 <area·shape="rect"·href="a01908.html"·title="·"·alt=""·coords="9,109,200,151"/>
Offset 153, 15 lines modifiedOffset 153, 15 lines modified
153 </div><div·class="memdoc">153 </div><div·class="memdoc">
  
154 <p>Archimedes'·constant.·</p>154 <p>Archimedes'·constant.·</p>
  
155 </div>155 </div>
156 </div>156 </div>
157 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>157 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
158 <li><a·class="el"·href="a00119_source.html">math.hh</a></li>158 <li><a·class="el"·href="a00281_source.html">math.hh</a></li>
159 </ul>159 </ul>
160 </div><!--·contents·-->160 </div><!--·contents·-->
161 <!--·start·footer·part·-->161 <!--·start·footer·part·-->
162 <hr·class="footer"/><address·class="footer"><small>162 <hr·class="footer"/><address·class="footer"><small>
163 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4163 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
164 </small></address>164 </small></address>
165 </body>165 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a01916.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;70 <a·href="#pub-static-attribs">Static·Public·Attributes</a>·&#124;
71 <a·href="a01913.html">List·of·all·members</a>··</div>71 <a·href="a01913.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::Factorial&lt;·m·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Factorial&lt;·m·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
78 Static·Public·Attributes</h2></td></tr>78 Static·Public·Attributes</h2></td></tr>
79 <tr·class="memitem:a344581ab6632cf09593f45780ed8dca6"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">factorial</a>·=·m·*·<a·class="el"·href="a01916.html">Factorial</a>&lt;m-1&gt;::factorial</td></tr>79 <tr·class="memitem:a344581ab6632cf09593f45780ed8dca6"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">factorial</a>·=·m·*·<a·class="el"·href="a01916.html">Factorial</a>&lt;m-1&gt;::factorial</td></tr>
80 <tr·class="memdesc:a344581ab6632cf09593f45780ed8dca6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">factorial·stores·m!··<a·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">More...</a><br·/></td></tr>80 <tr·class="memdesc:a344581ab6632cf09593f45780ed8dca6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">factorial·stores·m!··<a·href="a01916.html#a344581ab6632cf09593f45780ed8dca6">More...</a><br·/></td></tr>
81 <tr·class="separator:a344581ab6632cf09593f45780ed8dca6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:a344581ab6632cf09593f45780ed8dca6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table>82 </table>
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 <p>factorial·stores·m!·</p>109 <p>factorial·stores·m!·</p>
  
110 </div>110 </div>
111 </div>111 </div>
112 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>112 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
113 <li><a·class="el"·href="a00119_source.html">math.hh</a></li>113 <li><a·class="el"·href="a00281_source.html">math.hh</a></li>
114 </ul>114 </ul>
115 </div><!--·contents·-->115 </div><!--·contents·-->
116 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
117 <hr·class="footer"/><address·class="footer"><small>117 <hr·class="footer"/><address·class="footer"><small>
118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4118 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
119 </small></address>119 </small></address>
120 </body>120 </body>
1.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a01920.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Factorial&lt;·0·&gt;·Struct·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Factorial&lt;·0·&gt;·Struct·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>end·of·recursion·of·factorial·via·specialization··75 <p>end·of·recursion·of·factorial·via·specialization··
76 ·<a·href="a01920.html#details">More...</a></p>76 ·<a·href="a01920.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
80 Static·Public·Attributes</h2></td></tr>80 Static·Public·Attributes</h2></td></tr>
81 <tr·class="memitem:a99ca49c05e13fcd5502c745b69b55e6d"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01920.html#a99ca49c05e13fcd5502c745b69b55e6d">factorial</a>·=·1</td></tr>81 <tr·class="memitem:a99ca49c05e13fcd5502c745b69b55e6d"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01920.html#a99ca49c05e13fcd5502c745b69b55e6d">factorial</a>·=·1</td></tr>
82 <tr·class="separator:a99ca49c05e13fcd5502c745b69b55e6d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a99ca49c05e13fcd5502c745b69b55e6d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 105, 15 lines modifiedOffset 105, 15 lines modified
105 ··</tr>105 ··</tr>
106 </table>106 </table>
107 </div><div·class="memdoc">107 </div><div·class="memdoc">
  
108 </div>108 </div>
109 </div>109 </div>
110 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>110 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
111 <li><a·class="el"·href="a00119_source.html">math.hh</a></li>111 <li><a·class="el"·href="a00281_source.html">math.hh</a></li>
112 </ul>112 </ul>
113 </div><!--·contents·-->113 </div><!--·contents·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <hr·class="footer"/><address·class="footer"><small>115 <hr·class="footer"/><address·class="footer"><small>
116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
117 </small></address>117 </small></address>
118 </body>118 </body>
1.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a01928.html
    
Offset 69, 19 lines modifiedOffset 69, 19 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::MathOverloads::ADLTag·Struct·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::MathOverloads::ADLTag·Struct·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.··72 <p>Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.··
73 ·<a·href="a01928.html#details">More...</a></p>73 ·<a·href="a01928.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><p·>Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.·</p>76 <div·class="textblock"><p·>Tag·to·make·sure·the·functions·in·this·namespace·can·be·found·by·ADL.·</p>
77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
78 <li><a·class="el"·href="a00119_source.html">math.hh</a></li>78 <li><a·class="el"·href="a00281_source.html">math.hh</a></li>
79 </ul>79 </ul>
80 </div><!--·contents·-->80 </div><!--·contents·-->
81 <!--·start·footer·part·-->81 <!--·start·footer·part·-->
82 <hr·class="footer"/><address·class="footer"><small>82 <hr·class="footer"/><address·class="footer"><small>
83 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.483 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
84 </small></address>84 </small></address>
85 </body>85 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a01932.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="a01929.html">List·of·all·members</a>··</div>71 <a·href="a01929.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::MathImpl::isUnorderedImpl·Struct·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::MathImpl::isUnorderedImpl·Struct·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00119_source.html">dune/common/math.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/math.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
78 Public·Member·Functions</h2></td></tr>78 Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a8d23d823bd25c412130cc47608870676"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>79 <tr·class="memitem:a8d23d823bd25c412130cc47608870676"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
80 <tr·class="memitem:a8d23d823bd25c412130cc47608870676"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01932.html#a8d23d823bd25c412130cc47608870676">operator()</a>·(const·T·&amp;t1,·const·T·&amp;t2)·const</td></tr>80 <tr·class="memitem:a8d23d823bd25c412130cc47608870676"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a01932.html#a8d23d823bd25c412130cc47608870676">operator()</a>·(const·T·&amp;t1,·const·T·&amp;t2)·const</td></tr>
81 <tr·class="separator:a8d23d823bd25c412130cc47608870676"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:a8d23d823bd25c412130cc47608870676"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table>82 </table>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 ··</tr>117 ··</tr>
118 </table>118 </table>
119 </div><div·class="memdoc">119 </div><div·class="memdoc">
  
120 </div>120 </div>
121 </div>121 </div>
122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
123 <li><a·class="el"·href="a00119_source.html">math.hh</a></li>123 <li><a·class="el"·href="a00281_source.html">math.hh</a></li>
124 </ul>124 </ul>
125 </div><!--·contents·-->125 </div><!--·contents·-->
126 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
129 </small></address>129 </small></address>
130 </body>130 </body>
1.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a01968.html
    
Offset 66, 17 lines modifiedOffset 66, 17 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::DenseMatVecTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/matvectraits.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00290_source.html">dune/common/matvectraits.hh</a>&gt;</code></p>
73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
74 <li><a·class="el"·href="a00254_source.html">matvectraits.hh</a></li>74 <li><a·class="el"·href="a00290_source.html">matvectraits.hh</a></li>
75 </ul>75 </ul>
76 </div><!--·contents·-->76 </div><!--·contents·-->
77 <!--·start·footer·part·-->77 <!--·start·footer·part·-->
78 <hr·class="footer"/><address·class="footer"><small>78 <hr·class="footer"/><address·class="footer"><small>
79 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.479 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
80 </small></address>80 </small></address>
81 </body>81 </body>
1.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a01984.html
    
Offset 66, 17 lines modifiedOffset 66, 17 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::No_Comm·Struct·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::No_Comm·Struct·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00368_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>
73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
74 <li><a·class="el"·href="a00023_source.html">communication.hh</a></li>74 <li><a·class="el"·href="a00368_source.html">communication.hh</a></li>
75 </ul>75 </ul>
76 </div><!--·contents·-->76 </div><!--·contents·-->
77 <!--·start·footer·part·-->77 <!--·start·footer·part·-->
78 <hr·class="footer"/><address·class="footer"><small>78 <hr·class="footer"/><address·class="footer"><small>
79 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.479 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
80 </small></address>80 </small></address>
81 </body>81 </body>
2.62 KB
./usr/share/doc/libdune-common-doc/doxygen/a01988.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Communication&lt;·Communicator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Communication&lt;·Communicator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Collective·communication·interface·and·sequential·default·implementation.··75 <p>Collective·communication·interface·and·sequential·default·implementation.··
76 ·<a·href="a01988.html#details">More...</a></p>76 ·<a·href="a01988.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00023_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00368_source.html">dune/common/parallel/communication.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01988.html#af9873f31f9e81114b4edcc50b01b0a3c">Communication</a>·()</td></tr>81 <tr·class="memitem:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01988.html#af9873f31f9e81114b4edcc50b01b0a3c">Communication</a>·()</td></tr>
82 <tr·class="memdesc:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·default·object.··<a·href="a01988.html#af9873f31f9e81114b4edcc50b01b0a3c">More...</a><br·/></td></tr>82 <tr·class="memdesc:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Construct·default·object.··<a·href="a01988.html#af9873f31f9e81114b4edcc50b01b0a3c">More...</a><br·/></td></tr>
83 <tr·class="separator:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:af9873f31f9e81114b4edcc50b01b0a3c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a8e0e5bd2a26b9faa9e838f6511251299"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01988.html#a8e0e5bd2a26b9faa9e838f6511251299">Communication</a>·(const·Communicator·&amp;)</td></tr>84 <tr·class="memitem:a8e0e5bd2a26b9faa9e838f6511251299"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a01988.html#a8e0e5bd2a26b9faa9e838f6511251299">Communication</a>·(const·Communicator·&amp;)</td></tr>
Offset 1819, 15 lines modifiedOffset 1819, 15 lines modified
  
1819 <p>Compute·the·sum·over·all·processes·for·each·component·of·an·array·and·return·the·result·in·every·process.·Assumes·that·T·has·an·operator+.·</p>1819 <p>Compute·the·sum·over·all·processes·for·each·component·of·an·array·and·return·the·result·in·every·process.·Assumes·that·T·has·an·operator+.·</p>
1820 <dl·class="section·return"><dt>Returns</dt><dd>MPI_SUCCESS·(==0)·if·successful,·an·MPI·error·code·otherwise·</dd></dl>1820 <dl·class="section·return"><dt>Returns</dt><dd>MPI_SUCCESS·(==0)·if·successful,·an·MPI·error·code·otherwise·</dd></dl>
  
1821 </div>1821 </div>
1822 </div>1822 </div>
1823 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1823 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1824 <li><a·class="el"·href="a00023_source.html">communication.hh</a></li>1824 <li><a·class="el"·href="a00368_source.html">communication.hh</a></li>
1825 </ul>1825 </ul>
1826 </div><!--·contents·-->1826 </div><!--·contents·-->
1827 <!--·start·footer·part·-->1827 <!--·start·footer·part·-->
1828 <hr·class="footer"/><address·class="footer"><small>1828 <hr·class="footer"/><address·class="footer"><small>
1829 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.41829 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
1830 </small></address>1830 </small></address>
1831 </body>1831 </body>
1.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a01992.html
    
Offset 69, 20 lines modifiedOffset 69, 20 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::SizeOne·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::SizeOne·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.··72 <p>Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.··
73 ·<a·href="a01992.html#details">More...</a></p>73 ·<a·href="a01992.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><p·>Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.·</p>76 <div·class="textblock"><p·>Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.·</p>
77 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a01996.html"·title="Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·a...">VariableSize</a>·</dd></dl>77 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a01996.html"·title="Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·a...">VariableSize</a>·</dd></dl>
78 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>78 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
79 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>79 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
80 </ul>80 </ul>
81 </div><!--·contents·-->81 </div><!--·contents·-->
82 <!--·start·footer·part·-->82 <!--·start·footer·part·-->
83 <hr·class="footer"/><address·class="footer"><small>83 <hr·class="footer"/><address·class="footer"><small>
84 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.484 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
85 </small></address>85 </small></address>
86 </body>86 </body>
1.81 KB
./usr/share/doc/libdune-common-doc/doxygen/a01996.html
    
Offset 69, 20 lines modifiedOffset 69, 20 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::VariableSize·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::VariableSize·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.··72 <p>Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.··
73 ·<a·href="a01996.html#details">More...</a></p>73 ·<a·href="a01996.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><p·>Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.·</p>76 <div·class="textblock"><p·>Flag·for·marking·indexed·data·structures·where·the·data·at·each·index·may·be·a·variable·multiple·of·another·type.·</p>
77 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a01992.html"·title="Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.">SizeOne</a>·</dd></dl>77 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a01992.html"·title="Flag·for·marking·indexed·data·structures·where·data·at·each·index·is·of·the·same·size.">SizeOne</a>·</dd></dl>
78 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>78 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
79 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>79 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
80 </ul>80 </ul>
81 </div><!--·contents·-->81 </div><!--·contents·-->
82 <!--·start·footer·part·-->82 <!--·start·footer·part·-->
83 <hr·class="footer"/><address·class="footer"><small>83 <hr·class="footer"/><address·class="footer"><small>
84 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.484 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
85 </small></address>85 </small></address>
86 </body>86 </body>
2.36 KB
./usr/share/doc/libdune-common-doc/doxygen/a02000.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Default·policy·used·for·communicating·an·indexed·type.··77 <p>Default·policy·used·for·communicating·an·indexed·type.··
78 ·<a·href="a02000.html#details">More...</a></p>78 ·<a·href="a02000.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
80 <table·class="memberdecls">80 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
82 Classes</h2></td></tr>82 Classes</h2></td></tr>
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02012.html">CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&gt;·&gt;</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02012.html">CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&gt;·&gt;</a></td></tr>
84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02016.html">CommunicationError</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02016.html">CommunicationError</a></td></tr>
86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Error·thrown·if·there·was·a·problem·with·the·communication.··<a·href="a02016.html#details">More...</a><br·/></td></tr>86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Error·thrown·if·there·was·a·problem·with·the·communication.··<a·href="a02016.html#details">More...</a><br·/></td></tr>
Offset 264, 15 lines modifiedOffset 264, 15 lines modified
  
264 <p>Get·the·number·of·primitive·elements·at·that·index.·</p>264 <p>Get·the·number·of·primitive·elements·at·that·index.·</p>
265 <p·>The·default·always·returns·1.·</p>265 <p·>The·default·always·returns·1.·</p>
  
266 </div>266 </div>
267 </div>267 </div>
268 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>268 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
269 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>269 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
270 </ul>270 </ul>
271 </div><!--·contents·-->271 </div><!--·contents·-->
272 <!--·start·footer·part·-->272 <!--·start·footer·part·-->
273 <hr·class="footer"/><address·class="footer"><small>273 <hr·class="footer"/><address·class="footer"><small>
274 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4274 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
275 </small></address>275 </small></address>
276 </body>276 </body>
878 B
./usr/share/doc/libdune-common-doc/doxygen/a02004.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::FieldVector&lt;·K,·n·&gt;·Class·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::FieldVector&lt;·K,·n·&gt;·Class·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
72 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>72 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
73 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>73 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
74 </ul>74 </ul>
75 </div><!--·contents·-->75 </div><!--·contents·-->
76 <!--·start·footer·part·-->76 <!--·start·footer·part·-->
77 <hr·class="footer"/><address·class="footer"><small>77 <hr·class="footer"/><address·class="footer"><small>
78 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.478 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
79 </small></address>79 </small></address>
80 </body>80 </body>
886 B
./usr/share/doc/libdune-common-doc/doxygen/a02008.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::VariableBlockVector&lt;·B,·A·&gt;·Class·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::VariableBlockVector&lt;·B,·A·&gt;·Class·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
72 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>72 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
73 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>73 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
74 </ul>74 </ul>
75 </div><!--·contents·-->75 </div><!--·contents·-->
76 <!--·start·footer·part·-->76 <!--·start·footer·part·-->
77 <hr·class="footer"/><address·class="footer"><small>77 <hr·class="footer"/><address·class="footer"><small>
78 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.478 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
79 </small></address>79 </small></address>
80 </body>80 </body>
2.36 KB
./usr/share/doc/libdune-common-doc/doxygen/a02012.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
72 <a·href="a02009.html">List·of·all·members</a>··</div>72 <a·href="a02009.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&gt;·&gt;·Struct·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CommPolicy&lt;·VariableBlockVector&lt;·FieldVector&lt;·K,·n·&gt;,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
79 Public·Types</h2></td></tr>79 Public·Types</h2></td></tr>
80 <tr·class="memitem:a63316a3f87f4edf2011ffa151e1abd73"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02008.html">VariableBlockVector</a>&lt;·<a·class="el"·href="a02004.html">FieldVector</a>&lt;·K,·n·&gt;,·A·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02012.html#a63316a3f87f4edf2011ffa151e1abd73">Type</a></td></tr>80 <tr·class="memitem:a63316a3f87f4edf2011ffa151e1abd73"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02008.html">VariableBlockVector</a>&lt;·<a·class="el"·href="a02004.html">FieldVector</a>&lt;·K,·n·&gt;,·A·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02012.html#a63316a3f87f4edf2011ffa151e1abd73">Type</a></td></tr>
81 <tr·class="separator:a63316a3f87f4edf2011ffa151e1abd73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:a63316a3f87f4edf2011ffa151e1abd73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:af196fdca100c252ea392e44d2cdf02b8"><td·class="memItemLeft"·align="right"·valign="top">typedef·Type::B&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02012.html#af196fdca100c252ea392e44d2cdf02b8">IndexedType</a></td></tr>82 <tr·class="memitem:af196fdca100c252ea392e44d2cdf02b8"><td·class="memItemLeft"·align="right"·valign="top">typedef·Type::B&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02012.html#af196fdca100c252ea392e44d2cdf02b8">IndexedType</a></td></tr>
83 <tr·class="separator:af196fdca100c252ea392e44d2cdf02b8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:af196fdca100c252ea392e44d2cdf02b8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 225, 15 lines modifiedOffset 225, 15 lines modified
225 ··</tr>225 ··</tr>
226 </table>226 </table>
227 </div><div·class="memdoc">227 </div><div·class="memdoc">
  
228 </div>228 </div>
229 </div>229 </div>
230 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>230 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
231 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>231 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
232 </ul>232 </ul>
233 </div><!--·contents·-->233 </div><!--·contents·-->
234 <!--·start·footer·part·-->234 <!--·start·footer·part·-->
235 <hr·class="footer"/><address·class="footer"><small>235 <hr·class="footer"/><address·class="footer"><small>
236 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4236 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
237 </small></address>237 </small></address>
238 </body>238 </body>
2.48 KB
./usr/share/doc/libdune-common-doc/doxygen/a02016.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CommunicationError·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CommunicationError·Class·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Error·thrown·if·there·was·a·problem·with·the·communication.··76 <p>Error·thrown·if·there·was·a·problem·with·the·communication.··
77 ·<a·href="a02016.html#details">More...</a></p>77 ·<a·href="a02016.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::CommPolicy&lt;·V·&gt;::CommunicationError:</div>80 Inheritance·diagram·for·Dune::CommPolicy&lt;·V·&gt;::CommunicationError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02015.png"·border="0"·usemap="#a_dune_1_1_comm_policy_3_01_v_01_4_1_1_communication_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02015.png"·border="0"·usemap="#a_dune_1_1_comm_policy_3_01_v_01_4_1_1_communication_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_comm_policy_3_01_v_01_4_1_1_communication_error_inherit__map"·id="a_dune_1_1_comm_policy_3_01_v_01_4_1_1_communication_error_inherit__map">83 <map·name="a_dune_1_1_comm_policy_3_01_v_01_4_1_1_communication_error_inherit__map"·id="a_dune_1_1_comm_policy_3_01_v_01_4_1_1_communication_error_inherit__map">
84 <area·shape="rect"·title="Error·thrown·if·there·was·a·problem·with·the·communication."·alt=""·coords="5,229,167,271"/>84 <area·shape="rect"·title="Error·thrown·if·there·was·a·problem·with·the·communication."·alt=""·coords="5,229,167,271"/>
85 <area·shape="rect"·href="a01556.html"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="35,155,137,181"/>85 <area·shape="rect"·href="a01556.html"·title="Default·exception·class·for·I/O·errors."·alt=""·coords="35,155,137,181"/>
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·V&gt;<br·/>112 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·V&gt;<br·/>
113 class·Dune::CommPolicy&lt;·V·&gt;::CommunicationError</div><p·>Error·thrown·if·there·was·a·problem·with·the·communication.·</p>113 class·Dune::CommPolicy&lt;·V·&gt;::CommunicationError</div><p·>Error·thrown·if·there·was·a·problem·with·the·communication.·</p>
114 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>114 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>115 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
116 </ul>116 </ul>
117 </div><!--·contents·-->117 </div><!--·contents·-->
118 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>119 <hr·class="footer"/><address·class="footer"><small>
120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
121 </small></address>121 </small></address>
122 </body>122 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a02020.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CopyGatherScatter&lt;·T·&gt;·Struct·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::CommPolicy&lt;·V·&gt;::CopyGatherScatter&lt;·T·&gt;·Struct·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>GatherScatter·default·implementation·that·just·copies·data.··76 <p>GatherScatter·default·implementation·that·just·copies·data.··
77 ·<a·href="a02020.html#details">More...</a></p>77 ·<a·href="a02020.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a75f3ea805efadcb366dc402490a20929"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02000.html">CommPolicy</a>&lt;·T·&gt;::IndexedType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02020.html#a75f3ea805efadcb366dc402490a20929">IndexedType</a></td></tr>82 <tr·class="memitem:a75f3ea805efadcb366dc402490a20929"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02000.html">CommPolicy</a>&lt;·T·&gt;::IndexedType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02020.html#a75f3ea805efadcb366dc402490a20929">IndexedType</a></td></tr>
83 <tr·class="separator:a75f3ea805efadcb366dc402490a20929"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a75f3ea805efadcb366dc402490a20929"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 198, 15 lines modifiedOffset 198, 15 lines modified
198 ··</tr>198 ··</tr>
199 </table>199 </table>
200 </div><div·class="memdoc">200 </div><div·class="memdoc">
  
201 </div>201 </div>
202 </div>202 </div>
203 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>203 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
204 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>204 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
205 </ul>205 </ul>
206 </div><!--·contents·-->206 </div><!--·contents·-->
207 <!--·start·footer·part·-->207 <!--·start·footer·part·-->
208 <hr·class="footer"/><address·class="footer"><small>208 <hr·class="footer"/><address·class="footer"><small>
209 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4209 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
210 </small></address>210 </small></address>
211 </body>211 </body>
2.43 KB
./usr/share/doc/libdune-common-doc/doxygen/a02024.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::BufferedCommunicator·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::BufferedCommunicator·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be·send·or·received.··76 <p>A·communicator·that·uses·buffers·to·gather·and·scatter·the·data·to·be·send·or·received.··
77 ·<a·href="a02024.html#details">More...</a></p>77 ·<a·href="a02024.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00362_source.html">dune/common/parallel/communicator.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
81 Public·Member·Functions</h2></td></tr>81 Public·Member·Functions</h2></td></tr>
82 <tr·class="memitem:a1f300848507ebf916d81c4408ddc1822"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02024.html#a1f300848507ebf916d81c4408ddc1822">BufferedCommunicator</a>·()</td></tr>82 <tr·class="memitem:a1f300848507ebf916d81c4408ddc1822"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02024.html#a1f300848507ebf916d81c4408ddc1822">BufferedCommunicator</a>·()</td></tr>
83 <tr·class="memdesc:a1f300848507ebf916d81c4408ddc1822"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.··<a·href="a02024.html#a1f300848507ebf916d81c4408ddc1822">More...</a><br·/></td></tr>83 <tr·class="memdesc:a1f300848507ebf916d81c4408ddc1822"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.··<a·href="a02024.html#a1f300848507ebf916d81c4408ddc1822">More...</a><br·/></td></tr>
84 <tr·class="separator:a1f300848507ebf916d81c4408ddc1822"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a1f300848507ebf916d81c4408ddc1822"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:acfb64d823c219d4947f6a172e422daab"><td·class="memTemplParams"·colspan="2">template&lt;class·Data·,·class·<a·class="el"·href="a02148.html">Interface</a>·&gt;·</td></tr>85 <tr·class="memitem:acfb64d823c219d4947f6a172e422daab"><td·class="memTemplParams"·colspan="2">template&lt;class·Data·,·class·<a·class="el"·href="a02148.html">Interface</a>·&gt;·</td></tr>
Offset 429, 15 lines modifiedOffset 429, 15 lines modified
429 </div><div·class="memdoc">429 </div><div·class="memdoc">
  
430 <p>Free·the·allocated·memory·(i.e.·buffers·and·message·information.·</p>430 <p>Free·the·allocated·memory·(i.e.·buffers·and·message·information.·</p>
  
431 </div>431 </div>
432 </div>432 </div>
433 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>433 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
434 <li><a·class="el"·href="a00056_source.html">communicator.hh</a></li>434 <li><a·class="el"·href="a00362_source.html">communicator.hh</a></li>
435 </ul>435 </ul>
436 </div><!--·contents·-->436 </div><!--·contents·-->
437 <!--·start·footer·part·-->437 <!--·start·footer·part·-->
438 <hr·class="footer"/><address·class="footer"><small>438 <hr·class="footer"/><address·class="footer"><small>
439 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4439 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
440 </small></address>440 </small></address>
441 </body>441 </body>
3.21 KB
./usr/share/doc/libdune-common-doc/doxygen/a02068.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::InvalidFutureException·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::InvalidFutureException·Class·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.··76 <p>This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.··
77 ·<a·href="a02068.html#details">More...</a></p>77 ·<a·href="a02068.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00020_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::InvalidFutureException:</div>80 Inheritance·diagram·for·Dune::InvalidFutureException:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02067.png"·border="0"·usemap="#a_dune_1_1_invalid_future_exception_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02067.png"·border="0"·usemap="#a_dune_1_1_invalid_future_exception_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_invalid_future_exception_inherit__map"·id="a_dune_1_1_invalid_future_exception_inherit__map">83 <map·name="a_dune_1_1_invalid_future_exception_inherit__map"·id="a_dune_1_1_invalid_future_exception_inherit__map">
84 <area·shape="rect"·title="This·exception·is·thrown·when·ready(),·wait()·or·get()·is·called·on·an·invalid·future...."·alt=""·coords="5,229,197,256"/>84 <area·shape="rect"·title="This·exception·is·thrown·when·ready(),·wait()·or·get()·is·called·on·an·invalid·future...."·alt=""·coords="5,229,197,256"/>
85 <area·shape="rect"·href="a01580.html"·title="Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function..."·alt=""·coords="8,155,195,181"/>85 <area·shape="rect"·href="a01580.html"·title="Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function..."·alt=""·coords="8,155,195,181"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.·</p>112 <div·class="textblock"><p·>This·exception·is·thrown·when·<code>ready()</code>,·<code>wait()</code>·or·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·on·an·invalid·future.·A·future·is·valid·until·<code><a·class="el"·href="a00425.html#a422c8e50ed4f40b534187b8fb83fbf3d">get()</a></code>·is·called·and·if·it·is·not·default-constructed·and·it·was·not·moved·from.·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00020_source.html">future.hh</a></li>114 <li><a·class="el"·href="a00350_source.html">future.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a02072.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::PseudoFuture&lt;·T·&gt;·Class·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PseudoFuture&lt;·T·&gt;·Class·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>A·wrapper-class·for·a·object·which·is·ready·immediately.··75 <p>A·wrapper-class·for·a·object·which·is·ready·immediately.··
76 ·<a·href="a02072.html#details">More...</a></p>76 ·<a·href="a02072.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00020_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:ad2af2f7c1f6c313ac03e170e56c27f66"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02072.html#ad2af2f7c1f6c313ac03e170e56c27f66">PseudoFuture</a>·()</td></tr>81 <tr·class="memitem:ad2af2f7c1f6c313ac03e170e56c27f66"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02072.html#ad2af2f7c1f6c313ac03e170e56c27f66">PseudoFuture</a>·()</td></tr>
82 <tr·class="separator:ad2af2f7c1f6c313ac03e170e56c27f66"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ad2af2f7c1f6c313ac03e170e56c27f66"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:a5f37cc21afd107dec16f778d95dbf03c"><td·class="memTemplParams"·colspan="2">template&lt;class·U·&gt;·</td></tr>83 <tr·class="memitem:a5f37cc21afd107dec16f778d95dbf03c"><td·class="memTemplParams"·colspan="2">template&lt;class·U·&gt;·</td></tr>
84 <tr·class="memitem:a5f37cc21afd107dec16f778d95dbf03c"><td·class="memTemplItemLeft"·align="right"·valign="top">&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02072.html#a5f37cc21afd107dec16f778d95dbf03c">PseudoFuture</a>·(U·&amp;&amp;u)</td></tr>84 <tr·class="memitem:a5f37cc21afd107dec16f778d95dbf03c"><td·class="memTemplItemLeft"·align="right"·valign="top">&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02072.html#a5f37cc21afd107dec16f778d95dbf03c">PseudoFuture</a>·(U·&amp;&amp;u)</td></tr>
Offset 261, 15 lines modifiedOffset 261, 15 lines modified
261 ··</tr>261 ··</tr>
262 </table>262 </table>
263 </div><div·class="memdoc">263 </div><div·class="memdoc">
  
264 </div>264 </div>
265 </div>265 </div>
266 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>266 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
267 <li><a·class="el"·href="a00020_source.html">future.hh</a></li>267 <li><a·class="el"·href="a00350_source.html">future.hh</a></li>
268 </ul>268 </ul>
269 </div><!--·contents·-->269 </div><!--·contents·-->
270 <!--·start·footer·part·-->270 <!--·start·footer·part·-->
271 <hr·class="footer"/><address·class="footer"><small>271 <hr·class="footer"/><address·class="footer"><small>
272 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4272 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
273 </small></address>273 </small></address>
274 </body>274 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a02076.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::Future&lt;·T·&gt;·Class·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::Future&lt;·T·&gt;·Class·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object·satisfying·the·interface·of·FutureBase.··76 <p>Type-erasure·for·future-like·objects.·A·future-like·object·is·a·object·satisfying·the·interface·of·FutureBase.··
77 ·<a·href="a02076.html#details">More...</a></p>77 ·<a·href="a02076.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00020_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
81 Public·Member·Functions</h2></td></tr>81 Public·Member·Functions</h2></td></tr>
82 <tr·class="memitem:adada4a4ddbf330c0be748bf754ba8d80"><td·class="memTemplParams"·colspan="2">template&lt;class·F·&gt;·</td></tr>82 <tr·class="memitem:adada4a4ddbf330c0be748bf754ba8d80"><td·class="memTemplParams"·colspan="2">template&lt;class·F·&gt;·</td></tr>
83 <tr·class="memitem:adada4a4ddbf330c0be748bf754ba8d80"><td·class="memTemplItemLeft"·align="right"·valign="top">&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02076.html#adada4a4ddbf330c0be748bf754ba8d80">Future</a>·(F·&amp;&amp;f)</td></tr>83 <tr·class="memitem:adada4a4ddbf330c0be748bf754ba8d80"><td·class="memTemplItemLeft"·align="right"·valign="top">&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02076.html#adada4a4ddbf330c0be748bf754ba8d80">Future</a>·(F·&amp;&amp;f)</td></tr>
84 <tr·class="separator:adada4a4ddbf330c0be748bf754ba8d80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:adada4a4ddbf330c0be748bf754ba8d80"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:a28ce185948d5dfc6ae38e53ea0200cfd"><td·class="memTemplParams"·colspan="2">template&lt;class·U·,·std::enable_if_t&lt;·std::is_same&lt;·U,·T·&gt;::value·&amp;&amp;!std::is_same&lt;·T,·void·&gt;::value·&gt;·&gt;·</td></tr>85 <tr·class="memitem:a28ce185948d5dfc6ae38e53ea0200cfd"><td·class="memTemplParams"·colspan="2">template&lt;class·U·,·std::enable_if_t&lt;·std::is_same&lt;·U,·T·&gt;::value·&amp;&amp;!std::is_same&lt;·T,·void·&gt;::value·&gt;·&gt;·</td></tr>
Offset 325, 15 lines modifiedOffset 325, 15 lines modified
325 ··</table>325 ··</table>
326 ··</dd>326 ··</dd>
327 </dl>327 </dl>
  
328 </div>328 </div>
329 </div>329 </div>
330 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>330 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
331 <li><a·class="el"·href="a00020_source.html">future.hh</a></li>331 <li><a·class="el"·href="a00350_source.html">future.hh</a></li>
332 </ul>332 </ul>
333 </div><!--·contents·-->333 </div><!--·contents·-->
334 <!--·start·footer·part·-->334 <!--·start·footer·part·-->
335 <hr·class="footer"/><address·class="footer"><small>335 <hr·class="footer"/><address·class="footer"><small>
336 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4336 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
337 </small></address>337 </small></address>
338 </body>338 </body>
2.18 KB
./usr/share/doc/libdune-common-doc/doxygen/a02088.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="a02085.html">List·of·all·members</a>··</div>71 <a·href="a02085.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PseudoFuture&lt;·void·&gt;·Class·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PseudoFuture&lt;·void·&gt;·Class·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00020_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00350_source.html">dune/common/parallel/future.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
78 Public·Member·Functions</h2></td></tr>78 Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a73b8e4e78cbe2bd5ec76e717c1dba863"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02088.html#a73b8e4e78cbe2bd5ec76e717c1dba863">PseudoFuture</a>·(bool·<a·class="el"·href="a02088.html#a56ac4c6b31ef1e690f1449b91e460c28">valid</a>=false)</td></tr>79 <tr·class="memitem:a73b8e4e78cbe2bd5ec76e717c1dba863"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02088.html#a73b8e4e78cbe2bd5ec76e717c1dba863">PseudoFuture</a>·(bool·<a·class="el"·href="a02088.html#a56ac4c6b31ef1e690f1449b91e460c28">valid</a>=false)</td></tr>
80 <tr·class="separator:a73b8e4e78cbe2bd5ec76e717c1dba863"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a73b8e4e78cbe2bd5ec76e717c1dba863"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:ae37adc535a1a8c5d67d8555d7de0293f"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02088.html#ae37adc535a1a8c5d67d8555d7de0293f">wait</a>·()</td></tr>81 <tr·class="memitem:ae37adc535a1a8c5d67d8555d7de0293f"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02088.html#ae37adc535a1a8c5d67d8555d7de0293f">wait</a>·()</td></tr>
82 <tr·class="separator:ae37adc535a1a8c5d67d8555d7de0293f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ae37adc535a1a8c5d67d8555d7de0293f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 213, 15 lines modifiedOffset 213, 15 lines modified
213 ··</tr>213 ··</tr>
214 </table>214 </table>
215 </div><div·class="memdoc">215 </div><div·class="memdoc">
  
216 </div>216 </div>
217 </div>217 </div>
218 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>218 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
219 <li><a·class="el"·href="a00020_source.html">future.hh</a></li>219 <li><a·class="el"·href="a00350_source.html">future.hh</a></li>
220 </ul>220 </ul>
221 </div><!--·contents·-->221 </div><!--·contents·-->
222 <!--·start·footer·part·-->222 <!--·start·footer·part·-->
223 <hr·class="footer"/><address·class="footer"><small>223 <hr·class="footer"/><address·class="footer"><small>
224 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4224 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
225 </small></address>225 </small></address>
226 </body>226 </body>
2.96 KB
./usr/share/doc/libdune-common-doc/doxygen/a02092.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::IndexPair&lt;·TG,·TL·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::IndexPair&lt;·TG,·TL·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·pair·consisting·of·a·global·and·local·index.··76 <p>A·pair·consisting·of·a·global·and·local·index.··
77 ·<a·href="a02092.html#details">More...</a></p>77 ·<a·href="a02092.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:gac7ba161114dcda480ec1e03fade5d887"><td·class="memItemLeft"·align="right"·valign="top">typedef·TG&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gac7ba161114dcda480ec1e03fade5d887">GlobalIndex</a></td></tr>82 <tr·class="memitem:gac7ba161114dcda480ec1e03fade5d887"><td·class="memItemLeft"·align="right"·valign="top">typedef·TG&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gac7ba161114dcda480ec1e03fade5d887">GlobalIndex</a></td></tr>
83 <tr·class="memdesc:gac7ba161114dcda480ec1e03fade5d887"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·type·of·the·global·index.··<a·href="a00416.html#gac7ba161114dcda480ec1e03fade5d887">More...</a><br·/></td></tr>83 <tr·class="memdesc:gac7ba161114dcda480ec1e03fade5d887"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·type·of·the·global·index.··<a·href="a00416.html#gac7ba161114dcda480ec1e03fade5d887">More...</a><br·/></td></tr>
84 <tr·class="separator:gac7ba161114dcda480ec1e03fade5d887"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:gac7ba161114dcda480ec1e03fade5d887"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:ga43eed1b88f2bc2e0b683465638df39fb"><td·class="memItemLeft"·align="right"·valign="top">typedef·TL&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga43eed1b88f2bc2e0b683465638df39fb">LocalIndex</a></td></tr>85 <tr·class="memitem:ga43eed1b88f2bc2e0b683465638df39fb"><td·class="memItemLeft"·align="right"·valign="top">typedef·TL&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga43eed1b88f2bc2e0b683465638df39fb">LocalIndex</a></td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 <tr·class="memdesc:ga98503056ecd6fa927cd9189fa41f91a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Set·the·local·index.··<a·href="a00416.html#ga98503056ecd6fa927cd9189fa41f91a2">More...</a><br·/></td></tr>112 <tr·class="memdesc:ga98503056ecd6fa927cd9189fa41f91a2"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Set·the·local·index.··<a·href="a00416.html#ga98503056ecd6fa927cd9189fa41f91a2">More...</a><br·/></td></tr>
113 <tr·class="separator:ga98503056ecd6fa927cd9189fa41f91a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:ga98503056ecd6fa927cd9189fa41f91a2"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table>114 </table>
115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>115 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
116 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·TG,·class·TL&gt;<br·/>116 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·TG,·class·TL&gt;<br·/>
117 class·Dune::IndexPair&lt;·TG,·TL·&gt;</div><p·>A·pair·consisting·of·a·global·and·local·index.·</p>117 class·Dune::IndexPair&lt;·TG,·TL·&gt;</div><p·>A·pair·consisting·of·a·global·and·local·index.·</p>
118 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>118 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00035_source.html">indexset.hh</a></li>119 <li><a·class="el"·href="a00314_source.html">indexset.hh</a></li>
120 </ul>120 </ul>
121 </div><!--·contents·-->121 </div><!--·contents·-->
122 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>123 <hr·class="footer"/><address·class="footer"><small>
124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
125 </small></address>125 </small></address>
126 </body>126 </body>
2.95 KB
./usr/share/doc/libdune-common-doc/doxygen/a02096.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::InvalidIndexSetState·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::InvalidIndexSetState·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Exception</a>·indicating·that·the·index·set·is·not·in·the·expected·state.··76 <p><a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Exception</a>·indicating·that·the·index·set·is·not·in·the·expected·state.··
77 ·<a·href="a02096.html#details">More...</a></p>77 ·<a·href="a02096.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::InvalidIndexSetState:</div>80 Inheritance·diagram·for·Dune::InvalidIndexSetState:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02095.png"·border="0"·usemap="#a_dune_1_1_invalid_index_set_state_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02095.png"·border="0"·usemap="#a_dune_1_1_invalid_index_set_state_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_invalid_index_set_state_inherit__map"·id="a_dune_1_1_invalid_index_set_state_inherit__map">83 <map·name="a_dune_1_1_invalid_index_set_state_inherit__map"·id="a_dune_1_1_invalid_index_set_state_inherit__map">
84 <area·shape="rect"·title="Exception·indicating·that·the·index·set·is·not·in·the·expected·state."·alt=""·coords="8,229,189,256"/>84 <area·shape="rect"·title="Exception·indicating·that·the·index·set·is·not·in·the·expected·state."·alt=""·coords="8,229,189,256"/>
85 <area·shape="rect"·href="a01580.html"·title="Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function..."·alt=""·coords="5,155,192,181"/>85 <area·shape="rect"·href="a01580.html"·title="Default·exception·if·a·function·was·called·while·the·object·is·not·in·a·valid·state·for·that·function..."·alt=""·coords="5,155,192,181"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·><a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Exception</a>·indicating·that·the·index·set·is·not·in·the·expected·state.·</p>112 <div·class="textblock"><p·><a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Exception</a>·indicating·that·the·index·set·is·not·in·the·expected·state.·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00035_source.html">indexset.hh</a></li>114 <li><a·class="el"·href="a00314_source.html">indexset.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
3.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a02100.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::GlobalLookupIndexSet&lt;·I·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::GlobalLookupIndexSet&lt;·I·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Decorates·an·index·set·with·the·possibility·to·find·a·global·index·that·is·mapped·to·a·specific·local.··76 <p>Decorates·an·index·set·with·the·possibility·to·find·a·global·index·that·is·mapped·to·a·specific·local.··
77 ·<a·href="a02100.html#details">More...</a></p>77 ·<a·href="a02100.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:ga7b244f68738204004286a1e6833ef95f"><td·class="memItemLeft"·align="right"·valign="top">typedef·I&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7b244f68738204004286a1e6833ef95f">ParallelIndexSet</a></td></tr>82 <tr·class="memitem:ga7b244f68738204004286a1e6833ef95f"><td·class="memItemLeft"·align="right"·valign="top">typedef·I&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga7b244f68738204004286a1e6833ef95f">ParallelIndexSet</a></td></tr>
83 <tr·class="memdesc:ga7b244f68738204004286a1e6833ef95f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·index·set.··<a·href="a00416.html#ga7b244f68738204004286a1e6833ef95f">More...</a><br·/></td></tr>83 <tr·class="memdesc:ga7b244f68738204004286a1e6833ef95f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·index·set.··<a·href="a00416.html#ga7b244f68738204004286a1e6833ef95f">More...</a><br·/></td></tr>
84 <tr·class="separator:ga7b244f68738204004286a1e6833ef95f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:ga7b244f68738204004286a1e6833ef95f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:ga8b7de52f424abbff8027cd528e1f0c58"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00416.html#ga80f93e9c02b5f29b011140b3a87d39af">ParallelIndexSet::LocalIndex</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga8b7de52f424abbff8027cd528e1f0c58">LocalIndex</a></td></tr>85 <tr·class="memitem:ga8b7de52f424abbff8027cd528e1f0c58"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00416.html#ga80f93e9c02b5f29b011140b3a87d39af">ParallelIndexSet::LocalIndex</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga8b7de52f424abbff8027cd528e1f0c58">LocalIndex</a></td></tr>
Offset 126, 15 lines modifiedOffset 126, 15 lines modified
126 <tr·class="memdesc:gabad98ca1db16608ebe19e78d5e7baf63"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·total·number·(public·and·nonpublic)·indices.··<a·href="a00416.html#gabad98ca1db16608ebe19e78d5e7baf63">More...</a><br·/></td></tr>126 <tr·class="memdesc:gabad98ca1db16608ebe19e78d5e7baf63"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·total·number·(public·and·nonpublic)·indices.··<a·href="a00416.html#gabad98ca1db16608ebe19e78d5e7baf63">More...</a><br·/></td></tr>
127 <tr·class="separator:gabad98ca1db16608ebe19e78d5e7baf63"><td·class="memSeparator"·colspan="2">&#160;</td></tr>127 <tr·class="separator:gabad98ca1db16608ebe19e78d5e7baf63"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
128 </table>128 </table>
129 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>129 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
130 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·I&gt;<br·/>130 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·I&gt;<br·/>
131 class·Dune::GlobalLookupIndexSet&lt;·I·&gt;</div><p·>Decorates·an·index·set·with·the·possibility·to·find·a·global·index·that·is·mapped·to·a·specific·local.·</p>131 class·Dune::GlobalLookupIndexSet&lt;·I·&gt;</div><p·>Decorates·an·index·set·with·the·possibility·to·find·a·global·index·that·is·mapped·to·a·specific·local.·</p>
132 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>132 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
133 <li><a·class="el"·href="a00035_source.html">indexset.hh</a></li>133 <li><a·class="el"·href="a00314_source.html">indexset.hh</a></li>
134 </ul>134 </ul>
135 </div><!--·contents·-->135 </div><!--·contents·-->
136 <!--·start·footer·part·-->136 <!--·start·footer·part·-->
137 <hr·class="footer"/><address·class="footer"><small>137 <hr·class="footer"/><address·class="footer"><small>
138 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4138 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
139 </small></address>139 </small></address>
140 </body>140 </body>
2.71 KB
./usr/share/doc/libdune-common-doc/doxygen/a02104.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.··78 <p>Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.··
79 ·<a·href="a02104.html#details">More...</a></p>79 ·<a·href="a02104.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
81 <div·class="dynheader">81 <div·class="dynheader">
82 Inheritance·diagram·for·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;:</div>82 Inheritance·diagram·for·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;:</div>
83 <div·class="dyncontent">83 <div·class="dyncontent">
84 <div·class="center"><img·src="a02103.png"·border="0"·usemap="#a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_inherit__map"·alt="Inheritance·graph"/></div>84 <div·class="center"><img·src="a02103.png"·border="0"·usemap="#a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_inherit__map"·alt="Inheritance·graph"/></div>
85 <map·name="a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_inherit__map"·id="a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_inherit__map">85 <map·name="a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_inherit__map"·id="a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_inherit__map">
86 <area·shape="rect"·title="Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices."·alt=""·coords="5,5,161,47"/>86 <area·shape="rect"·title="Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices."·alt=""·coords="5,5,161,47"/>
87 <area·shape="rect"·href="a02104.html"·title="·"·alt=""·coords="5,109,161,151"/>87 <area·shape="rect"·href="a02104.html"·title="·"·alt=""·coords="5,109,161,151"/>
Offset 178, 15 lines modifiedOffset 178, 15 lines modified
178 <tr·class="separator:ga01c36fd54680cc86b8cb7f6f0d2fdae4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>178 <tr·class="separator:ga01c36fd54680cc86b8cb7f6f0d2fdae4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
179 </table>179 </table>
180 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>180 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
181 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·TG,·typename·TL,·int·N·=·100&gt;<br·/>181 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·TG,·typename·TL,·int·N·=·100&gt;<br·/>
182 class·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;</div><p·>Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.·</p>182 class·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;</div><p·>Manager·class·for·the·mapping·between·local·indices·and·globally·unique·indices.·</p>
183 <p·>The·mapping·is·between·a·globally·unique·id·and·local·index.·The·local·index·is·consecutive·and·non·persistent·while·the·global·id·might·not·be·consecutive·but·definitely·is·persistent.·</p>183 <p·>The·mapping·is·between·a·globally·unique·id·and·local·index.·The·local·index·is·consecutive·and·non·persistent·while·the·global·id·might·not·be·consecutive·but·definitely·is·persistent.·</p>
184 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>184 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
185 <li><a·class="el"·href="a00035_source.html">indexset.hh</a></li>185 <li><a·class="el"·href="a00314_source.html">indexset.hh</a></li>
186 </ul>186 </ul>
187 </div><!--·contents·-->187 </div><!--·contents·-->
188 <!--·start·footer·part·-->188 <!--·start·footer·part·-->
189 <hr·class="footer"/><address·class="footer"><small>189 <hr·class="footer"/><address·class="footer"><small>
190 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4190 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
191 </small></address>191 </small></address>
192 </body>192 </body>
2.19 KB
./usr/share/doc/libdune-common-doc/doxygen/a02108.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>The·iterator·over·the·pairs.··77 <p>The·iterator·over·the·pairs.··
78 ·<a·href="a02108.html#details">More...</a></p>78 ·<a·href="a02108.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator:</div>81 Inheritance·diagram·for·Dune::ParallelIndexSet&lt;·TG,·TL,·N·&gt;::iterator:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a02107.png"·border="0"·usemap="#a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_1_1iterator_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a02107.png"·border="0"·usemap="#a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_1_1iterator_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_1_1iterator_inherit__map"·id="a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_1_1iterator_inherit__map">84 <map·name="a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_1_1iterator_inherit__map"·id="a_dune_1_1_parallel_index_set_3_01_t_g_00_01_t_l_00_01_n_01_4_1_1iterator_inherit__map">
85 <area·shape="rect"·title="The·iterator·over·the·pairs."·alt=""·coords="872,43,1028,85"/>85 <area·shape="rect"·title="The·iterator·over·the·pairs."·alt=""·coords="872,43,1028,85"/>
86 <area·shape="rect"·href="a01276.html"·title="A·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="677,43,823,85"/>86 <area·shape="rect"·href="a01276.html"·title="A·random·access·iterator·for·the·Dune::ArrayList·class."·alt=""·coords="677,43,823,85"/>
Offset 890, 15 lines modifiedOffset 890, 15 lines modified
  
890 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>890 <p>The·number·of·elements·in·one·chunk·of·the·list.·</p>
891 <p·>This·has·to·be·at·least·one.·The·default·is·100.·</p>891 <p·>This·has·to·be·at·least·one.·The·default·is·100.·</p>
  
892 </div>892 </div>
893 </div>893 </div>
894 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>894 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
895 <li><a·class="el"·href="a00035_source.html">indexset.hh</a></li>895 <li><a·class="el"·href="a00314_source.html">indexset.hh</a></li>
896 </ul>896 </ul>
897 </div><!--·contents·-->897 </div><!--·contents·-->
898 <!--·start·footer·part·-->898 <!--·start·footer·part·-->
899 <hr·class="footer"/><address·class="footer"><small>899 <hr·class="footer"/><address·class="footer"><small>
900 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4900 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
901 </small></address>901 </small></address>
902 </body>902 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a02112.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02109.html">List·of·all·members</a>··</div>71 <a·href="a02109.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::LocalIndexComparator&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::LocalIndexComparator&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:ga513f0ea677a486f03ac70ab29907488b"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga513f0ea677a486f03ac70ab29907488b">compare</a>·(const·T·&amp;t1,·const·T·&amp;t2)</td></tr>79 <tr·class="memitem:ga513f0ea677a486f03ac70ab29907488b"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga513f0ea677a486f03ac70ab29907488b">compare</a>·(const·T·&amp;t1,·const·T·&amp;t2)</td></tr>
80 <tr·class="separator:ga513f0ea677a486f03ac70ab29907488b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga513f0ea677a486f03ac70ab29907488b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00035_source.html">indexset.hh</a></li>83 <li><a·class="el"·href="a00314_source.html">indexset.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a02116.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="a02113.html">List·of·all·members</a>··</div>71 <a·href="a02113.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::IndexSetSortFunctor&lt;·TG,·TL·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::IndexSetSortFunctor&lt;·TG,·TL·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00314_source.html">dune/common/parallel/indexset.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
78 Public·Member·Functions</h2></td></tr>78 Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:ga2e9e10ec7895128f5107668eef5d2842"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga2e9e10ec7895128f5107668eef5d2842">operator()</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;i1,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;i2)</td></tr>79 <tr·class="memitem:ga2e9e10ec7895128f5107668eef5d2842"><td·class="memItemLeft"·align="right"·valign="top">bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga2e9e10ec7895128f5107668eef5d2842">operator()</a>·(const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;i1,·const·<a·class="el"·href="a02092.html">IndexPair</a>&lt;·TG,·TL·&gt;·&amp;i2)</td></tr>
80 <tr·class="separator:ga2e9e10ec7895128f5107668eef5d2842"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga2e9e10ec7895128f5107668eef5d2842"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00035_source.html">indexset.hh</a></li>83 <li><a·class="el"·href="a00314_source.html">indexset.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
2.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a02120.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::IndicesSyncer&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::IndicesSyncer&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>Class·for·recomputing·missing·indices·of·a·distributed·index·set.··77 <p>Class·for·recomputing·missing·indices·of·a·distributed·index·set.··
78 ·<a·href="a02120.html#details">More...</a></p>78 ·<a·href="a02120.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00044_source.html">dune/common/parallel/indicessyncer.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00329_source.html">dune/common/parallel/indicessyncer.hh</a>&gt;</code></p>
80 <table·class="memberdecls">80 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
82 Public·Types</h2></td></tr>82 Public·Types</h2></td></tr>
83 <tr·class="memitem:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a></td></tr>83 <tr·class="memitem:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">ParallelIndexSet</a></td></tr>
84 <tr·class="memdesc:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·index·set.··<a·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">More...</a><br·/></td></tr>84 <tr·class="memdesc:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·index·set.··<a·href="a00416.html#gaa1e45a96ec6d391e816cf3a6ecd3ba71">More...</a><br·/></td></tr>
85 <tr·class="separator:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:gaa1e45a96ec6d391e816cf3a6ecd3ba71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 <tr·class="memitem:gae01c9c9d98e213ba18897c0fc69dba78"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00416.html#gafa0d2c4698da918525f35e3f5b74f1d8">ParallelIndexSet::IndexPair</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gae01c9c9d98e213ba18897c0fc69dba78">IndexPair</a></td></tr>86 <tr·class="memitem:gae01c9c9d98e213ba18897c0fc69dba78"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a00416.html#gafa0d2c4698da918525f35e3f5b74f1d8">ParallelIndexSet::IndexPair</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#gae01c9c9d98e213ba18897c0fc69dba78">IndexPair</a></td></tr>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 <tr·class="separator:gacf6bdea6809d17b74c69c255b7f4a233"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:gacf6bdea6809d17b74c69c255b7f4a233"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 </table>113 </table>
114 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>114 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
115 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>115 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
116 class·Dune::IndicesSyncer&lt;·T·&gt;</div><p·>Class·for·recomputing·missing·indices·of·a·distributed·index·set.·</p>116 class·Dune::IndicesSyncer&lt;·T·&gt;</div><p·>Class·for·recomputing·missing·indices·of·a·distributed·index·set.·</p>
117 <p·>Missing·local·and·remote·indices·will·be·added.·</p>117 <p·>Missing·local·and·remote·indices·will·be·added.·</p>
118 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>118 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
119 <li><a·class="el"·href="a00044_source.html">indicessyncer.hh</a></li>119 <li><a·class="el"·href="a00329_source.html">indicessyncer.hh</a></li>
120 </ul>120 </ul>
121 </div><!--·contents·-->121 </div><!--·contents·-->
122 <!--·start·footer·part·-->122 <!--·start·footer·part·-->
123 <hr·class="footer"/><address·class="footer"><small>123 <hr·class="footer"/><address·class="footer"><small>
124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4124 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
125 </small></address>125 </small></address>
126 </body>126 </body>
2.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a02156.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::LocalIndex·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::LocalIndex·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>An·index·present·on·the·local·process.··75 <p>An·index·present·on·the·local·process.··
76 ·<a·href="a02156.html#details">More...</a></p>76 ·<a·href="a02156.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00062_source.html">dune/common/parallel/localindex.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00317_source.html">dune/common/parallel/localindex.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">LocalIndex</a>·()</td></tr>81 <tr·class="memitem:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">LocalIndex</a>·()</td></tr>
82 <tr·class="memdesc:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.·known·to·other·processes.··<a·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">More...</a><br·/></td></tr>82 <tr·class="memdesc:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Constructor.·known·to·other·processes.··<a·href="a02156.html#a0da12322a253fc5169fbe2ed1c718cc7">More...</a><br·/></td></tr>
83 <tr·class="separator:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a0da12322a253fc5169fbe2ed1c718cc7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a320964a5a6fa1425f4b7ab2dc219d748"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02156.html#a320964a5a6fa1425f4b7ab2dc219d748">LocalIndex</a>·(std::size_t·index)</td></tr>84 <tr·class="memitem:a320964a5a6fa1425f4b7ab2dc219d748"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02156.html#a320964a5a6fa1425f4b7ab2dc219d748">LocalIndex</a>·(std::size_t·index)</td></tr>
Offset 163, 15 lines modifiedOffset 163, 15 lines modified
163 ··</table>163 ··</table>
164 ··</dd>164 ··</dd>
165 </dl>165 </dl>
  
166 </div>166 </div>
167 </div>167 </div>
168 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>168 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
169 <li><a·class="el"·href="a00062_source.html">localindex.hh</a></li>169 <li><a·class="el"·href="a00317_source.html">localindex.hh</a></li>
170 </ul>170 </ul>
171 </div><!--·contents·-->171 </div><!--·contents·-->
172 <!--·start·footer·part·-->172 <!--·start·footer·part·-->
173 <hr·class="footer"/><address·class="footer"><small>173 <hr·class="footer"/><address·class="footer"><small>
174 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4174 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
175 </small></address>175 </small></address>
176 </body>176 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a02160.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02157.html">List·of·all·members</a>··</div>71 <a·href="a02157.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::Generic_MPI_Op&lt;·Type,·BinaryFunction,·Enable·&gt;·Class·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Generic_MPI_Op&lt;·Type,·BinaryFunction,·Enable·&gt;·Class·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a630e429addd37d613753026e63f07410"><td·class="memItemLeft"·align="right"·valign="top">static·MPI_Op&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02160.html#a630e429addd37d613753026e63f07410">get</a>·()</td></tr>79 <tr·class="memitem:a630e429addd37d613753026e63f07410"><td·class="memItemLeft"·align="right"·valign="top">static·MPI_Op&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02160.html#a630e429addd37d613753026e63f07410">get</a>·()</td></tr>
80 <tr·class="separator:a630e429addd37d613753026e63f07410"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a630e429addd37d613753026e63f07410"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Function·Documentation</h2>82 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 105, 15 lines modifiedOffset 105, 15 lines modified
105 ··</tr>105 ··</tr>
106 </table>106 </table>
107 </div><div·class="memdoc">107 </div><div·class="memdoc">
  
108 </div>108 </div>
109 </div>109 </div>
110 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>110 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
111 <li><a·class="el"·href="a00038_source.html">mpicommunication.hh</a></li>111 <li><a·class="el"·href="a00347_source.html">mpicommunication.hh</a></li>
112 </ul>112 </ul>
113 </div><!--·contents·-->113 </div><!--·contents·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <hr·class="footer"/><address·class="footer"><small>115 <hr·class="footer"/><address·class="footer"><small>
116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
117 </small></address>117 </small></address>
118 </body>118 </body>
2.62 KB
./usr/share/doc/libdune-common-doc/doxygen/a02164.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Communication&lt;·MPI_Comm·&gt;·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Communication&lt;·MPI_Comm·&gt;·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Specialization·of·<a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·for·MPI.··75 <p>Specialization·of·<a·class="el"·href="a01988.html"·title="Collective·communication·interface·and·sequential·default·implementation.">Communication</a>·for·MPI.··
76 ·<a·href="a02164.html#details">More...</a></p>76 ·<a·href="a02164.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00038_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/parallel/mpicommunication.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:ae9ea46012bc9abda6405389beeb67fd0"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02164.html#ae9ea46012bc9abda6405389beeb67fd0">Communication</a>·(const·MPI_Comm·&amp;c=MPI_COMM_WORLD)</td></tr>81 <tr·class="memitem:ae9ea46012bc9abda6405389beeb67fd0"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02164.html#ae9ea46012bc9abda6405389beeb67fd0">Communication</a>·(const·MPI_Comm·&amp;c=MPI_COMM_WORLD)</td></tr>
82 <tr·class="memdesc:ae9ea46012bc9abda6405389beeb67fd0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Instantiation·using·a·MPI·communicator.··<a·href="a02164.html#ae9ea46012bc9abda6405389beeb67fd0">More...</a><br·/></td></tr>82 <tr·class="memdesc:ae9ea46012bc9abda6405389beeb67fd0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Instantiation·using·a·MPI·communicator.··<a·href="a02164.html#ae9ea46012bc9abda6405389beeb67fd0">More...</a><br·/></td></tr>
83 <tr·class="separator:ae9ea46012bc9abda6405389beeb67fd0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ae9ea46012bc9abda6405389beeb67fd0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a50d39037a0984cdbf4ab0be6529154cb"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02164.html#a50d39037a0984cdbf4ab0be6529154cb">rank</a>·()·const</td></tr>84 <tr·class="memitem:a50d39037a0984cdbf4ab0be6529154cb"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02164.html#a50d39037a0984cdbf4ab0be6529154cb">rank</a>·()·const</td></tr>
Offset 1721, 15 lines modifiedOffset 1721, 15 lines modified
1721 </div><div·class="memdoc">1721 </div><div·class="memdoc">
  
1722 <p>Compute·the·sum·of·the·argument·over·all·processes·and·return·the·result·in·every·process.·Assumes·that·T·has·an·operator+.·</p>1722 <p>Compute·the·sum·of·the·argument·over·all·processes·and·return·the·result·in·every·process.·Assumes·that·T·has·an·operator+.·</p>
  
1723 </div>1723 </div>
1724 </div>1724 </div>
1725 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1725 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1726 <li><a·class="el"·href="a00038_source.html">mpicommunication.hh</a></li>1726 <li><a·class="el"·href="a00347_source.html">mpicommunication.hh</a></li>
1727 </ul>1727 </ul>
1728 </div><!--·contents·-->1728 </div><!--·contents·-->
1729 <!--·start·footer·part·-->1729 <!--·start·footer·part·-->
1730 <hr·class="footer"/><address·class="footer"><small>1730 <hr·class="footer"/><address·class="footer"><small>
1731 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.41731 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
1732 </small></address>1732 </small></address>
1733 </body>1733 </body>
2.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a02168.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;72 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
73 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;73 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
74 <a·href="a02165.html">List·of·all·members</a>··</div>74 <a·href="a02165.html">List·of·all·members</a>··</div>
75 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·T,·Enable·&gt;·Struct·Template·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·T,·Enable·&gt;·Struct·Template·Reference</div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p><code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
81 Public·Member·Functions</h2></td></tr>81 Public·Member·Functions</h2></td></tr>
82 <tr·class="memitem:a9834f1258b028e1fcda4f04c329a02f5"><td·class="memItemLeft"·align="right"·valign="top">void·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02168.html#a9834f1258b028e1fcda4f04c329a02f5">ptr</a>·()·const</td></tr>82 <tr·class="memitem:a9834f1258b028e1fcda4f04c329a02f5"><td·class="memItemLeft"·align="right"·valign="top">void·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02168.html#a9834f1258b028e1fcda4f04c329a02f5">ptr</a>·()·const</td></tr>
83 <tr·class="separator:a9834f1258b028e1fcda4f04c329a02f5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a9834f1258b028e1fcda4f04c329a02f5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:aaa76e34727f04969952f182fdac25c06"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02168.html#aaa76e34727f04969952f182fdac25c06">size</a>·()·const</td></tr>84 <tr·class="memitem:aaa76e34727f04969952f182fdac25c06"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02168.html#aaa76e34727f04969952f182fdac25c06">size</a>·()·const</td></tr>
85 <tr·class="separator:aaa76e34727f04969952f182fdac25c06"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:aaa76e34727f04969952f182fdac25c06"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 259, 15 lines modifiedOffset 259, 15 lines modified
259 ··</tr>259 ··</tr>
260 </table>260 </table>
261 </div><div·class="memdoc">261 </div><div·class="memdoc">
  
262 </div>262 </div>
263 </div>263 </div>
264 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>264 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
265 <li><a·class="el"·href="a00050_source.html">mpidata.hh</a></li>265 <li><a·class="el"·href="a00356_source.html">mpidata.hh</a></li>
266 </ul>266 </ul>
267 </div><!--·contents·-->267 </div><!--·contents·-->
268 <!--·start·footer·part·-->268 <!--·start·footer·part·-->
269 <hr·class="footer"/><address·class="footer"><small>269 <hr·class="footer"/><address·class="footer"><small>
270 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4270 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
271 </small></address>271 </small></address>
272 </body>272 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a02172.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;71 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
72 <a·href="a02169.html">List·of·all·members</a>··</div>72 <a·href="a02169.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·void·&gt;·Struct·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·void·&gt;·Struct·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
79 Public·Member·Functions</h2></td></tr>79 Public·Member·Functions</h2></td></tr>
80 <tr·class="memitem:ae570394656e5e49658c9f84fc8ad6b38"><td·class="memItemLeft"·align="right"·valign="top">void·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02172.html#ae570394656e5e49658c9f84fc8ad6b38">ptr</a>·()</td></tr>80 <tr·class="memitem:ae570394656e5e49658c9f84fc8ad6b38"><td·class="memItemLeft"·align="right"·valign="top">void·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02172.html#ae570394656e5e49658c9f84fc8ad6b38">ptr</a>·()</td></tr>
81 <tr·class="separator:ae570394656e5e49658c9f84fc8ad6b38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:ae570394656e5e49658c9f84fc8ad6b38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:ac6af51037c43267ff48f26fff43c00e1"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02172.html#ac6af51037c43267ff48f26fff43c00e1">size</a>·()</td></tr>82 <tr·class="memitem:ac6af51037c43267ff48f26fff43c00e1"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02172.html#ac6af51037c43267ff48f26fff43c00e1">size</a>·()</td></tr>
83 <tr·class="separator:ac6af51037c43267ff48f26fff43c00e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ac6af51037c43267ff48f26fff43c00e1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 216, 15 lines modifiedOffset 216, 15 lines modified
216 ··</tr>216 ··</tr>
217 </table>217 </table>
218 </div><div·class="memdoc">218 </div><div·class="memdoc">
  
219 </div>219 </div>
220 </div>220 </div>
221 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>221 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
222 <li><a·class="el"·href="a00050_source.html">mpidata.hh</a></li>222 <li><a·class="el"·href="a00356_source.html">mpidata.hh</a></li>
223 </ul>223 </ul>
224 </div><!--·contents·-->224 </div><!--·contents·-->
225 <!--·start·footer·part·-->225 <!--·start·footer·part·-->
226 <hr·class="footer"/><address·class="footer"><small>226 <hr·class="footer"/><address·class="footer"><small>
227 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4227 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
228 </small></address>228 </small></address>
229 </body>229 </body>
2.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a02176.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;72 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
73 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;73 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
74 <a·href="a02173.html">List·of·all·members</a>··</div>74 <a·href="a02173.html">List·of·all·members</a>··</div>
75 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·T,·std::void_t&lt;·std::tuple&lt;·decltype(std::declval&lt;·T·&gt;().data()),·decltype(std::declval&lt;·T·&gt;().size()),·typename·std::decay_t&lt;·T·&gt;::value_type·&gt;·&gt;·&gt;·Struct·Template·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·T,·std::void_t&lt;·std::tuple&lt;·decltype(std::declval&lt;·T·&gt;().data()),·decltype(std::declval&lt;·T·&gt;().size()),·typename·std::decay_t&lt;·T·&gt;::value_type·&gt;·&gt;·&gt;·Struct·Template·Reference</div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p><code>#include·&lt;<a·class="el"·href="a00050_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/parallel/mpidata.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
81 Public·Member·Functions</h2></td></tr>81 Public·Member·Functions</h2></td></tr>
82 <tr·class="memitem:a3e2ebaf1cdd57c67aac90db5a306eef1"><td·class="memItemLeft"·align="right"·valign="top">void·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02176.html#a3e2ebaf1cdd57c67aac90db5a306eef1">ptr</a>·()</td></tr>82 <tr·class="memitem:a3e2ebaf1cdd57c67aac90db5a306eef1"><td·class="memItemLeft"·align="right"·valign="top">void·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02176.html#a3e2ebaf1cdd57c67aac90db5a306eef1">ptr</a>·()</td></tr>
83 <tr·class="separator:a3e2ebaf1cdd57c67aac90db5a306eef1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a3e2ebaf1cdd57c67aac90db5a306eef1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a92c2c66f424e9429fad7562554a2f9fe"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02176.html#a92c2c66f424e9429fad7562554a2f9fe">size</a>·()</td></tr>84 <tr·class="memitem:a92c2c66f424e9429fad7562554a2f9fe"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02176.html#a92c2c66f424e9429fad7562554a2f9fe">size</a>·()</td></tr>
85 <tr·class="separator:a92c2c66f424e9429fad7562554a2f9fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:a92c2c66f424e9429fad7562554a2f9fe"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 293, 15 lines modifiedOffset 293, 15 lines modified
293 ··</tr>293 ··</tr>
294 </table>294 </table>
295 </div><div·class="memdoc">295 </div><div·class="memdoc">
  
296 </div>296 </div>
297 </div>297 </div>
298 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>298 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
299 <li><a·class="el"·href="a00050_source.html">mpidata.hh</a></li>299 <li><a·class="el"·href="a00356_source.html">mpidata.hh</a></li>
300 </ul>300 </ul>
301 </div><!--·contents·-->301 </div><!--·contents·-->
302 <!--·start·footer·part·-->302 <!--·start·footer·part·-->
303 <hr·class="footer"/><address·class="footer"><small>303 <hr·class="footer"/><address·class="footer"><small>
304 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4304 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
305 </small></address>305 </small></address>
306 </body>306 </body>
1.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a02180.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
72 <a·href="a02177.html">List·of·all·members</a>··</div>72 <a·href="a02177.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·T·&gt;·Struct·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·T·&gt;·Struct·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>
77 <div·class="dynheader">77 <div·class="dynheader">
78 Inheritance·diagram·for·Dune::impl::Buffer&lt;·T·&gt;:</div>78 Inheritance·diagram·for·Dune::impl::Buffer&lt;·T·&gt;:</div>
79 <div·class="dyncontent">79 <div·class="dyncontent">
80 <div·class="center"><img·src="a02179.png"·border="0"·usemap="#a_dune_1_1impl_1_1_buffer_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>80 <div·class="center"><img·src="a02179.png"·border="0"·usemap="#a_dune_1_1impl_1_1_buffer_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
81 <map·name="a_dune_1_1impl_1_1_buffer_3_01_t_01_4_inherit__map"·id="a_dune_1_1impl_1_1_buffer_3_01_t_01_4_inherit__map">81 <map·name="a_dune_1_1impl_1_1_buffer_3_01_t_01_4_inherit__map"·id="a_dune_1_1impl_1_1_buffer_3_01_t_01_4_inherit__map">
82 <area·shape="rect"·title="·"·alt=""·coords="7,5,165,32"/>82 <area·shape="rect"·title="·"·alt=""·coords="7,5,165,32"/>
83 <area·shape="rect"·href="a02180.html"·title="·"·alt=""·coords="5,95,167,121"/>83 <area·shape="rect"·href="a02180.html"·title="·"·alt=""·coords="5,95,167,121"/>
Offset 259, 15 lines modifiedOffset 259, 15 lines modified
259 ········</tr>259 ········</tr>
260 ······</table>260 ······</table>
261 </div><div·class="memdoc">261 </div><div·class="memdoc">
  
262 </div>262 </div>
263 </div>263 </div>
264 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>264 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
265 <li><a·class="el"·href="a00065_source.html">mpifuture.hh</a></li>265 <li><a·class="el"·href="a00344_source.html">mpifuture.hh</a></li>
266 </ul>266 </ul>
267 </div><!--·contents·-->267 </div><!--·contents·-->
268 <!--·start·footer·part·-->268 <!--·start·footer·part·-->
269 <hr·class="footer"/><address·class="footer"><small>269 <hr·class="footer"/><address·class="footer"><small>
270 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4270 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
271 </small></address>271 </small></address>
272 </body>272 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a02184.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
72 <a·href="a02181.html">List·of·all·members</a>··</div>72 <a·href="a02181.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·T·&amp;·&gt;·Struct·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·T·&amp;·&gt;·Struct·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
79 Public·Member·Functions</h2></td></tr>79 Public·Member·Functions</h2></td></tr>
80 <tr·class="memitem:a452244eaa73c4de337aa2bdf7bf2a6f1"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02184.html#a452244eaa73c4de337aa2bdf7bf2a6f1">Buffer</a>·(bool·valid=false)</td></tr>80 <tr·class="memitem:a452244eaa73c4de337aa2bdf7bf2a6f1"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02184.html#a452244eaa73c4de337aa2bdf7bf2a6f1">Buffer</a>·(bool·valid=false)</td></tr>
81 <tr·class="separator:a452244eaa73c4de337aa2bdf7bf2a6f1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:a452244eaa73c4de337aa2bdf7bf2a6f1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:afbd96d60f9a2dd1e336b1fb14645c0a5"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>82 <tr·class="memitem:afbd96d60f9a2dd1e336b1fb14645c0a5"><td·class="memTemplParams"·colspan="2">template&lt;class·V·&gt;·</td></tr>
83 <tr·class="memitem:afbd96d60f9a2dd1e336b1fb14645c0a5"><td·class="memTemplItemLeft"·align="right"·valign="top">&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02184.html#afbd96d60f9a2dd1e336b1fb14645c0a5">Buffer</a>·(V·&amp;&amp;t)</td></tr>83 <tr·class="memitem:afbd96d60f9a2dd1e336b1fb14645c0a5"><td·class="memTemplItemLeft"·align="right"·valign="top">&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02184.html#afbd96d60f9a2dd1e336b1fb14645c0a5">Buffer</a>·(V·&amp;&amp;t)</td></tr>
Offset 250, 15 lines modifiedOffset 250, 15 lines modified
250 ········</tr>250 ········</tr>
251 ······</table>251 ······</table>
252 </div><div·class="memdoc">252 </div><div·class="memdoc">
  
253 </div>253 </div>
254 </div>254 </div>
255 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>255 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
256 <li><a·class="el"·href="a00065_source.html">mpifuture.hh</a></li>256 <li><a·class="el"·href="a00344_source.html">mpifuture.hh</a></li>
257 </ul>257 </ul>
258 </div><!--·contents·-->258 </div><!--·contents·-->
259 <!--·start·footer·part·-->259 <!--·start·footer·part·-->
260 <hr·class="footer"/><address·class="footer"><small>260 <hr·class="footer"/><address·class="footer"><small>
261 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4261 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
262 </small></address>262 </small></address>
263 </body>263 </body>
2.16 KB
./usr/share/doc/libdune-common-doc/doxygen/a02188.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
72 <a·href="a02185.html">List·of·all·members</a>··</div>72 <a·href="a02185.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·void·&gt;·Struct·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::impl::Buffer&lt;·void·&gt;·Struct·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
79 Public·Member·Functions</h2></td></tr>79 Public·Member·Functions</h2></td></tr>
80 <tr·class="memitem:af1e6146bcdfe51e49f250898c42fa32d"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02188.html#af1e6146bcdfe51e49f250898c42fa32d">Buffer</a>·(bool·valid=false)</td></tr>80 <tr·class="memitem:af1e6146bcdfe51e49f250898c42fa32d"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02188.html#af1e6146bcdfe51e49f250898c42fa32d">Buffer</a>·(bool·valid=false)</td></tr>
81 <tr·class="separator:af1e6146bcdfe51e49f250898c42fa32d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:af1e6146bcdfe51e49f250898c42fa32d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:a4ba66cd0b4596d5b18d62e1a5b84e71f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02188.html#a4ba66cd0b4596d5b18d62e1a5b84e71f">operator·bool</a>·()·const</td></tr>82 <tr·class="memitem:a4ba66cd0b4596d5b18d62e1a5b84e71f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02188.html#a4ba66cd0b4596d5b18d62e1a5b84e71f">operator·bool</a>·()·const</td></tr>
83 <tr·class="separator:a4ba66cd0b4596d5b18d62e1a5b84e71f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a4ba66cd0b4596d5b18d62e1a5b84e71f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 180, 15 lines modifiedOffset 180, 15 lines modified
180 ········</tr>180 ········</tr>
181 ······</table>181 ······</table>
182 </div><div·class="memdoc">182 </div><div·class="memdoc">
  
183 </div>183 </div>
184 </div>184 </div>
185 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>185 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
186 <li><a·class="el"·href="a00065_source.html">mpifuture.hh</a></li>186 <li><a·class="el"·href="a00344_source.html">mpifuture.hh</a></li>
187 </ul>187 </ul>
188 </div><!--·contents·-->188 </div><!--·contents·-->
189 <!--·start·footer·part·-->189 <!--·start·footer·part·-->
190 <hr·class="footer"/><address·class="footer"><small>190 <hr·class="footer"/><address·class="footer"><small>
191 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4191 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
192 </small></address>192 </small></address>
193 </body>193 </body>
2.52 KB
./usr/share/doc/libdune-common-doc/doxygen/a02192.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::MPIFuture&lt;·R,·S·&gt;·Class·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::MPIFuture&lt;·R,·S·&gt;·Class·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Provides·a·future-like·object·for·MPI·communication.·It·contains·the·object·that·will·be·received·and·might·contain·also·a·sending·object,·which·must·be·hold·(keep·alive)·until·the·communication·has·been·completed.··75 <p>Provides·a·future-like·object·for·MPI·communication.·It·contains·the·object·that·will·be·received·and·might·contain·also·a·sending·object,·which·must·be·hold·(keep·alive)·until·the·communication·has·been·completed.··
76 ·<a·href="a02192.html#details">More...</a></p>76 ·<a·href="a02192.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00344_source.html">dune/common/parallel/mpifuture.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:a6a22bdeaef8af5b3e999f94fcfa1578e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02192.html#a6a22bdeaef8af5b3e999f94fcfa1578e">MPIFuture</a>·(bool·<a·class="el"·href="a02192.html#a62cfd7f63b71fc801464ee62677b716e">valid</a>=false)</td></tr>81 <tr·class="memitem:a6a22bdeaef8af5b3e999f94fcfa1578e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02192.html#a6a22bdeaef8af5b3e999f94fcfa1578e">MPIFuture</a>·(bool·<a·class="el"·href="a02192.html#a62cfd7f63b71fc801464ee62677b716e">valid</a>=false)</td></tr>
82 <tr·class="separator:a6a22bdeaef8af5b3e999f94fcfa1578e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a6a22bdeaef8af5b3e999f94fcfa1578e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:ac815aaa3205bb243232fab54ded55621"><td·class="memTemplParams"·colspan="2">template&lt;class·V··=·R,·class·U··=·S&gt;·</td></tr>83 <tr·class="memitem:ac815aaa3205bb243232fab54ded55621"><td·class="memTemplParams"·colspan="2">template&lt;class·V··=·R,·class·U··=·S&gt;·</td></tr>
84 <tr·class="memitem:ac815aaa3205bb243232fab54ded55621"><td·class="memTemplItemLeft"·align="right"·valign="top">&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02192.html#ac815aaa3205bb243232fab54ded55621">MPIFuture</a>·(V·&amp;&amp;recv_data,·U·&amp;&amp;send_data,·typename·std::enable_if_t&lt;!std::is_void&lt;·V·&gt;::value·&amp;&amp;!std::is_void&lt;·U·&gt;::value·&gt;·*=0)</td></tr>84 <tr·class="memitem:ac815aaa3205bb243232fab54ded55621"><td·class="memTemplItemLeft"·align="right"·valign="top">&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02192.html#ac815aaa3205bb243232fab54ded55621">MPIFuture</a>·(V·&amp;&amp;recv_data,·U·&amp;&amp;send_data,·typename·std::enable_if_t&lt;!std::is_void&lt;·V·&gt;::value·&amp;&amp;!std::is_void&lt;·U·&gt;::value·&gt;·*=0)</td></tr>
Offset 497, 15 lines modifiedOffset 497, 15 lines modified
497 ··</tr>497 ··</tr>
498 </table>498 </table>
499 </div><div·class="memdoc">499 </div><div·class="memdoc">
  
500 </div>500 </div>
501 </div>501 </div>
502 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>502 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
503 <li><a·class="el"·href="a00065_source.html">mpifuture.hh</a></li>503 <li><a·class="el"·href="a00344_source.html">mpifuture.hh</a></li>
504 </ul>504 </ul>
505 </div><!--·contents·-->505 </div><!--·contents·-->
506 <!--·start·footer·part·-->506 <!--·start·footer·part·-->
507 <hr·class="footer"/><address·class="footer"><small>507 <hr·class="footer"/><address·class="footer"><small>
508 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4508 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
509 </small></address>509 </small></address>
510 </body>510 </body>
2.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a02196.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::MPIGuardError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::MPIGuardError·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>This·exception·is·thrown·if·the·<a·class="el"·href="a02200.html"·title="detects·a·thrown·exception·and·communicates·to·all·other·processes">MPIGuard</a>·detects·an·error·on·a·remote·process.··76 <p>This·exception·is·thrown·if·the·<a·class="el"·href="a02200.html"·title="detects·a·thrown·exception·and·communicates·to·all·other·processes">MPIGuard</a>·detects·an·error·on·a·remote·process.··
77 ·<a·href="a02196.html#details">More...</a></p>77 ·<a·href="a02196.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::MPIGuardError:</div>80 Inheritance·diagram·for·Dune::MPIGuardError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02195.png"·border="0"·usemap="#a_dune_1_1_m_p_i_guard_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02195.png"·border="0"·usemap="#a_dune_1_1_m_p_i_guard_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_m_p_i_guard_error_inherit__map"·id="a_dune_1_1_m_p_i_guard_error_inherit__map">83 <map·name="a_dune_1_1_m_p_i_guard_error_inherit__map"·id="a_dune_1_1_m_p_i_guard_error_inherit__map">
84 <area·shape="rect"·title="This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote·process."·alt=""·coords="5,229,152,256"/>84 <area·shape="rect"·title="This·exception·is·thrown·if·the·MPIGuard·detects·an·error·on·a·remote·process."·alt=""·coords="5,229,152,256"/>
85 <area·shape="rect"·href="a01584.html"·title="Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred."·alt=""·coords="13,155,145,181"/>85 <area·shape="rect"·href="a01584.html"·title="Default·exception·if·an·error·in·the·parallel·communication·of·the·program·occurred."·alt=""·coords="13,155,145,181"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>This·exception·is·thrown·if·the·<a·class="el"·href="a02200.html"·title="detects·a·thrown·exception·and·communicates·to·all·other·processes">MPIGuard</a>·detects·an·error·on·a·remote·process.·</p>112 <div·class="textblock"><p·>This·exception·is·thrown·if·the·<a·class="el"·href="a02200.html"·title="detects·a·thrown·exception·and·communicates·to·all·other·processes">MPIGuard</a>·detects·an·error·on·a·remote·process.·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00032_source.html">mpiguard.hh</a></li>114 <li><a·class="el"·href="a00371_source.html">mpiguard.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
2.67 KB
./usr/share/doc/libdune-common-doc/doxygen/a02200.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::MPIGuard·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::MPIGuard·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>detects·a·thrown·exception·and·communicates·to·all·other·processes··75 <p>detects·a·thrown·exception·and·communicates·to·all·other·processes··
76 ·<a·href="a02200.html#details">More...</a></p>76 ·<a·href="a02200.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/parallel/mpiguard.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:ad0dafbe8eb21985ac54f70e48ce44def"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02200.html#ad0dafbe8eb21985ac54f70e48ce44def">MPIGuard</a>·(bool·active=true)</td></tr>81 <tr·class="memitem:ad0dafbe8eb21985ac54f70e48ce44def"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02200.html#ad0dafbe8eb21985ac54f70e48ce44def">MPIGuard</a>·(bool·active=true)</td></tr>
82 <tr·class="memdesc:ad0dafbe8eb21985ac54f70e48ce44def"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">create·an·<a·class="el"·href="a02200.html"·title="detects·a·thrown·exception·and·communicates·to·all·other·processes">MPIGuard</a>·operating·on·the·Communicator·of·the·global·<a·class="el"·href="a02208.html"·title="A·real·mpi·helper.">Dune::MPIHelper</a>··<a·href="a02200.html#ad0dafbe8eb21985ac54f70e48ce44def">More...</a><br·/></td></tr>82 <tr·class="memdesc:ad0dafbe8eb21985ac54f70e48ce44def"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">create·an·<a·class="el"·href="a02200.html"·title="detects·a·thrown·exception·and·communicates·to·all·other·processes">MPIGuard</a>·operating·on·the·Communicator·of·the·global·<a·class="el"·href="a02208.html"·title="A·real·mpi·helper.">Dune::MPIHelper</a>··<a·href="a02200.html#ad0dafbe8eb21985ac54f70e48ce44def">More...</a><br·/></td></tr>
83 <tr·class="separator:ad0dafbe8eb21985ac54f70e48ce44def"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ad0dafbe8eb21985ac54f70e48ce44def"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:ade82937388e34e6b822f440abcebc515"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02200.html#ade82937388e34e6b822f440abcebc515">MPIGuard</a>·(<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;m,·bool·active=true)</td></tr>84 <tr·class="memitem:ade82937388e34e6b822f440abcebc515"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02200.html#ade82937388e34e6b822f440abcebc515">MPIGuard</a>·(<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;m,·bool·active=true)</td></tr>
Offset 383, 15 lines modifiedOffset 383, 15 lines modified
  
383 <p>reactivate·the·guard.·</p>383 <p>reactivate·the·guard.·</p>
384 <p·>If·the·guard·is·still·active·finalize(true)·is·called·first.·</p>384 <p·>If·the·guard·is·still·active·finalize(true)·is·called·first.·</p>
  
385 </div>385 </div>
386 </div>386 </div>
387 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>387 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
388 <li><a·class="el"·href="a00032_source.html">mpiguard.hh</a></li>388 <li><a·class="el"·href="a00371_source.html">mpiguard.hh</a></li>
389 </ul>389 </ul>
390 </div><!--·contents·-->390 </div><!--·contents·-->
391 <!--·start·footer·part·-->391 <!--·start·footer·part·-->
392 <hr·class="footer"/><address·class="footer"><small>392 <hr·class="footer"/><address·class="footer"><small>
393 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4393 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
394 </small></address>394 </small></address>
395 </body>395 </body>
13.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a02204.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::FakeMPIHelper·Class·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">Dune::FakeMPIHelper·Class·Reference</div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>A·fake·mpi·helper.··78 <p>A·fake·mpi·helper.··
79 ·<a·href="a02204.html#details">More...</a></p>79 ·<a·href="a02204.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00026_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code></p>
81 <table·class="memberdecls">81 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
83 Public·Types</h2></td></tr>83 Public·Types</h2></td></tr>
84 <tr·class="memitem:a8273f31d2599a0e2daf8ca47778effe7"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01984.html">No_Comm</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a></td></tr>84 <tr·class="memitem:a8273f31d2599a0e2daf8ca47778effe7"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a01984.html">No_Comm</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a></td></tr>
85 <tr·class="memdesc:a8273f31d2599a0e2daf8ca47778effe7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·mpi·communicator.··<a·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">More...</a><br·/></td></tr>85 <tr·class="memdesc:a8273f31d2599a0e2daf8ca47778effe7"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·mpi·communicator.··<a·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">More...</a><br·/></td></tr>
86 <tr·class="separator:a8273f31d2599a0e2daf8ca47778effe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:a8273f31d2599a0e2daf8ca47778effe7"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
Offset 94, 28 lines modifiedOffset 94, 28 lines modified
94 <tr·class="separator:aebff07320a4b09dc687d0d13ee9a75a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:aebff07320a4b09dc687d0d13ee9a75a6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a60a600fe6ed51c70a0a61b86ebba2977">size</a>·()·const</td></tr>95 <tr·class="memitem:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a60a600fe6ed51c70a0a61b86ebba2977">size</a>·()·const</td></tr>
96 <tr·class="memdesc:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">return·rank·of·process,·i.e.·one··<a·href="a02204.html#a60a600fe6ed51c70a0a61b86ebba2977">More...</a><br·/></td></tr>96 <tr·class="memdesc:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">return·rank·of·process,·i.e.·one··<a·href="a02204.html#a60a600fe6ed51c70a0a61b86ebba2977">More...</a><br·/></td></tr>
97 <tr·class="separator:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:a60a600fe6ed51c70a0a61b86ebba2977"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table><table·class="memberdecls">98 </table><table·class="memberdecls">
99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>99 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
100 Static·Public·Member·Functions</h2></td></tr>100 Static·Public·Member·Functions</h2></td></tr>
101 <tr·class="memitem:a021b715f26fb0098c3d7647bab416338"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">getCommunicator</a>·()</td></tr>101 <tr·class="memitem:a021b715f26fb0098c3d7647bab416338"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a021b715f26fb0098c3d7647bab416338">getCommunicator</a>·()</td></tr>
102 <tr·class="memdesc:a021b715f26fb0098c3d7647bab416338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·default·communicator··<a·href="a02204.html#a021b715f26fb0098c3d7647bab416338">More...</a><br·/></td></tr>102 <tr·class="memdesc:a021b715f26fb0098c3d7647bab416338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·the·default·communicator··<a·href="a02204.html#a021b715f26fb0098c3d7647bab416338">More...</a><br·/></td></tr>
103 <tr·class="separator:a021b715f26fb0098c3d7647bab416338"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:a021b715f26fb0098c3d7647bab416338"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a7c0cb1ffbda2e8f4feeadd745f64a5ef">getLocalCommunicator</a>·()</td></tr>104 <tr·class="memitem:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a7c0cb1ffbda2e8f4feeadd745f64a5ef">getLocalCommunicator</a>·()</td></tr>
105 <tr·class="memdesc:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·a·local·communicator··<a·href="a02204.html#a7c0cb1ffbda2e8f4feeadd745f64a5ef">More...</a><br·/></td></tr>105 <tr·class="memdesc:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·a·local·communicator··<a·href="a02204.html#a7c0cb1ffbda2e8f4feeadd745f64a5ef">More...</a><br·/></td></tr>
106 <tr·class="separator:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:a7c0cb1ffbda2e8f4feeadd745f64a5ef"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:a6f7959361cf241356fb6cd7a1618e643"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01988.html">Communication</a>&lt;·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a6f7959361cf241356fb6cd7a1618e643">getCollectiveCommunication</a>·()</td></tr>107 <tr·class="memitem:a6f7959361cf241356fb6cd7a1618e643"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01988.html">Communication</a>&lt;·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a6f7959361cf241356fb6cd7a1618e643">getCollectiveCommunication</a>·()</td></tr>
108 <tr·class="separator:a6f7959361cf241356fb6cd7a1618e643"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:a6f7959361cf241356fb6cd7a1618e643"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 <tr·class="memitem:ad2aa684d80dfcfc38ed0c314d5c6a648"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01988.html">Communication</a>&lt;·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#ad2aa684d80dfcfc38ed0c314d5c6a648">getCommunication</a>·()</td></tr>109 <tr·class="memitem:ad2aa684d80dfcfc38ed0c314d5c6a648"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01988.html">Communication</a>&lt;·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#ad2aa684d80dfcfc38ed0c314d5c6a648">getCommunication</a>·()</td></tr>
110 <tr·class="separator:ad2aa684d80dfcfc38ed0c314d5c6a648"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:ad2aa684d80dfcfc38ed0c314d5c6a648"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:a957ab3c46933eaa060a6de415a738247"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a957ab3c46933eaa060a6de415a738247">instance</a>·(int·argc,·char·**argv)</td></tr>111 <tr·class="memitem:a957ab3c46933eaa060a6de415a738247"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#a957ab3c46933eaa060a6de415a738247">instance</a>·(int·argc,·char·**argv)</td></tr>
112 <tr·class="memdesc:a957ab3c46933eaa060a6de415a738247"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·singleton·instance·of·the·helper.··<a·href="a02204.html#a957ab3c46933eaa060a6de415a738247">More...</a><br·/></td></tr>112 <tr·class="memdesc:a957ab3c46933eaa060a6de415a738247"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·singleton·instance·of·the·helper.··<a·href="a02204.html#a957ab3c46933eaa060a6de415a738247">More...</a><br·/></td></tr>
113 <tr·class="separator:a957ab3c46933eaa060a6de415a738247"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:a957ab3c46933eaa060a6de415a738247"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:abfe6f30c37fb06179ec7b8fb607040e0"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#abfe6f30c37fb06179ec7b8fb607040e0">instance</a>·()</td></tr>114 <tr·class="memitem:abfe6f30c37fb06179ec7b8fb607040e0"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#abfe6f30c37fb06179ec7b8fb607040e0">instance</a>·()</td></tr>
115 <tr·class="separator:abfe6f30c37fb06179ec7b8fb607040e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:abfe6f30c37fb06179ec7b8fb607040e0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 </table><table·class="memberdecls">116 </table><table·class="memberdecls">
117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>117 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
118 Static·Public·Attributes</h2></td></tr>118 Static·Public·Attributes</h2></td></tr>
119 <tr·class="memitem:ad9493432e4a2a80668846429b56a3933"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#ad9493432e4a2a80668846429b56a3933">isFake</a>·=·true</td></tr>119 <tr·class="memitem:ad9493432e4a2a80668846429b56a3933"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02204.html#ad9493432e4a2a80668846429b56a3933">isFake</a>·=·true</td></tr>
120 <tr·class="memdesc:ad9493432e4a2a80668846429b56a3933"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·we·fake·(i.e.·pretend·to·have·MPI·support·but·are·compiled·without.)··<a·href="a02204.html#ad9493432e4a2a80668846429b56a3933">More...</a><br·/></td></tr>120 <tr·class="memdesc:ad9493432e4a2a80668846429b56a3933"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·we·fake·(i.e.·pretend·to·have·MPI·support·but·are·compiled·without.)··<a·href="a02204.html#ad9493432e4a2a80668846429b56a3933">More...</a><br·/></td></tr>
121 <tr·class="separator:ad9493432e4a2a80668846429b56a3933"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:ad9493432e4a2a80668846429b56a3933"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 199, 15 lines modifiedOffset 199, 15 lines modified
199 <div·class="memitem">199 <div·class="memitem">
200 <div·class="memproto">200 <div·class="memproto">
201 <table·class="mlabels">201 <table·class="mlabels">
202 ··<tr>202 ··<tr>
203 ··<td·class="mlabels-left">203 ··<td·class="mlabels-left">
204 ······<table·class="memname">204 ······<table·class="memname">
205 ········<tr>205 ········<tr>
206 ··········<td·class="memname">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>·Dune::FakeMPIHelper::getCommunicator·</td>206 ··········<td·class="memname">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html#a8273f31d2599a0e2daf8ca47778effe7">MPICommunicator</a>·Dune::FakeMPIHelper::getCommunicator·</td>
207 ··········<td>(</td>207 ··········<td>(</td>
208 ··········<td·class="paramname"></td><td>)</td>208 ··········<td·class="paramname"></td><td>)</td>
209 ··········<td></td>209 ··········<td></td>
210 ········</tr>210 ········</tr>
211 ······</table>211 ······</table>
212 ··</td>212 ··</td>
213 ··<td·class="mlabels-right">213 ··<td·class="mlabels-right">
Offset 257, 15 lines modifiedOffset 257, 15 lines modified
257 <div·class="memitem">257 <div·class="memitem">
258 <div·class="memproto">258 <div·class="memproto">
259 <table·class="mlabels">259 <table·class="mlabels">
260 ··<tr>260 ··<tr>
261 ··<td·class="mlabels-left">261 ··<td·class="mlabels-left">
262 ······<table·class="memname">262 ······<table·class="memname">
263 ········<tr>263 ········<tr>
264 ··········<td·class="memname">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;·Dune::FakeMPIHelper::instance·</td>264 ··········<td·class="memname">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;·Dune::FakeMPIHelper::instance·</td>
265 ··········<td>(</td>265 ··········<td>(</td>
266 ··········<td·class="paramname"></td><td>)</td>266 ··········<td·class="paramname"></td><td>)</td>
267 ··········<td></td>267 ··········<td></td>
268 ········</tr>268 ········</tr>
269 ······</table>269 ······</table>
270 ··</td>270 ··</td>
271 ··<td·class="mlabels-right">271 ··<td·class="mlabels-right">
Offset 282, 15 lines modifiedOffset 282, 15 lines modified
282 <div·class="memitem">282 <div·class="memitem">
283 <div·class="memproto">283 <div·class="memproto">
284 <table·class="mlabels">284 <table·class="mlabels">
285 ··<tr>285 ··<tr>
286 ··<td·class="mlabels-left">286 ··<td·class="mlabels-left">
287 ······<table·class="memname">287 ······<table·class="memname">
288 ········<tr>288 ········<tr>
289 ··········<td·class="memname">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;·Dune::FakeMPIHelper::instance·</td>289 ··········<td·class="memname">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02204.html">FakeMPIHelper</a>·&amp;·Dune::FakeMPIHelper::instance·</td>
290 ··········<td>(</td>290 ··········<td>(</td>
291 ··········<td·class="paramtype">int&#160;</td>291 ··········<td·class="paramtype">int&#160;</td>
292 ··········<td·class="paramname"><em>argc</em>,·</td>292 ··········<td·class="paramname"><em>argc</em>,·</td>
293 ········</tr>293 ········</tr>
294 ········<tr>294 ········<tr>
295 ··········<td·class="paramkey"></td>295 ··········<td·class="paramkey"></td>
296 ··········<td></td>296 ··········<td></td>
Offset 307, 20 lines modifiedOffset 307, 20 lines modified
307 ··<td·class="mlabels-right">307 ··<td·class="mlabels-right">
308 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>308 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
309 ··</tr>309 ··</tr>
310 </table>310 </table>
311 </div><div·class="memdoc">311 </div><div·class="memdoc">
  
312 <p>Get·the·singleton·instance·of·the·helper.·</p>312 <p>Get·the·singleton·instance·of·the·helper.·</p>
313 <p·>This·method·has·to·be·called·with·the·same·arguments·that·the·main·method·of·the·program·was·called:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>**·argv){</div>313 <p·>This·method·has·to·be·called·with·the·same·arguments·that·the·main·method·of·the·program·was·called:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>**·argv){</div>
314 <div·class="line">··<a·class="code·hl_function"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">MPIHelper::instance</a>(argc,·argv);</div>314 <div·class="line">··<a·class="code·hl_function"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">MPIHelper::instance</a>(argc,·argv);</div>
315 <div·class="line">··<span·class="comment">//·program·code·comes·here</span></div>315 <div·class="line">··<span·class="comment">//·program·code·comes·here</span></div>
316 <div·class="line">··...</div>316 <div·class="line">··...</div>
317 <div·class="line">}</div>317 <div·class="line">}</div>
318 <div·class="ttc"·id="aa00071_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div>318 <div·class="ttc"·id="aa00332_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div>
319 <div·class="ttc"·id="aa02208_html_a25bb6bfa9963548bf4de5ae038815416"><div·class="ttname"><a·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">Dune::MPIHelper::instance</a></div><div·class="ttdeci">static·DUNE_EXPORT·MPIHelper·&amp;·instance()</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:258</div></div>319 <div·class="ttc"·id="aa02208_html_a25bb6bfa9963548bf4de5ae038815416"><div·class="ttname"><a·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">Dune::MPIHelper::instance</a></div><div·class="ttdeci">static·DUNE_EXPORT·MPIHelper·&amp;·instance()</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:258</div></div>
320 </div><!--·fragment·-->·<dl·class="params"><dt>Parameters</dt><dd>320 </div><!--·fragment·-->·<dl·class="params"><dt>Parameters</dt><dd>
321 ··<table·class="params">321 ··<table·class="params">
322 ····<tr><td·class="paramname">argc</td><td>The·number·of·arguments·provided·to·main.·</td></tr>322 ····<tr><td·class="paramname">argc</td><td>The·number·of·arguments·provided·to·main.·</td></tr>
323 ····<tr><td·class="paramname">argv</td><td>The·arguments·provided·to·main.·</td></tr>323 ····<tr><td·class="paramname">argv</td><td>The·arguments·provided·to·main.·</td></tr>
324 ··</table>324 ··</table>
325 ··</dd>325 ··</dd>
Offset 404, 15 lines modifiedOffset 404, 15 lines modified
404 </div><div·class="memdoc">404 </div><div·class="memdoc">
  
405 <p>Are·we·fake·(i.e.·pretend·to·have·MPI·support·but·are·compiled·without.)·</p>405 <p>Are·we·fake·(i.e.·pretend·to·have·MPI·support·but·are·compiled·without.)·</p>
  
406 </div>406 </div>
407 </div>407 </div>
408 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>408 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
409 <li><a·class="el"·href="a00026_source.html">mpihelper.hh</a></li>409 <li><a·class="el"·href="a00335_source.html">mpihelper.hh</a></li>
410 </ul>410 </ul>
411 </div><!--·contents·-->411 </div><!--·contents·-->
412 <!--·start·footer·part·-->412 <!--·start·footer·part·-->
413 <hr·class="footer"/><address·class="footer"><small>413 <hr·class="footer"/><address·class="footer"><small>
414 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4414 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
Max diff block lines reached; 9/13722 bytes (0.07%) of diff not shown.
10.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a02208.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::MPIHelper·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::MPIHelper·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>A·real·mpi·helper.··78 <p>A·real·mpi·helper.··
79 ·<a·href="a02208.html#details">More...</a></p>79 ·<a·href="a02208.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00026_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/parallel/mpihelper.hh</a>&gt;</code></p>
81 <table·class="memberdecls">81 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
83 Public·Types</h2></td></tr>83 Public·Types</h2></td></tr>
84 <tr·class="memitem:a964a0eb7ebfcade1d62501964265393e"><td·class="memItemLeft"·align="right"·valign="top">typedef·MPI_Comm&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a></td></tr>84 <tr·class="memitem:a964a0eb7ebfcade1d62501964265393e"><td·class="memItemLeft"·align="right"·valign="top">typedef·MPI_Comm&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a></td></tr>
85 <tr·class="memdesc:a964a0eb7ebfcade1d62501964265393e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·mpi·communicator.··<a·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">More...</a><br·/></td></tr>85 <tr·class="memdesc:a964a0eb7ebfcade1d62501964265393e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·mpi·communicator.··<a·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">More...</a><br·/></td></tr>
86 <tr·class="separator:a964a0eb7ebfcade1d62501964265393e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:a964a0eb7ebfcade1d62501964265393e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
Offset 107, 18 lines modifiedOffset 107, 18 lines modified
107 <tr·class="memitem:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a9dd9120f09ba5a96e6c85f24ed9117dd">getLocalCommunicator</a>·()</td></tr>107 <tr·class="memitem:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a9dd9120f09ba5a96e6c85f24ed9117dd">getLocalCommunicator</a>·()</td></tr>
108 <tr·class="memdesc:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·a·local·communicator··<a·href="a02208.html#a9dd9120f09ba5a96e6c85f24ed9117dd">More...</a><br·/></td></tr>108 <tr·class="memdesc:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">get·a·local·communicator··<a·href="a02208.html#a9dd9120f09ba5a96e6c85f24ed9117dd">More...</a><br·/></td></tr>
109 <tr·class="separator:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:a9dd9120f09ba5a96e6c85f24ed9117dd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:accdbef5c68d94f5dfa9a1f5ed24cddc6"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01988.html">Communication</a>&lt;·<a·class="el"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#accdbef5c68d94f5dfa9a1f5ed24cddc6">getCollectiveCommunication</a>·()</td></tr>110 <tr·class="memitem:accdbef5c68d94f5dfa9a1f5ed24cddc6"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01988.html">Communication</a>&lt;·<a·class="el"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#accdbef5c68d94f5dfa9a1f5ed24cddc6">getCollectiveCommunication</a>·()</td></tr>
111 <tr·class="separator:accdbef5c68d94f5dfa9a1f5ed24cddc6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>111 <tr·class="separator:accdbef5c68d94f5dfa9a1f5ed24cddc6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
112 <tr·class="memitem:a5dc7f84923245a6c68421fa2b3e4fa33"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01988.html">Communication</a>&lt;·<a·class="el"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a5dc7f84923245a6c68421fa2b3e4fa33">getCommunication</a>·()</td></tr>112 <tr·class="memitem:a5dc7f84923245a6c68421fa2b3e4fa33"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01988.html">Communication</a>&lt;·<a·class="el"·href="a02208.html#a964a0eb7ebfcade1d62501964265393e">MPICommunicator</a>·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a5dc7f84923245a6c68421fa2b3e4fa33">getCommunication</a>·()</td></tr>
113 <tr·class="separator:a5dc7f84923245a6c68421fa2b3e4fa33"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:a5dc7f84923245a6c68421fa2b3e4fa33"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a4ec30b56d985e3be3b0bfa14b1109c93">instance</a>·(int·&amp;argc,·char·**&amp;argv)</td></tr>114 <tr·class="memitem:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a4ec30b56d985e3be3b0bfa14b1109c93">instance</a>·(int·&amp;argc,·char·**&amp;argv)</td></tr>
115 <tr·class="memdesc:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·singleton·instance·of·the·helper.··<a·href="a02208.html#a4ec30b56d985e3be3b0bfa14b1109c93">More...</a><br·/></td></tr>115 <tr·class="memdesc:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·singleton·instance·of·the·helper.··<a·href="a02208.html#a4ec30b56d985e3be3b0bfa14b1109c93">More...</a><br·/></td></tr>
116 <tr·class="separator:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="memSeparator"·colspan="2">&#160;</td></tr>116 <tr·class="separator:a4ec30b56d985e3be3b0bfa14b1109c93"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
117 <tr·class="memitem:a25bb6bfa9963548bf4de5ae038815416"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">instance</a>·()</td></tr>117 <tr·class="memitem:a25bb6bfa9963548bf4de5ae038815416"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">instance</a>·()</td></tr>
118 <tr·class="separator:a25bb6bfa9963548bf4de5ae038815416"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:a25bb6bfa9963548bf4de5ae038815416"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 </table><table·class="memberdecls">119 </table><table·class="memberdecls">
120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>120 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
121 Static·Public·Attributes</h2></td></tr>121 Static·Public·Attributes</h2></td></tr>
122 <tr·class="memitem:a2873dfa4334235a0ac70430447e104fa"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a2873dfa4334235a0ac70430447e104fa">isFake</a>·=·false</td></tr>122 <tr·class="memitem:a2873dfa4334235a0ac70430447e104fa"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02208.html#a2873dfa4334235a0ac70430447e104fa">isFake</a>·=·false</td></tr>
123 <tr·class="memdesc:a2873dfa4334235a0ac70430447e104fa"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·we·fake·(i.·e.·pretend·to·have·MPI·support·but·are·compiled·without.··<a·href="a02208.html#a2873dfa4334235a0ac70430447e104fa">More...</a><br·/></td></tr>123 <tr·class="memdesc:a2873dfa4334235a0ac70430447e104fa"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Are·we·fake·(i.·e.·pretend·to·have·MPI·support·but·are·compiled·without.··<a·href="a02208.html#a2873dfa4334235a0ac70430447e104fa">More...</a><br·/></td></tr>
124 <tr·class="separator:a2873dfa4334235a0ac70430447e104fa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:a2873dfa4334235a0ac70430447e104fa"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 288, 15 lines modifiedOffset 288, 15 lines modified
288 <div·class="memitem">288 <div·class="memitem">
289 <div·class="memproto">289 <div·class="memproto">
290 <table·class="mlabels">290 <table·class="mlabels">
291 ··<tr>291 ··<tr>
292 ··<td·class="mlabels-left">292 ··<td·class="mlabels-left">
293 ······<table·class="memname">293 ······<table·class="memname">
294 ········<tr>294 ········<tr>
295 ··········<td·class="memname">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;·Dune::MPIHelper::instance·</td>295 ··········<td·class="memname">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;·Dune::MPIHelper::instance·</td>
296 ··········<td>(</td>296 ··········<td>(</td>
297 ··········<td·class="paramname"></td><td>)</td>297 ··········<td·class="paramname"></td><td>)</td>
298 ··········<td></td>298 ··········<td></td>
299 ········</tr>299 ········</tr>
300 ······</table>300 ······</table>
301 ··</td>301 ··</td>
302 ··<td·class="mlabels-right">302 ··<td·class="mlabels-right">
Offset 313, 15 lines modifiedOffset 313, 15 lines modified
313 <div·class="memitem">313 <div·class="memitem">
314 <div·class="memproto">314 <div·class="memproto">
315 <table·class="mlabels">315 <table·class="mlabels">
316 ··<tr>316 ··<tr>
317 ··<td·class="mlabels-left">317 ··<td·class="mlabels-left">
318 ······<table·class="memname">318 ······<table·class="memname">
319 ········<tr>319 ········<tr>
320 ··········<td·class="memname">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;·Dune::MPIHelper::instance·</td>320 ··········<td·class="memname">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·<a·class="el"·href="a02208.html">MPIHelper</a>·&amp;·Dune::MPIHelper::instance·</td>
321 ··········<td>(</td>321 ··········<td>(</td>
322 ··········<td·class="paramtype">int·&amp;&#160;</td>322 ··········<td·class="paramtype">int·&amp;&#160;</td>
323 ··········<td·class="paramname"><em>argc</em>,·</td>323 ··········<td·class="paramname"><em>argc</em>,·</td>
324 ········</tr>324 ········</tr>
325 ········<tr>325 ········<tr>
326 ··········<td·class="paramkey"></td>326 ··········<td·class="paramkey"></td>
327 ··········<td></td>327 ··········<td></td>
Offset 338, 20 lines modifiedOffset 338, 20 lines modified
338 ··<td·class="mlabels-right">338 ··<td·class="mlabels-right">
339 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>339 <span·class="mlabels"><span·class="mlabel">inline</span><span·class="mlabel">static</span></span>··</td>
340 ··</tr>340 ··</tr>
341 </table>341 </table>
342 </div><div·class="memdoc">342 </div><div·class="memdoc">
  
343 <p>Get·the·singleton·instance·of·the·helper.·</p>343 <p>Get·the·singleton·instance·of·the·helper.·</p>
344 <p·>This·method·has·to·be·called·with·the·same·arguments·that·the·main·method·of·the·program·was·called:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>**·argv){</div>344 <p·>This·method·has·to·be·called·with·the·same·arguments·that·the·main·method·of·the·program·was·called:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a>(<span·class="keywordtype">int</span>·argc,·<span·class="keywordtype">char</span>**·argv){</div>
345 <div·class="line">··<a·class="code·hl_function"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">MPIHelper::instance</a>(argc,·argv);</div>345 <div·class="line">··<a·class="code·hl_function"·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">MPIHelper::instance</a>(argc,·argv);</div>
346 <div·class="line">··<span·class="comment">//·program·code·comes·here</span></div>346 <div·class="line">··<span·class="comment">//·program·code·comes·here</span></div>
347 <div·class="line">··...</div>347 <div·class="line">··...</div>
348 <div·class="line">}</div>348 <div·class="line">}</div>
349 <div·class="ttc"·id="aa00071_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div>349 <div·class="ttc"·id="aa00332_html_a3c04138a5bfe5d72780bb7e82a18e627"><div·class="ttname"><a·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a></div><div·class="ttdeci">int·main(int·argc,·char·**argv)</div><div·class="ttdef"><b>Definition:</b>·mpi_collective_benchmark.cc:293</div></div>
350 <div·class="ttc"·id="aa02208_html_a25bb6bfa9963548bf4de5ae038815416"><div·class="ttname"><a·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">Dune::MPIHelper::instance</a></div><div·class="ttdeci">static·DUNE_EXPORT·MPIHelper·&amp;·instance()</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:258</div></div>350 <div·class="ttc"·id="aa02208_html_a25bb6bfa9963548bf4de5ae038815416"><div·class="ttname"><a·href="a02208.html#a25bb6bfa9963548bf4de5ae038815416">Dune::MPIHelper::instance</a></div><div·class="ttdeci">static·DUNE_EXPORT·MPIHelper·&amp;·instance()</div><div·class="ttdef"><b>Definition:</b>·mpihelper.hh:258</div></div>
351 </div><!--·fragment·-->·<dl·class="params"><dt>Parameters</dt><dd>351 </div><!--·fragment·-->·<dl·class="params"><dt>Parameters</dt><dd>
352 ··<table·class="params">352 ··<table·class="params">
353 ····<tr><td·class="paramname">argc</td><td>The·number·of·arguments·provided·to·main.·</td></tr>353 ····<tr><td·class="paramname">argc</td><td>The·number·of·arguments·provided·to·main.·</td></tr>
354 ····<tr><td·class="paramname">argv</td><td>The·arguments·provided·to·main.·</td></tr>354 ····<tr><td·class="paramname">argv</td><td>The·arguments·provided·to·main.·</td></tr>
355 ··</table>355 ··</table>
356 ··</dd>356 ··</dd>
Offset 435, 15 lines modifiedOffset 435, 15 lines modified
435 </div><div·class="memdoc">435 </div><div·class="memdoc">
  
436 <p>Are·we·fake·(i.·e.·pretend·to·have·MPI·support·but·are·compiled·without.·</p>436 <p>Are·we·fake·(i.·e.·pretend·to·have·MPI·support·but·are·compiled·without.·</p>
  
437 </div>437 </div>
438 </div>438 </div>
439 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>439 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
440 <li><a·class="el"·href="a00026_source.html">mpihelper.hh</a></li>440 <li><a·class="el"·href="a00335_source.html">mpihelper.hh</a></li>
441 </ul>441 </ul>
442 </div><!--·contents·-->442 </div><!--·contents·-->
443 <!--·start·footer·part·-->443 <!--·start·footer·part·-->
444 <hr·class="footer"/><address·class="footer"><small>444 <hr·class="footer"/><address·class="footer"><small>
445 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4445 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
446 </small></address>446 </small></address>
447 </body>447 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a02212.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
72 <a·href="a02209.html">List·of·all·members</a>··</div>72 <a·href="a02209.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::MPIPack·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::MPIPack·Class·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
79 Public·Member·Functions</h2></td></tr>79 Public·Member·Functions</h2></td></tr>
80 <tr·class="memitem:a4e166e81e3c9ffba16197994c428112f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02212.html#a4e166e81e3c9ffba16197994c428112f">MPIPack</a>·(<a·class="el"·href="a01988.html">Communication</a>&lt;·MPI_Comm·&gt;·comm,·std::size_t·<a·class="el"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>=0)</td></tr>80 <tr·class="memitem:a4e166e81e3c9ffba16197994c428112f"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02212.html#a4e166e81e3c9ffba16197994c428112f">MPIPack</a>·(<a·class="el"·href="a01988.html">Communication</a>&lt;·MPI_Comm·&gt;·comm,·std::size_t·<a·class="el"·href="a02212.html#a3ccdfa3cc0a7016509b99419e5d0a1f6">size</a>=0)</td></tr>
81 <tr·class="separator:a4e166e81e3c9ffba16197994c428112f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:a4e166e81e3c9ffba16197994c428112f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:a9f5ffce415d2f91c197a89d66f8c168e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02212.html#a9f5ffce415d2f91c197a89d66f8c168e">MPIPack</a>·(const·<a·class="el"·href="a02212.html">MPIPack</a>·&amp;)=delete</td></tr>82 <tr·class="memitem:a9f5ffce415d2f91c197a89d66f8c168e"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02212.html#a9f5ffce415d2f91c197a89d66f8c168e">MPIPack</a>·(const·<a·class="el"·href="a02212.html">MPIPack</a>·&amp;)=delete</td></tr>
83 <tr·class="separator:a9f5ffce415d2f91c197a89d66f8c168e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a9f5ffce415d2f91c197a89d66f8c168e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 669, 15 lines modifiedOffset 669, 15 lines modified
669 ··</table>669 ··</table>
670 ··</dd>670 ··</dd>
671 </dl>671 </dl>
  
672 </div>672 </div>
673 </div>673 </div>
674 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>674 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
675 <li><a·class="el"·href="a00014_source.html">mpipack.hh</a></li>675 <li><a·class="el"·href="a00341_source.html">mpipack.hh</a></li>
676 </ul>676 </ul>
677 </div><!--·contents·-->677 </div><!--·contents·-->
678 <!--·start·footer·part·-->678 <!--·start·footer·part·-->
679 <hr·class="footer"/><address·class="footer"><small>679 <hr·class="footer"/><address·class="footer"><small>
680 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4680 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
681 </small></address>681 </small></address>
682 </body>682 </body>
2.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a02216.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;72 <a·href="#pro-methods">Protected·Member·Functions</a>·&#124;
73 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;73 <a·href="#pro-attribs">Protected·Attributes</a>·&#124;
74 <a·href="a02213.html">List·of·all·members</a>··</div>74 <a·href="a02213.html">List·of·all·members</a>··</div>
75 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·P,·std::enable_if_t&lt;·std::is_same&lt;·std::remove_const_t&lt;·P·&gt;,·MPIPack·&gt;::value·&gt;·&gt;·Struct·Template·Reference</div></div>75 ··<div·class="headertitle"><div·class="title">Dune::MPIData&lt;·P,·std::enable_if_t&lt;·std::is_same&lt;·std::remove_const_t&lt;·P·&gt;,·MPIPack·&gt;::value·&gt;·&gt;·Struct·Template·Reference</div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p><code>#include·&lt;<a·class="el"·href="a00014_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00341_source.html">dune/common/parallel/mpipack.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
81 Public·Member·Functions</h2></td></tr>81 Public·Member·Functions</h2></td></tr>
82 <tr·class="memitem:a70058db2020c44aea1466ec4d032057a"><td·class="memItemLeft"·align="right"·valign="top">void·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02216.html#a70058db2020c44aea1466ec4d032057a">ptr</a>·()</td></tr>82 <tr·class="memitem:a70058db2020c44aea1466ec4d032057a"><td·class="memItemLeft"·align="right"·valign="top">void·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02216.html#a70058db2020c44aea1466ec4d032057a">ptr</a>·()</td></tr>
83 <tr·class="separator:a70058db2020c44aea1466ec4d032057a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a70058db2020c44aea1466ec4d032057a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a59cd59c3ed948bd63ac2458ee979fa8c"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02216.html#a59cd59c3ed948bd63ac2458ee979fa8c">size</a>·()</td></tr>84 <tr·class="memitem:a59cd59c3ed948bd63ac2458ee979fa8c"><td·class="memItemLeft"·align="right"·valign="top">int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02216.html#a59cd59c3ed948bd63ac2458ee979fa8c">size</a>·()</td></tr>
85 <tr·class="separator:a59cd59c3ed948bd63ac2458ee979fa8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:a59cd59c3ed948bd63ac2458ee979fa8c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 289, 15 lines modifiedOffset 289, 15 lines modified
289 ··</tr>289 ··</tr>
290 </table>290 </table>
291 </div><div·class="memdoc">291 </div><div·class="memdoc">
  
292 </div>292 </div>
293 </div>293 </div>
294 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>294 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
295 <li><a·class="el"·href="a00014_source.html">mpipack.hh</a></li>295 <li><a·class="el"·href="a00341_source.html">mpipack.hh</a></li>
296 </ul>296 </ul>
297 </div><!--·contents·-->297 </div><!--·contents·-->
298 <!--·start·footer·part·-->298 <!--·start·footer·part·-->
299 <hr·class="footer"/><address·class="footer"><small>299 <hr·class="footer"/><address·class="footer"><small>
300 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4300 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
301 </small></address>301 </small></address>
302 </body>302 </body>
2.35 KB
./usr/share/doc/libdune-common-doc/doxygen/a02220.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::ParallelLocalIndex&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::ParallelLocalIndex&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>An·index·present·on·the·local·process·with·an·additional·attribute·flag.··76 <p>An·index·present·on·the·local·process·with·an·additional·attribute·flag.··
77 ·<a·href="a02220.html#details">More...</a></p>77 ·<a·href="a02220.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a></td></tr>82 <tr·class="memitem:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">Attribute</a></td></tr>
83 <tr·class="memdesc:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·attributes.·Normally·this·will·be·an·enumeration·like.··<a·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">More...</a><br·/></td></tr>83 <tr·class="memdesc:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·attributes.·Normally·this·will·be·an·enumeration·like.··<a·href="a02220.html#a7e473eb41ada9a29dd9b18b59d27cab4">More...</a><br·/></td></tr>
84 <tr·class="separator:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a7e473eb41ada9a29dd9b18b59d27cab4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
Offset 142, 15 lines modifiedOffset 142, 15 lines modified
142 <p>The·type·of·the·attributes.·Normally·this·will·be·an·enumeration·like.·</p>142 <p>The·type·of·the·attributes.·Normally·this·will·be·an·enumeration·like.·</p>
143 <pre>143 <pre>
144 enum·Attributes{owner,·border,·overlap};144 enum·Attributes{owner,·border,·overlap};
145 </pre>·145 </pre>·
146 </div>146 </div>
147 </div>147 </div>
148 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>148 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
149 <li><a·class="el"·href="a00068_source.html">plocalindex.hh</a></li>149 <li><a·class="el"·href="a00320_source.html">plocalindex.hh</a></li>
150 </ul>150 </ul>
151 </div><!--·contents·-->151 </div><!--·contents·-->
152 <!--·start·footer·part·-->152 <!--·start·footer·part·-->
153 <hr·class="footer"/><address·class="footer"><small>153 <hr·class="footer"/><address·class="footer"><small>
154 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4154 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
155 </small></address>155 </small></address>
156 </body>156 </body>
2.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a02224.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02221.html">List·of·all·members</a>··</div>71 <a·href="a02221.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::LocalIndexComparator&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::LocalIndexComparator&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a3477a42c2d755bb829f26147dc03e0b8"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02224.html#a3477a42c2d755bb829f26147dc03e0b8">compare</a>·(const·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;t1,·const·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;t2)</td></tr>79 <tr·class="memitem:a3477a42c2d755bb829f26147dc03e0b8"><td·class="memItemLeft"·align="right"·valign="top">static·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02224.html#a3477a42c2d755bb829f26147dc03e0b8">compare</a>·(const·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;t1,·const·<a·class="el"·href="a02220.html">ParallelLocalIndex</a>&lt;·T·&gt;·&amp;t2)</td></tr>
80 <tr·class="separator:a3477a42c2d755bb829f26147dc03e0b8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a3477a42c2d755bb829f26147dc03e0b8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Function·Documentation</h2>82 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 116, 15 lines modifiedOffset 116, 15 lines modified
116 ··</tr>116 ··</tr>
117 </table>117 </table>
118 </div><div·class="memdoc">118 </div><div·class="memdoc">
  
119 </div>119 </div>
120 </div>120 </div>
121 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>121 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
122 <li><a·class="el"·href="a00068_source.html">plocalindex.hh</a></li>122 <li><a·class="el"·href="a00320_source.html">plocalindex.hh</a></li>
123 </ul>123 </ul>
124 </div><!--·contents·-->124 </div><!--·contents·-->
125 <!--·start·footer·part·-->125 <!--·start·footer·part·-->
126 <hr·class="footer"/><address·class="footer"><small>126 <hr·class="footer"/><address·class="footer"><small>
127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4127 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
128 </small></address>128 </small></address>
129 </body>129 </body>
2.34 KB
./usr/share/doc/libdune-common-doc/doxygen/a02228.html
    
Offset 69, 26 lines modifiedOffset 69, 26 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02225.html">List·of·all·members</a>··</div>71 <a·href="a02225.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::MPITraits&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::MPITraits&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parallel/plocalindex.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:ga841c70a0d146199e4a88408895390856"><td·class="memItemLeft"·align="right"·valign="top">static·MPI_Datatype&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga841c70a0d146199e4a88408895390856">getType</a>·()</td></tr>79 <tr·class="memitem:ga841c70a0d146199e4a88408895390856"><td·class="memItemLeft"·align="right"·valign="top">static·MPI_Datatype&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00416.html#ga841c70a0d146199e4a88408895390856">getType</a>·()</td></tr>
80 <tr·class="separator:ga841c70a0d146199e4a88408895390856"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga841c70a0d146199e4a88408895390856"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>82 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
83 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>83 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
84 class·Dune::MPITraits&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</div><dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000007">Todo:</a></b></dt><dd>Please·doc·me!·</dd></dl>84 class·Dune::MPITraits&lt;·ParallelLocalIndex&lt;·T·&gt;·&gt;</div><dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000007">Todo:</a></b></dt><dd>Please·doc·me!·</dd></dl>
85 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>85 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
86 <li><a·class="el"·href="a00068_source.html">plocalindex.hh</a></li>86 <li><a·class="el"·href="a00320_source.html">plocalindex.hh</a></li>
87 </ul>87 </ul>
88 </div><!--·contents·-->88 </div><!--·contents·-->
89 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
90 <hr·class="footer"/><address·class="footer"><small>90 <hr·class="footer"/><address·class="footer"><small>
91 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.491 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
92 </small></address>92 </small></address>
93 </body>93 </body>
2.18 KB
./usr/share/doc/libdune-common-doc/doxygen/a02232.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02229.html">List·of·all·members</a>··</div>71 <a·href="a02229.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::MPITraits&lt;·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::MPITraits&lt;·IndexPair&lt;·TG,·ParallelLocalIndex&lt;·TA·&gt;·&gt;·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:af122c1dea36537fe760b7d0c7a54d35c"><td·class="memItemLeft"·align="right"·valign="top">static·MPI_Datatype&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02232.html#af122c1dea36537fe760b7d0c7a54d35c">getType</a>·()</td></tr>79 <tr·class="memitem:af122c1dea36537fe760b7d0c7a54d35c"><td·class="memItemLeft"·align="right"·valign="top">static·MPI_Datatype&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02232.html#af122c1dea36537fe760b7d0c7a54d35c">getType</a>·()</td></tr>
80 <tr·class="separator:af122c1dea36537fe760b7d0c7a54d35c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:af122c1dea36537fe760b7d0c7a54d35c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>82 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 105, 15 lines modifiedOffset 105, 15 lines modified
105 ··</tr>105 ··</tr>
106 </table>106 </table>
107 </div><div·class="memdoc">107 </div><div·class="memdoc">
  
108 </div>108 </div>
109 </div>109 </div>
110 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>110 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
111 <li><a·class="el"·href="a00017_source.html">remoteindices.hh</a></li>111 <li><a·class="el"·href="a00359_source.html">remoteindices.hh</a></li>
112 </ul>112 </ul>
113 </div><!--·contents·-->113 </div><!--·contents·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <hr·class="footer"/><address·class="footer"><small>115 <hr·class="footer"/><address·class="footer"><small>
116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
117 </small></address>117 </small></address>
118 </body>118 </body>
2.55 KB
./usr/share/doc/libdune-common-doc/doxygen/a02236.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndices&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndices&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>The·indices·present·on·remote·processes.··76 <p>The·indices·present·on·remote·processes.··
77 ·<a·href="a02236.html#details">More...</a></p>77 ·<a·href="a02236.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a34d5b63b71b70bc705fb5821c24c4896"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02236.html#a34d5b63b71b70bc705fb5821c24c4896">ParallelIndexSet</a></td></tr>82 <tr·class="memitem:a34d5b63b71b70bc705fb5821c24c4896"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02236.html#a34d5b63b71b70bc705fb5821c24c4896">ParallelIndexSet</a></td></tr>
83 <tr·class="memdesc:a34d5b63b71b70bc705fb5821c24c4896"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·the·index·set·we·use,·e.g.·ParallelLocalIndexSet.··<a·href="a02236.html#a34d5b63b71b70bc705fb5821c24c4896">More...</a><br·/></td></tr>83 <tr·class="memdesc:a34d5b63b71b70bc705fb5821c24c4896"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·of·the·index·set·we·use,·e.g.·ParallelLocalIndexSet.··<a·href="a02236.html#a34d5b63b71b70bc705fb5821c24c4896">More...</a><br·/></td></tr>
84 <tr·class="separator:a34d5b63b71b70bc705fb5821c24c4896"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a34d5b63b71b70bc705fb5821c24c4896"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:ad171da4ad3ec90525937ecb0d09c14e9"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02248.html">CollectiveIterator</a>&lt;·T,·A·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02236.html#ad171da4ad3ec90525937ecb0d09c14e9">CollectiveIteratorT</a></td></tr>85 <tr·class="memitem:ad171da4ad3ec90525937ecb0d09c14e9"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02248.html">CollectiveIterator</a>&lt;·T,·A·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02236.html#ad171da4ad3ec90525937ecb0d09c14e9">CollectiveIteratorT</a></td></tr>
Offset 1046, 15 lines modifiedOffset 1046, 15 lines modified
1046 </div><div·class="memdoc">1046 </div><div·class="memdoc">
  
1047 <p>Get·the·index·set·at·the·source.·</p>1047 <p>Get·the·index·set·at·the·source.·</p>
  
1048 </div>1048 </div>
1049 </div>1049 </div>
1050 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1050 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1051 <li><a·class="el"·href="a00017_source.html">remoteindices.hh</a></li>1051 <li><a·class="el"·href="a00359_source.html">remoteindices.hh</a></li>
1052 </ul>1052 </ul>
1053 </div><!--·contents·-->1053 </div><!--·contents·-->
1054 <!--·start·footer·part·-->1054 <!--·start·footer·part·-->
1055 <hr·class="footer"/><address·class="footer"><small>1055 <hr·class="footer"/><address·class="footer"><small>
1056 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.41056 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
1057 </small></address>1057 </small></address>
1058 </body>1058 </body>
2.49 KB
./usr/share/doc/libdune-common-doc/doxygen/a02240.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndex&lt;·T1,·T2·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndex&lt;·T1,·T2·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Information·about·an·index·residing·on·another·processor.··76 <p>Information·about·an·index·residing·on·another·processor.··
77 ·<a·href="a02240.html#details">More...</a></p>77 ·<a·href="a02240.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a38bf1a0bd2297f499cf393d0562e5b5d"><td·class="memItemLeft"·align="right"·valign="top">typedef·T1&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02240.html#a38bf1a0bd2297f499cf393d0562e5b5d">GlobalIndex</a></td></tr>82 <tr·class="memitem:a38bf1a0bd2297f499cf393d0562e5b5d"><td·class="memItemLeft"·align="right"·valign="top">typedef·T1&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02240.html#a38bf1a0bd2297f499cf393d0562e5b5d">GlobalIndex</a></td></tr>
83 <tr·class="memdesc:a38bf1a0bd2297f499cf393d0562e5b5d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·type·of·the·global·index.·This·type·has·to·provide·at·least·a·operator&lt;·for·sorting.··<a·href="a02240.html#a38bf1a0bd2297f499cf393d0562e5b5d">More...</a><br·/></td></tr>83 <tr·class="memdesc:a38bf1a0bd2297f499cf393d0562e5b5d"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·type·of·the·global·index.·This·type·has·to·provide·at·least·a·operator&lt;·for·sorting.··<a·href="a02240.html#a38bf1a0bd2297f499cf393d0562e5b5d">More...</a><br·/></td></tr>
84 <tr·class="separator:a38bf1a0bd2297f499cf393d0562e5b5d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a38bf1a0bd2297f499cf393d0562e5b5d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:a5d69db3a848cd9ba863871d8ef39bc7f"><td·class="memItemLeft"·align="right"·valign="top">typedef·T2&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02240.html#a5d69db3a848cd9ba863871d8ef39bc7f">Attribute</a></td></tr>85 <tr·class="memitem:a5d69db3a848cd9ba863871d8ef39bc7f"><td·class="memItemLeft"·align="right"·valign="top">typedef·T2&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02240.html#a5d69db3a848cd9ba863871d8ef39bc7f">Attribute</a></td></tr>
Offset 367, 15 lines modifiedOffset 367, 15 lines modified
367 ··</tr>367 ··</tr>
368 </table>368 </table>
369 </div><div·class="memdoc">369 </div><div·class="memdoc">
  
370 </div>370 </div>
371 </div>371 </div>
372 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>372 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
373 <li><a·class="el"·href="a00017_source.html">remoteindices.hh</a></li>373 <li><a·class="el"·href="a00359_source.html">remoteindices.hh</a></li>
374 </ul>374 </ul>
375 </div><!--·contents·-->375 </div><!--·contents·-->
376 <!--·start·footer·part·-->376 <!--·start·footer·part·-->
377 <hr·class="footer"/><address·class="footer"><small>377 <hr·class="footer"/><address·class="footer"><small>
378 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4378 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
379 </small></address>379 </small></address>
380 </body>380 </body>
2.37 KB
./usr/share/doc/libdune-common-doc/doxygen/a02244.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote·index·list.··78 <p>Modifier·for·adding·and/or·deleting·remote·indices·from·the·remote·index·list.··
79 ·<a·href="a02244.html#details">More...</a></p>79 ·<a·href="a02244.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
81 <table·class="memberdecls">81 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
83 Classes</h2></td></tr>83 Classes</h2></td></tr>
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02256.html">InvalidPosition</a></td></tr>84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02256.html">InvalidPosition</a></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>87 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
Offset 555, 15 lines modifiedOffset 555, 15 lines modified
  
555 <p>If·true·the·index·set·corresponding·to·the·remote·indices·might·get·modified.·</p>555 <p>If·true·the·index·set·corresponding·to·the·remote·indices·might·get·modified.·</p>
556 <p·>If·for·example·new·indices·are·added·to·an·index·set·all·pointers·of·the·remote·indices·to·the·local·indices·become·invalid·after·<a·class="el"·href="a00416.html#gaadfad947098175e885aa7fd6c5b490a5"·title="Indicate·that·the·resizing·finishes.">ParallelIndexSet::endResize()</a>·was·called.·</p>556 <p·>If·for·example·new·indices·are·added·to·an·index·set·all·pointers·of·the·remote·indices·to·the·local·indices·become·invalid·after·<a·class="el"·href="a00416.html#gaadfad947098175e885aa7fd6c5b490a5"·title="Indicate·that·the·resizing·finishes.">ParallelIndexSet::endResize()</a>·was·called.·</p>
  
557 </div>557 </div>
558 </div>558 </div>
559 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>559 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
560 <li><a·class="el"·href="a00017_source.html">remoteindices.hh</a></li>560 <li><a·class="el"·href="a00359_source.html">remoteindices.hh</a></li>
561 </ul>561 </ul>
562 </div><!--·contents·-->562 </div><!--·contents·-->
563 <!--·start·footer·part·-->563 <!--·start·footer·part·-->
564 <hr·class="footer"/><address·class="footer"><small>564 <hr·class="footer"/><address·class="footer"><small>
565 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4565 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
566 </small></address>566 </small></address>
567 </body>567 </body>
2.11 KB
./usr/share/doc/libdune-common-doc/doxygen/a02248.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::CollectiveIterator&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::CollectiveIterator&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>A·collective·iterator·for·moving·over·the·remote·indices·for·all·processes·collectively.··77 <p>A·collective·iterator·for·moving·over·the·remote·indices·for·all·processes·collectively.··
78 ·<a·href="a02248.html#details">More...</a></p>78 ·<a·href="a02248.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
80 <table·class="memberdecls">80 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
82 Classes</h2></td></tr>82 Classes</h2></td></tr>
83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02260.html">iterator</a></td></tr>83 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02260.html">iterator</a></td></tr>
84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Iterator·over·the·valid·underlying·iterators.··<a·href="a02260.html#details">More...</a><br·/></td></tr>84 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Iterator·over·the·valid·underlying·iterators.··<a·href="a02260.html#details">More...</a><br·/></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table><table·class="memberdecls">86 </table><table·class="memberdecls">
Offset 362, 15 lines modifiedOffset 362, 15 lines modified
362 ··</tr>362 ··</tr>
363 </table>363 </table>
364 </div><div·class="memdoc">364 </div><div·class="memdoc">
  
365 </div>365 </div>
366 </div>366 </div>
367 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>367 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
368 <li><a·class="el"·href="a00017_source.html">remoteindices.hh</a></li>368 <li><a·class="el"·href="a00359_source.html">remoteindices.hh</a></li>
369 </ul>369 </ul>
370 </div><!--·contents·-->370 </div><!--·contents·-->
371 <!--·start·footer·part·-->371 <!--·start·footer·part·-->
372 <hr·class="footer"/><address·class="footer"><small>372 <hr·class="footer"/><address·class="footer"><small>
373 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4373 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
374 </small></address>374 </small></address>
375 </body>375 </body>
1.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a02252.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::OwnerOverlapCopyCommunication&lt;·T1,·T2·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::OwnerOverlapCopyCommunication&lt;·T1,·T2·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
72 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>72 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
73 <li><a·class="el"·href="a00017_source.html">remoteindices.hh</a></li>73 <li><a·class="el"·href="a00359_source.html">remoteindices.hh</a></li>
74 </ul>74 </ul>
75 </div><!--·contents·-->75 </div><!--·contents·-->
76 <!--·start·footer·part·-->76 <!--·start·footer·part·-->
77 <hr·class="footer"/><address·class="footer"><small>77 <hr·class="footer"/><address·class="footer"><small>
78 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.478 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
79 </small></address>79 </small></address>
80 </body>80 </body>
3.14 KB
./usr/share/doc/libdune-common-doc/doxygen/a02256.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
72 <a·href="a02253.html">List·of·all·members</a>··</div>72 <a·href="a02253.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition·Class·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
77 <div·class="dynheader">77 <div·class="dynheader">
78 Inheritance·diagram·for·Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition:</div>78 Inheritance·diagram·for·Dune::RemoteIndexListModifier&lt;·T,·A,·mode·&gt;::InvalidPosition:</div>
79 <div·class="dyncontent">79 <div·class="dyncontent">
80 <div·class="center"><img·src="a02255.png"·border="0"·usemap="#a_dune_1_1_remote_index_list_modifier_3_01_t_00_01_a_00_01mode_01_4_1_1_invalid_position_inherit__map"·alt="Inheritance·graph"/></div>80 <div·class="center"><img·src="a02255.png"·border="0"·usemap="#a_dune_1_1_remote_index_list_modifier_3_01_t_00_01_a_00_01mode_01_4_1_1_invalid_position_inherit__map"·alt="Inheritance·graph"/></div>
81 <map·name="a_dune_1_1_remote_index_list_modifier_3_01_t_00_01_a_00_01mode_01_4_1_1_invalid_position_inherit__map"·id="a_dune_1_1_remote_index_list_modifier_3_01_t_00_01_a_00_01mode_01_4_1_1_invalid_position_inherit__map">81 <map·name="a_dune_1_1_remote_index_list_modifier_3_01_t_00_01_a_00_01mode_01_4_1_1_invalid_position_inherit__map"·id="a_dune_1_1_remote_index_list_modifier_3_01_t_00_01_a_00_01mode_01_4_1_1_invalid_position_inherit__map">
82 <area·shape="rect"·title="·"·alt=""·coords="5,229,211,271"/>82 <area·shape="rect"·title="·"·alt=""·coords="5,229,211,271"/>
83 <area·shape="rect"·href="a01564.html"·title="Default·exception·class·for·range·errors."·alt=""·coords="45,155,171,181"/>83 <area·shape="rect"·href="a01564.html"·title="Default·exception·class·for·range·errors."·alt=""·coords="45,155,171,181"/>
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 <tr·class="memdesc:ga297201b53f24b1d4758c1e8fd94970bd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">add·a·functor·which·is·called·before·a·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>·is·emitted·(see·<a·class="el"·href="a01552.html"·title="Base·class·to·add·a·hook·to·the·Dune::Exception.">Dune::ExceptionHook</a>)··<a·href="a00412.html#ga297201b53f24b1d4758c1e8fd94970bd">More...</a><br·/></td></tr>102 <tr·class="memdesc:ga297201b53f24b1d4758c1e8fd94970bd"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">add·a·functor·which·is·called·before·a·<a·class="el"·href="a01548.html"·title="Base·class·for·Dune-Exceptions.">Dune::Exception</a>·is·emitted·(see·<a·class="el"·href="a01552.html"·title="Base·class·to·add·a·hook·to·the·Dune::Exception.">Dune::ExceptionHook</a>)··<a·href="a00412.html#ga297201b53f24b1d4758c1e8fd94970bd">More...</a><br·/></td></tr>
103 <tr·class="separator:ga297201b53f24b1d4758c1e8fd94970bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>103 <tr·class="separator:ga297201b53f24b1d4758c1e8fd94970bd"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
104 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>104 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
105 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>105 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
106 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 </table>107 </table>
108 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>108 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00017_source.html">remoteindices.hh</a></li>109 <li><a·class="el"·href="a00359_source.html">remoteindices.hh</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>115 </small></address>
116 </body>116 </body>
2.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a02260.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::CollectiveIterator&lt;·T,·A·&gt;::iterator·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::CollectiveIterator&lt;·T,·A·&gt;::iterator·Class·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Iterator·over·the·valid·underlying·iterators.··76 <p>Iterator·over·the·valid·underlying·iterators.··
77 ·<a·href="a02260.html#details">More...</a></p>77 ·<a·href="a02260.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00017_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00359_source.html">dune/common/parallel/remoteindices.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:ae5d41226652625640a8563fdb03886b1"><td·class="memItemLeft"·align="right"·valign="top">typedef·Map::iterator&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02260.html#ae5d41226652625640a8563fdb03886b1">RealIterator</a></td></tr>82 <tr·class="memitem:ae5d41226652625640a8563fdb03886b1"><td·class="memItemLeft"·align="right"·valign="top">typedef·Map::iterator&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02260.html#ae5d41226652625640a8563fdb03886b1">RealIterator</a></td></tr>
83 <tr·class="separator:ae5d41226652625640a8563fdb03886b1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ae5d41226652625640a8563fdb03886b1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a871662531ccfbf6c44275ae503a0bbae"><td·class="memItemLeft"·align="right"·valign="top">typedef·Map::iterator&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02260.html#a871662531ccfbf6c44275ae503a0bbae">ConstRealIterator</a></td></tr>84 <tr·class="memitem:a871662531ccfbf6c44275ae503a0bbae"><td·class="memItemLeft"·align="right"·valign="top">typedef·Map::iterator&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02260.html#a871662531ccfbf6c44275ae503a0bbae">ConstRealIterator</a></td></tr>
85 <tr·class="separator:a871662531ccfbf6c44275ae503a0bbae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:a871662531ccfbf6c44275ae503a0bbae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 437, 15 lines modifiedOffset 437, 15 lines modified
437 </table>437 </table>
438 </div><div·class="memdoc">438 </div><div·class="memdoc">
439 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000013">Todo:</a></b></dt><dd>Please·doc·me!·</dd></dl>439 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000013">Todo:</a></b></dt><dd>Please·doc·me!·</dd></dl>
  
440 </div>440 </div>
441 </div>441 </div>
442 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>442 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
443 <li><a·class="el"·href="a00017_source.html">remoteindices.hh</a></li>443 <li><a·class="el"·href="a00359_source.html">remoteindices.hh</a></li>
444 </ul>444 </ul>
445 </div><!--·contents·-->445 </div><!--·contents·-->
446 <!--·start·footer·part·-->446 <!--·start·footer·part·-->
447 <hr·class="footer"/><address·class="footer"><small>447 <hr·class="footer"/><address·class="footer"><small>
448 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4448 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
449 </small></address>449 </small></address>
450 </body>450 </body>
2.5 KB
./usr/share/doc/libdune-common-doc/doxygen/a02264.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::SelectionIterator&lt;·TS,·TG,·TL,·N·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::SelectionIterator&lt;·TS,·TG,·TL,·N·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·const·iterator·over·an·uncached·selection.··76 <p>A·const·iterator·over·an·uncached·selection.··
77 ·<a·href="a02264.html#details">More...</a></p>77 ·<a·href="a02264.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="memItemLeft"·align="right"·valign="top">typedef·TS&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02264.html#a879e7b4fc89ddd0e688db4b259a4d804">AttributeSet</a></td></tr>82 <tr·class="memitem:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="memItemLeft"·align="right"·valign="top">typedef·TS&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02264.html#a879e7b4fc89ddd0e688db4b259a4d804">AttributeSet</a></td></tr>
83 <tr·class="memdesc:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·Set·of·attributes.··<a·href="a02264.html#a879e7b4fc89ddd0e688db4b259a4d804">More...</a><br·/></td></tr>83 <tr·class="memdesc:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·Set·of·attributes.··<a·href="a02264.html#a879e7b4fc89ddd0e688db4b259a4d804">More...</a><br·/></td></tr>
84 <tr·class="separator:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a879e7b4fc89ddd0e688db4b259a4d804"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:a886346234b927463117431b844788c1b"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02104.html">Dune::ParallelIndexSet</a>&lt;·TG,·TL,·N·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02264.html#a886346234b927463117431b844788c1b">ParallelIndexSet</a></td></tr>85 <tr·class="memitem:a886346234b927463117431b844788c1b"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02104.html">Dune::ParallelIndexSet</a>&lt;·TG,·TL,·N·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02264.html#a886346234b927463117431b844788c1b">ParallelIndexSet</a></td></tr>
Offset 318, 15 lines modifiedOffset 318, 15 lines modified
318 ··</tr>318 ··</tr>
319 </table>319 </table>
320 </div><div·class="memdoc">320 </div><div·class="memdoc">
  
321 </div>321 </div>
322 </div>322 </div>
323 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>323 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
324 <li><a·class="el"·href="a00011_source.html">selection.hh</a></li>324 <li><a·class="el"·href="a00323_source.html">selection.hh</a></li>
325 </ul>325 </ul>
326 </div><!--·contents·-->326 </div><!--·contents·-->
327 <!--·start·footer·part·-->327 <!--·start·footer·part·-->
328 <hr·class="footer"/><address·class="footer"><small>328 <hr·class="footer"/><address·class="footer"><small>
329 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4329 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
330 </small></address>330 </small></address>
331 </body>331 </body>
2.41 KB
./usr/share/doc/libdune-common-doc/doxygen/a02268.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::UncachedSelection&lt;·TS,·TG,·TL,·N·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::UncachedSelection&lt;·TS,·TG,·TL,·N·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>An·uncached·selection·of·indices.··76 <p>An·uncached·selection·of·indices.··
77 ·<a·href="a02268.html#details">More...</a></p>77 ·<a·href="a02268.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a589f0ae8cab2af79028ade308825715a"><td·class="memItemLeft"·align="right"·valign="top">typedef·TS&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02268.html#a589f0ae8cab2af79028ade308825715a">AttributeSet</a></td></tr>82 <tr·class="memitem:a589f0ae8cab2af79028ade308825715a"><td·class="memItemLeft"·align="right"·valign="top">typedef·TS&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02268.html#a589f0ae8cab2af79028ade308825715a">AttributeSet</a></td></tr>
83 <tr·class="memdesc:a589f0ae8cab2af79028ade308825715a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·Set·of·attributes.··<a·href="a02268.html#a589f0ae8cab2af79028ade308825715a">More...</a><br·/></td></tr>83 <tr·class="memdesc:a589f0ae8cab2af79028ade308825715a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·Set·of·attributes.··<a·href="a02268.html#a589f0ae8cab2af79028ade308825715a">More...</a><br·/></td></tr>
84 <tr·class="separator:a589f0ae8cab2af79028ade308825715a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a589f0ae8cab2af79028ade308825715a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:a8748b8516080752715bf8549cf31ba7b"><td·class="memItemLeft"·align="right"·valign="top">typedef·TG&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02268.html#a8748b8516080752715bf8549cf31ba7b">GlobalIndex</a></td></tr>85 <tr·class="memitem:a8748b8516080752715bf8549cf31ba7b"><td·class="memItemLeft"·align="right"·valign="top">typedef·TG&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02268.html#a8748b8516080752715bf8549cf31ba7b">GlobalIndex</a></td></tr>
Offset 284, 15 lines modifiedOffset 284, 15 lines modified
284 ··</tr>284 ··</tr>
285 </table>285 </table>
286 </div><div·class="memdoc">286 </div><div·class="memdoc">
  
287 </div>287 </div>
288 </div>288 </div>
289 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>289 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
290 <li><a·class="el"·href="a00011_source.html">selection.hh</a></li>290 <li><a·class="el"·href="a00323_source.html">selection.hh</a></li>
291 </ul>291 </ul>
292 </div><!--·contents·-->292 </div><!--·contents·-->
293 <!--·start·footer·part·-->293 <!--·start·footer·part·-->
294 <hr·class="footer"/><address·class="footer"><small>294 <hr·class="footer"/><address·class="footer"><small>
295 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4295 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
296 </small></address>296 </small></address>
297 </body>297 </body>
2.4 KB
./usr/share/doc/libdune-common-doc/doxygen/a02272.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::Selection&lt;·TS,·TG,·TL,·N·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::Selection&lt;·TS,·TG,·TL,·N·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·cached·selection·of·indices.··76 <p>A·cached·selection·of·indices.··
77 ·<a·href="a02272.html#details">More...</a></p>77 ·<a·href="a02272.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00011_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/parallel/selection.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a9c09045504d302872563ec0e272cb0a9"><td·class="memItemLeft"·align="right"·valign="top">typedef·TS&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02272.html#a9c09045504d302872563ec0e272cb0a9">AttributeSet</a></td></tr>82 <tr·class="memitem:a9c09045504d302872563ec0e272cb0a9"><td·class="memItemLeft"·align="right"·valign="top">typedef·TS&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02272.html#a9c09045504d302872563ec0e272cb0a9">AttributeSet</a></td></tr>
83 <tr·class="memdesc:a9c09045504d302872563ec0e272cb0a9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·set·of·attributes.··<a·href="a02272.html#a9c09045504d302872563ec0e272cb0a9">More...</a><br·/></td></tr>83 <tr·class="memdesc:a9c09045504d302872563ec0e272cb0a9"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·set·of·attributes.··<a·href="a02272.html#a9c09045504d302872563ec0e272cb0a9">More...</a><br·/></td></tr>
84 <tr·class="separator:a9c09045504d302872563ec0e272cb0a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a9c09045504d302872563ec0e272cb0a9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:a609d50e4e956d21622d176a406994abb"><td·class="memItemLeft"·align="right"·valign="top">typedef·TG&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02272.html#a609d50e4e956d21622d176a406994abb">GlobalIndex</a></td></tr>85 <tr·class="memitem:a609d50e4e956d21622d176a406994abb"><td·class="memItemLeft"·align="right"·valign="top">typedef·TG&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02272.html#a609d50e4e956d21622d176a406994abb">GlobalIndex</a></td></tr>
Offset 289, 15 lines modifiedOffset 289, 15 lines modified
289 ··</tr>289 ··</tr>
290 </table>290 </table>
291 </div><div·class="memdoc">291 </div><div·class="memdoc">
  
292 </div>292 </div>
293 </div>293 </div>
294 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>294 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
295 <li><a·class="el"·href="a00011_source.html">selection.hh</a></li>295 <li><a·class="el"·href="a00323_source.html">selection.hh</a></li>
296 </ul>296 </ul>
297 </div><!--·contents·-->297 </div><!--·contents·-->
298 <!--·start·footer·part·-->298 <!--·start·footer·part·-->
299 <hr·class="footer"/><address·class="footer"><small>299 <hr·class="footer"/><address·class="footer"><small>
300 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4300 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
301 </small></address>301 </small></address>
302 </body>302 </body>
3.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a02276.html
    
Offset 69, 20 lines modifiedOffset 69, 20 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="a02273.html">List·of·all·members</a>··</div>71 <a·href="a02273.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::Concept::HasFixedSize·Struct·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Concept::HasFixedSize·Struct·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00338_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
78 Public·Member·Functions</h2></td></tr>78 Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a9acffceab715728d980beae9cbbe8634"><td·class="memTemplParams"·colspan="2">template&lt;typename·H·&gt;·</td></tr>79 <tr·class="memitem:a9acffceab715728d980beae9cbbe8634"><td·class="memTemplParams"·colspan="2">template&lt;typename·H·&gt;·</td></tr>
80 <tr·class="memitem:a9acffceab715728d980beae9cbbe8634"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02276.html#a9acffceab715728d980beae9cbbe8634">require</a>·(H·&amp;&amp;h)·-&gt;·decltype(<a·class="el"·href="a00059.html#ab8808b7c88a6c9013967559c8eae5e8c">h.fixedSize</a>())</td></tr>80 <tr·class="memitem:a9acffceab715728d980beae9cbbe8634"><td·class="memTemplItemLeft"·align="right"·valign="top">auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02276.html#a9acffceab715728d980beae9cbbe8634">require</a>·(H·&amp;&amp;h)·-&gt;·decltype(<a·class="el"·href="a00338.html#ab8808b7c88a6c9013967559c8eae5e8c">h.fixedSize</a>())</td></tr>
81 <tr·class="separator:a9acffceab715728d980beae9cbbe8634"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:a9acffceab715728d980beae9cbbe8634"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table>82 </table>
83 <h2·class="groupheader">Member·Function·Documentation</h2>83 <h2·class="groupheader">Member·Function·Documentation</h2>
84 <a·id="a9acffceab715728d980beae9cbbe8634"·name="a9acffceab715728d980beae9cbbe8634"></a>84 <a·id="a9acffceab715728d980beae9cbbe8634"·name="a9acffceab715728d980beae9cbbe8634"></a>
85 <h2·class="memtitle"><span·class="permalink"><a·href="#a9acffceab715728d980beae9cbbe8634">&#9670;&nbsp;</a></span>require()</h2>85 <h2·class="memtitle"><span·class="permalink"><a·href="#a9acffceab715728d980beae9cbbe8634">&#9670;&nbsp;</a></span>require()</h2>
  
86 <div·class="memitem">86 <div·class="memitem">
Offset 91, 23 lines modifiedOffset 91, 23 lines modified
91 template&lt;typename·H·&gt;·</div>91 template&lt;typename·H·&gt;·</div>
92 ······<table·class="memname">92 ······<table·class="memname">
93 ········<tr>93 ········<tr>
94 ··········<td·class="memname">auto·Dune::Concept::HasFixedSize::require·</td>94 ··········<td·class="memname">auto·Dune::Concept::HasFixedSize::require·</td>
95 ··········<td>(</td>95 ··········<td>(</td>
96 ··········<td·class="paramtype">H·&amp;&amp;&#160;</td>96 ··········<td·class="paramtype">H·&amp;&amp;&#160;</td>
97 ··········<td·class="paramname"><em>h</em></td><td>)</td>97 ··········<td·class="paramname"><em>h</em></td><td>)</td>
98 ··········<td>·-&gt;··decltype(<a·class="el"·href="a00059.html#ab8808b7c88a6c9013967559c8eae5e8c">h.fixedSize</a>())</td>98 ··········<td>·-&gt;··decltype(<a·class="el"·href="a00338.html#ab8808b7c88a6c9013967559c8eae5e8c">h.fixedSize</a>())</td>
99 ········</tr>99 ········</tr>
100 ······</table>100 ······</table>
101 </div><div·class="memdoc">101 </div><div·class="memdoc">
  
102 </div>102 </div>
103 </div>103 </div>
104 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>104 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
105 <li><a·class="el"·href="a00059_source.html">variablesizecommunicator.hh</a></li>105 <li><a·class="el"·href="a00338_source.html">variablesizecommunicator.hh</a></li>
106 </ul>106 </ul>
107 </div><!--·contents·-->107 </div><!--·contents·-->
108 <!--·start·footer·part·-->108 <!--·start·footer·part·-->
109 <hr·class="footer"/><address·class="footer"><small>109 <hr·class="footer"/><address·class="footer"><small>
110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4110 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
111 </small></address>111 </small></address>
112 </body>112 </body>
2.86 KB
./usr/share/doc/libdune-common-doc/doxygen/a02288.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::VariableSizeCommunicator&lt;·Allocator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::VariableSizeCommunicator&lt;·Allocator·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to·be·known·a·priori.··76 <p>A·buffered·communicator·where·the·amount·of·data·sent·does·not·have·to·be·known·a·priori.··
77 ·<a·href="a02288.html#details">More...</a></p>77 ·<a·href="a02288.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00338_source.html">dune/common/parallel/variablesizecommunicator.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:ac07b014b2b75db794151757adb6b492e"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::map&lt;·int,·std::pair&lt;·<a·class="el"·href="a02144.html">InterfaceInformation</a>,·<a·class="el"·href="a02144.html">InterfaceInformation</a>·&gt;,·std::less&lt;·int·&gt;,·typename·std::allocator_traits&lt;·Allocator·&gt;::template·rebind_alloc&lt;·std::pair&lt;·const·int,·std::pair&lt;·<a·class="el"·href="a02144.html">InterfaceInformation</a>,·<a·class="el"·href="a02144.html">InterfaceInformation</a>·&gt;·&gt;·&gt;·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02288.html#ac07b014b2b75db794151757adb6b492e">InterfaceMap</a></td></tr>82 <tr·class="memitem:ac07b014b2b75db794151757adb6b492e"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::map&lt;·int,·std::pair&lt;·<a·class="el"·href="a02144.html">InterfaceInformation</a>,·<a·class="el"·href="a02144.html">InterfaceInformation</a>·&gt;,·std::less&lt;·int·&gt;,·typename·std::allocator_traits&lt;·Allocator·&gt;::template·rebind_alloc&lt;·std::pair&lt;·const·int,·std::pair&lt;·<a·class="el"·href="a02144.html">InterfaceInformation</a>,·<a·class="el"·href="a02144.html">InterfaceInformation</a>·&gt;·&gt;·&gt;·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02288.html#ac07b014b2b75db794151757adb6b492e">InterfaceMap</a></td></tr>
83 <tr·class="memdesc:ac07b014b2b75db794151757adb6b492e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·map·from·process·number·to·<a·class="el"·href="a02144.html"·title="Information·describing·an·interface.">InterfaceInformation</a>·for·sending·and·receiving·to·and·from·it.··<a·href="a02288.html#ac07b014b2b75db794151757adb6b492e">More...</a><br·/></td></tr>83 <tr·class="memdesc:ac07b014b2b75db794151757adb6b492e"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·map·from·process·number·to·<a·class="el"·href="a02144.html"·title="Information·describing·an·interface.">InterfaceInformation</a>·for·sending·and·receiving·to·and·from·it.··<a·href="a02288.html#ac07b014b2b75db794151757adb6b492e">More...</a><br·/></td></tr>
84 <tr·class="separator:ac07b014b2b75db794151757adb6b492e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:ac07b014b2b75db794151757adb6b492e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table><table·class="memberdecls">85 </table><table·class="memberdecls">
Offset 527, 15 lines modifiedOffset 527, 15 lines modified
527 ··</table>527 ··</table>
528 ··</dd>528 ··</dd>
529 </dl>529 </dl>
  
530 </div>530 </div>
531 </div>531 </div>
532 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>532 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
533 <li><a·class="el"·href="a00059_source.html">variablesizecommunicator.hh</a></li>533 <li><a·class="el"·href="a00338_source.html">variablesizecommunicator.hh</a></li>
534 </ul>534 </ul>
535 </div><!--·contents·-->535 </div><!--·contents·-->
536 <!--·start·footer·part·-->536 <!--·start·footer·part·-->
537 <hr·class="footer"/><address·class="footer"><small>537 <hr·class="footer"/><address·class="footer"><small>
538 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4538 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
539 </small></address>539 </small></address>
540 </body>540 </body>
1.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a02328.html
    
Offset 82, 15 lines modifiedOffset 82, 15 lines modified
82 ··<table·class="tparams">82 ··<table·class="tparams">
83 ····<tr><td·class="paramname">Signature</td><td>Signature·of·the·"virtual"·constructor·call·in·the·form·for·Interface(Args...).·For·default·constructors·one·can·omit·the·()-brackets.·</td></tr>83 ····<tr><td·class="paramname">Signature</td><td>Signature·of·the·"virtual"·constructor·call·in·the·form·for·Interface(Args...).·For·default·constructors·one·can·omit·the·()-brackets.·</td></tr>
84 ····<tr><td·class="paramname">KeyT</td><td>The·type·of·the·objects·that·are·used·as·keys·in·the·lookup·[DEFAULT:·std::string].·</td></tr>84 ····<tr><td·class="paramname">KeyT</td><td>The·type·of·the·objects·that·are·used·as·keys·in·the·lookup·[DEFAULT:·std::string].·</td></tr>
85 ··</table>85 ··</table>
86 ··</dd>86 ··</dd>
87 </dl>87 </dl>
88 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00320_source.html">parameterizedobject.hh</a></li>89 <li><a·class="el"·href="a00197_source.html">parameterizedobject.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a02332.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 <a·href="#pro-types">Protected·Types</a>·&#124;73 <a·href="#pro-types">Protected·Types</a>·&#124;
74 <a·href="#pro-static-methods">Static·Protected·Member·Functions</a>·&#124;74 <a·href="#pro-static-methods">Static·Protected·Member·Functions</a>·&#124;
75 <a·href="a02329.html">List·of·all·members</a>··</div>75 <a·href="a02329.html">List·of·all·members</a>··</div>
76 ··<div·class="headertitle"><div·class="title">Dune::ParameterizedObjectFactory&lt;·TypeT(Args...),·KeyT·&gt;·Class·Template·Reference</div></div>76 ··<div·class="headertitle"><div·class="title">Dune::ParameterizedObjectFactory&lt;·TypeT(Args...),·KeyT·&gt;·Class·Template·Reference</div></div>
77 </div><!--header-->77 </div><!--header-->
78 <div·class="contents">78 <div·class="contents">
  
79 <p><code>#include·&lt;<a·class="el"·href="a00320_source.html">dune/common/parameterizedobject.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00197_source.html">dune/common/parameterizedobject.hh</a>&gt;</code></p>
80 <table·class="memberdecls">80 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
82 Public·Types</h2></td></tr>82 Public·Types</h2></td></tr>
83 <tr·class="memitem:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="memItemLeft"·align="right"·valign="top">typedef·KeyT&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a></td></tr>83 <tr·class="memitem:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="memItemLeft"·align="right"·valign="top">typedef·KeyT&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">Key</a></td></tr>
84 <tr·class="memdesc:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·typ·of·the·keys.··<a·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">More...</a><br·/></td></tr>84 <tr·class="memdesc:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·typ·of·the·keys.··<a·href="a02332.html#aaacef10f443ad58ee6b9ffeefac18ac5">More...</a><br·/></td></tr>
85 <tr·class="separator:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:aaacef10f443ad58ee6b9ffeefac18ac5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 <tr·class="memitem:a929aacd539c11aa66e8db93a13c69f2f"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">Type</a>·=·TypeT</td></tr>86 <tr·class="memitem:a929aacd539c11aa66e8db93a13c69f2f"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02332.html#a929aacd539c11aa66e8db93a13c69f2f">Type</a>·=·TypeT</td></tr>
Offset 483, 15 lines modifiedOffset 483, 15 lines modified
483 ··</tr>483 ··</tr>
484 </table>484 </table>
485 </div><div·class="memdoc">485 </div><div·class="memdoc">
  
486 </div>486 </div>
487 </div>487 </div>
488 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>488 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
489 <li><a·class="el"·href="a00320_source.html">parameterizedobject.hh</a></li>489 <li><a·class="el"·href="a00197_source.html">parameterizedobject.hh</a></li>
490 </ul>490 </ul>
491 </div><!--·contents·-->491 </div><!--·contents·-->
492 <!--·start·footer·part·-->492 <!--·start·footer·part·-->
493 <hr·class="footer"/><address·class="footer"><small>493 <hr·class="footer"/><address·class="footer"><small>
494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
495 </small></address>495 </small></address>
496 </body>496 </body>
2.02 KB
./usr/share/doc/libdune-common-doc/doxygen/a02344.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>77 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
78 </div><!--header-->78 </div><!--header-->
79 <div·class="contents">79 <div·class="contents">
  
80 <p>Hierarchical·structure·of·string·parameters.··80 <p>Hierarchical·structure·of·string·parameters.··
81 ·<a·href="a02344.html#details">More...</a></p>81 ·<a·href="a02344.html#details">More...</a></p>
  
82 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code></p>82 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
83 <table·class="memberdecls">83 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
85 Classes</h2></td></tr>85 Classes</h2></td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02356.html">Parser&lt;·bool·&gt;</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02356.html">Parser&lt;·bool·&gt;</a></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02364.html">Parser&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr>88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02364.html">Parser&lt;·FieldVector&lt;·T,·n·&gt;·&gt;</a></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 920, 15 lines modifiedOffset 920, 15 lines modified
920 ··</tr>920 ··</tr>
921 </table>921 </table>
922 </div><div·class="memdoc">922 </div><div·class="memdoc">
  
923 </div>923 </div>
924 </div>924 </div>
925 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>925 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
926 <li><a·class="el"·href="a00110_source.html">parametertree.hh</a></li>926 <li><a·class="el"·href="a00140_source.html">parametertree.hh</a></li>
927 <li><a·class="el"·href="a00380.html">parametertree.cc</a></li>927 <li><a·class="el"·href="a00380.html">parametertree.cc</a></li>
928 </ul>928 </ul>
929 </div><!--·contents·-->929 </div><!--·contents·-->
930 <!--·start·footer·part·-->930 <!--·start·footer·part·-->
931 <hr·class="footer"/><address·class="footer"><small>931 <hr·class="footer"/><address·class="footer"><small>
932 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4932 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
933 </small></address>933 </small></address>
1.99 KB
./usr/share/doc/libdune-common-doc/doxygen/a02352.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02349.html">List·of·all·members</a>··</div>71 <a·href="a02349.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::basic_string&lt;·char,·traits,·Allocator·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::basic_string&lt;·char,·traits,·Allocator·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a0893e8a386a2bfe275960582038ede26"><td·class="memItemLeft"·align="right"·valign="top">static·std::basic_string&lt;·char,·traits,·Allocator·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02352.html#a0893e8a386a2bfe275960582038ede26">parse</a>·(const·std::string·&amp;str)</td></tr>79 <tr·class="memitem:a0893e8a386a2bfe275960582038ede26"><td·class="memItemLeft"·align="right"·valign="top">static·std::basic_string&lt;·char,·traits,·Allocator·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02352.html#a0893e8a386a2bfe275960582038ede26">parse</a>·(const·std::string·&amp;str)</td></tr>
80 <tr·class="separator:a0893e8a386a2bfe275960582038ede26"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a0893e8a386a2bfe275960582038ede26"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Function·Documentation</h2>82 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ··</tr>106 ··</tr>
107 </table>107 </table>
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 </div>109 </div>
110 </div>110 </div>
111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00110_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00140_source.html">parametertree.hh</a></li>
113 </ul>113 </ul>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>118 </small></address>
119 </body>119 </body>
1.84 KB
./usr/share/doc/libdune-common-doc/doxygen/a02356.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
72 <a·href="a02353.html">List·of·all·members</a>··</div>72 <a·href="a02353.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·bool·&gt;·Struct·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·bool·&gt;·Struct·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
79 Classes</h2></td></tr>79 Classes</h2></td></tr>
80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02360.html">ToLower</a></td></tr>80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02360.html">ToLower</a></td></tr>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">82 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 110, 15 lines modifiedOffset 110, 15 lines modified
110 ··</tr>110 ··</tr>
111 </table>111 </table>
112 </div><div·class="memdoc">112 </div><div·class="memdoc">
  
113 </div>113 </div>
114 </div>114 </div>
115 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>115 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
116 <li><a·class="el"·href="a00110_source.html">parametertree.hh</a></li>116 <li><a·class="el"·href="a00140_source.html">parametertree.hh</a></li>
117 </ul>117 </ul>
118 </div><!--·contents·-->118 </div><!--·contents·-->
119 <!--·start·footer·part·-->119 <!--·start·footer·part·-->
120 <hr·class="footer"/><address·class="footer"><small>120 <hr·class="footer"/><address·class="footer"><small>
121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4121 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
122 </small></address>122 </small></address>
123 </body>123 </body>
1.84 KB
./usr/share/doc/libdune-common-doc/doxygen/a02360.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="a02357.html">List·of·all·members</a>··</div>71 <a·href="a02357.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·bool·&gt;::ToLower·Struct·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·bool·&gt;::ToLower·Struct·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
78 Public·Member·Functions</h2></td></tr>78 Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:ac099c5cf62ffa1b441f8dea0b532fcd3"><td·class="memItemLeft"·align="right"·valign="top">char&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02360.html#ac099c5cf62ffa1b441f8dea0b532fcd3">operator()</a>·(char·c)</td></tr>79 <tr·class="memitem:ac099c5cf62ffa1b441f8dea0b532fcd3"><td·class="memItemLeft"·align="right"·valign="top">char&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02360.html#ac099c5cf62ffa1b441f8dea0b532fcd3">operator()</a>·(char·c)</td></tr>
80 <tr·class="separator:ac099c5cf62ffa1b441f8dea0b532fcd3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ac099c5cf62ffa1b441f8dea0b532fcd3"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Function·Documentation</h2>82 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 104, 15 lines modifiedOffset 104, 15 lines modified
104 ··</tr>104 ··</tr>
105 </table>105 </table>
106 </div><div·class="memdoc">106 </div><div·class="memdoc">
  
107 </div>107 </div>
108 </div>108 </div>
109 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>109 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
110 <li><a·class="el"·href="a00110_source.html">parametertree.hh</a></li>110 <li><a·class="el"·href="a00140_source.html">parametertree.hh</a></li>
111 </ul>111 </ul>
112 </div><!--·contents·-->112 </div><!--·contents·-->
113 <!--·start·footer·part·-->113 <!--·start·footer·part·-->
114 <hr·class="footer"/><address·class="footer"><small>114 <hr·class="footer"/><address·class="footer"><small>
115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4115 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
116 </small></address>116 </small></address>
117 </body>117 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a02364.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02361.html">List·of·all·members</a>··</div>71 <a·href="a02361.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·FieldVector&lt;·T,·n·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·FieldVector&lt;·T,·n·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a7ce39251f1733b95f516bd5d078f53ee"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·T,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02364.html#a7ce39251f1733b95f516bd5d078f53ee">parse</a>·(const·std::string·&amp;str)</td></tr>79 <tr·class="memitem:a7ce39251f1733b95f516bd5d078f53ee"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a01412.html">FieldVector</a>&lt;·T,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02364.html#a7ce39251f1733b95f516bd5d078f53ee">parse</a>·(const·std::string·&amp;str)</td></tr>
80 <tr·class="separator:a7ce39251f1733b95f516bd5d078f53ee"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a7ce39251f1733b95f516bd5d078f53ee"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Function·Documentation</h2>82 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ··</tr>106 ··</tr>
107 </table>107 </table>
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 </div>109 </div>
110 </div>110 </div>
111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00110_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00140_source.html">parametertree.hh</a></li>
113 </ul>113 </ul>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>118 </small></address>
119 </body>119 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a02368.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02365.html">List·of·all·members</a>··</div>71 <a·href="a02365.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::array&lt;·T,·n·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::array&lt;·T,·n·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a76d721380f735806ca67ec98d3f760f9"><td·class="memItemLeft"·align="right"·valign="top">static·std::array&lt;·T,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02368.html#a76d721380f735806ca67ec98d3f760f9">parse</a>·(const·std::string·&amp;str)</td></tr>79 <tr·class="memitem:a76d721380f735806ca67ec98d3f760f9"><td·class="memItemLeft"·align="right"·valign="top">static·std::array&lt;·T,·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02368.html#a76d721380f735806ca67ec98d3f760f9">parse</a>·(const·std::string·&amp;str)</td></tr>
80 <tr·class="separator:a76d721380f735806ca67ec98d3f760f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a76d721380f735806ca67ec98d3f760f9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Function·Documentation</h2>82 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ··</tr>106 ··</tr>
107 </table>107 </table>
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 </div>109 </div>
110 </div>110 </div>
111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00110_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00140_source.html">parametertree.hh</a></li>
113 </ul>113 </ul>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>118 </small></address>
119 </body>119 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a02372.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02369.html">List·of·all·members</a>··</div>71 <a·href="a02369.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::bitset&lt;·n·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::bitset&lt;·n·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a121bd47349a138086415bc838f23d856"><td·class="memItemLeft"·align="right"·valign="top">static·std::bitset&lt;·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02372.html#a121bd47349a138086415bc838f23d856">parse</a>·(const·std::string·&amp;str)</td></tr>79 <tr·class="memitem:a121bd47349a138086415bc838f23d856"><td·class="memItemLeft"·align="right"·valign="top">static·std::bitset&lt;·n·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02372.html#a121bd47349a138086415bc838f23d856">parse</a>·(const·std::string·&amp;str)</td></tr>
80 <tr·class="separator:a121bd47349a138086415bc838f23d856"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a121bd47349a138086415bc838f23d856"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Function·Documentation</h2>82 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ··</tr>106 ··</tr>
107 </table>107 </table>
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 </div>109 </div>
110 </div>110 </div>
111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00110_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00140_source.html">parametertree.hh</a></li>
113 </ul>113 </ul>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>118 </small></address>
119 </body>119 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a02376.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;70 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
71 <a·href="a02373.html">List·of·all·members</a>··</div>71 <a·href="a02373.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::vector&lt;·T,·A·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ParameterTree::Parser&lt;·std::vector&lt;·T,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00110_source.html">dune/common/parametertree.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/parametertree.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
78 Static·Public·Member·Functions</h2></td></tr>78 Static·Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:ae6a90c3bcd0bbdefda234af797d1da56"><td·class="memItemLeft"·align="right"·valign="top">static·std::vector&lt;·T,·A·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02376.html#ae6a90c3bcd0bbdefda234af797d1da56">parse</a>·(const·std::string·&amp;str)</td></tr>79 <tr·class="memitem:ae6a90c3bcd0bbdefda234af797d1da56"><td·class="memItemLeft"·align="right"·valign="top">static·std::vector&lt;·T,·A·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02376.html#ae6a90c3bcd0bbdefda234af797d1da56">parse</a>·(const·std::string·&amp;str)</td></tr>
80 <tr·class="separator:ae6a90c3bcd0bbdefda234af797d1da56"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ae6a90c3bcd0bbdefda234af797d1da56"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Function·Documentation</h2>82 <h2·class="groupheader">Member·Function·Documentation</h2>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ··</tr>106 ··</tr>
107 </table>107 </table>
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 </div>109 </div>
110 </div>110 </div>
111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00110_source.html">parametertree.hh</a></li>112 <li><a·class="el"·href="a00140_source.html">parametertree.hh</a></li>
113 </ul>113 </ul>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>118 </small></address>
119 </body>119 </body>
2.68 KB
./usr/share/doc/libdune-common-doc/doxygen/a02380.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::ParameterTreeParserError·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::ParameterTreeParserError·Class·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>··76 <p>report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>··
77 ·<a·href="a02380.html#details">More...</a></p>77 ·<a·href="a02380.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00095_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::ParameterTreeParserError:</div>80 Inheritance·diagram·for·Dune::ParameterTreeParserError:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02379.png"·border="0"·usemap="#a_dune_1_1_parameter_tree_parser_error_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02379.png"·border="0"·usemap="#a_dune_1_1_parameter_tree_parser_error_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_parameter_tree_parser_error_inherit__map"·id="a_dune_1_1_parameter_tree_parser_error_inherit__map">83 <map·name="a_dune_1_1_parameter_tree_parser_error_inherit__map"·id="a_dune_1_1_parameter_tree_parser_error_inherit__map">
84 <area·shape="rect"·title="report·parser·error·while·reading·ParameterTree"·alt=""·coords="5,229,191,271"/>84 <area·shape="rect"·title="report·parser·error·while·reading·ParameterTree"·alt=""·coords="5,229,191,271"/>
85 <area·shape="rect"·href="a01564.html"·title="Default·exception·class·for·range·errors."·alt=""·coords="35,155,161,181"/>85 <area·shape="rect"·href="a01564.html"·title="Default·exception·class·for·range·errors."·alt=""·coords="35,155,161,181"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>107 <tr·class="memitem:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">clearHook</a>·()</td></tr>
108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>108 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 </table>110 </table>
111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>111 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
112 <div·class="textblock"><p·>report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·</p>112 <div·class="textblock"><p·>report·parser·error·while·reading·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00143_source.html">parametertreeparser.hh</a></li>114 <li><a·class="el"·href="a00095_source.html">parametertreeparser.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
2.29 KB
./usr/share/doc/libdune-common-doc/doxygen/a02384.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::HelpRequest·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::HelpRequest·Class·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>exception·thrown·if·the·user·wants·to·see·help·string··76 <p>exception·thrown·if·the·user·wants·to·see·help·string··
77 ·<a·href="a02384.html#details">More...</a></p>77 ·<a·href="a02384.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00095_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::HelpRequest:</div>80 Inheritance·diagram·for·Dune::HelpRequest:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02383.png"·border="0"·usemap="#a_dune_1_1_help_request_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02383.png"·border="0"·usemap="#a_dune_1_1_help_request_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_help_request_inherit__map"·id="a_dune_1_1_help_request_inherit__map">83 <map·name="a_dune_1_1_help_request_inherit__map"·id="a_dune_1_1_help_request_inherit__map">
84 <area·shape="rect"·title="exception·thrown·if·the·user·wants·to·see·help·string"·alt=""·coords="5,155,141,181"/>84 <area·shape="rect"·title="exception·thrown·if·the·user·wants·to·see·help·string"·alt=""·coords="5,155,141,181"/>
85 <area·shape="rect"·href="a01548.html"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="14,80,133,107"/>85 <area·shape="rect"·href="a01548.html"·title="Base·class·for·Dune&#45;Exceptions."·alt=""·coords="14,80,133,107"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>107 <tr·class="memdesc:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">remove·all·hooks··<a·href="a00412.html#ga4c7f953a47e9ce57ad658f553db83e8f">More...</a><br·/></td></tr>
108 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>108 <tr·class="separator:ga4c7f953a47e9ce57ad658f553db83e8f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
109 </table>109 </table>
110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>110 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
111 <div·class="textblock"><p·>exception·thrown·if·the·user·wants·to·see·help·string·</p>111 <div·class="textblock"><p·>exception·thrown·if·the·user·wants·to·see·help·string·</p>
112 <p·>this·exception·is·only·thrown·if·the·command·line·parameters·contain·an·option·&ndash;help·or·-h·</p>112 <p·>this·exception·is·only·thrown·if·the·command·line·parameters·contain·an·option·&ndash;help·or·-h·</p>
113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00143_source.html">parametertreeparser.hh</a></li>114 <li><a·class="el"·href="a00095_source.html">parametertreeparser.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a02388.html
    
Offset 71, 15 lines modifiedOffset 71, 15 lines modified
71 ··<div·class="headertitle"><div·class="title">Dune::ParameterTreeParser·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>71 ··<div·class="headertitle"><div·class="title">Dune::ParameterTreeParser·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Parsers·to·set·up·a·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·from·various·input·sources.··74 <p>Parsers·to·set·up·a·<a·class="el"·href="a02344.html"·title="Hierarchical·structure·of·string·parameters.">ParameterTree</a>·from·various·input·sources.··
75 ·<a·href="a02388.html#details">More...</a></p>75 ·<a·href="a02388.html#details">More...</a></p>
  
76 <p><code>#include·&lt;<a·class="el"·href="a00143_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00095_source.html">dune/common/parametertreeparser.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader">Parsing·methods·for·the·INITree·file·format</h2></td></tr>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader">Parsing·methods·for·the·INITree·file·format</h2></td></tr>
79 <tr><td·class="ititle"·colspan="2"><p·>INITree·files·should·look·like·this·</p><pre·class="fragment">*·#·this·file·configures·fruit·colors·in·fruitsalad79 <tr><td·class="ititle"·colspan="2"><p·>INITree·files·should·look·like·this·</p><pre·class="fragment">*·#·this·file·configures·fruit·colors·in·fruitsalad
80 *80 *
81 *81 *
82 *·#these·are·no·fruit·but·could·also·appear·in·fruit·salad82 *·#these·are·no·fruit·but·could·also·appear·in·fruit·salad
83 *·honeydewmelon·=·yellow83 *·honeydewmelon·=·yellow
Offset 504, 16 lines modifiedOffset 504, 16 lines modified
504 ··</table>504 ··</table>
505 ··</dd>505 ··</dd>
506 </dl>506 </dl>
  
507 </div>507 </div>
508 </div>508 </div>
509 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>509 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
510 <li><a·class="el"·href="a00143_source.html">parametertreeparser.hh</a></li>510 <li><a·class="el"·href="a00095_source.html">parametertreeparser.hh</a></li>
511 <li><a·class="el"·href="a00203.html">parametertreeparser.cc</a></li>511 <li><a·class="el"·href="a00224.html">parametertreeparser.cc</a></li>
512 </ul>512 </ul>
513 </div><!--·contents·-->513 </div><!--·contents·-->
514 <!--·start·footer·part·-->514 <!--·start·footer·part·-->
515 <hr·class="footer"/><address·class="footer"><small>515 <hr·class="footer"/><address·class="footer"><small>
516 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4516 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
517 </small></address>517 </small></address>
518 </body>518 </body>
2.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a02392.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::Pool&lt;·T,·s·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::Pool&lt;·T,·s·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>A·memory·pool·of·objects.··78 <p>A·memory·pool·of·objects.··
79 ·<a·href="a02392.html#details">More...</a></p>79 ·<a·href="a02392.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>
81 <div·class="dynheader">81 <div·class="dynheader">
82 Inheritance·diagram·for·Dune::Pool&lt;·T,·s·&gt;:</div>82 Inheritance·diagram·for·Dune::Pool&lt;·T,·s·&gt;:</div>
83 <div·class="dyncontent">83 <div·class="dyncontent">
84 <div·class="center"><img·src="a02391.png"·border="0"·usemap="#a_dune_1_1_pool_3_01_t_00_01s_01_4_inherit__map"·alt="Inheritance·graph"/></div>84 <div·class="center"><img·src="a02391.png"·border="0"·usemap="#a_dune_1_1_pool_3_01_t_00_01s_01_4_inherit__map"·alt="Inheritance·graph"/></div>
85 <map·name="a_dune_1_1_pool_3_01_t_00_01s_01_4_inherit__map"·id="a_dune_1_1_pool_3_01_t_00_01s_01_4_inherit__map">85 <map·name="a_dune_1_1_pool_3_01_t_00_01s_01_4_inherit__map"·id="a_dune_1_1_pool_3_01_t_00_01s_01_4_inherit__map">
86 <area·shape="rect"·title="A·memory·pool·of·objects."·alt=""·coords="13,5,147,32"/>86 <area·shape="rect"·title="A·memory·pool·of·objects."·alt=""·coords="13,5,147,32"/>
87 <area·shape="rect"·href="a02392.html"·title="·"·alt=""·coords="5,95,155,121"/>87 <area·shape="rect"·href="a02392.html"·title="·"·alt=""·coords="5,95,155,121"/>
Offset 336, 15 lines modifiedOffset 336, 15 lines modified
336 <div·class="line">······································<span·class="keyword">sizeof</span>(Reference)·:·<span·class="keyword">sizeof</span>(<a·class="code·hl_typedef"·href="a02392.html#ac19df4f78d13ff43b53772bbfb84e4d7">MemberType</a>)</div>336 <div·class="line">······································<span·class="keyword">sizeof</span>(Reference)·:·<span·class="keyword">sizeof</span>(<a·class="code·hl_typedef"·href="a02392.html#ac19df4f78d13ff43b53772bbfb84e4d7">MemberType</a>)</div>
337 </div><!--·fragment·-->337 </div><!--·fragment·-->
338 <p>The·size·of·a·union·of·Reference·and·MemberType.·</p>338 <p>The·size·of·a·union·of·Reference·and·MemberType.·</p>
  
339 </div>339 </div>
340 </div>340 </div>
341 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>341 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
342 <li><a·class="el"·href="a00371_source.html">poolallocator.hh</a></li>342 <li><a·class="el"·href="a00386_source.html">poolallocator.hh</a></li>
343 </ul>343 </ul>
344 </div><!--·contents·-->344 </div><!--·contents·-->
345 <!--·start·footer·part·-->345 <!--·start·footer·part·-->
346 <hr·class="footer"/><address·class="footer"><small>346 <hr·class="footer"/><address·class="footer"><small>
347 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4347 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
348 </small></address>348 </small></address>
349 </body>349 </body>
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a02396.html
    
Offset 75, 15 lines modifiedOffset 75, 15 lines modified
75 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·T,·s·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>75 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·T,·s·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>
76 </div><!--header-->76 </div><!--header-->
77 <div·class="contents">77 <div·class="contents">
  
78 <p>An·allocator·managing·a·pool·of·objects·for·reuse.··78 <p>An·allocator·managing·a·pool·of·objects·for·reuse.··
79 ·<a·href="a02396.html#details">More...</a></p>79 ·<a·href="a02396.html#details">More...</a></p>
  
80 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>80 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>
81 <table·class="memberdecls">81 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
83 Classes</h2></td></tr>83 Classes</h2></td></tr>
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02408.html">rebind</a></td></tr>84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02408.html">rebind</a></td></tr>
85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Rebind·the·allocator·to·another·type.··<a·href="a02408.html#details">More...</a><br·/></td></tr>85 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Rebind·the·allocator·to·another·type.··<a·href="a02408.html#details">More...</a><br·/></td></tr>
86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
Offset 489, 15 lines modifiedOffset 489, 15 lines modified
489 </div><div·class="memdoc">489 </div><div·class="memdoc">
  
490 <p>The·number·of·objects·to·fit·into·one·memory·chunk·allocated.·</p>490 <p>The·number·of·objects·to·fit·into·one·memory·chunk·allocated.·</p>
  
491 </div>491 </div>
492 </div>492 </div>
493 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>493 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
494 <li><a·class="el"·href="a00371_source.html">poolallocator.hh</a></li>494 <li><a·class="el"·href="a00386_source.html">poolallocator.hh</a></li>
495 </ul>495 </ul>
496 </div><!--·contents·-->496 </div><!--·contents·-->
497 <!--·start·footer·part·-->497 <!--·start·footer·part·-->
498 <hr·class="footer"/><address·class="footer"><small>498 <hr·class="footer"/><address·class="footer"><small>
499 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4499 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
500 </small></address>500 </small></address>
501 </body>501 </body>
1.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a02408.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·T,·s·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·T,·s·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Rebind·the·allocator·to·another·type.··75 <p>Rebind·the·allocator·to·another·type.··
76 ·<a·href="a02408.html#details">More...</a></p>76 ·<a·href="a02408.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a0048e10bf60a17b106ab2139bcf87006"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·U,·s·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02408.html#a0048e10bf60a17b106ab2139bcf87006">other</a></td></tr>81 <tr·class="memitem:a0048e10bf60a17b106ab2139bcf87006"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·U,·s·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02408.html#a0048e10bf60a17b106ab2139bcf87006">other</a></td></tr>
82 <tr·class="separator:a0048e10bf60a17b106ab2139bcf87006"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a0048e10bf60a17b106ab2139bcf87006"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 103, 15 lines modifiedOffset 103, 15 lines modified
103 ········</tr>103 ········</tr>
104 ······</table>104 ······</table>
105 </div><div·class="memdoc">105 </div><div·class="memdoc">
  
106 </div>106 </div>
107 </div>107 </div>
108 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>108 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
109 <li><a·class="el"·href="a00371_source.html">poolallocator.hh</a></li>109 <li><a·class="el"·href="a00386_source.html">poolallocator.hh</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>115 </small></address>
116 </body>116 </body>
1.93 KB
./usr/share/doc/libdune-common-doc/doxygen/a02412.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#pub-types">Public·Types</a>·&#124;71 <a·href="#pub-types">Public·Types</a>·&#124;
72 <a·href="a02409.html">List·of·all·members</a>··</div>72 <a·href="a02409.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·void,·s·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·void,·s·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00398.html">Allocators</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
79 Classes</h2></td></tr>79 Classes</h2></td></tr>
80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02416.html">rebind</a></td></tr>80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02416.html">rebind</a></td></tr>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">82 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
Offset 136, 15 lines modifiedOffset 136, 15 lines modified
136 ········</tr>136 ········</tr>
137 ······</table>137 ······</table>
138 </div><div·class="memdoc">138 </div><div·class="memdoc">
  
139 </div>139 </div>
140 </div>140 </div>
141 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>141 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
142 <li><a·class="el"·href="a00371_source.html">poolallocator.hh</a></li>142 <li><a·class="el"·href="a00386_source.html">poolallocator.hh</a></li>
143 </ul>143 </ul>
144 </div><!--·contents·-->144 </div><!--·contents·-->
145 <!--·start·footer·part·-->145 <!--·start·footer·part·-->
146 <hr·class="footer"/><address·class="footer"><small>146 <hr·class="footer"/><address·class="footer"><small>
147 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4147 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
148 </small></address>148 </small></address>
149 </body>149 </body>
1.89 KB
./usr/share/doc/libdune-common-doc/doxygen/a02416.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02413.html">List·of·all·members</a>··</div>71 <a·href="a02413.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·void,·s·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PoolAllocator&lt;·void,·s·&gt;::rebind&lt;·U·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00371_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00386_source.html">dune/common/poolallocator.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a39aac025e673bbe9da3e99e15e6e4e89"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·U,·s·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02416.html#a39aac025e673bbe9da3e99e15e6e4e89">other</a></td></tr>79 <tr·class="memitem:a39aac025e673bbe9da3e99e15e6e4e89"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02396.html">PoolAllocator</a>&lt;·U,·s·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02416.html#a39aac025e673bbe9da3e99e15e6e4e89">other</a></td></tr>
80 <tr·class="separator:a39aac025e673bbe9da3e99e15e6e4e89"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a39aac025e673bbe9da3e99e15e6e4e89"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
96 ········</tr>96 ········</tr>
97 ······</table>97 ······</table>
98 </div><div·class="memdoc">98 </div><div·class="memdoc">
  
99 </div>99 </div>
100 </div>100 </div>
101 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>101 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
102 <li><a·class="el"·href="a00371_source.html">poolallocator.hh</a></li>102 <li><a·class="el"·href="a00386_source.html">poolallocator.hh</a></li>
103 </ul>103 </ul>
104 </div><!--·contents·-->104 </div><!--·contents·-->
105 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>108 </small></address>
109 </body>109 </body>
2.72 KB
./usr/share/doc/libdune-common-doc/doxygen/a02420.html
    
Offset 72, 28 lines modifiedOffset 72, 28 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::StaticPower&lt;·b,·p·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::StaticPower&lt;·b,·p·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Calculates·b^p·at·compile·time.··75 <p>Calculates·b^p·at·compile·time.··
76 ·<a·href="a02420.html#details">More...</a></p>76 ·<a·href="a02420.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/power.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/power.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
80 Static·Public·Attributes</h2></td></tr>80 Static·Public·Attributes</h2></td></tr>
81 <tr·class="memitem:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">power</a>·=·Dune::power(b,p)</td></tr>81 <tr·class="memitem:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·int&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">power</a>·=·Dune::power(b,p)</td></tr>
82 <tr·class="memdesc:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">power·stores·b^p··<a·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">More...</a><br·/></td></tr>82 <tr·class="memdesc:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">power·stores·b^p··<a·href="a00397.html#ga0d7dfc20424ea16d20ae167409d90eeb">More...</a><br·/></td></tr>
83 <tr·class="separator:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ga0d7dfc20424ea16d20ae167409d90eeb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
86 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·b,·int·p&gt;<br·/>86 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·b,·int·p&gt;<br·/>
87 struct·Dune::StaticPower&lt;·b,·p·&gt;</div><p·>Calculates·b^p·at·compile·time.·</p>87 struct·Dune::StaticPower&lt;·b,·p·&gt;</div><p·>Calculates·b^p·at·compile·time.·</p>
88 <dl·class="deprecated"><dt><b><a·class="el"·href="a00396.html#_deprecated000005">Deprecated:</a></b></dt><dd>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00119.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!·</dd></dl>88 <dl·class="deprecated"><dt><b><a·class="el"·href="a00396.html#_deprecated000005">Deprecated:</a></b></dt><dd>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00281.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!·</dd></dl>
89 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00221_source.html">power.hh</a></li>90 <li><a·class="el"·href="a00263_source.html">power.hh</a></li>
91 </ul>91 </ul>
92 </div><!--·contents·-->92 </div><!--·contents·-->
93 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>94 <hr·class="footer"/><address·class="footer"><small>
95 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.495 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
96 </small></address>96 </small></address>
97 </body>97 </body>
2.88 KB
./usr/share/doc/libdune-common-doc/doxygen/a02424.html
    
Offset 72, 34 lines modifiedOffset 72, 34 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Power&lt;·p·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Power&lt;·p·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.··75 <p>Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.··
76 ·<a·href="a02424.html#details">More...</a></p>76 ·<a·href="a02424.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/power.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/power.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
80 Static·Public·Member·Functions</h2></td></tr>80 Static·Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:ga71e044edf267e984da3cb61e61a9d886"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>81 <tr·class="memitem:ga71e044edf267e984da3cb61e61a9d886"><td·class="memTemplParams"·colspan="2">template&lt;typename·T·&gt;·</td></tr>
82 <tr·class="memitem:ga71e044edf267e984da3cb61e61a9d886"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga71e044edf267e984da3cb61e61a9d886">eval</a>·(const·T·&amp;a)</td></tr>82 <tr·class="memitem:ga71e044edf267e984da3cb61e61a9d886"><td·class="memTemplItemLeft"·align="right"·valign="top">static·constexpr·auto&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00397.html#ga71e044edf267e984da3cb61e61a9d886">eval</a>·(const·T·&amp;a)</td></tr>
83 <tr·class="separator:ga71e044edf267e984da3cb61e61a9d886"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ga71e044edf267e984da3cb61e61a9d886"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
86 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·p&gt;<br·/>86 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·p&gt;<br·/>
87 struct·Dune::Power&lt;·p·&gt;</div><p·>Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.·</p>87 struct·Dune::Power&lt;·p·&gt;</div><p·>Compute·power·for·a·run-time·base·and·a·compile-time·integer·exponent.·</p>
88 <dl·class="deprecated"><dt><b><a·class="el"·href="a00396.html#_deprecated000006">Deprecated:</a></b></dt><dd>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00119.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!</dd></dl>88 <dl·class="deprecated"><dt><b><a·class="el"·href="a00396.html#_deprecated000006">Deprecated:</a></b></dt><dd>Please·use·the·method·<code>power</code>·from·<code><a·class="el"·href="a00281.html"·title="Some·useful·basic·math·stuff.">math.hh</a></code>·instead!</dd></dl>
89 <dl·class="tparams"><dt>Template·Parameters</dt><dd>89 <dl·class="tparams"><dt>Template·Parameters</dt><dd>
90 ··<table·class="tparams">90 ··<table·class="tparams">
91 ····<tr><td·class="paramname">p</td><td>The·exponent·</td></tr>91 ····<tr><td·class="paramname">p</td><td>The·exponent·</td></tr>
92 ··</table>92 ··</table>
93 ··</dd>93 ··</dd>
94 </dl>94 </dl>
95 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>95 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
96 <li><a·class="el"·href="a00221_source.html">power.hh</a></li>96 <li><a·class="el"·href="a00263_source.html">power.hh</a></li>
97 </ul>97 </ul>
98 </div><!--·contents·-->98 </div><!--·contents·-->
99 <!--·start·footer·part·-->99 <!--·start·footer·part·-->
100 <hr·class="footer"/><address·class="footer"><small>100 <hr·class="footer"/><address·class="footer"><small>
101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4101 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
102 </small></address>102 </small></address>
103 </body>103 </body>
2.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a02428.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::FMatrixPrecision&lt;·ctype·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FMatrixPrecision&lt;·ctype·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00411.html">Dense·Matrix·and·Vector·Template·Library</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Precisions·for·calculations·with·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·and·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a>.··75 <p>Precisions·for·calculations·with·<a·class="el"·href="a01408.html"·title="A·dense·n·x·m·matrix.">FieldMatrix</a>·and·<a·class="el"·href="a01412.html"·title="vector·space·out·of·a·tensor·product·of·fields.">FieldVector</a>.··
76 ·<a·href="a02428.html#details">More...</a></p>76 ·<a·href="a02428.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00323_source.html">dune/common/precision.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00254_source.html">dune/common/precision.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
80 Static·Public·Member·Functions</h2></td></tr>80 Static·Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:a554b13677982d46917bb1bd05f831aec"><td·class="memItemLeft"·align="right"·valign="top">static·ctype&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02428.html#a554b13677982d46917bb1bd05f831aec">absolute_limit</a>·()</td></tr>81 <tr·class="memitem:a554b13677982d46917bb1bd05f831aec"><td·class="memItemLeft"·align="right"·valign="top">static·ctype&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02428.html#a554b13677982d46917bb1bd05f831aec">absolute_limit</a>·()</td></tr>
82 <tr·class="memdesc:a554b13677982d46917bb1bd05f831aec"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">return·threshold·to·declare·matrix·singular··<a·href="a02428.html#a554b13677982d46917bb1bd05f831aec">More...</a><br·/></td></tr>82 <tr·class="memdesc:a554b13677982d46917bb1bd05f831aec"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">return·threshold·to·declare·matrix·singular··<a·href="a02428.html#a554b13677982d46917bb1bd05f831aec">More...</a><br·/></td></tr>
83 <tr·class="separator:a554b13677982d46917bb1bd05f831aec"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a554b13677982d46917bb1bd05f831aec"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:aae2188f98a4cc65afa86fc2e5d334b58"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02428.html#aae2188f98a4cc65afa86fc2e5d334b58">set_absolute_limit</a>·(ctype·absthres)</td></tr>84 <tr·class="memitem:aae2188f98a4cc65afa86fc2e5d334b58"><td·class="memItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02428.html#aae2188f98a4cc65afa86fc2e5d334b58">set_absolute_limit</a>·(ctype·absthres)</td></tr>
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 </div><div·class="memdoc">147 </div><div·class="memdoc">
  
148 <p>set·singular·threshold·</p>148 <p>set·singular·threshold·</p>
  
149 </div>149 </div>
150 </div>150 </div>
151 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>151 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
152 <li><a·class="el"·href="a00323_source.html">precision.hh</a></li>152 <li><a·class="el"·href="a00254_source.html">precision.hh</a></li>
153 </ul>153 </ul>
154 </div><!--·contents·-->154 </div><!--·contents·-->
155 <!--·start·footer·part·-->155 <!--·start·footer·part·-->
156 <hr·class="footer"/><address·class="footer"><small>156 <hr·class="footer"/><address·class="footer"><small>
157 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4157 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
158 </small></address>158 </small></address>
159 </body>159 </body>
2.01 KB
./usr/share/doc/libdune-common-doc/doxygen/a02432.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·T1,·T2·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·T1,·T2·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··75 <p>Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types.··
76 ·<a·href="a02432.html#details">More...</a></p>76 ·<a·href="a02432.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a3f2079447de3426b9da835d3f32d73b6"><td·class="memItemLeft"·align="right"·valign="top">typedef·decltype(std::declval&lt;·T1·&gt;()+std::declval&lt;·T2·&gt;())&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02432.html#a3f2079447de3426b9da835d3f32d73b6">PromotedType</a></td></tr>81 <tr·class="memitem:a3f2079447de3426b9da835d3f32d73b6"><td·class="memItemLeft"·align="right"·valign="top">typedef·decltype(std::declval&lt;·T1·&gt;()+std::declval&lt;·T2·&gt;())&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02432.html#a3f2079447de3426b9da835d3f32d73b6">PromotedType</a></td></tr>
82 <tr·class="separator:a3f2079447de3426b9da835d3f32d73b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a3f2079447de3426b9da835d3f32d73b6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 100, 15 lines modifiedOffset 100, 15 lines modified
100 ········</tr>100 ········</tr>
101 ······</table>101 ······</table>
102 </div><div·class="memdoc">102 </div><div·class="memdoc">
  
103 </div>103 </div>
104 </div>104 </div>
105 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>105 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
106 <li><a·class="el"·href="a00077_source.html">promotiontraits.hh</a></li>106 <li><a·class="el"·href="a00035_source.html">promotiontraits.hh</a></li>
107 </ul>107 </ul>
108 </div><!--·contents·-->108 </div><!--·contents·-->
109 <!--·start·footer·part·-->109 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>110 <hr·class="footer"/><address·class="footer"><small>
111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
112 </small></address>112 </small></address>
113 </body>113 </body>
1.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a02436.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02433.html">List·of·all·members</a>··</div>71 <a·href="a02433.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·T1,·T1·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PromotionTraits&lt;·T1,·T1·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00035_source.html">dune/common/promotiontraits.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ab4f6d422c0baac66e9496252327e6682"><td·class="memItemLeft"·align="right"·valign="top">typedef·T1&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02436.html#ab4f6d422c0baac66e9496252327e6682">PromotedType</a></td></tr>79 <tr·class="memitem:ab4f6d422c0baac66e9496252327e6682"><td·class="memItemLeft"·align="right"·valign="top">typedef·T1&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02436.html#ab4f6d422c0baac66e9496252327e6682">PromotedType</a></td></tr>
80 <tr·class="separator:ab4f6d422c0baac66e9496252327e6682"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ab4f6d422c0baac66e9496252327e6682"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00077_source.html">promotiontraits.hh</a></li>100 <li><a·class="el"·href="a00035_source.html">promotiontraits.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
2.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a02440.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02437.html">List·of·all·members</a>··</div>71 <a·href="a02437.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·PM·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·PM·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:aefa8f676ee021f8ea1115671ffc2151a"><td·class="memItemLeft"·align="right"·valign="top">typedef·PM::KeyType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02440.html#aefa8f676ee021f8ea1115671ffc2151a">KeyType</a></td></tr>79 <tr·class="memitem:aefa8f676ee021f8ea1115671ffc2151a"><td·class="memItemLeft"·align="right"·valign="top">typedef·PM::KeyType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02440.html#aefa8f676ee021f8ea1115671ffc2151a">KeyType</a></td></tr>
80 <tr·class="memdesc:aefa8f676ee021f8ea1115671ffc2151a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·key·of·the·property·map.··<a·href="a02440.html#aefa8f676ee021f8ea1115671ffc2151a">More...</a><br·/></td></tr>80 <tr·class="memdesc:aefa8f676ee021f8ea1115671ffc2151a"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·the·key·of·the·property·map.··<a·href="a02440.html#aefa8f676ee021f8ea1115671ffc2151a">More...</a><br·/></td></tr>
81 <tr·class="separator:aefa8f676ee021f8ea1115671ffc2151a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:aefa8f676ee021f8ea1115671ffc2151a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 <tr·class="memitem:a3bb5afe09fc0319fa3a2dc95c47438cd"><td·class="memItemLeft"·align="right"·valign="top">typedef·PM::ValueType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02440.html#a3bb5afe09fc0319fa3a2dc95c47438cd">ValueType</a></td></tr>82 <tr·class="memitem:a3bb5afe09fc0319fa3a2dc95c47438cd"><td·class="memItemLeft"·align="right"·valign="top">typedef·PM::ValueType&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02440.html#a3bb5afe09fc0319fa3a2dc95c47438cd">ValueType</a></td></tr>
Offset 160, 15 lines modifiedOffset 160, 15 lines modified
160 </div><div·class="memdoc">160 </div><div·class="memdoc">
  
161 <p>The·type·of·the·values·of·the·property·map.·</p>161 <p>The·type·of·the·values·of·the·property·map.·</p>
  
162 </div>162 </div>
163 </div>163 </div>
164 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>164 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
165 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>165 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
166 </ul>166 </ul>
167 </div><!--·contents·-->167 </div><!--·contents·-->
168 <!--·start·footer·part·-->168 <!--·start·footer·part·-->
169 <hr·class="footer"/><address·class="footer"><small>169 <hr·class="footer"/><address·class="footer"><small>
170 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4170 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
171 </small></address>171 </small></address>
172 </body>172 </body>
2.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a02444.html
    
Offset 69, 29 lines modifiedOffset 69, 29 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::ReadablePropertyMapTag·Struct·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::ReadablePropertyMapTag·Struct·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Tag·for·the·category·of·readable·property·maps.··72 <p>Tag·for·the·category·of·readable·property·maps.··
73 ·<a·href="a02444.html#details">More...</a></p>73 ·<a·href="a02444.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::ReadablePropertyMapTag:</div>76 Inheritance·diagram·for·Dune::ReadablePropertyMapTag:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02443.png"·border="0"·usemap="#a_dune_1_1_readable_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02443.png"·border="0"·usemap="#a_dune_1_1_readable_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_readable_property_map_tag_inherit__map"·id="a_dune_1_1_readable_property_map_tag_inherit__map">79 <map·name="a_dune_1_1_readable_property_map_tag_inherit__map"·id="a_dune_1_1_readable_property_map_tag_inherit__map">
80 <area·shape="rect"·title="Tag·for·the·category·of·readable·property·maps."·alt=""·coords="9,5,219,32"/>80 <area·shape="rect"·title="Tag·for·the·category·of·readable·property·maps."·alt=""·coords="9,5,219,32"/>
81 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="5,80,223,107"/>81 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="5,80,223,107"/>
82 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="17,155,211,181"/>82 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="17,155,211,181"/>
83 </map>83 </map>
84 </div>84 </div>
85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
86 <div·class="textblock"><p·>Tag·for·the·category·of·readable·property·maps.·</p>86 <div·class="textblock"><p·>Tag·for·the·category·of·readable·property·maps.·</p>
87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
88 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>88 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
89 </ul>89 </ul>
90 </div><!--·contents·-->90 </div><!--·contents·-->
91 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
92 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
93 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.493 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
94 </small></address>94 </small></address>
95 </body>95 </body>
2.01 KB
./usr/share/doc/libdune-common-doc/doxygen/a02448.html
    
Offset 69, 29 lines modifiedOffset 69, 29 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::WritablePropertyMapTag·Struct·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::WritablePropertyMapTag·Struct·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Tag·for·the·category·of·writable·property·maps.··72 <p>Tag·for·the·category·of·writable·property·maps.··
73 ·<a·href="a02448.html#details">More...</a></p>73 ·<a·href="a02448.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::WritablePropertyMapTag:</div>76 Inheritance·diagram·for·Dune::WritablePropertyMapTag:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02447.png"·border="0"·usemap="#a_dune_1_1_writable_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02447.png"·border="0"·usemap="#a_dune_1_1_writable_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_writable_property_map_tag_inherit__map"·id="a_dune_1_1_writable_property_map_tag_inherit__map">79 <map·name="a_dune_1_1_writable_property_map_tag_inherit__map"·id="a_dune_1_1_writable_property_map_tag_inherit__map">
80 <area·shape="rect"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="12,5,216,32"/>80 <area·shape="rect"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="12,5,216,32"/>
81 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="5,80,223,107"/>81 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="5,80,223,107"/>
82 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="17,155,211,181"/>82 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="17,155,211,181"/>
83 </map>83 </map>
84 </div>84 </div>
85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
86 <div·class="textblock"><p·>Tag·for·the·category·of·writable·property·maps.·</p>86 <div·class="textblock"><p·>Tag·for·the·category·of·writable·property·maps.·</p>
87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
88 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>88 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
89 </ul>89 </ul>
90 </div><!--·contents·-->90 </div><!--·contents·-->
91 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
92 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
93 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.493 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
94 </small></address>94 </small></address>
95 </body>95 </body>
2.16 KB
./usr/share/doc/libdune-common-doc/doxygen/a02452.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::ReadWritePropertyMapTag·Struct·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::ReadWritePropertyMapTag·Struct·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Tag·for·the·category·of·readable·and·writable·property·maps.··72 <p>Tag·for·the·category·of·readable·and·writable·property·maps.··
73 ·<a·href="a02452.html#details">More...</a></p>73 ·<a·href="a02452.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::ReadWritePropertyMapTag:</div>76 Inheritance·diagram·for·Dune::ReadWritePropertyMapTag:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02451.png"·border="0"·usemap="#a_dune_1_1_read_write_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02451.png"·border="0"·usemap="#a_dune_1_1_read_write_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_read_write_property_map_tag_inherit__map"·id="a_dune_1_1_read_write_property_map_tag_inherit__map">79 <map·name="a_dune_1_1_read_write_property_map_tag_inherit__map"·id="a_dune_1_1_read_write_property_map_tag_inherit__map">
80 <area·shape="rect"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="118,80,335,107"/>80 <area·shape="rect"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="118,80,335,107"/>
81 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="129,155,324,181"/>81 <area·shape="rect"·href="a02456.html"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="129,155,324,181"/>
82 <area·shape="rect"·href="a02444.html"·title="Tag·for·the·category·of·readable·property·maps."·alt=""·coords="5,5,216,32"/>82 <area·shape="rect"·href="a02444.html"·title="Tag·for·the·category·of·readable·property·maps."·alt=""·coords="5,5,216,32"/>
83 <area·shape="rect"·href="a02448.html"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="241,5,445,32"/>83 <area·shape="rect"·href="a02448.html"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="241,5,445,32"/>
84 </map>84 </map>
85 </div>85 </div>
86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
87 <div·class="textblock"><p·>Tag·for·the·category·of·readable·and·writable·property·maps.·</p>87 <div·class="textblock"><p·>Tag·for·the·category·of·readable·and·writable·property·maps.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>89 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/a02456.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::LvaluePropertyMapTag·Struct·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::LvaluePropertyMapTag·Struct·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Tag·for·the·category·of·lvalue·property·maps.··72 <p>Tag·for·the·category·of·lvalue·property·maps.··
73 ·<a·href="a02456.html#details">More...</a></p>73 ·<a·href="a02456.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::LvaluePropertyMapTag:</div>76 Inheritance·diagram·for·Dune::LvaluePropertyMapTag:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02455.png"·border="0"·usemap="#a_dune_1_1_lvalue_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02455.png"·border="0"·usemap="#a_dune_1_1_lvalue_property_map_tag_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_lvalue_property_map_tag_inherit__map"·id="a_dune_1_1_lvalue_property_map_tag_inherit__map">79 <map·name="a_dune_1_1_lvalue_property_map_tag_inherit__map"·id="a_dune_1_1_lvalue_property_map_tag_inherit__map">
80 <area·shape="rect"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="129,155,324,181"/>80 <area·shape="rect"·title="Tag·for·the·category·of·lvalue·property·maps."·alt=""·coords="129,155,324,181"/>
81 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="118,80,335,107"/>81 <area·shape="rect"·href="a02452.html"·title="Tag·for·the·category·of·readable·and·writable·property·maps."·alt=""·coords="118,80,335,107"/>
82 <area·shape="rect"·href="a02444.html"·title="Tag·for·the·category·of·readable·property·maps."·alt=""·coords="5,5,216,32"/>82 <area·shape="rect"·href="a02444.html"·title="Tag·for·the·category·of·readable·property·maps."·alt=""·coords="5,5,216,32"/>
83 <area·shape="rect"·href="a02448.html"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="241,5,445,32"/>83 <area·shape="rect"·href="a02448.html"·title="Tag·for·the·category·of·writable·property·maps."·alt=""·coords="241,5,445,32"/>
84 </map>84 </map>
85 </div>85 </div>
86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
87 <div·class="textblock"><p·>Tag·for·the·category·of·lvalue·property·maps.·</p>87 <div·class="textblock"><p·>Tag·for·the·category·of·lvalue·property·maps.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>89 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.18 KB
./usr/share/doc/libdune-common-doc/doxygen/a02460.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02457.html">List·of·all·members</a>··</div>71 <a·href="a02457.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·T·*·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·T·*·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ab39568f3b7665ef3f37133e3bd730769"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">ValueType</a></td></tr>79 <tr·class="memitem:ab39568f3b7665ef3f37133e3bd730769"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">ValueType</a></td></tr>
80 <tr·class="separator:ab39568f3b7665ef3f37133e3bd730769"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ab39568f3b7665ef3f37133e3bd730769"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:a07802b26da42da291623626023a7cb29"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">ValueType</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02460.html#a07802b26da42da291623626023a7cb29">Reference</a></td></tr>81 <tr·class="memitem:a07802b26da42da291623626023a7cb29"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a02460.html#ab39568f3b7665ef3f37133e3bd730769">ValueType</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02460.html#a07802b26da42da291623626023a7cb29">Reference</a></td></tr>
82 <tr·class="separator:a07802b26da42da291623626023a7cb29"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a07802b26da42da291623626023a7cb29"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ········</tr>148 ········</tr>
149 ······</table>149 ······</table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>154 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
158 <hr·class="footer"/><address·class="footer"><small>158 <hr·class="footer"/><address·class="footer"><small>
159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
160 </small></address>160 </small></address>
161 </body>161 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a02464.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02461.html">List·of·all·members</a>··</div>71 <a·href="a02461.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·const·T·*·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTraits&lt;·const·T·*·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ad04ca9d77ff37df29ee625faa3a41b74"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">ValueType</a></td></tr>79 <tr·class="memitem:ad04ca9d77ff37df29ee625faa3a41b74"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">ValueType</a></td></tr>
80 <tr·class="separator:ad04ca9d77ff37df29ee625faa3a41b74"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ad04ca9d77ff37df29ee625faa3a41b74"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:ab2b795946cd41b7bd3b6926516c8b1a0"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·<a·class="el"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">ValueType</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02464.html#ab2b795946cd41b7bd3b6926516c8b1a0">Reference</a></td></tr>81 <tr·class="memitem:ab2b795946cd41b7bd3b6926516c8b1a0"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·<a·class="el"·href="a02464.html#ad04ca9d77ff37df29ee625faa3a41b74">ValueType</a>·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02464.html#ab2b795946cd41b7bd3b6926516c8b1a0">Reference</a></td></tr>
82 <tr·class="separator:ab2b795946cd41b7bd3b6926516c8b1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ab2b795946cd41b7bd3b6926516c8b1a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 148, 15 lines modifiedOffset 148, 15 lines modified
148 ········</tr>148 ········</tr>
149 ······</table>149 ······</table>
150 </div><div·class="memdoc">150 </div><div·class="memdoc">
  
151 </div>151 </div>
152 </div>152 </div>
153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>153 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
154 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>154 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
155 </ul>155 </ul>
156 </div><!--·contents·-->156 </div><!--·contents·-->
157 <!--·start·footer·part·-->157 <!--·start·footer·part·-->
158 <hr·class="footer"/><address·class="footer"><small>158 <hr·class="footer"/><address·class="footer"><small>
159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4159 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
160 </small></address>160 </small></address>
161 </body>161 </body>
2.33 KB
./usr/share/doc/libdune-common-doc/doxygen/a02468.html
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;:</div>74 Inheritance·diagram·for·Dune::RAPropertyMapHelper&lt;·Reference,·PropertyMap·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a02467.png"·border="0"·usemap="#a_dune_1_1_r_a_property_map_helper_3_01_reference_00_01_property_map_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a02467.png"·border="0"·usemap="#a_dune_1_1_r_a_property_map_helper_3_01_reference_00_01_property_map_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_r_a_property_map_helper_3_01_reference_00_01_property_map_01_4_inherit__map"·id="a_dune_1_1_r_a_property_map_helper_3_01_reference_00_01_property_map_01_4_inherit__map">77 <map·name="a_dune_1_1_r_a_property_map_helper_3_01_reference_00_01_property_map_01_4_inherit__map"·id="a_dune_1_1_r_a_property_map_helper_3_01_reference_00_01_property_map_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,133,199,174"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,133,199,174"/>
79 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="452,12,713,68"/>79 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="452,12,713,68"/>
Offset 84, 15 lines modifiedOffset 84, 15 lines modified
84 <area·shape="rect"·href="a02476.html"·title="An·adapter·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="780,19,959,61"/>84 <area·shape="rect"·href="a02476.html"·title="An·adapter·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="780,19,959,61"/>
85 <area·shape="rect"·href="a02480.html"·title="An·adaptor·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="763,107,976,149"/>85 <area·shape="rect"·href="a02480.html"·title="An·adaptor·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="763,107,976,149"/>
86 <area·shape="rect"·href="a02484.html"·title="A·property·map·that·applies·the·identity·function·to·integers."·alt=""·coords="805,195,934,221"/>86 <area·shape="rect"·href="a02484.html"·title="A·property·map·that·applies·the·identity·function·to·integers."·alt=""·coords="805,195,934,221"/>
87 <area·shape="rect"·href="a02472.html"·title="Adapter·to·turn·a·random·access·iterator·into·a·property·map."·alt=""·coords="781,297,958,338"/>87 <area·shape="rect"·href="a02472.html"·title="Adapter·to·turn·a·random·access·iterator·into·a·property·map."·alt=""·coords="781,297,958,338"/>
88 </map>88 </map>
89 </div>89 </div>
90 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>90 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
91 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>91 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
92 </ul>92 </ul>
93 </div><!--·contents·-->93 </div><!--·contents·-->
94 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>95 <hr·class="footer"/><address·class="footer"><small>
96 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.496 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
97 </small></address>97 </small></address>
98 </body>98 </body>
1.94 KB
./usr/share/doc/libdune-common-doc/doxygen/a02472.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;·Class·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;·Class·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Adapter·to·turn·a·random·access·iterator·into·a·property·map.··76 <p>Adapter·to·turn·a·random·access·iterator·into·a·property·map.··
77 ·<a·href="a02472.html#details">More...</a></p>77 ·<a·href="a02472.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;:</div>80 Inheritance·diagram·for·Dune::IteratorPropertyMap&lt;·RAI,·IM,·T,·R·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02471.png"·border="0"·usemap="#a_dune_1_1_iterator_property_map_3_01_r_a_i_00_01_i_m_00_01_t_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02471.png"·border="0"·usemap="#a_dune_1_1_iterator_property_map_3_01_r_a_i_00_01_i_m_00_01_t_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_iterator_property_map_3_01_r_a_i_00_01_i_m_00_01_t_00_01_r_01_4_inherit__map"·id="a_dune_1_1_iterator_property_map_3_01_r_a_i_00_01_i_m_00_01_t_00_01_r_01_4_inherit__map">83 <map·name="a_dune_1_1_iterator_property_map_3_01_r_a_i_00_01_i_m_00_01_t_00_01_r_01_4_inherit__map"·id="a_dune_1_1_iterator_property_map_3_01_r_a_i_00_01_i_m_00_01_t_00_01_r_01_4_inherit__map">
84 <area·shape="rect"·title="Adapter·to·turn·a·random·access·iterator·into·a·property·map."·alt=""·coords="657,87,835,129"/>84 <area·shape="rect"·title="Adapter·to·turn·a·random·access·iterator·into·a·property·map."·alt=""·coords="657,87,835,129"/>
85 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="415,43,608,173"/>85 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="415,43,608,173"/>
Offset 340, 15 lines modifiedOffset 340, 15 lines modified
340 </div><div·class="memdoc">340 </div><div·class="memdoc">
  
341 <p>Access·the·a·value·by·reference.·</p>341 <p>Access·the·a·value·by·reference.·</p>
  
342 </div>342 </div>
343 </div>343 </div>
344 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>344 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
345 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>345 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
346 </ul>346 </ul>
347 </div><!--·contents·-->347 </div><!--·contents·-->
348 <!--·start·footer·part·-->348 <!--·start·footer·part·-->
349 <hr·class="footer"/><address·class="footer"><small>349 <hr·class="footer"/><address·class="footer"><small>
350 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4350 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
351 </small></address>351 </small></address>
352 </body>352 </body>
2.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a02476.html
    
Offset 71, 30 lines modifiedOffset 71, 30 lines modified
71 ··<div·class="headertitle"><div·class="title">Dune::AssociativePropertyMap&lt;·T·&gt;·Class·Template·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">Dune::AssociativePropertyMap&lt;·T·&gt;·Class·Template·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>An·adapter·to·turn·an·unique·associative·container·into·a·property·map.··74 <p>An·adapter·to·turn·an·unique·associative·container·into·a·property·map.··
75 ·<a·href="a02476.html#details">More...</a></p>75 ·<a·href="a02476.html#details">More...</a></p>
  
76 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
77 <div·class="dynheader">77 <div·class="dynheader">
78 Inheritance·diagram·for·Dune::AssociativePropertyMap&lt;·T·&gt;:</div>78 Inheritance·diagram·for·Dune::AssociativePropertyMap&lt;·T·&gt;:</div>
79 <div·class="dyncontent">79 <div·class="dyncontent">
80 <div·class="center"><img·src="a02475.png"·border="0"·usemap="#a_dune_1_1_associative_property_map_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>80 <div·class="center"><img·src="a02475.png"·border="0"·usemap="#a_dune_1_1_associative_property_map_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
81 <map·name="a_dune_1_1_associative_property_map_3_01_t_01_4_inherit__map"·id="a_dune_1_1_associative_property_map_3_01_t_01_4_inherit__map">81 <map·name="a_dune_1_1_associative_property_map_3_01_t_01_4_inherit__map"·id="a_dune_1_1_associative_property_map_3_01_t_01_4_inherit__map">
82 <area·shape="rect"·title="An·adapter·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="728,29,907,70"/>82 <area·shape="rect"·title="An·adapter·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="728,29,907,70"/>
83 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="417,21,679,77"/>83 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="417,21,679,77"/>
84 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,29,199,70"/>84 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,29,199,70"/>
85 </map>85 </map>
86 </div>86 </div>
87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
88 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>88 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
89 class·Dune::AssociativePropertyMap&lt;·T·&gt;</div><p·>An·adapter·to·turn·an·unique·associative·container·into·a·property·map.·</p>89 class·Dune::AssociativePropertyMap&lt;·T·&gt;</div><p·>An·adapter·to·turn·an·unique·associative·container·into·a·property·map.·</p>
90 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>90 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
91 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>91 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
92 </ul>92 </ul>
93 </div><!--·contents·-->93 </div><!--·contents·-->
94 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>95 <hr·class="footer"/><address·class="footer"><small>
96 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.496 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
97 </small></address>97 </small></address>
98 </body>98 </body>
2.18 KB
./usr/share/doc/libdune-common-doc/doxygen/a02480.html
    
Offset 71, 30 lines modifiedOffset 71, 30 lines modified
71 ··<div·class="headertitle"><div·class="title">Dune::ConstAssociativePropertyMap&lt;·T·&gt;·Class·Template·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">Dune::ConstAssociativePropertyMap&lt;·T·&gt;·Class·Template·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.··74 <p>An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.··
75 ·<a·href="a02480.html#details">More...</a></p>75 ·<a·href="a02480.html#details">More...</a></p>
  
76 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
77 <div·class="dynheader">77 <div·class="dynheader">
78 Inheritance·diagram·for·Dune::ConstAssociativePropertyMap&lt;·T·&gt;:</div>78 Inheritance·diagram·for·Dune::ConstAssociativePropertyMap&lt;·T·&gt;:</div>
79 <div·class="dyncontent">79 <div·class="dyncontent">
80 <div·class="center"><img·src="a02479.png"·border="0"·usemap="#a_dune_1_1_const_associative_property_map_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>80 <div·class="center"><img·src="a02479.png"·border="0"·usemap="#a_dune_1_1_const_associative_property_map_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
81 <map·name="a_dune_1_1_const_associative_property_map_3_01_t_01_4_inherit__map"·id="a_dune_1_1_const_associative_property_map_3_01_t_01_4_inherit__map">81 <map·name="a_dune_1_1_const_associative_property_map_3_01_t_01_4_inherit__map"·id="a_dune_1_1_const_associative_property_map_3_01_t_01_4_inherit__map">
82 <area·shape="rect"·title="An·adaptor·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="720,29,933,70"/>82 <area·shape="rect"·title="An·adaptor·to·turn·an·unique·associative·container·into·a·property·map."·alt=""·coords="720,29,933,70"/>
83 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="452,14,671,85"/>83 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="452,14,671,85"/>
84 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,29,199,70"/>84 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,29,199,70"/>
85 </map>85 </map>
86 </div>86 </div>
87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
88 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>88 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
89 class·Dune::ConstAssociativePropertyMap&lt;·T·&gt;</div><p·>An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.·</p>89 class·Dune::ConstAssociativePropertyMap&lt;·T·&gt;</div><p·>An·adaptor·to·turn·an·unique·associative·container·into·a·property·map.·</p>
90 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>90 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
91 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>91 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
92 </ul>92 </ul>
93 </div><!--·contents·-->93 </div><!--·contents·-->
94 <!--·start·footer·part·-->94 <!--·start·footer·part·-->
95 <hr·class="footer"/><address·class="footer"><small>95 <hr·class="footer"/><address·class="footer"><small>
96 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.496 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
97 </small></address>97 </small></address>
98 </body>98 </body>
1.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a02484.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::IdentityMap·Struct·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::IdentityMap·Struct·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·property·map·that·applies·the·identity·function·to·integers.··76 <p>A·property·map·that·applies·the·identity·function·to·integers.··
77 ·<a·href="a02484.html#details">More...</a></p>77 ·<a·href="a02484.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::IdentityMap:</div>80 Inheritance·diagram·for·Dune::IdentityMap:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02483.png"·border="0"·usemap="#a_dune_1_1_identity_map_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02483.png"·border="0"·usemap="#a_dune_1_1_identity_map_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_identity_map_inherit__map"·id="a_dune_1_1_identity_map_inherit__map">83 <map·name="a_dune_1_1_identity_map_inherit__map"·id="a_dune_1_1_identity_map_inherit__map">
84 <area·shape="rect"·title="A·property·map·that·applies·the·identity·function·to·integers."·alt=""·coords="37,200,167,227"/>84 <area·shape="rect"·title="A·property·map·that·applies·the·identity·function·to·integers."·alt=""·coords="37,200,167,227"/>
85 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,109,199,151"/>85 <area·shape="rect"·href="a02468.html"·title="·"·alt=""·coords="5,109,199,151"/>
Offset 200, 15 lines modifiedOffset 200, 15 lines modified
200 ··</tr>200 ··</tr>
201 </table>201 </table>
202 </div><div·class="memdoc">202 </div><div·class="memdoc">
  
203 </div>203 </div>
204 </div>204 </div>
205 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>205 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
206 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>206 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
207 </ul>207 </ul>
208 </div><!--·contents·-->208 </div><!--·contents·-->
209 <!--·start·footer·part·-->209 <!--·start·footer·part·-->
210 <hr·class="footer"/><address·class="footer"><small>210 <hr·class="footer"/><address·class="footer"><small>
211 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4211 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
212 </small></address>212 </small></address>
213 </body>213 </body>
2.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a02488.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTypeSelector&lt;·T,·C·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PropertyMapTypeSelector&lt;·T,·C·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Selector·for·the·property·map·type.··75 <p>Selector·for·the·property·map·type.··
76 ·<a·href="a02488.html#details">More...</a></p>76 ·<a·href="a02488.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00209_source.html">dune/common/propertymap.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/propertymap.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02488.html#a4c7559b11fa26cde5dbc32ed4b787b70">Tag</a></td></tr>81 <tr·class="memitem:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02488.html#a4c7559b11fa26cde5dbc32ed4b787b70">Tag</a></td></tr>
82 <tr·class="memdesc:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·tag·identifying·the·property.··<a·href="a02488.html#a4c7559b11fa26cde5dbc32ed4b787b70">More...</a><br·/></td></tr>82 <tr·class="memdesc:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">the·tag·identifying·the·property.··<a·href="a02488.html#a4c7559b11fa26cde5dbc32ed4b787b70">More...</a><br·/></td></tr>
83 <tr·class="separator:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a4c7559b11fa26cde5dbc32ed4b787b70"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:add93eb935a165d1c8d687767819ab13a"><td·class="memItemLeft"·align="right"·valign="top">typedef·C&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02488.html#add93eb935a165d1c8d687767819ab13a">Container</a></td></tr>84 <tr·class="memitem:add93eb935a165d1c8d687767819ab13a"><td·class="memItemLeft"·align="right"·valign="top">typedef·C&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02488.html#add93eb935a165d1c8d687767819ab13a">Container</a></td></tr>
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 </div><div·class="memdoc">125 </div><div·class="memdoc">
  
126 <p>the·tag·identifying·the·property.·</p>126 <p>the·tag·identifying·the·property.·</p>
  
127 </div>127 </div>
128 </div>128 </div>
129 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>129 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
130 <li><a·class="el"·href="a00209_source.html">propertymap.hh</a></li>130 <li><a·class="el"·href="a00266_source.html">propertymap.hh</a></li>
131 </ul>131 </ul>
132 </div><!--·contents·-->132 </div><!--·contents·-->
133 <!--·start·footer·part·-->133 <!--·start·footer·part·-->
134 <hr·class="footer"/><address·class="footer"><small>134 <hr·class="footer"/><address·class="footer"><small>
135 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4135 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
136 </small></address>136 </small></address>
137 </body>137 </body>
2.45 KB
./usr/share/doc/libdune-common-doc/doxygen/a02500.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::IntegralRange&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::IntegralRange&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>dynamic·integer·range·for·use·in·range-based·for·loops··76 <p>dynamic·integer·range·for·use·in·range-based·for·loops··
77 ·<a·href="a02500.html#details">More...</a></p>77 ·<a·href="a02500.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:ad74cc554ddff91fd5db8715d320f8062"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02500.html#ad74cc554ddff91fd5db8715d320f8062">value_type</a></td></tr>82 <tr·class="memitem:ad74cc554ddff91fd5db8715d320f8062"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02500.html#ad74cc554ddff91fd5db8715d320f8062">value_type</a></td></tr>
83 <tr·class="memdesc:ad74cc554ddff91fd5db8715d320f8062"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·integers·contained·in·the·range··<a·href="a02500.html#ad74cc554ddff91fd5db8715d320f8062">More...</a><br·/></td></tr>83 <tr·class="memdesc:ad74cc554ddff91fd5db8715d320f8062"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·integers·contained·in·the·range··<a·href="a02500.html#ad74cc554ddff91fd5db8715d320f8062">More...</a><br·/></td></tr>
84 <tr·class="separator:ad74cc554ddff91fd5db8715d320f8062"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:ad74cc554ddff91fd5db8715d320f8062"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:a5cd7c770e0ee88827d4e16268e3c67af"><td·class="memItemLeft"·align="right"·valign="top">typedef·Impl::IntegralRangeIterator&lt;·T·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02500.html#a5cd7c770e0ee88827d4e16268e3c67af">iterator</a></td></tr>85 <tr·class="memitem:a5cd7c770e0ee88827d4e16268e3c67af"><td·class="memItemLeft"·align="right"·valign="top">typedef·Impl::IntegralRangeIterator&lt;·T·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02500.html#a5cd7c770e0ee88827d4e16268e3c67af">iterator</a></td></tr>
Offset 428, 15 lines modifiedOffset 428, 15 lines modified
428 </div><div·class="memdoc">428 </div><div·class="memdoc">
  
429 <p>obtain·number·of·elements·in·the·range·</p>429 <p>obtain·number·of·elements·in·the·range·</p>
  
430 </div>430 </div>
431 </div>431 </div>
432 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>432 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
433 <li><a·class="el"·href="a00245_source.html">rangeutilities.hh</a></li>433 <li><a·class="el"·href="a00302_source.html">rangeutilities.hh</a></li>
434 </ul>434 </ul>
435 </div><!--·contents·-->435 </div><!--·contents·-->
436 <!--·start·footer·part·-->436 <!--·start·footer·part·-->
437 <hr·class="footer"/><address·class="footer"><small>437 <hr·class="footer"/><address·class="footer"><small>
438 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4438 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
439 </small></address>439 </small></address>
440 </body>440 </body>
2.46 KB
./usr/share/doc/libdune-common-doc/doxygen/a02504.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::StaticIntegralRange&lt;·T,·to,·from·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::StaticIntegralRange&lt;·T,·to,·from·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>static·integer·range·for·use·in·range-based·for·loops··77 <p>static·integer·range·for·use·in·range-based·for·loops··
78 ·<a·href="a02504.html#details">More...</a></p>78 ·<a·href="a02504.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
80 <table·class="memberdecls">80 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
82 Public·Types</h2></td></tr>82 Public·Types</h2></td></tr>
83 <tr·class="memitem:a58ff891755441b324726ec12439164eb"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02504.html#a58ff891755441b324726ec12439164eb">value_type</a></td></tr>83 <tr·class="memitem:a58ff891755441b324726ec12439164eb"><td·class="memItemLeft"·align="right"·valign="top">typedef·T&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02504.html#a58ff891755441b324726ec12439164eb">value_type</a></td></tr>
84 <tr·class="memdesc:a58ff891755441b324726ec12439164eb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·integers·contained·in·the·range··<a·href="a02504.html#a58ff891755441b324726ec12439164eb">More...</a><br·/></td></tr>84 <tr·class="memdesc:a58ff891755441b324726ec12439164eb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">type·of·integers·contained·in·the·range··<a·href="a02504.html#a58ff891755441b324726ec12439164eb">More...</a><br·/></td></tr>
85 <tr·class="separator:a58ff891755441b324726ec12439164eb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:a58ff891755441b324726ec12439164eb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 <tr·class="memitem:aeafa4f9b8cd8551d2b127a7eb7fa63ad"><td·class="memItemLeft"·align="right"·valign="top">typedef·Impl::IntegralRangeIterator&lt;·T·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02504.html#aeafa4f9b8cd8551d2b127a7eb7fa63ad">iterator</a></td></tr>86 <tr·class="memitem:aeafa4f9b8cd8551d2b127a7eb7fa63ad"><td·class="memItemLeft"·align="right"·valign="top">typedef·Impl::IntegralRangeIterator&lt;·T·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02504.html#aeafa4f9b8cd8551d2b127a7eb7fa63ad">iterator</a></td></tr>
Offset 480, 15 lines modifiedOffset 480, 15 lines modified
480 </div><div·class="memdoc">480 </div><div·class="memdoc">
  
481 <p>obtain·number·of·elements·in·the·range·</p>481 <p>obtain·number·of·elements·in·the·range·</p>
  
482 </div>482 </div>
483 </div>483 </div>
484 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>484 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
485 <li><a·class="el"·href="a00245_source.html">rangeutilities.hh</a></li>485 <li><a·class="el"·href="a00302_source.html">rangeutilities.hh</a></li>
486 </ul>486 </ul>
487 </div><!--·contents·-->487 </div><!--·contents·-->
488 <!--·start·footer·part·-->488 <!--·start·footer·part·-->
489 <hr·class="footer"/><address·class="footer"><small>489 <hr·class="footer"/><address·class="footer"><small>
490 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4490 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
491 </small></address>491 </small></address>
492 </body>492 </body>
1.7 KB
./usr/share/doc/libdune-common-doc/doxygen/a02508.html
    
Offset 69, 19 lines modifiedOffset 69, 19 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::ValueTransformationTag·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::ValueTransformationTag·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Tag·to·enable·value·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··72 <p>Tag·to·enable·value·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··
73 ·<a·href="a02508.html#details">More...</a></p>73 ·<a·href="a02508.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><p·>Tag·to·enable·value·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.·</p>76 <div·class="textblock"><p·>Tag·to·enable·value·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.·</p>
77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
78 <li><a·class="el"·href="a00245_source.html">rangeutilities.hh</a></li>78 <li><a·class="el"·href="a00302_source.html">rangeutilities.hh</a></li>
79 </ul>79 </ul>
80 </div><!--·contents·-->80 </div><!--·contents·-->
81 <!--·start·footer·part·-->81 <!--·start·footer·part·-->
82 <hr·class="footer"/><address·class="footer"><small>82 <hr·class="footer"/><address·class="footer"><small>
83 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.483 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
84 </small></address>84 </small></address>
85 </body>85 </body>
1.71 KB
./usr/share/doc/libdune-common-doc/doxygen/a02512.html
    
Offset 69, 19 lines modifiedOffset 69, 19 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IteratorTransformationTag·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IteratorTransformationTag·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Tag·to·enable·iterator·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··72 <p>Tag·to·enable·iterator·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.··
73 ·<a·href="a02512.html#details">More...</a></p>73 ·<a·href="a02512.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><p·>Tag·to·enable·iterator·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.·</p>76 <div·class="textblock"><p·>Tag·to·enable·iterator·based·transformations·in·<a·class="el"·href="a02536.html"·title="A·range·transforming·the·values·of·another·range·on-the-fly.">TransformedRangeView</a>.·</p>
77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
78 <li><a·class="el"·href="a00245_source.html">rangeutilities.hh</a></li>78 <li><a·class="el"·href="a00302_source.html">rangeutilities.hh</a></li>
79 </ul>79 </ul>
80 </div><!--·contents·-->80 </div><!--·contents·-->
81 <!--·start·footer·part·-->81 <!--·start·footer·part·-->
82 <hr·class="footer"/><address·class="footer"><small>82 <hr·class="footer"/><address·class="footer"><small>
83 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.483 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
84 </small></address>84 </small></address>
85 </body>85 </body>
3.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a02536.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::TransformedRangeView&lt;·R,·F,·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::TransformedRangeView&lt;·R,·F,·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00401.html">Range·Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·range·transforming·the·values·of·another·range·on-the-fly.··76 <p>A·range·transforming·the·values·of·another·range·on-the-fly.··
77 ·<a·href="a02536.html#details">More...</a></p>77 ·<a·href="a02536.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00302_source.html">dune/common/rangeutilities.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02536.html#a4525e9203f5db4cf3e1fdf9b0d453df8">const_iterator</a>·=·Impl::TransformedRangeIterator&lt;·RawConstIterator,·F,·T·&gt;</td></tr>82 <tr·class="memitem:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02536.html#a4525e9203f5db4cf3e1fdf9b0d453df8">const_iterator</a>·=·Impl::TransformedRangeIterator&lt;·RawConstIterator,·F,·T·&gt;</td></tr>
83 <tr·class="memdesc:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Const·iterator·type.··<a·href="a02536.html#a4525e9203f5db4cf3e1fdf9b0d453df8">More...</a><br·/></td></tr>83 <tr·class="memdesc:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Const·iterator·type.··<a·href="a02536.html#a4525e9203f5db4cf3e1fdf9b0d453df8">More...</a><br·/></td></tr>
84 <tr·class="separator:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a4525e9203f5db4cf3e1fdf9b0d453df8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:a8482e5b84a047127fe60cc80bb53bad2"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02536.html#a8482e5b84a047127fe60cc80bb53bad2">iterator</a>·=·Impl::TransformedRangeIterator&lt;·RawIterator,·F,·T·&gt;</td></tr>85 <tr·class="memitem:a8482e5b84a047127fe60cc80bb53bad2"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02536.html#a8482e5b84a047127fe60cc80bb53bad2">iterator</a>·=·Impl::TransformedRangeIterator&lt;·RawIterator,·F,·T·&gt;</td></tr>
Offset 439, 15 lines modifiedOffset 439, 15 lines modified
439 <p>Obtain·the·size·of·the·range.·</p>439 <p>Obtain·the·size·of·the·range.·</p>
440 <p·>This·is·only·available·if·the·underlying·range·provides·a·<a·class="el"·href="a02536.html#a02e07e9cc5ebedef76090a21232a9f5b"·title="Obtain·the·size·of·the·range.">size()</a>·method.·In·this·case·<a·class="el"·href="a02536.html#a02e07e9cc5ebedef76090a21232a9f5b"·title="Obtain·the·size·of·the·range.">size()</a>·just·forwards·to·the·underlying·range's·<a·class="el"·href="a02536.html#a02e07e9cc5ebedef76090a21232a9f5b"·title="Obtain·the·size·of·the·range.">size()</a>·method.</p>440 <p·>This·is·only·available·if·the·underlying·range·provides·a·<a·class="el"·href="a02536.html#a02e07e9cc5ebedef76090a21232a9f5b"·title="Obtain·the·size·of·the·range.">size()</a>·method.·In·this·case·<a·class="el"·href="a02536.html#a02e07e9cc5ebedef76090a21232a9f5b"·title="Obtain·the·size·of·the·range.">size()</a>·just·forwards·to·the·underlying·range's·<a·class="el"·href="a02536.html#a02e07e9cc5ebedef76090a21232a9f5b"·title="Obtain·the·size·of·the·range.">size()</a>·method.</p>
441 <p·>Attention:·Don't·select·the·template·parameters·explicitly.·They·are·only·used·to·implement·SFINAE.·</p>441 <p·>Attention:·Don't·select·the·template·parameters·explicitly.·They·are·only·used·to·implement·SFINAE.·</p>
  
442 </div>442 </div>
443 </div>443 </div>
444 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>444 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
445 <li><a·class="el"·href="a00245_source.html">rangeutilities.hh</a></li>445 <li><a·class="el"·href="a00302_source.html">rangeutilities.hh</a></li>
446 </ul>446 </ul>
447 </div><!--·contents·-->447 </div><!--·contents·-->
448 <!--·start·footer·part·-->448 <!--·start·footer·part·-->
449 <hr·class="footer"/><address·class="footer"><small>449 <hr·class="footer"/><address·class="footer"><small>
450 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4450 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
451 </small></address>451 </small></address>
452 </body>452 </body>
2.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a02552.html
    
Offset 71, 15 lines modifiedOffset 71, 15 lines modified
71 ··<div·class="headertitle"><div·class="title">Dune::ReservedVector&lt;·T,·n·&gt;·Class·Template·Reference</div></div>71 ··<div·class="headertitle"><div·class="title">Dune::ReservedVector&lt;·T,·n·&gt;·Class·Template·Reference</div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>A·Vector·class·with·statically·reserved·memory.··74 <p>A·Vector·class·with·statically·reserved·memory.··
75 ·<a·href="a02552.html#details">More...</a></p>75 ·<a·href="a02552.html#details">More...</a></p>
  
76 <p><code>#include·&lt;<a·class="el"·href="a00356_source.html">dune/common/reservedvector.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00389_source.html">dune/common/reservedvector.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
79 Public·Types</h2></td></tr>79 Public·Types</h2></td></tr>
80 <tr><td·colspan="2"><div·class="groupHeader"></div></td></tr>80 <tr><td·colspan="2"><div·class="groupHeader"></div></td></tr>
81 <tr·class="memitem:abba3052e39dc47e93616057091f31fd5"><td·class="memItemLeft"·align="right"·valign="top">typedef·storage_type::value_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">value_type</a></td></tr>81 <tr·class="memitem:abba3052e39dc47e93616057091f31fd5"><td·class="memItemLeft"·align="right"·valign="top">typedef·storage_type::value_type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02552.html#abba3052e39dc47e93616057091f31fd5">value_type</a></td></tr>
82 <tr·class="memdesc:abba3052e39dc47e93616057091f31fd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·object,·T,·stored·in·the·vector.··<a·href="a02552.html#abba3052e39dc47e93616057091f31fd5">More...</a><br·/></td></tr>82 <tr·class="memdesc:abba3052e39dc47e93616057091f31fd5"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·type·of·object,·T,·stored·in·the·vector.··<a·href="a02552.html#abba3052e39dc47e93616057091f31fd5">More...</a><br·/></td></tr>
83 <tr·class="separator:abba3052e39dc47e93616057091f31fd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:abba3052e39dc47e93616057091f31fd5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 1829, 15 lines modifiedOffset 1829, 15 lines modified
1829 </div><div·class="memdoc">1829 </div><div·class="memdoc">
  
1830 <p>Swap·the·content·with·another·vector.·</p>1830 <p>Swap·the·content·with·another·vector.·</p>
  
1831 </div>1831 </div>
1832 </div>1832 </div>
1833 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>1833 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
1834 <li><a·class="el"·href="a00356_source.html">reservedvector.hh</a></li>1834 <li><a·class="el"·href="a00389_source.html">reservedvector.hh</a></li>
1835 </ul>1835 </ul>
1836 </div><!--·contents·-->1836 </div><!--·contents·-->
1837 <!--·start·footer·part·-->1837 <!--·start·footer·part·-->
1838 <hr·class="footer"/><address·class="footer"><small>1838 <hr·class="footer"/><address·class="footer"><small>
1839 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.41839 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
1840 </small></address>1840 </small></address>
1841 </body>1841 </body>
3.56 KB
./usr/share/doc/libdune-common-doc/doxygen/a02588.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::null_deleter&lt;·T·&gt;·Struct·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::null_deleter&lt;·T·&gt;·Struct·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything··76 <p>implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything··
77 ·<a·href="a02588.html#details">More...</a></p>77 ·<a·href="a02588.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/shared_ptr.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00221_source.html">dune/common/shared_ptr.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
81 Public·Member·Functions</h2></td></tr>81 Public·Member·Functions</h2></td></tr>
82 <tr·class="memitem:a3f1c97c83e9a406bab22a317a51056fb"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02588.html#a3f1c97c83e9a406bab22a317a51056fb">operator()</a>·(T·*)·const</td></tr>82 <tr·class="memitem:a3f1c97c83e9a406bab22a317a51056fb"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02588.html#a3f1c97c83e9a406bab22a317a51056fb">operator()</a>·(T·*)·const</td></tr>
83 <tr·class="separator:a3f1c97c83e9a406bab22a317a51056fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a3f1c97c83e9a406bab22a317a51056fb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="related"·name="related"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="related"·name="related"></a>
Offset 167, 25 lines modifiedOffset 167, 25 lines modified
167 ··<td·class="mlabels-right">167 ··<td·class="mlabels-right">
168 <span·class="mlabels"><span·class="mlabel">related</span></span>··</td>168 <span·class="mlabels"><span·class="mlabel">related</span></span>··</td>
169 ··</tr>169 ··</tr>
170 </table>170 </table>
171 </div><div·class="memdoc">171 </div><div·class="memdoc">
  
172 <p>Create·a·shared_ptr·for·a·stack-allocated·object.·</p>172 <p>Create·a·shared_ptr·for·a·stack-allocated·object.·</p>
173 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00284.html">dune/common/shared_ptr.hh</a>&gt;</span></div>173 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00221.html">dune/common/shared_ptr.hh</a>&gt;</span></div>
174 <div·class="ttc"·id="aa00284_html"><div·class="ttname"><a·href="a00284.html">shared_ptr.hh</a></div><div·class="ttdoc">This·file·implements·several·utilities·related·to·std::shared_ptr.</div></div>174 <div·class="ttc"·id="aa00221_html"><div·class="ttname"><a·href="a00221.html">shared_ptr.hh</a></div><div·class="ttdoc">This·file·implements·several·utilities·related·to·std::shared_ptr.</div></div>
175 </div><!--·fragment·--><p·>Usage:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·i·=·10;</div>175 </div><!--·fragment·--><p·>Usage:·</p><div·class="fragment"><div·class="line"><span·class="keywordtype">int</span>·i·=·10;</div>
176 <div·class="line">std::shared_ptr&lt;int&gt;·pi·=·<a·class="code·hl_function"·href="a02588.html#a0ee36ec1f6416afa0487a8a224376e34">stackobject_to_shared_ptr</a>(i);</div>176 <div·class="line">std::shared_ptr&lt;int&gt;·pi·=·<a·class="code·hl_function"·href="a02588.html#a0ee36ec1f6416afa0487a8a224376e34">stackobject_to_shared_ptr</a>(i);</div>
177 </div><!--·fragment·--><p>·The·<code>std::shared_ptr</code>·points·to·the·object·on·the·stack,·but·its·deleter·is·set·to·an·instance·of·<code><a·class="el"·href="a02588.html"·title="implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything">null_deleter</a></code>·so·that·nothing·happens·when·the·<code>shared_ptr</code>·is·destroyed.</p>177 </div><!--·fragment·--><p>·The·<code>std::shared_ptr</code>·points·to·the·object·on·the·stack,·but·its·deleter·is·set·to·an·instance·of·<code><a·class="el"·href="a02588.html"·title="implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything">null_deleter</a></code>·so·that·nothing·happens·when·the·<code>shared_ptr</code>·is·destroyed.</p>
178 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a02588.html"·title="implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything">null_deleter</a>·</dd></dl>178 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a02588.html"·title="implements·the·Deleter·concept·of·shared_ptr·without·deleting·anything">null_deleter</a>·</dd></dl>
  
179 </div>179 </div>
180 </div>180 </div>
181 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>181 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
182 <li><a·class="el"·href="a00284_source.html">shared_ptr.hh</a></li>182 <li><a·class="el"·href="a00221_source.html">shared_ptr.hh</a></li>
183 </ul>183 </ul>
184 </div><!--·contents·-->184 </div><!--·contents·-->
185 <!--·start·footer·part·-->185 <!--·start·footer·part·-->
186 <hr·class="footer"/><address·class="footer"><small>186 <hr·class="footer"/><address·class="footer"><small>
187 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4187 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
188 </small></address>188 </small></address>
189 </body>189 </body>
1.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a02592.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02589.html">List·of·all·members</a>··</div>71 <a·href="a02589.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::SimdScalarTypeTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::SimdScalarTypeTraits&lt;·T·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/simd.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">dune/common/simd.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ac58eb6a061f11b93623abcf9f541307d"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02592.html#ac58eb6a061f11b93623abcf9f541307d">type</a>·=·T</td></tr>79 <tr·class="memitem:ac58eb6a061f11b93623abcf9f541307d"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02592.html#ac58eb6a061f11b93623abcf9f541307d">type</a>·=·T</td></tr>
80 <tr·class="separator:ac58eb6a061f11b93623abcf9f541307d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ac58eb6a061f11b93623abcf9f541307d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00239_source.html">simd.hh</a></li>100 <li><a·class="el"·href="a00059_source.html">simd.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.82 KB
./usr/share/doc/libdune-common-doc/doxygen/a02596.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::SimdScalarTypeTraits&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::SimdScalarTypeTraits&lt;·AlignedNumber&lt;·T,·align·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>deduce·the·underlying·scalar·data·type·of·an·AlignedNumber··75 <p>deduce·the·underlying·scalar·data·type·of·an·AlignedNumber··
76 ·<a·href="a02596.html#details">More...</a></p>76 ·<a·href="a02596.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/simd.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">dune/common/simd.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a991769055c785002cb76df598012401c"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02596.html#a991769055c785002cb76df598012401c">type</a>·=·T</td></tr>81 <tr·class="memitem:a991769055c785002cb76df598012401c"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02596.html#a991769055c785002cb76df598012401c">type</a>·=·T</td></tr>
82 <tr·class="separator:a991769055c785002cb76df598012401c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a991769055c785002cb76df598012401c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 100, 15 lines modifiedOffset 100, 15 lines modified
100 ········</tr>100 ········</tr>
101 ······</table>101 ······</table>
102 </div><div·class="memdoc">102 </div><div·class="memdoc">
  
103 </div>103 </div>
104 </div>104 </div>
105 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>105 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
106 <li><a·class="el"·href="a00239_source.html">simd.hh</a></li>106 <li><a·class="el"·href="a00059_source.html">simd.hh</a></li>
107 </ul>107 </ul>
108 </div><!--·contents·-->108 </div><!--·contents·-->
109 <!--·start·footer·part·-->109 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>110 <hr·class="footer"/><address·class="footer"><small>
111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
112 </small></address>112 </small></address>
113 </body>113 </body>
1.79 KB
./usr/share/doc/libdune-common-doc/doxygen/a02600.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02597.html">List·of·all·members</a>··</div>71 <a·href="a02597.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::SimdIndexTypeTraits&lt;·V,·typename·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::SimdIndexTypeTraits&lt;·V,·typename·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/simd.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">dune/common/simd.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a29a1c3676f164a724e95fc2a56a85c96"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02600.html#a29a1c3676f164a724e95fc2a56a85c96">type</a>·=·std::size_t</td></tr>79 <tr·class="memitem:a29a1c3676f164a724e95fc2a56a85c96"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02600.html#a29a1c3676f164a724e95fc2a56a85c96">type</a>·=·std::size_t</td></tr>
80 <tr·class="separator:a29a1c3676f164a724e95fc2a56a85c96"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a29a1c3676f164a724e95fc2a56a85c96"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00239_source.html">simd.hh</a></li>100 <li><a·class="el"·href="a00059_source.html">simd.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.79 KB
./usr/share/doc/libdune-common-doc/doxygen/a02604.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02601.html">List·of·all·members</a>··</div>71 <a·href="a02601.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::SimdMaskTypeTraits&lt;·V,·typename·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::SimdMaskTypeTraits&lt;·V,·typename·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/simd.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00059_source.html">dune/common/simd.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a18caa08e28fdf11a680d2bf13e75a45c"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02604.html#a18caa08e28fdf11a680d2bf13e75a45c">type</a>·=·bool</td></tr>79 <tr·class="memitem:a18caa08e28fdf11a680d2bf13e75a45c"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02604.html#a18caa08e28fdf11a680d2bf13e75a45c">type</a>·=·bool</td></tr>
80 <tr·class="separator:a18caa08e28fdf11a680d2bf13e75a45c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a18caa08e28fdf11a680d2bf13e75a45c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00239_source.html">simd.hh</a></li>100 <li><a·class="el"·href="a00059_source.html">simd.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a02608.html
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 <li><code>i==4</code>:·override·standard·implementation,·but·prefer·other·implementations</li>108 <li><code>i==4</code>:·override·standard·implementation,·but·prefer·other·implementations</li>
109 <li><code>i==7</code>:·try·to·override·other·implementations</li>109 <li><code>i==7</code>:·try·to·override·other·implementations</li>
110 </ul>110 </ul>
111 <p·><code>i==7</code>·is·the·highest·supported·priority.</p>111 <p·><code>i==7</code>·is·the·highest·supported·priority.</p>
112 <p·>The·second·(bool)·template·argument·is·to·make·writing·abstraction·implementations·that·use·SFINAE·to·remove·(some·of)·their·functions·from·the·overload·set·more·concise.·<code>ADLTag&lt;i,false&gt;</code>·is·not·defined,·so·instead·of·</p><div·class="fragment"><div·class="line">std::enable_if_t&lt;cond,·ADLTag&lt;4&gt;·&gt;</div>112 <p·>The·second·(bool)·template·argument·is·to·make·writing·abstraction·implementations·that·use·SFINAE·to·remove·(some·of)·their·functions·from·the·overload·set·more·concise.·<code>ADLTag&lt;i,false&gt;</code>·is·not·defined,·so·instead·of·</p><div·class="fragment"><div·class="line">std::enable_if_t&lt;cond,·ADLTag&lt;4&gt;·&gt;</div>
113 </div><!--·fragment·--><p>·you·may·write·the·equivalent·</p><div·class="fragment"><div·class="line"><a·class="code·hl_struct"·href="a02608.html">ADLTag&lt;4,·cond&gt;</a></div>113 </div><!--·fragment·--><p>·you·may·write·the·equivalent·</p><div·class="fragment"><div·class="line"><a·class="code·hl_struct"·href="a02608.html">ADLTag&lt;4,·cond&gt;</a></div>
114 </div><!--·fragment·-->·</div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>114 </div><!--·fragment·-->·</div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00269_source.html">base.hh</a></li>115 <li><a·class="el"·href="a00068_source.html">base.hh</a></li>
116 </ul>116 </ul>
117 </div><!--·contents·-->117 </div><!--·contents·-->
118 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>119 <hr·class="footer"/><address·class="footer"><small>
120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
121 </small></address>121 </small></address>
122 </body>122 </body>
1.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a02612.html
    
Offset 66, 27 lines modifiedOffset 66, 27 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ADLTag&lt;·i·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ADLTag&lt;·i·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/simd/base.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/simd/base.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::Simd::Overloads::ADLTag&lt;·i·&gt;:</div>74 Inheritance·diagram·for·Dune::Simd::Overloads::ADLTag&lt;·i·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a02611.png"·border="0"·usemap="#a_dune_1_1_simd_1_1_overloads_1_1_a_d_l_tag_3_01i_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a02611.png"·border="0"·usemap="#a_dune_1_1_simd_1_1_overloads_1_1_a_d_l_tag_3_01i_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_simd_1_1_overloads_1_1_a_d_l_tag_3_01i_01_4_inherit__map"·id="a_dune_1_1_simd_1_1_overloads_1_1_a_d_l_tag_3_01i_01_4_inherit__map">77 <map·name="a_dune_1_1_simd_1_1_overloads_1_1_a_d_l_tag_3_01i_01_4_inherit__map"·id="a_dune_1_1_simd_1_1_overloads_1_1_a_d_l_tag_3_01i_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,200,163,241"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,200,163,241"/>
79 <area·shape="rect"·href="a02608.html"·title="·"·alt=""·coords="5,109,163,151"/>79 <area·shape="rect"·href="a02608.html"·title="·"·alt=""·coords="5,109,163,151"/>
80 <area·shape="rect"·href="a02608.html"·title="Tag·used·to·force·late&#45;binding·lookup·in·Dune::Simd::Overloads."·alt=""·coords="5,5,163,47"/>80 <area·shape="rect"·href="a02608.html"·title="Tag·used·to·force·late&#45;binding·lookup·in·Dune::Simd::Overloads."·alt=""·coords="5,5,163,47"/>
81 </map>81 </map>
82 </div>82 </div>
83 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>83 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
84 <li><a·class="el"·href="a00269_source.html">base.hh</a></li>84 <li><a·class="el"·href="a00068_source.html">base.hh</a></li>
85 </ul>85 </ul>
86 </div><!--·contents·-->86 </div><!--·contents·-->
87 <!--·start·footer·part·-->87 <!--·start·footer·part·-->
88 <hr·class="footer"/><address·class="footer"><small>88 <hr·class="footer"/><address·class="footer"><small>
89 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.489 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
90 </small></address>90 </small></address>
91 </body>91 </body>
1.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a02616.html
    
Offset 66, 17 lines modifiedOffset 66, 17 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ADLTag&lt;·0·&gt;·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ADLTag&lt;·0·&gt;·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/simd/base.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/simd/base.hh</a>&gt;</code></p>
73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
74 <li><a·class="el"·href="a00269_source.html">base.hh</a></li>74 <li><a·class="el"·href="a00068_source.html">base.hh</a></li>
75 </ul>75 </ul>
76 </div><!--·contents·-->76 </div><!--·contents·-->
77 <!--·start·footer·part·-->77 <!--·start·footer·part·-->
78 <hr·class="footer"/><address·class="footer"><small>78 <hr·class="footer"/><address·class="footer"><small>
79 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.479 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
80 </small></address>80 </small></address>
81 </body>81 </body>
2.14 KB
./usr/share/doc/libdune-common-doc/doxygen/a02620.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·V,·class·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·V,·class·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>should·have·a·member·type·<code>type</code>··75 <p>should·have·a·member·type·<code>type</code>··
76 ·<a·href="a02620.html#details">More...</a></p>76 ·<a·href="a02620.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:ab4f6f38e2c9e3272e5146799d512d978"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02620.html#ab4f6f38e2c9e3272e5146799d512d978">type</a>·=·V</td></tr>81 <tr·class="memitem:ab4f6f38e2c9e3272e5146799d512d978"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02620.html#ab4f6f38e2c9e3272e5146799d512d978">type</a>·=·V</td></tr>
82 <tr·class="separator:ab4f6f38e2c9e3272e5146799d512d978"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ab4f6f38e2c9e3272e5146799d512d978"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 102, 16 lines modifiedOffset 102, 16 lines modified
102 ········</tr>102 ········</tr>
103 ······</table>103 ······</table>
104 </div><div·class="memdoc">104 </div><div·class="memdoc">
  
105 </div>105 </div>
106 </div>106 </div>
107 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>107 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
108 <li><a·class="el"·href="a00269_source.html">base.hh</a></li>108 <li><a·class="el"·href="a00068_source.html">base.hh</a></li>
109 <li><a·class="el"·href="a00275_source.html">standard.hh</a></li>109 <li><a·class="el"·href="a00065_source.html">standard.hh</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>115 </small></address>
116 </body>116 </body>
2.15 KB
./usr/share/doc/libdune-common-doc/doxygen/a02624.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·S,·class,·class·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·S,·class,·class·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>should·have·a·member·type·<code>type</code>··75 <p>should·have·a·member·type·<code>type</code>··
76 ·<a·href="a02624.html#details">More...</a></p>76 ·<a·href="a02624.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a36ba8db89c385f576f383a984ef8c286"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02624.html#a36ba8db89c385f576f383a984ef8c286">type</a>·=·S</td></tr>81 <tr·class="memitem:a36ba8db89c385f576f383a984ef8c286"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02624.html#a36ba8db89c385f576f383a984ef8c286">type</a>·=·S</td></tr>
82 <tr·class="separator:a36ba8db89c385f576f383a984ef8c286"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a36ba8db89c385f576f383a984ef8c286"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 102, 16 lines modifiedOffset 102, 16 lines modified
102 ········</tr>102 ········</tr>
103 ······</table>103 ······</table>
104 </div><div·class="memdoc">104 </div><div·class="memdoc">
  
105 </div>105 </div>
106 </div>106 </div>
107 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>107 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·files:<ul>
108 <li><a·class="el"·href="a00269_source.html">base.hh</a></li>108 <li><a·class="el"·href="a00068_source.html">base.hh</a></li>
109 <li><a·class="el"·href="a00275_source.html">standard.hh</a></li>109 <li><a·class="el"·href="a00065_source.html">standard.hh</a></li>
110 </ul>110 </ul>
111 </div><!--·contents·-->111 </div><!--·contents·-->
112 <!--·start·footer·part·-->112 <!--·start·footer·part·-->
113 <hr·class="footer"/><address·class="footer"><small>113 <hr·class="footer"/><address·class="footer"><small>
114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4114 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
115 </small></address>115 </small></address>
116 </body>116 </body>
3.08 KB
./usr/share/doc/libdune-common-doc/doxygen/a02628.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00417.html">Vectorization</a>·&raquo;·<a·class="el"·href="a00420.html">Abstraction·Developer's·Interface</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>should·be·derived·from·a·<code><a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467"·title="An·index·constant·with·value·i.">Dune::index_constant</a></code>··72 <p>should·be·derived·from·a·<code><a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467"·title="An·index·constant·with·value·i.">Dune::index_constant</a></code>··
73 ·<a·href="a02628.html#details">More...</a></p>73 ·<a·href="a02628.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/simd/standard.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;:</div>76 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02627.png"·border="0"·usemap="#a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01class_00_01class_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02627.png"·border="0"·usemap="#a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01class_00_01class_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01class_00_01class_01_4_inherit__map"·id="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01class_00_01class_01_4_inherit__map">79 <map·name="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01class_00_01class_01_4_inherit__map"·id="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01class_00_01class_01_4_inherit__map">
80 <area·shape="rect"·title="should·be·derived·from·a·Dune::index_constant"·alt=""·coords="5,80,192,121"/>80 <area·shape="rect"·title="should·be·derived·from·a·Dune::index_constant"·alt=""·coords="5,80,192,121"/>
81 <area·shape="rect"·title="·"·alt=""·coords="28,5,169,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="28,5,169,32"/>
Offset 86, 15 lines modifiedOffset 86, 15 lines modified
86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>86 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
87 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class,·class&gt;<br·/>87 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class,·class&gt;<br·/>
88 struct·Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;</div><p·>should·be·derived·from·a·<code><a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467"·title="An·index·constant·with·value·i.">Dune::index_constant</a></code>·</p>88 struct·Dune::Simd::Overloads::LaneCount&lt;·class,·class·&gt;</div><p·>should·be·derived·from·a·<code><a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467"·title="An·index·constant·with·value·i.">Dune::index_constant</a></code>·</p>
89 <p·>should·be·derived·from·an·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467"·title="An·index·constant·with·value·i.">Dune::index_constant</a></p>89 <p·>should·be·derived·from·an·<a·class="el"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467"·title="An·index·constant·with·value·i.">Dune::index_constant</a></p>
90 <p·>Implements·<code><a·class="el"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305"·title="Number·of·lanes·in·a·SIMD·type.">Simd::lanes()</a></code>.·<code>V</code>·will·never·have·cv·or·reference·qualifiers,·no·need·to·strip·those.</p>90 <p·>Implements·<code><a·class="el"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305"·title="Number·of·lanes·in·a·SIMD·type.">Simd::lanes()</a></code>.·<code>V</code>·will·never·have·cv·or·reference·qualifiers,·no·need·to·strip·those.</p>
91 <p·>Implements·<a·class="el"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305"·title="Number·of·lanes·in·a·SIMD·type.">Simd::lanes()</a>·</p>91 <p·>Implements·<a·class="el"·href="a00419.html#gac6a0cf43eb7664581bd8a6954d7ff305"·title="Number·of·lanes·in·a·SIMD·type.">Simd::lanes()</a>·</p>
92 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>92 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
93 <li><a·class="el"·href="a00269_source.html">base.hh</a></li>93 <li><a·class="el"·href="a00068_source.html">base.hh</a></li>
94 </ul>94 </ul>
95 </div><!--·contents·-->95 </div><!--·contents·-->
96 <!--·start·footer·part·-->96 <!--·start·footer·part·-->
97 <hr·class="footer"/><address·class="footer"><small>97 <hr·class="footer"/><address·class="footer"><small>
98 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.498 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
99 </small></address>99 </small></address>
100 </body>100 </body>
1.82 KB
./usr/share/doc/libdune-common-doc/doxygen/a02632.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="a02629.html">List·of·all·members</a>··</div>71 <a·href="a02629.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::SimdImpl::Inserter&lt;·T·&gt;·Class·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::SimdImpl::Inserter&lt;·T·&gt;·Class·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00281_source.html">dune/common/simd/io.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00056_source.html">dune/common/simd/io.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
78 Public·Member·Functions</h2></td></tr>78 Public·Member·Functions</h2></td></tr>
79 <tr·class="memitem:a232e95fd4c68d29088364920b6049269"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02632.html#a232e95fd4c68d29088364920b6049269">Inserter</a>·(const·T·&amp;value)</td></tr>79 <tr·class="memitem:a232e95fd4c68d29088364920b6049269"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02632.html#a232e95fd4c68d29088364920b6049269">Inserter</a>·(const·T·&amp;value)</td></tr>
80 <tr·class="separator:a232e95fd4c68d29088364920b6049269"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a232e95fd4c68d29088364920b6049269"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>82 <h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ··</tr>106 ··</tr>
107 </table>107 </table>
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 </div>109 </div>
110 </div>110 </div>
111 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>111 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00281_source.html">io.hh</a></li>112 <li><a·class="el"·href="a00056_source.html">io.hh</a></li>
113 </ul>113 </ul>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>118 </small></address>
119 </body>119 </body>
1.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a02636.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;70 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;71 <a·href="#pub-attribs">Public·Attributes</a>·&#124;
72 <a·href="a02633.html">List·of·all·members</a>··</div>72 <a·href="a02633.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::LoopSIMD&lt;·T,·S,·A·&gt;·Class·Template·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::LoopSIMD&lt;·T,·S,·A·&gt;·Class·Template·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>
77 <div·class="dynheader">77 <div·class="dynheader">
78 Inheritance·diagram·for·Dune::LoopSIMD&lt;·T,·S,·A·&gt;:</div>78 Inheritance·diagram·for·Dune::LoopSIMD&lt;·T,·S,·A·&gt;:</div>
79 <div·class="dyncontent">79 <div·class="dyncontent">
80 <div·class="center"><img·src="a02635.png"·border="0"·usemap="#a_dune_1_1_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>80 <div·class="center"><img·src="a02635.png"·border="0"·usemap="#a_dune_1_1_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>
81 <map·name="a_dune_1_1_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_inherit__map"·id="a_dune_1_1_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_inherit__map">81 <map·name="a_dune_1_1_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_inherit__map"·id="a_dune_1_1_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_inherit__map">
82 <area·shape="rect"·title="·"·alt=""·coords="5,80,152,121"/>82 <area·shape="rect"·title="·"·alt=""·coords="5,80,152,121"/>
83 <area·shape="rect"·title="·"·alt=""·coords="24,5,133,32"/>83 <area·shape="rect"·title="·"·alt=""·coords="24,5,133,32"/>
Offset 536, 15 lines modifiedOffset 536, 15 lines modified
536 </div><div·class="memdoc">536 </div><div·class="memdoc">
  
537 <p>STL·member.·</p>537 <p>STL·member.·</p>
  
538 </div>538 </div>
539 </div>539 </div>
540 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>540 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
541 <li><a·class="el"·href="a00263_source.html">loop.hh</a></li>541 <li><a·class="el"·href="a00053_source.html">loop.hh</a></li>
542 </ul>542 </ul>
543 </div><!--·contents·-->543 </div><!--·contents·-->
544 <!--·start·footer·part·-->544 <!--·start·footer·part·-->
545 <hr·class="footer"/><address·class="footer"><small>545 <hr·class="footer"/><address·class="footer"><small>
546 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4546 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
547 </small></address>547 </small></address>
548 </body>548 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a02640.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02637.html">List·of·all·members</a>··</div>71 <a·href="a02637.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::ScalarType&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:afd217750ca3a8095dc151ddee578fedb"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02640.html#afd217750ca3a8095dc151ddee578fedb">type</a>·=·<a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar</a>&lt;·T·&gt;</td></tr>79 <tr·class="memitem:afd217750ca3a8095dc151ddee578fedb"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02640.html#afd217750ca3a8095dc151ddee578fedb">type</a>·=·<a·class="el"·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Simd::Scalar</a>&lt;·T·&gt;</td></tr>
80 <tr·class="separator:afd217750ca3a8095dc151ddee578fedb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:afd217750ca3a8095dc151ddee578fedb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00263_source.html">loop.hh</a></li>100 <li><a·class="el"·href="a00053_source.html">loop.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a02644.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02641.html">List·of·all·members</a>··</div>71 <a·href="a02641.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·U,·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::RebindType&lt;·U,·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:a30f2b8d6e6db39e878ac1bbcda904b2a"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02644.html#a30f2b8d6e6db39e878ac1bbcda904b2a">type</a>·=·<a·class="el"·href="a02636.html">LoopSIMD</a>&lt;·<a·class="el"·href="a00419.html#ga8d4752fe47def6075b211544a932c709">Simd::Rebind</a>&lt;·U,·T·&gt;,·S,·A·&gt;</td></tr>79 <tr·class="memitem:a30f2b8d6e6db39e878ac1bbcda904b2a"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02644.html#a30f2b8d6e6db39e878ac1bbcda904b2a">type</a>·=·<a·class="el"·href="a02636.html">LoopSIMD</a>&lt;·<a·class="el"·href="a00419.html#ga8d4752fe47def6075b211544a932c709">Simd::Rebind</a>&lt;·U,·T·&gt;,·S,·A·&gt;</td></tr>
80 <tr·class="separator:a30f2b8d6e6db39e878ac1bbcda904b2a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:a30f2b8d6e6db39e878ac1bbcda904b2a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <h2·class="groupheader">Member·Typedef·Documentation</h2>82 <h2·class="groupheader">Member·Typedef·Documentation</h2>
Offset 94, 15 lines modifiedOffset 94, 15 lines modified
94 ········</tr>94 ········</tr>
95 ······</table>95 ······</table>
96 </div><div·class="memdoc">96 </div><div·class="memdoc">
  
97 </div>97 </div>
98 </div>98 </div>
99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00263_source.html">loop.hh</a></li>100 <li><a·class="el"·href="a00053_source.html">loop.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
1.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a02648.html
    
Offset 66, 26 lines modifiedOffset 66, 26 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;:</div>74 Inheritance·diagram·for·Dune::Simd::Overloads::LaneCount&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a02647.png"·border="0"·usemap="#a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a02647.png"·border="0"·usemap="#a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map"·id="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map">77 <map·name="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map"·id="a_dune_1_1_simd_1_1_overloads_1_1_lane_count_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="7,95,174,151"/>78 <area·shape="rect"·title="·"·alt=""·coords="7,95,174,151"/>
79 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,47"/>79 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,47"/>
80 </map>80 </map>
81 </div>81 </div>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00263_source.html">loop.hh</a></li>83 <li><a·class="el"·href="a00053_source.html">loop.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.68 KB
./usr/share/doc/libdune-common-doc/doxygen/a02652.html
    
Offset 66, 26 lines modifiedOffset 66, 26 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/simd/loop.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;:</div>74 Inheritance·diagram·for·Dune::IsNumber&lt;·LoopSIMD&lt;·T,·S,·A·&gt;·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a02651.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a02651.png"·border="0"·usemap="#a_dune_1_1_is_number_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_is_number_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map">77 <map·name="a_dune_1_1_is_number_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map"·id="a_dune_1_1_is_number_3_01_loop_s_i_m_d_3_01_t_00_01_s_00_01_a_01_4_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,109,197,151"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,109,197,151"/>
79 <area·shape="rect"·title="·"·alt=""·coords="24,5,179,61"/>79 <area·shape="rect"·title="·"·alt=""·coords="24,5,179,61"/>
80 </map>80 </map>
81 </div>81 </div>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00263_source.html">loop.hh</a></li>83 <li><a·class="el"·href="a00053_source.html">loop.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
1.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a02724.html
    
Offset 69, 19 lines modifiedOffset 69, 19 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::Simd::EndMark·Struct·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Simd::EndMark·Struct·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>final·element·marker·for·<code>RebindList</code>··72 <p>final·element·marker·for·<code>RebindList</code>··
73 ·<a·href="a02724.html#details">More...</a></p>73 ·<a·href="a02724.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/simd/test.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/simd/test.hh</a>&gt;</code></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><p·>final·element·marker·for·<code>RebindList</code>·</p>76 <div·class="textblock"><p·>final·element·marker·for·<code>RebindList</code>·</p>
77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
78 <li><a·class="el"·href="a00266_source.html">test.hh</a></li>78 <li><a·class="el"·href="a00077_source.html">test.hh</a></li>
79 </ul>79 </ul>
80 </div><!--·contents·-->80 </div><!--·contents·-->
81 <!--·start·footer·part·-->81 <!--·start·footer·part·-->
82 <hr·class="footer"/><address·class="footer"><small>82 <hr·class="footer"/><address·class="footer"><small>
83 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.483 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
84 </small></address>84 </small></address>
85 </body>85 </body>
2.35 KB
./usr/share/doc/libdune-common-doc/doxygen/a02728.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;71 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
72 <a·href="a02725.html">List·of·all·members</a>··</div>72 <a·href="a02725.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::Simd::UnitTest·Class·Reference</div></div>73 ··<div·class="headertitle"><div·class="title">Dune::Simd::UnitTest·Class·Reference</div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00266_source.html">dune/common/simd/test.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00077_source.html">dune/common/simd/test.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
79 Public·Member·Functions</h2></td></tr>79 Public·Member·Functions</h2></td></tr>
80 <tr·class="memitem:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·Rebinds·,·template&lt;·class·&gt;·class·RebindPrune·=·IsLoop,·template&lt;·class·&gt;·class·RebindAccept·=·Dune::AlwaysTrue&gt;·</td></tr>80 <tr·class="memitem:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="memTemplParams"·colspan="2">template&lt;class·V·,·class·Rebinds·,·template&lt;·class·&gt;·class·RebindPrune·=·IsLoop,·template&lt;·class·&gt;·class·RebindAccept·=·Dune::AlwaysTrue&gt;·</td></tr>
81 <tr·class="memitem:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02728.html#a4f1d473ac4656d85fc4bae772f75e5ae">check</a>·()</td></tr>81 <tr·class="memitem:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="memTemplItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02728.html#a4f1d473ac4656d85fc4bae772f75e5ae">check</a>·()</td></tr>
82 <tr·class="memdesc:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">run·unit·tests·for·simd·vector·type·V··<a·href="a02728.html#a4f1d473ac4656d85fc4bae772f75e5ae">More...</a><br·/></td></tr>82 <tr·class="memdesc:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">run·unit·tests·for·simd·vector·type·V··<a·href="a02728.html#a4f1d473ac4656d85fc4bae772f75e5ae">More...</a><br·/></td></tr>
83 <tr·class="separator:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a4f1d473ac4656d85fc4bae772f75e5ae"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 344, 16 lines modifiedOffset 344, 16 lines modified
344 </div><div·class="memdoc">344 </div><div·class="memdoc">
  
345 <p>whether·all·tests·succeeded·</p>345 <p>whether·all·tests·succeeded·</p>
  
346 </div>346 </div>
347 </div>347 </div>
348 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>348 <hr/>The·documentation·for·this·class·was·generated·from·the·following·files:<ul>
349 <li><a·class="el"·href="a00266_source.html">test.hh</a></li>349 <li><a·class="el"·href="a00077_source.html">test.hh</a></li>
350 <li><a·class="el"·href="a00278.html">test.cc</a></li>350 <li><a·class="el"·href="a00074.html">test.cc</a></li>
351 </ul>351 </ul>
352 </div><!--·contents·-->352 </div><!--·contents·-->
353 <!--·start·footer·part·-->353 <!--·start·footer·part·-->
354 <hr·class="footer"/><address·class="footer"><small>354 <hr·class="footer"/><address·class="footer"><small>
355 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4355 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
356 </small></address>356 </small></address>
357 </body>357 </body>
7.97 KB
./usr/share/doc/libdune-common-doc/doxygen/a02840.html
    
Offset 74, 40 lines modifiedOffset 74, 40 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::Singleton&lt;·T·&gt;·Class·Template·Reference</div></div>74 ··<div·class="headertitle"><div·class="title">Dune::Singleton&lt;·T·&gt;·Class·Template·Reference</div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>An·adapter·to·turn·a·class·into·a·singleton.··77 <p>An·adapter·to·turn·a·class·into·a·singleton.··
78 ·<a·href="a02840.html#details">More...</a></p>78 ·<a·href="a02840.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00140_source.html">dune/common/singleton.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00239_source.html">dune/common/singleton.hh</a>&gt;</code></p>
80 <table·class="memberdecls">80 <table·class="memberdecls">
81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>81 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
82 Public·Member·Functions</h2></td></tr>82 Public·Member·Functions</h2></td></tr>
83 <tr·class="memitem:a57f3c57f7f9f0fcfc08550d94e15aaf1"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html#a57f3c57f7f9f0fcfc08550d94e15aaf1">Singleton</a>·(const·<a·class="el"·href="a02840.html">Singleton</a>·&amp;)=delete</td></tr>83 <tr·class="memitem:a57f3c57f7f9f0fcfc08550d94e15aaf1"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html#a57f3c57f7f9f0fcfc08550d94e15aaf1">Singleton</a>·(const·<a·class="el"·href="a02840.html">Singleton</a>·&amp;)=delete</td></tr>
84 <tr·class="separator:a57f3c57f7f9f0fcfc08550d94e15aaf1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:a57f3c57f7f9f0fcfc08550d94e15aaf1"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 <tr·class="memitem:aaa5a12878e6f4ca89127990e5197898f"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html#aaa5a12878e6f4ca89127990e5197898f">operator=</a>·(const·<a·class="el"·href="a02840.html">Singleton</a>·&amp;)=delete</td></tr>85 <tr·class="memitem:aaa5a12878e6f4ca89127990e5197898f"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html#aaa5a12878e6f4ca89127990e5197898f">operator=</a>·(const·<a·class="el"·href="a02840.html">Singleton</a>·&amp;)=delete</td></tr>
86 <tr·class="separator:aaa5a12878e6f4ca89127990e5197898f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:aaa5a12878e6f4ca89127990e5197898f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table><table·class="memberdecls">87 </table><table·class="memberdecls">
88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>88 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
89 Static·Public·Member·Functions</h2></td></tr>89 Static·Public·Member·Functions</h2></td></tr>
90 <tr·class="memitem:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>·()</td></tr>90 <tr·class="memitem:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>·()</td></tr>
91 <tr·class="memdesc:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·instance·of·the·singleton.··<a·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">More...</a><br·/></td></tr>91 <tr·class="memdesc:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Get·the·instance·of·the·singleton.··<a·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">More...</a><br·/></td></tr>
92 <tr·class="separator:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>92 <tr·class="separator:ac74959a5e2b2dfecd5406a931dc45aa0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
93 </table><table·class="memberdecls">93 </table><table·class="memberdecls">
94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a>94 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pro-methods"·name="pro-methods"></a>
95 Protected·Member·Functions</h2></td></tr>95 Protected·Member·Functions</h2></td></tr>
96 <tr·class="memitem:a4c8e8068dc0d09d23e86e320e9355cc8"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html#a4c8e8068dc0d09d23e86e320e9355cc8">Singleton</a>·()=default</td></tr>96 <tr·class="memitem:a4c8e8068dc0d09d23e86e320e9355cc8"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02840.html#a4c8e8068dc0d09d23e86e320e9355cc8">Singleton</a>·()=default</td></tr>
97 <tr·class="separator:a4c8e8068dc0d09d23e86e320e9355cc8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:a4c8e8068dc0d09d23e86e320e9355cc8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 </table>98 </table>
99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>99 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
100 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>100 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
101 class·Dune::Singleton&lt;·T·&gt;</div><p·>An·adapter·to·turn·a·class·into·a·singleton.·</p>101 class·Dune::Singleton&lt;·T·&gt;</div><p·>An·adapter·to·turn·a·class·into·a·singleton.·</p>
102 <p·>The·class·represented·by·the·template·parameter·T·must·have·a·parameterless·constructor.</p>102 <p·>The·class·represented·by·the·template·parameter·T·must·have·a·parameterless·constructor.</p>
103 <p·>Class·T·can·be·publicly·derived·from·Singleton&lt;T&gt;:</p>103 <p·>Class·T·can·be·publicly·derived·from·Singleton&lt;T&gt;:</p>
104 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include&lt;<a·class="code"·href="a00140.html">dune/common/singleton.hh</a>&gt;</span></div>104 <div·class="fragment"><div·class="line"><span·class="preprocessor">#include&lt;<a·class="code"·href="a00239.html">dune/common/singleton.hh</a>&gt;</span></div>
105 <div·class="line"><span·class="keyword">class·</span>Foo·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a02840.html">Dune::Singleton</a>&lt;Foo&gt;</div>105 <div·class="line"><span·class="keyword">class·</span>Foo·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a02840.html">Dune::Singleton</a>&lt;Foo&gt;</div>
106 <div·class="line">{</div>106 <div·class="line">{</div>
107 <div·class="line"><span·class="keyword">public</span>:</div>107 <div·class="line"><span·class="keyword">public</span>:</div>
108 <div·class="line">··Foo()</div>108 <div·class="line">··Foo()</div>
109 <div·class="line">··{</div>109 <div·class="line">··{</div>
110 <div·class="line">····bytes·=·<span·class="keyword">new</span>·<span·class="keywordtype">char</span>[1000];</div>110 <div·class="line">····bytes·=·<span·class="keyword">new</span>·<span·class="keywordtype">char</span>[1000];</div>
111 <div·class="line">··}</div>111 <div·class="line">··}</div>
Offset 115, 15 lines modifiedOffset 115, 15 lines modified
115 <div·class="line">··~Foo()</div>115 <div·class="line">··~Foo()</div>
116 <div·class="line">··{</div>116 <div·class="line">··{</div>
117 <div·class="line">····<span·class="keyword">delete</span>[]·bytes;</div>117 <div·class="line">····<span·class="keyword">delete</span>[]·bytes;</div>
118 <div·class="line">··}</div>118 <div·class="line">··}</div>
119 <div·class="line"><span·class="keyword">private</span>:</div>119 <div·class="line"><span·class="keyword">private</span>:</div>
120 <div·class="line">··<span·class="keywordtype">char</span>*·bytes;</div>120 <div·class="line">··<span·class="keywordtype">char</span>*·bytes;</div>
121 <div·class="line">};</div>121 <div·class="line">};</div>
122 <div·class="ttc"·id="aa00140_html"><div·class="ttname"><a·href="a00140.html">singleton.hh</a></div><div·class="ttdoc">Useful·wrapper·for·creating·singletons.</div></div>122 <div·class="ttc"·id="aa00239_html"><div·class="ttname"><a·href="a00239.html">singleton.hh</a></div><div·class="ttdoc">Useful·wrapper·for·creating·singletons.</div></div>
123 <div·class="ttc"·id="aa02840_html"><div·class="ttname"><a·href="a02840.html">Dune::Singleton</a></div><div·class="ttdoc">An·adapter·to·turn·a·class·into·a·singleton.</div><div·class="ttdef"><b>Definition:</b>·singleton.hh:56</div></div>123 <div·class="ttc"·id="aa02840_html"><div·class="ttname"><a·href="a02840.html">Dune::Singleton</a></div><div·class="ttdoc">An·adapter·to·turn·a·class·into·a·singleton.</div><div·class="ttdef"><b>Definition:</b>·singleton.hh:56</div></div>
124 </div><!--·fragment·--><p·>Or·one·can·construct·a·<a·class="el"·href="a02840.html"·title="An·adapter·to·turn·a·class·into·a·singleton.">Singleton</a>·of·an·existing·class.·Say·Foo1·is·a·class·with·parameterless·constructor·then·</p><div·class="fragment"><div·class="line"><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02840.html">Dune::Singleton&lt;Foo1&gt;</a>·FooSingleton;</div>124 </div><!--·fragment·--><p·>Or·one·can·construct·a·<a·class="el"·href="a02840.html"·title="An·adapter·to·turn·a·class·into·a·singleton.">Singleton</a>·of·an·existing·class.·Say·Foo1·is·a·class·with·parameterless·constructor·then·</p><div·class="fragment"><div·class="line"><span·class="keyword">typedef</span>·<a·class="code·hl_class"·href="a02840.html">Dune::Singleton&lt;Foo1&gt;</a>·FooSingleton;</div>
125 <div·class="line">Foo1·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>&amp;·=·FooSingleton::instance();</div>125 <div·class="line">Foo1·<a·class="code·hl_function"·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">instance</a>&amp;·=·FooSingleton::instance();</div>
126 <div·class="ttc"·id="aa02840_html_ac74959a5e2b2dfecd5406a931dc45aa0"><div·class="ttname"><a·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">Dune::Singleton::instance</a></div><div·class="ttdeci">static·DUNE_EXPORT·T·&amp;·instance()</div><div·class="ttdoc">Get·the·instance·of·the·singleton.</div><div·class="ttdef"><b>Definition:</b>·singleton.hh:70</div></div>126 <div·class="ttc"·id="aa02840_html_ac74959a5e2b2dfecd5406a931dc45aa0"><div·class="ttname"><a·href="a02840.html#ac74959a5e2b2dfecd5406a931dc45aa0">Dune::Singleton::instance</a></div><div·class="ttdeci">static·DUNE_EXPORT·T·&amp;·instance()</div><div·class="ttdoc">Get·the·instance·of·the·singleton.</div><div·class="ttdef"><b>Definition:</b>·singleton.hh:70</div></div>
127 </div><!--·fragment·--><p>·Creates·a·singleton·of·that·class·and·accesses·its·instance.·</p>127 </div><!--·fragment·--><p>·Creates·a·singleton·of·that·class·and·accesses·its·instance.·</p>
128 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>128 </div><h2·class="groupheader">Constructor·&amp;·Destructor·Documentation</h2>
129 <a·id="a4c8e8068dc0d09d23e86e320e9355cc8"·name="a4c8e8068dc0d09d23e86e320e9355cc8"></a>129 <a·id="a4c8e8068dc0d09d23e86e320e9355cc8"·name="a4c8e8068dc0d09d23e86e320e9355cc8"></a>
Offset 190, 15 lines modifiedOffset 190, 15 lines modified
190 <div·class="memtemplate">190 <div·class="memtemplate">
191 template&lt;class·T·&gt;·</div>191 template&lt;class·T·&gt;·</div>
192 <table·class="mlabels">192 <table·class="mlabels">
193 ··<tr>193 ··<tr>
194 ··<td·class="mlabels-left">194 ··<td·class="mlabels-left">
195 ······<table·class="memname">195 ······<table·class="memname">
196 ········<tr>196 ········<tr>
197 ··········<td·class="memname">static·<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·T·&amp;·<a·class="el"·href="a02840.html">Dune::Singleton</a>&lt;·T·&gt;::instance·</td>197 ··········<td·class="memname">static·<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">DUNE_EXPORT</a>·T·&amp;·<a·class="el"·href="a02840.html">Dune::Singleton</a>&lt;·T·&gt;::instance·</td>
198 ··········<td>(</td>198 ··········<td>(</td>
199 ··········<td·class="paramname"></td><td>)</td>199 ··········<td·class="paramname"></td><td>)</td>
200 ··········<td></td>200 ··········<td></td>
201 ········</tr>201 ········</tr>
202 ······</table>202 ······</table>
203 ··</td>203 ··</td>
204 ··<td·class="mlabels-right">204 ··<td·class="mlabels-right">
Offset 237, 15 lines modifiedOffset 237, 15 lines modified
237 ··</tr>237 ··</tr>
238 </table>238 </table>
239 </div><div·class="memdoc">239 </div><div·class="memdoc">
  
240 </div>240 </div>
241 </div>241 </div>
242 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>242 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
243 <li><a·class="el"·href="a00140_source.html">singleton.hh</a></li>243 <li><a·class="el"·href="a00239_source.html">singleton.hh</a></li>
244 </ul>244 </ul>
245 </div><!--·contents·-->245 </div><!--·contents·-->
246 <!--·start·footer·part·-->246 <!--·start·footer·part·-->
247 <hr·class="footer"/><address·class="footer"><small>247 <hr·class="footer"/><address·class="footer"><small>
248 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4248 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
249 </small></address>249 </small></address>
250 </body>250 </body>
1.87 KB
./usr/share/doc/libdune-common-doc/doxygen/a02844.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::SLListIterator&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::SLListIterator&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··76 <p>A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··
77 ·<a·href="a02844.html#details">More...</a></p>77 ·<a·href="a02844.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00176_source.html">dune/common/sllist.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/sllist.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::SLListIterator&lt;·T,·A·&gt;:</div>80 Inheritance·diagram·for·Dune::SLListIterator&lt;·T,·A·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02843.png"·border="0"·usemap="#a_dune_1_1_s_l_list_iterator_3_01_t_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02843.png"·border="0"·usemap="#a_dune_1_1_s_l_list_iterator_3_01_t_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_s_l_list_iterator_3_01_t_00_01_a_01_4_inherit__map"·id="a_dune_1_1_s_l_list_iterator_3_01_t_00_01_a_01_4_inherit__map">83 <map·name="a_dune_1_1_s_l_list_iterator_3_01_t_00_01_a_01_4_inherit__map"·id="a_dune_1_1_s_l_list_iterator_3_01_t_00_01_a_01_4_inherit__map">
84 <area·shape="rect"·title="A·mutable·iterator·for·the·SLList."·alt=""·coords="32,229,171,271"/>84 <area·shape="rect"·title="A·mutable·iterator·for·the·SLList."·alt=""·coords="32,229,171,271"/>
85 <area·shape="rect"·href="a02844.html"·title="·"·alt=""·coords="11,333,192,375"/>85 <area·shape="rect"·href="a02844.html"·title="·"·alt=""·coords="11,333,192,375"/>
Offset 515, 15 lines modifiedOffset 515, 15 lines modified
515 ··</tr>515 ··</tr>
516 </table>516 </table>
517 </div><div·class="memdoc">517 </div><div·class="memdoc">
  
518 </div>518 </div>
519 </div>519 </div>
520 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>520 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
521 <li><a·class="el"·href="a00176_source.html">sllist.hh</a></li>521 <li><a·class="el"·href="a00272_source.html">sllist.hh</a></li>
522 </ul>522 </ul>
523 </div><!--·contents·-->523 </div><!--·contents·-->
524 <!--·start·footer·part·-->524 <!--·start·footer·part·-->
525 <hr·class="footer"/><address·class="footer"><small>525 <hr·class="footer"/><address·class="footer"><small>
526 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4526 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
527 </small></address>527 </small></address>
528 </body>528 </body>
1.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a02848.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::SLListConstIterator&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::SLListConstIterator&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·constant·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··76 <p>A·constant·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··
77 ·<a·href="a02848.html#details">More...</a></p>77 ·<a·href="a02848.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00176_source.html">dune/common/sllist.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/sllist.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::SLListConstIterator&lt;·T,·A·&gt;:</div>80 Inheritance·diagram·for·Dune::SLListConstIterator&lt;·T,·A·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02847.png"·border="0"·usemap="#a_dune_1_1_s_l_list_const_iterator_3_01_t_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02847.png"·border="0"·usemap="#a_dune_1_1_s_l_list_const_iterator_3_01_t_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_s_l_list_const_iterator_3_01_t_00_01_a_01_4_inherit__map"·id="a_dune_1_1_s_l_list_const_iterator_3_01_t_00_01_a_01_4_inherit__map">83 <map·name="a_dune_1_1_s_l_list_const_iterator_3_01_t_00_01_a_01_4_inherit__map"·id="a_dune_1_1_s_l_list_const_iterator_3_01_t_00_01_a_01_4_inherit__map">
84 <area·shape="rect"·title="A·constant·iterator·for·the·SLList."·alt=""·coords="627,29,801,70"/>84 <area·shape="rect"·title="A·constant·iterator·for·the·SLList."·alt=""·coords="627,29,801,70"/>
85 <area·shape="rect"·href="a01876.html"·title="·"·alt=""·coords="385,14,577,85"/>85 <area·shape="rect"·href="a01876.html"·title="·"·alt=""·coords="385,14,577,85"/>
Offset 504, 15 lines modifiedOffset 504, 15 lines modified
504 ··</tr>504 ··</tr>
505 </table>505 </table>
506 </div><div·class="memdoc">506 </div><div·class="memdoc">
  
507 </div>507 </div>
508 </div>508 </div>
509 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>509 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
510 <li><a·class="el"·href="a00176_source.html">sllist.hh</a></li>510 <li><a·class="el"·href="a00272_source.html">sllist.hh</a></li>
511 </ul>511 </ul>
512 </div><!--·contents·-->512 </div><!--·contents·-->
513 <!--·start·footer·part·-->513 <!--·start·footer·part·-->
514 <hr·class="footer"/><address·class="footer"><small>514 <hr·class="footer"/><address·class="footer"><small>
515 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4515 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
516 </small></address>516 </small></address>
517 </body>517 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a02852.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::SLListModifyIterator&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::SLListModifyIterator&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··76 <p>A·mutable·iterator·for·the·<a·class="el"·href="a02856.html"·title="A·single·linked·list.">SLList</a>.··
77 ·<a·href="a02852.html#details">More...</a></p>77 ·<a·href="a02852.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00176_source.html">dune/common/sllist.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/sllist.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::SLListModifyIterator&lt;·T,·A·&gt;:</div>80 Inheritance·diagram·for·Dune::SLListModifyIterator&lt;·T,·A·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a02851.png"·border="0"·usemap="#a_dune_1_1_s_l_list_modify_iterator_3_01_t_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a02851.png"·border="0"·usemap="#a_dune_1_1_s_l_list_modify_iterator_3_01_t_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_s_l_list_modify_iterator_3_01_t_00_01_a_01_4_inherit__map"·id="a_dune_1_1_s_l_list_modify_iterator_3_01_t_00_01_a_01_4_inherit__map">83 <map·name="a_dune_1_1_s_l_list_modify_iterator_3_01_t_00_01_a_01_4_inherit__map"·id="a_dune_1_1_s_l_list_modify_iterator_3_01_t_00_01_a_01_4_inherit__map">
84 <area·shape="rect"·title="A·mutable·iterator·for·the·SLList."·alt=""·coords="12,244,191,285"/>84 <area·shape="rect"·title="A·mutable·iterator·for·the·SLList."·alt=""·coords="12,244,191,285"/>
85 <area·shape="rect"·href="a02852.html"·title="·"·alt=""·coords="11,348,192,389"/>85 <area·shape="rect"·href="a02852.html"·title="·"·alt=""·coords="11,348,192,389"/>
Offset 513, 15 lines modifiedOffset 513, 15 lines modified
513 ··</tr>513 ··</tr>
514 </table>514 </table>
515 </div><div·class="memdoc">515 </div><div·class="memdoc">
  
516 </div>516 </div>
517 </div>517 </div>
518 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>518 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
519 <li><a·class="el"·href="a00176_source.html">sllist.hh</a></li>519 <li><a·class="el"·href="a00272_source.html">sllist.hh</a></li>
520 </ul>520 </ul>
521 </div><!--·contents·-->521 </div><!--·contents·-->
522 <!--·start·footer·part·-->522 <!--·start·footer·part·-->
523 <hr·class="footer"/><address·class="footer"><small>523 <hr·class="footer"/><address·class="footer"><small>
524 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4524 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
525 </small></address>525 </small></address>
526 </body>526 </body>
2.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a02856.html
    
Offset 74, 15 lines modifiedOffset 74, 15 lines modified
74 ··<div·class="headertitle"><div·class="title">Dune::SLList&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>74 ··<div·class="headertitle"><div·class="title">Dune::SLList&lt;·T,·A·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
75 </div><!--header-->75 </div><!--header-->
76 <div·class="contents">76 <div·class="contents">
  
77 <p>A·single·linked·list.··77 <p>A·single·linked·list.··
78 ·<a·href="a02856.html#details">More...</a></p>78 ·<a·href="a02856.html#details">More...</a></p>
  
79 <p><code>#include·&lt;<a·class="el"·href="a00176_source.html">dune/common/sllist.hh</a>&gt;</code></p>79 <p><code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/sllist.hh</a>&gt;</code></p>
80 <div·class="dynheader">80 <div·class="dynheader">
81 Inheritance·diagram·for·Dune::SLList&lt;·T,·A·&gt;:</div>81 Inheritance·diagram·for·Dune::SLList&lt;·T,·A·&gt;:</div>
82 <div·class="dyncontent">82 <div·class="dyncontent">
83 <div·class="center"><img·src="a02855.png"·border="0"·usemap="#a_dune_1_1_s_l_list_3_01_t_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>83 <div·class="center"><img·src="a02855.png"·border="0"·usemap="#a_dune_1_1_s_l_list_3_01_t_00_01_a_01_4_inherit__map"·alt="Inheritance·graph"/></div>
84 <map·name="a_dune_1_1_s_l_list_3_01_t_00_01_a_01_4_inherit__map"·id="a_dune_1_1_s_l_list_3_01_t_00_01_a_01_4_inherit__map">84 <map·name="a_dune_1_1_s_l_list_3_01_t_00_01_a_01_4_inherit__map"·id="a_dune_1_1_s_l_list_3_01_t_00_01_a_01_4_inherit__map">
85 <area·shape="rect"·title="A·single·linked·list."·alt=""·coords="5,78,152,105"/>85 <area·shape="rect"·title="A·single·linked·list."·alt=""·coords="5,78,152,105"/>
86 <area·shape="rect"·href="a02856.html"·title="·"·alt=""·coords="368,5,551,47"/>86 <area·shape="rect"·href="a02856.html"·title="·"·alt=""·coords="368,5,551,47"/>
Offset 172, 15 lines modifiedOffset 172, 15 lines modified
172 <tr·class="separator:ga29be35a0986714d7a74946eaea406628"><td·class="memSeparator"·colspan="2">&#160;</td></tr>172 <tr·class="separator:ga29be35a0986714d7a74946eaea406628"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
173 </table>173 </table>
174 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>174 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
175 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·class·A·=·std::allocator&lt;T&gt;&gt;<br·/>175 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·class·A·=·std::allocator&lt;T&gt;&gt;<br·/>
176 class·Dune::SLList&lt;·T,·A·&gt;</div><p·>A·single·linked·list.·</p>176 class·Dune::SLList&lt;·T,·A·&gt;</div><p·>A·single·linked·list.·</p>
177 <p·>The·list·is·capable·of·insertions·at·the·front·and·at·the·end·and·of·removing·elements·at·the·front.·Those·operations·require·constant·time.·</p>177 <p·>The·list·is·capable·of·insertions·at·the·front·and·at·the·end·and·of·removing·elements·at·the·front.·Those·operations·require·constant·time.·</p>
178 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>178 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
179 <li><a·class="el"·href="a00176_source.html">sllist.hh</a></li>179 <li><a·class="el"·href="a00272_source.html">sllist.hh</a></li>
180 </ul>180 </ul>
181 </div><!--·contents·-->181 </div><!--·contents·-->
182 <!--·start·footer·part·-->182 <!--·start·footer·part·-->
183 <hr·class="footer"/><address·class="footer"><small>183 <hr·class="footer"/><address·class="footer"><small>
184 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4184 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
185 </small></address>185 </small></address>
186 </body>186 </body>
1.92 KB
./usr/share/doc/libdune-common-doc/doxygen/a02864.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Std::identity·Struct·Reference</div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Std::identity·Struct·Reference</div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>A·function·object·type·whose·operator()·returns·its·argument·unchanged.··75 <p>A·function·object·type·whose·operator()·returns·its·argument·unchanged.··
76 ·<a·href="a02864.html#details">More...</a></p>76 ·<a·href="a02864.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00326_source.html">dune/common/std/functional.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00161_source.html">dune/common/std/functional.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:a01171400202cf7f1039454c787ed1e7a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>81 <tr·class="memitem:a01171400202cf7f1039454c787ed1e7a"><td·class="memTemplParams"·colspan="2">template&lt;class·T·&gt;·</td></tr>
82 <tr·class="memitem:a01171400202cf7f1039454c787ed1e7a"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·T·&amp;&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">operator()</a>·(T·&amp;&amp;t)·const·noexcept</td></tr>82 <tr·class="memitem:a01171400202cf7f1039454c787ed1e7a"><td·class="memTemplItemLeft"·align="right"·valign="top">constexpr·T·&amp;&amp;&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a02864.html#a01171400202cf7f1039454c787ed1e7a">operator()</a>·(T·&amp;&amp;t)·const·noexcept</td></tr>
83 <tr·class="separator:a01171400202cf7f1039454c787ed1e7a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a01171400202cf7f1039454c787ed1e7a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ··</tr>114 ··</tr>
115 </table>115 </table>
116 </div><div·class="memdoc">116 </div><div·class="memdoc">
  
117 </div>117 </div>
118 </div>118 </div>
119 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>119 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
120 <li><a·class="el"·href="a00326_source.html">functional.hh</a></li>120 <li><a·class="el"·href="a00161_source.html">functional.hh</a></li>
121 </ul>121 </ul>
122 </div><!--·contents·-->122 </div><!--·contents·-->
123 <!--·start·footer·part·-->123 <!--·start·footer·part·-->
124 <hr·class="footer"/><address·class="footer"><small>124 <hr·class="footer"/><address·class="footer"><small>
125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4125 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
126 </small></address>126 </small></address>
127 </body>127 </body>
2.28 KB
./usr/share/doc/libdune-common-doc/doxygen/a02868.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Std::nonesuch·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Std::nonesuch·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Type·representing·a·lookup·failure·by·std::detected_or·and·friends.··75 <p>Type·representing·a·lookup·failure·by·std::detected_or·and·friends.··
76 ·<a·href="a02868.html#details">More...</a></p>76 ·<a·href="a02868.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:a4bee85fb45f38b33038badf2f2ffe9d5"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02868.html#a4bee85fb45f38b33038badf2f2ffe9d5">nonesuch</a>·()=delete</td></tr>81 <tr·class="memitem:a4bee85fb45f38b33038badf2f2ffe9d5"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02868.html#a4bee85fb45f38b33038badf2f2ffe9d5">nonesuch</a>·()=delete</td></tr>
82 <tr·class="separator:a4bee85fb45f38b33038badf2f2ffe9d5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a4bee85fb45f38b33038badf2f2ffe9d5"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:aa6b9d5c13bf56e0833d2bec017b87128"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02868.html#aa6b9d5c13bf56e0833d2bec017b87128">~nonesuch</a>·()=delete</td></tr>83 <tr·class="memitem:aa6b9d5c13bf56e0833d2bec017b87128"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02868.html#aa6b9d5c13bf56e0833d2bec017b87128">~nonesuch</a>·()=delete</td></tr>
84 <tr·class="separator:aa6b9d5c13bf56e0833d2bec017b87128"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:aa6b9d5c13bf56e0833d2bec017b87128"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 194, 15 lines modifiedOffset 194, 15 lines modified
194 ··</tr>194 ··</tr>
195 </table>195 </table>
196 </div><div·class="memdoc">196 </div><div·class="memdoc">
  
197 </div>197 </div>
198 </div>198 </div>
199 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>199 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
200 <li><a·class="el"·href="a00335_source.html">type_traits.hh</a></li>200 <li><a·class="el"·href="a00152_source.html">type_traits.hh</a></li>
201 </ul>201 </ul>
202 </div><!--·contents·-->202 </div><!--·contents·-->
203 <!--·start·footer·part·-->203 <!--·start·footer·part·-->
204 <hr·class="footer"/><address·class="footer"><small>204 <hr·class="footer"/><address·class="footer"><small>
205 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4205 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
206 </small></address>206 </small></address>
207 </body>207 </body>
2.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a02872.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::Std::conjunction&lt;·B·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Std::conjunction&lt;·B·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>forms·the·logical·conjunction·of·the·type·traits·B...··72 <p>forms·the·logical·conjunction·of·the·type·traits·B...··
73 ·<a·href="a02872.html#details">More...</a></p>73 ·<a·href="a02872.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::Std::conjunction&lt;·B·&gt;:</div>76 Inheritance·diagram·for·Dune::Std::conjunction&lt;·B·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02871.png"·border="0"·usemap="#a_dune_1_1_std_1_1conjunction_3_01_b_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02871.png"·border="0"·usemap="#a_dune_1_1_std_1_1conjunction_3_01_b_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_std_1_1conjunction_3_01_b_01_4_inherit__map"·id="a_dune_1_1_std_1_1conjunction_3_01_b_01_4_inherit__map">79 <map·name="a_dune_1_1_std_1_1conjunction_3_01_b_01_4_inherit__map"·id="a_dune_1_1_std_1_1conjunction_3_01_b_01_4_inherit__map">
80 <area·shape="rect"·title="forms·the·logical·conjunction·of·the·type·traits·B..."·alt=""·coords="5,80,193,107"/>80 <area·shape="rect"·title="forms·the·logical·conjunction·of·the·type·traits·B..."·alt=""·coords="5,80,193,107"/>
81 <area·shape="rect"·title="·"·alt=""·coords="20,5,179,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="20,5,179,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·B&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·B&gt;<br·/>
86 struct·Dune::Std::conjunction&lt;·B·&gt;</div><p·>forms·the·logical·conjunction·of·the·type·traits·B...·</p>86 struct·Dune::Std::conjunction&lt;·B·&gt;</div><p·>forms·the·logical·conjunction·of·the·type·traits·B...·</p>
87 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>87 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00335_source.html">type_traits.hh</a></li>89 <li><a·class="el"·href="a00152_source.html">type_traits.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a02876.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::Std::disjunction&lt;·B·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Std::disjunction&lt;·B·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>forms·the·logical·disjunction·of·the·type·traits·B...··72 <p>forms·the·logical·disjunction·of·the·type·traits·B...··
73 ·<a·href="a02876.html#details">More...</a></p>73 ·<a·href="a02876.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::Std::disjunction&lt;·B·&gt;:</div>76 Inheritance·diagram·for·Dune::Std::disjunction&lt;·B·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02875.png"·border="0"·usemap="#a_dune_1_1_std_1_1disjunction_3_01_b_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02875.png"·border="0"·usemap="#a_dune_1_1_std_1_1disjunction_3_01_b_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_std_1_1disjunction_3_01_b_01_4_inherit__map"·id="a_dune_1_1_std_1_1disjunction_3_01_b_01_4_inherit__map">79 <map·name="a_dune_1_1_std_1_1disjunction_3_01_b_01_4_inherit__map"·id="a_dune_1_1_std_1_1disjunction_3_01_b_01_4_inherit__map">
80 <area·shape="rect"·title="forms·the·logical·disjunction·of·the·type·traits·B..."·alt=""·coords="5,80,189,107"/>80 <area·shape="rect"·title="forms·the·logical·disjunction·of·the·type·traits·B..."·alt=""·coords="5,80,189,107"/>
81 <area·shape="rect"·title="·"·alt=""·coords="20,5,175,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="20,5,175,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·B&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·B&gt;<br·/>
86 struct·Dune::Std::disjunction&lt;·B·&gt;</div><p·>forms·the·logical·disjunction·of·the·type·traits·B...·</p>86 struct·Dune::Std::disjunction&lt;·B·&gt;</div><p·>forms·the·logical·disjunction·of·the·type·traits·B...·</p>
87 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>87 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00335_source.html">type_traits.hh</a></li>89 <li><a·class="el"·href="a00152_source.html">type_traits.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a02880.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::Std::negation&lt;·B·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Std::negation&lt;·B·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>forms·the·logical·negation·of·the·type·traits·B...··72 <p>forms·the·logical·negation·of·the·type·traits·B...··
73 ·<a·href="a02880.html#details">More...</a></p>73 ·<a·href="a02880.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00335_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00152_source.html">dune/common/std/type_traits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::Std::negation&lt;·B·&gt;:</div>76 Inheritance·diagram·for·Dune::Std::negation&lt;·B·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02879.png"·border="0"·usemap="#a_dune_1_1_std_1_1negation_3_01_b_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02879.png"·border="0"·usemap="#a_dune_1_1_std_1_1negation_3_01_b_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_std_1_1negation_3_01_b_01_4_inherit__map"·id="a_dune_1_1_std_1_1negation_3_01_b_01_4_inherit__map">79 <map·name="a_dune_1_1_std_1_1negation_3_01_b_01_4_inherit__map"·id="a_dune_1_1_std_1_1negation_3_01_b_01_4_inherit__map">
80 <area·shape="rect"·title="forms·the·logical·negation·of·the·type·traits·B..."·alt=""·coords="5,80,176,107"/>80 <area·shape="rect"·title="forms·the·logical·negation·of·the·type·traits·B..."·alt=""·coords="5,80,176,107"/>
81 <area·shape="rect"·title="·"·alt=""·coords="25,5,156,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="25,5,156,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·B&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·B&gt;<br·/>
86 struct·Dune::Std::negation&lt;·B·&gt;</div><p·>forms·the·logical·negation·of·the·type·traits·B...·</p>86 struct·Dune::Std::negation&lt;·B·&gt;</div><p·>forms·the·logical·negation·of·the·type·traits·B...·</p>
87 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>87 <dl·class="section·note"><dt>Note</dt><dd>This·functionality·is·part·of·the·C++17·standard.·</dd></dl>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00335_source.html">type_traits.hh</a></li>89 <li><a·class="el"·href="a00152_source.html">type_traits.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a02884.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::Timer·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::Timer·Class·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>A·simple·stop·watch.··75 <p>A·simple·stop·watch.··
76 ·<a·href="a02884.html#details">More...</a></p>76 ·<a·href="a02884.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00368_source.html">dune/common/timer.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00245_source.html">dune/common/timer.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
80 Public·Member·Functions</h2></td></tr>80 Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02884.html#a55b4e69b9e9ef128b998fb0f59f0fa63">Timer</a>·(bool·startImmediately=true)·noexcept</td></tr>81 <tr·class="memitem:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="memItemLeft"·align="right"·valign="top">&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02884.html#a55b4e69b9e9ef128b998fb0f59f0fa63">Timer</a>·(bool·startImmediately=true)·noexcept</td></tr>
82 <tr·class="memdesc:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·new·timer,·create·and·reset.··<a·href="a02884.html#a55b4e69b9e9ef128b998fb0f59f0fa63">More...</a><br·/></td></tr>82 <tr·class="memdesc:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·new·timer,·create·and·reset.··<a·href="a02884.html#a55b4e69b9e9ef128b998fb0f59f0fa63">More...</a><br·/></td></tr>
83 <tr·class="separator:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a55b4e69b9e9ef128b998fb0f59f0fa63"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:a08ea290ecdd2cb4e98b4bc22e65abff4"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02884.html#a08ea290ecdd2cb4e98b4bc22e65abff4">reset</a>·()·noexcept</td></tr>84 <tr·class="memitem:a08ea290ecdd2cb4e98b4bc22e65abff4"><td·class="memItemLeft"·align="right"·valign="top">void&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02884.html#a08ea290ecdd2cb4e98b4bc22e65abff4">reset</a>·()·noexcept</td></tr>
Offset 272, 15 lines modifiedOffset 272, 15 lines modified
272 </div><div·class="memdoc">272 </div><div·class="memdoc">
  
273 <p>Stop·the·timer·and·return·<a·class="el"·href="a02884.html#ad8cce9cefec3e1aadf87c9a9896b1da2"·title="Get·elapsed·user-time·from·last·reset·until·now/last·stop·in·seconds.">elapsed()</a>.·</p>273 <p>Stop·the·timer·and·return·<a·class="el"·href="a02884.html#ad8cce9cefec3e1aadf87c9a9896b1da2"·title="Get·elapsed·user-time·from·last·reset·until·now/last·stop·in·seconds.">elapsed()</a>.·</p>
  
274 </div>274 </div>
275 </div>275 </div>
276 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>276 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
277 <li><a·class="el"·href="a00368_source.html">timer.hh</a></li>277 <li><a·class="el"·href="a00245_source.html">timer.hh</a></li>
278 </ul>278 </ul>
279 </div><!--·contents·-->279 </div><!--·contents·-->
280 <!--·start·footer·part·-->280 <!--·start·footer·part·-->
281 <hr·class="footer"/><address·class="footer"><small>281 <hr·class="footer"/><address·class="footer"><small>
282 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4282 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
283 </small></address>283 </small></address>
284 </body>284 </body>
2.66 KB
./usr/share/doc/libdune-common-doc/doxygen/a02916.html
    
Offset 69, 27 lines modifiedOffset 69, 27 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02913.html">List·of·all·members</a>··</div>71 <a·href="a02913.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::TupleAccessTraits&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::TupleAccessTraits&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ga041f1e2352cf960c2cdabcc24b63810b"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::add_const&lt;·T·&gt;::type·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga041f1e2352cf960c2cdabcc24b63810b">ConstType</a></td></tr>79 <tr·class="memitem:ga041f1e2352cf960c2cdabcc24b63810b"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::add_const&lt;·T·&gt;::type·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga041f1e2352cf960c2cdabcc24b63810b">ConstType</a></td></tr>
80 <tr·class="separator:ga041f1e2352cf960c2cdabcc24b63810b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga041f1e2352cf960c2cdabcc24b63810b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:ga7ac7c737f08242dabc75d211dffb4573"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga7ac7c737f08242dabc75d211dffb4573">NonConstType</a></td></tr>81 <tr·class="memitem:ga7ac7c737f08242dabc75d211dffb4573"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga7ac7c737f08242dabc75d211dffb4573">NonConstType</a></td></tr>
82 <tr·class="separator:ga7ac7c737f08242dabc75d211dffb4573"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga7ac7c737f08242dabc75d211dffb4573"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:gaf3eb742968041769424b84691408fb73"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·std::remove_const&lt;·T·&gt;::type·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaf3eb742968041769424b84691408fb73">ParameterType</a></td></tr>83 <tr·class="memitem:gaf3eb742968041769424b84691408fb73"><td·class="memItemLeft"·align="right"·valign="top">typedef·const·std::remove_const&lt;·T·&gt;::type·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaf3eb742968041769424b84691408fb73">ParameterType</a></td></tr>
84 <tr·class="separator:gaf3eb742968041769424b84691408fb73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:gaf3eb742968041769424b84691408fb73"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>85 </table>
86 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>86 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
87 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>87 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
88 </ul>88 </ul>
89 </div><!--·contents·-->89 </div><!--·contents·-->
90 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
91 <hr·class="footer"/><address·class="footer"><small>91 <hr·class="footer"/><address·class="footer"><small>
92 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.492 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
93 </small></address>93 </small></address>
94 </body>94 </body>
2.61 KB
./usr/share/doc/libdune-common-doc/doxygen/a02920.html
    
Offset 69, 27 lines modifiedOffset 69, 27 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02917.html">List·of·all·members</a>··</div>71 <a·href="a02917.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::TupleAccessTraits&lt;·T·*·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::TupleAccessTraits&lt;·T·*·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:gaf5d4dd28478959589b3ea38408a58c8e"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::add_const&lt;·T·&gt;::type·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaf5d4dd28478959589b3ea38408a58c8e">ConstType</a></td></tr>79 <tr·class="memitem:gaf5d4dd28478959589b3ea38408a58c8e"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::add_const&lt;·T·&gt;::type·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaf5d4dd28478959589b3ea38408a58c8e">ConstType</a></td></tr>
80 <tr·class="separator:gaf5d4dd28478959589b3ea38408a58c8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:gaf5d4dd28478959589b3ea38408a58c8e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:ga340eaa6d59fbad9efa50f39495267dde"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga340eaa6d59fbad9efa50f39495267dde">NonConstType</a></td></tr>81 <tr·class="memitem:ga340eaa6d59fbad9efa50f39495267dde"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga340eaa6d59fbad9efa50f39495267dde">NonConstType</a></td></tr>
82 <tr·class="separator:ga340eaa6d59fbad9efa50f39495267dde"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga340eaa6d59fbad9efa50f39495267dde"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:ga12185fab48344d079604e6357fe83025"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga12185fab48344d079604e6357fe83025">ParameterType</a></td></tr>83 <tr·class="memitem:ga12185fab48344d079604e6357fe83025"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga12185fab48344d079604e6357fe83025">ParameterType</a></td></tr>
84 <tr·class="separator:ga12185fab48344d079604e6357fe83025"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:ga12185fab48344d079604e6357fe83025"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>85 </table>
86 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>86 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
87 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>87 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
88 </ul>88 </ul>
89 </div><!--·contents·-->89 </div><!--·contents·-->
90 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
91 <hr·class="footer"/><address·class="footer"><small>91 <hr·class="footer"/><address·class="footer"><small>
92 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.492 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
93 </small></address>93 </small></address>
94 </body>94 </body>
2.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a02924.html
    
Offset 69, 27 lines modifiedOffset 69, 27 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02921.html">List·of·all·members</a>··</div>71 <a·href="a02921.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::TupleAccessTraits&lt;·T·&amp;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::TupleAccessTraits&lt;·T·&amp;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:ga2613d7a17e0204d5184be226f62c528d"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga2613d7a17e0204d5184be226f62c528d">ConstType</a></td></tr>79 <tr·class="memitem:ga2613d7a17e0204d5184be226f62c528d"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga2613d7a17e0204d5184be226f62c528d">ConstType</a></td></tr>
80 <tr·class="separator:ga2613d7a17e0204d5184be226f62c528d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:ga2613d7a17e0204d5184be226f62c528d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 <tr·class="memitem:ga7642b9a2b63fc07ad3adcbfa7742bc71"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga7642b9a2b63fc07ad3adcbfa7742bc71">NonConstType</a></td></tr>81 <tr·class="memitem:ga7642b9a2b63fc07ad3adcbfa7742bc71"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga7642b9a2b63fc07ad3adcbfa7742bc71">NonConstType</a></td></tr>
82 <tr·class="separator:ga7642b9a2b63fc07ad3adcbfa7742bc71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga7642b9a2b63fc07ad3adcbfa7742bc71"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:gaef361574ba7087d6324f129026b13d3d"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaef361574ba7087d6324f129026b13d3d">ParameterType</a></td></tr>83 <tr·class="memitem:gaef361574ba7087d6324f129026b13d3d"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaef361574ba7087d6324f129026b13d3d">ParameterType</a></td></tr>
84 <tr·class="separator:gaef361574ba7087d6324f129026b13d3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:gaef361574ba7087d6324f129026b13d3d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
85 </table>85 </table>
86 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>86 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
87 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>87 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
88 </ul>88 </ul>
89 </div><!--·contents·-->89 </div><!--·contents·-->
90 <!--·start·footer·part·-->90 <!--·start·footer·part·-->
91 <hr·class="footer"/><address·class="footer"><small>91 <hr·class="footer"/><address·class="footer"><small>
92 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.492 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
93 </small></address>93 </small></address>
94 </body>94 </body>
1.22 KB
./usr/share/doc/libdune-common-doc/doxygen/a02928.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 <p>A·helper·template·that·initializes·a·std::tuple·consisting·of·pointers·to·nullptr.··73 <p>A·helper·template·that·initializes·a·std::tuple·consisting·of·pointers·to·nullptr.··
74 ·<a·href="a02928.html#details">More...</a></p>74 ·<a·href="a02928.html#details">More...</a></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>76 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
77 struct·Dune::NullPointerInitialiser&lt;·T·&gt;</div><p·>A·helper·template·that·initializes·a·std::tuple·consisting·of·pointers·to·nullptr.·</p>77 struct·Dune::NullPointerInitialiser&lt;·T·&gt;</div><p·>A·helper·template·that·initializes·a·std::tuple·consisting·of·pointers·to·nullptr.·</p>
78 <p·>A·std::tuple·of·nullptr·may·be·useful·when·you·use·a·std::tuple·of·pointers·in·a·class·which·you·can·only·initialise·in·a·later·stage.·</p>78 <p·>A·std::tuple·of·nullptr·may·be·useful·when·you·use·a·std::tuple·of·pointers·in·a·class·which·you·can·only·initialise·in·a·later·stage.·</p>
79 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>79 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
80 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>80 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
81 </ul>81 </ul>
82 </div><!--·contents·-->82 </div><!--·contents·-->
83 <!--·start·footer·part·-->83 <!--·start·footer·part·-->
84 <hr·class="footer"/><address·class="footer"><small>84 <hr·class="footer"/><address·class="footer"><small>
85 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.485 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
86 </small></address>86 </small></address>
87 </body>87 </body>
2.58 KB
./usr/share/doc/libdune-common-doc/doxygen/a02932.html
    
Offset 70, 28 lines modifiedOffset 70, 28 lines modified
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
72 <a·href="a02929.html">List·of·all·members</a>··</div>72 <a·href="a02929.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::NullPointerInitialiser&lt;·std::tuple&lt;·Args...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::NullPointerInitialiser&lt;·std::tuple&lt;·Args...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
79 Public·Types</h2></td></tr>79 Public·Types</h2></td></tr>
80 <tr·class="memitem:ga54bf4fc69e946380c712ba483d7e8d3e"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple&lt;·Args...·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a></td></tr>80 <tr·class="memitem:ga54bf4fc69e946380c712ba483d7e8d3e"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple&lt;·Args...·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a></td></tr>
81 <tr·class="separator:ga54bf4fc69e946380c712ba483d7e8d3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:ga54bf4fc69e946380c712ba483d7e8d3e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">82 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
84 Static·Public·Member·Functions</h2></td></tr>84 Static·Public·Member·Functions</h2></td></tr>
85 <tr·class="memitem:ga4eee92ad122054a54cbb68659499f090"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga4eee92ad122054a54cbb68659499f090">apply</a>·()</td></tr>85 <tr·class="memitem:ga4eee92ad122054a54cbb68659499f090"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00403.html#ga54bf4fc69e946380c712ba483d7e8d3e">ResultType</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga4eee92ad122054a54cbb68659499f090">apply</a>·()</td></tr>
86 <tr·class="separator:ga4eee92ad122054a54cbb68659499f090"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:ga4eee92ad122054a54cbb68659499f090"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table>87 </table>
88 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
1.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a02936.html
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 <div·class="line">};</div>83 <div·class="line">};</div>
84 <div·class="line">·</div>84 <div·class="line">·</div>
85 <div·class="line"><span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a02936.html">ForEachType&lt;MyEvaluator,·ATuple&gt;::Type</a>·BTuple;</div>85 <div·class="line"><span·class="keyword">typedef</span>·<a·class="code·hl_struct"·href="a02936.html">ForEachType&lt;MyEvaluator,·ATuple&gt;::Type</a>·BTuple;</div>
86 <div·class="ttc"·id="aa02936_html"><div·class="ttname"><a·href="a02936.html">Dune::ForEachType</a></div><div·class="ttdoc">Helper·template·to·clone·the·type·definition·of·a·std::tuple·with·the·storage·types·replaced·by·a·use...</div><div·class="ttdef"><b>Definition:</b>·tupleutility.hh:116</div></div>86 <div·class="ttc"·id="aa02936_html"><div·class="ttname"><a·href="a02936.html">Dune::ForEachType</a></div><div·class="ttdoc">Helper·template·to·clone·the·type·definition·of·a·std::tuple·with·the·storage·types·replaced·by·a·use...</div><div·class="ttdef"><b>Definition:</b>·tupleutility.hh:116</div></div>
87 </div><!--·fragment·--><p·>Here,·MyEvaluator·is·a·helper·struct·that·extracts·the·correct·type·from·the·storage·types·of·the·tuple·defined·by·the·tuple·ATuple.</p>87 </div><!--·fragment·--><p·>Here,·MyEvaluator·is·a·helper·struct·that·extracts·the·correct·type·from·the·storage·types·of·the·tuple·defined·by·the·tuple·ATuple.</p>
88 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a02952.html"·title="TypeEvaluator·to·turn·a·type·T·into·a·reference·to·T">AddRefTypeEvaluator</a>,·<a·class="el"·href="a02956.html"·title="TypeEvaluator·to·turn·a·type·T·into·a·pointer·to·T">AddPtrTypeEvaluator</a>,·<a·class="el"·href="a00403.html#gaee981bf99011a9bc2dd496a7d486e4ab">genericTransformTuple()</a>,·and·<a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">transformTuple()</a>.·</dd></dl>88 <dl·class="section·see"><dt>See·also</dt><dd><a·class="el"·href="a02952.html"·title="TypeEvaluator·to·turn·a·type·T·into·a·reference·to·T">AddRefTypeEvaluator</a>,·<a·class="el"·href="a02956.html"·title="TypeEvaluator·to·turn·a·type·T·into·a·pointer·to·T">AddPtrTypeEvaluator</a>,·<a·class="el"·href="a00403.html#gaee981bf99011a9bc2dd496a7d486e4ab">genericTransformTuple()</a>,·and·<a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">transformTuple()</a>.·</dd></dl>
89 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>89 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
90 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>90 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
91 </ul>91 </ul>
92 </div><!--·contents·-->92 </div><!--·contents·-->
93 <!--·start·footer·part·-->93 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>94 <hr·class="footer"/><address·class="footer"><small>
95 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.495 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
96 </small></address>96 </small></address>
97 </body>97 </body>
1.91 KB
./usr/share/doc/libdune-common-doc/doxygen/a02940.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02937.html">List·of·all·members</a>··</div>71 <a·href="a02937.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::ForEachType&lt;·TE,·std::tuple&lt;·Args...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ForEachType&lt;·TE,·std::tuple&lt;·Args...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:gae36d1b293a8e0e6a505be040434331e9"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple&lt;·typename·TE&lt;·Args·&gt;::Type...·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gae36d1b293a8e0e6a505be040434331e9">Type</a></td></tr>79 <tr·class="memitem:gae36d1b293a8e0e6a505be040434331e9"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple&lt;·typename·TE&lt;·Args·&gt;::Type...·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gae36d1b293a8e0e6a505be040434331e9">Type</a></td></tr>
80 <tr·class="separator:gae36d1b293a8e0e6a505be040434331e9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:gae36d1b293a8e0e6a505be040434331e9"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>83 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
2.69 KB
./usr/share/doc/libdune-common-doc/doxygen/a02944.html
    
Offset 70, 15 lines modifiedOffset 70, 15 lines modified
70 <a·href="#nested-classes">Classes</a>·&#124;70 <a·href="#nested-classes">Classes</a>·&#124;
71 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;71 <a·href="#pub-methods">Public·Member·Functions</a>·&#124;
72 <a·href="a02941.html">List·of·all·members</a>··</div>72 <a·href="a02941.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
79 Classes</h2></td></tr>79 Classes</h2></td></tr>
80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02948.html">TypeEvaluator</a></td></tr>80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02948.html">TypeEvaluator</a></td></tr>
81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">82 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-methods"·name="pub-methods"></a>
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 <div·class="line">··{</div>108 <div·class="line">··{</div>
109 <div·class="line">····<span·class="keywordflow">return</span>·t·?·&amp;t·:·<span·class="keyword">static_cast&lt;</span>T*<span·class="keyword">&gt;</span>(a0);</div>109 <div·class="line">····<span·class="keywordflow">return</span>·t·?·&amp;t·:·<span·class="keyword">static_cast&lt;</span>T*<span·class="keyword">&gt;</span>(a0);</div>
110 <div·class="line">··}</div>110 <div·class="line">··}</div>
111 <div·class="line">};</div>111 <div·class="line">};</div>
112 <div·class="ttc"·id="aa02948_html"><div·class="ttname"><a·href="a02948.html">Dune::TransformTupleFunctor::TypeEvaluator</a></div><div·class="ttdef"><b>Definition:</b>·tupleutility.hh:239</div></div>112 <div·class="ttc"·id="aa02948_html"><div·class="ttname"><a·href="a02948.html">Dune::TransformTupleFunctor::TypeEvaluator</a></div><div·class="ttdef"><b>Definition:</b>·tupleutility.hh:239</div></div>
113 </div><!--·fragment·--><p·>In·this·example,·for·the·value·transformation,·it·takes·a·reference·to·a·value·of·type·T·and·return·the·pointer·to·that·value,·unless·the·value·evaluates·to·false·in·boolean·context.·If·the·value·evaluates·to·false,·it·will·instead·return·the·pointer·from·the·extra·argument.·</p>113 </div><!--·fragment·--><p·>In·this·example,·for·the·value·transformation,·it·takes·a·reference·to·a·value·of·type·T·and·return·the·pointer·to·that·value,·unless·the·value·evaluates·to·false·in·boolean·context.·If·the·value·evaluates·to·false,·it·will·instead·return·the·pointer·from·the·extra·argument.·</p>
114 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>114 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
115 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>115 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
116 </ul>116 </ul>
117 </div><!--·contents·-->117 </div><!--·contents·-->
118 <!--·start·footer·part·-->118 <!--·start·footer·part·-->
119 <hr·class="footer"/><address·class="footer"><small>119 <hr·class="footer"/><address·class="footer"><small>
120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4120 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
121 </small></address>121 </small></address>
122 </body>122 </body>
1.98 KB
./usr/share/doc/libdune-common-doc/doxygen/a02948.html
    
Offset 66, 26 lines modifiedOffset 66, 26 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
73 <div·class="dynheader">73 <div·class="dynheader">
74 Inheritance·diagram·for·Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&gt;:</div>74 Inheritance·diagram·for·Dune::TransformTupleFunctor&lt;·TE,·Args·&gt;::TypeEvaluator&lt;·T·&gt;:</div>
75 <div·class="dyncontent">75 <div·class="dyncontent">
76 <div·class="center"><img·src="a02947.png"·border="0"·usemap="#a_dune_1_1_transform_tuple_functor_3_01_t_e_00_01_args_01_4_1_1_type_evaluator_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>76 <div·class="center"><img·src="a02947.png"·border="0"·usemap="#a_dune_1_1_transform_tuple_functor_3_01_t_e_00_01_args_01_4_1_1_type_evaluator_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
77 <map·name="a_dune_1_1_transform_tuple_functor_3_01_t_e_00_01_args_01_4_1_1_type_evaluator_3_01_t_01_4_inherit__map"·id="a_dune_1_1_transform_tuple_functor_3_01_t_e_00_01_args_01_4_1_1_type_evaluator_3_01_t_01_4_inherit__map">77 <map·name="a_dune_1_1_transform_tuple_functor_3_01_t_e_00_01_args_01_4_1_1_type_evaluator_3_01_t_01_4_inherit__map"·id="a_dune_1_1_transform_tuple_functor_3_01_t_e_00_01_args_01_4_1_1_type_evaluator_3_01_t_01_4_inherit__map">
78 <area·shape="rect"·title="·"·alt=""·coords="5,80,225,121"/>78 <area·shape="rect"·title="·"·alt=""·coords="5,80,225,121"/>
79 <area·shape="rect"·title="·"·alt=""·coords="80,5,151,32"/>79 <area·shape="rect"·title="·"·alt=""·coords="80,5,151,32"/>
80 </map>80 </map>
81 </div>81 </div>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>83 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
2.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a02952.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::AddRefTypeEvaluator&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::AddRefTypeEvaluator&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·reference·to·<code>T</code>··76 <p><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·reference·to·<code>T</code>··
77 ·<a·href="a02952.html#details">More...</a></p>77 ·<a·href="a02952.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:ga9089c4ce2c50287440a7970a8629343e"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga9089c4ce2c50287440a7970a8629343e">Type</a></td></tr>82 <tr·class="memitem:ga9089c4ce2c50287440a7970a8629343e"><td·class="memItemLeft"·align="right"·valign="top">typedef·T·&amp;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga9089c4ce2c50287440a7970a8629343e">Type</a></td></tr>
83 <tr·class="separator:ga9089c4ce2c50287440a7970a8629343e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ga9089c4ce2c50287440a7970a8629343e"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 <tr·class="separator:ga420a17ec4f5415c1aa51c01da6a04a38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:ga420a17ec4f5415c1aa51c01da6a04a38"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
94 struct·Dune::AddRefTypeEvaluator&lt;·T·&gt;</div><p·><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·reference·to·<code>T</code>·</p>94 struct·Dune::AddRefTypeEvaluator&lt;·T·&gt;</div><p·><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·reference·to·<code>T</code>·</p>
95 <p·>This·is·suitable·as·the·<code>TypeEvaluator</code>·template·parameter·for·<a·class="el"·href="a02936.html"·title="Helper·template·to·clone·the·type·definition·of·a·std::tuple·with·the·storage·types·replaced·by·a·use...">ForEachType</a>·and·<a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">transformTuple()</a>.·</p>95 <p·>This·is·suitable·as·the·<code>TypeEvaluator</code>·template·parameter·for·<a·class="el"·href="a02936.html"·title="Helper·template·to·clone·the·type·definition·of·a·std::tuple·with·the·storage·types·replaced·by·a·use...">ForEachType</a>·and·<a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">transformTuple()</a>.·</p>
96 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>96 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
97 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>97 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
98 </ul>98 </ul>
99 </div><!--·contents·-->99 </div><!--·contents·-->
100 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>101 <hr·class="footer"/><address·class="footer"><small>
102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
103 </small></address>103 </small></address>
104 </body>104 </body>
2.83 KB
./usr/share/doc/libdune-common-doc/doxygen/a02956.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::AddPtrTypeEvaluator&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::AddPtrTypeEvaluator&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·pointer·to·<code>T</code>··76 <p><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·pointer·to·<code>T</code>··
77 ·<a·href="a02956.html#details">More...</a></p>77 ·<a·href="a02956.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
79 <table·class="memberdecls">79 <table·class="memberdecls">
80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>80 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
81 Public·Types</h2></td></tr>81 Public·Types</h2></td></tr>
82 <tr·class="memitem:ga3f79c29b08ec96b9cbc7a2dafa05932a"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::remove_reference&lt;·T·&gt;::type·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga3f79c29b08ec96b9cbc7a2dafa05932a">Type</a></td></tr>82 <tr·class="memitem:ga3f79c29b08ec96b9cbc7a2dafa05932a"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::remove_reference&lt;·T·&gt;::type·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga3f79c29b08ec96b9cbc7a2dafa05932a">Type</a></td></tr>
83 <tr·class="separator:ga3f79c29b08ec96b9cbc7a2dafa05932a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ga3f79c29b08ec96b9cbc7a2dafa05932a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table><table·class="memberdecls">84 </table><table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 <tr·class="separator:gac945ea1ce184ff4c0c0ed12497774afc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>90 <tr·class="separator:gac945ea1ce184ff4c0c0ed12497774afc"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
91 </table>91 </table>
92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>92 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>93 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
94 struct·Dune::AddPtrTypeEvaluator&lt;·T·&gt;</div><p·><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·pointer·to·<code>T</code>·</p>94 struct·Dune::AddPtrTypeEvaluator&lt;·T·&gt;</div><p·><code>TypeEvaluator</code>·to·turn·a·type·<code>T</code>·into·a·pointer·to·<code>T</code>·</p>
95 <p·>This·is·suitable·as·the·<code>TypeEvaluator</code>·template·parameter·for·<a·class="el"·href="a02936.html"·title="Helper·template·to·clone·the·type·definition·of·a·std::tuple·with·the·storage·types·replaced·by·a·use...">ForEachType</a>·and·<a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">transformTuple()</a>.·</p>95 <p·>This·is·suitable·as·the·<code>TypeEvaluator</code>·template·parameter·for·<a·class="el"·href="a02936.html"·title="Helper·template·to·clone·the·type·definition·of·a·std::tuple·with·the·storage·types·replaced·by·a·use...">ForEachType</a>·and·<a·class="el"·href="a00403.html#ga24fcc49c0d83971073f4e0bd5e96748b">transformTuple()</a>.·</p>
96 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>96 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
97 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>97 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
98 </ul>98 </ul>
99 </div><!--·contents·-->99 </div><!--·contents·-->
100 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>101 <hr·class="footer"/><address·class="footer"><small>
102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
103 </small></address>103 </small></address>
104 </body>104 </body>
2.57 KB
./usr/share/doc/libdune-common-doc/doxygen/a02960.html
    
Offset 70, 28 lines modifiedOffset 70, 28 lines modified
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;71 <a·href="#pub-static-methods">Static·Public·Member·Functions</a>·&#124;
72 <a·href="a02957.html">List·of·all·members</a>··</div>72 <a·href="a02957.html">List·of·all·members</a>··</div>
73 ··<div·class="headertitle"><div·class="title">Dune::AddPtrTypeEvaluator&lt;·T·&amp;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::AddPtrTypeEvaluator&lt;·T·&amp;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
79 Public·Types</h2></td></tr>79 Public·Types</h2></td></tr>
80 <tr·class="memitem:ga5a1f880a8524d4366bfdf5c3495707d6"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::remove_reference&lt;·T·&gt;::type·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga5a1f880a8524d4366bfdf5c3495707d6">Type</a></td></tr>80 <tr·class="memitem:ga5a1f880a8524d4366bfdf5c3495707d6"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::remove_reference&lt;·T·&gt;::type·*&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga5a1f880a8524d4366bfdf5c3495707d6">Type</a></td></tr>
81 <tr·class="separator:ga5a1f880a8524d4366bfdf5c3495707d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>81 <tr·class="separator:ga5a1f880a8524d4366bfdf5c3495707d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
82 </table><table·class="memberdecls">82 </table><table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
84 Static·Public·Member·Functions</h2></td></tr>84 Static·Public·Member·Functions</h2></td></tr>
85 <tr·class="memitem:ga631ae1fa474cb50d89fde7b5d89deeab"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00403.html#ga5a1f880a8524d4366bfdf5c3495707d6">Type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga631ae1fa474cb50d89fde7b5d89deeab">apply</a>·(T·&amp;t)</td></tr>85 <tr·class="memitem:ga631ae1fa474cb50d89fde7b5d89deeab"><td·class="memItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a00403.html#ga5a1f880a8524d4366bfdf5c3495707d6">Type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga631ae1fa474cb50d89fde7b5d89deeab">apply</a>·(T·&amp;t)</td></tr>
86 <tr·class="separator:ga631ae1fa474cb50d89fde7b5d89deeab"><td·class="memSeparator"·colspan="2">&#160;</td></tr>86 <tr·class="separator:ga631ae1fa474cb50d89fde7b5d89deeab"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
87 </table>87 </table>
88 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.21 KB
./usr/share/doc/libdune-common-doc/doxygen/a02964.html
    
Offset 72, 27 lines modifiedOffset 72, 27 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AtType&lt;·N,·Tuple·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AtType&lt;·N,·Tuple·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Type·for·reverse·element·access.··75 <p>Type·for·reverse·element·access.··
76 ·<a·href="a02964.html#details">More...</a></p>76 ·<a·href="a02964.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:ga62e4f9e3987330be63f694226893a47a"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple_element&lt;·std::tuple_size&lt;·Tuple·&gt;::value-N-1,·Tuple·&gt;::type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga62e4f9e3987330be63f694226893a47a">Type</a></td></tr>81 <tr·class="memitem:ga62e4f9e3987330be63f694226893a47a"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple_element&lt;·std::tuple_size&lt;·Tuple·&gt;::value-N-1,·Tuple·&gt;::type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga62e4f9e3987330be63f694226893a47a">Type</a></td></tr>
82 <tr·class="separator:ga62e4f9e3987330be63f694226893a47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga62e4f9e3987330be63f694226893a47a"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·N,·class·Tuple&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·N,·class·Tuple&gt;<br·/>
86 struct·Dune::AtType&lt;·N,·Tuple·&gt;</div><p·>Type·for·reverse·element·access.·</p>86 struct·Dune::AtType&lt;·N,·Tuple·&gt;</div><p·>Type·for·reverse·element·access.·</p>
87 <p·>Counterpart·to·ElementType·for·reverse·element·access.·</p>87 <p·>Counterpart·to·ElementType·for·reverse·element·access.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.78 KB
./usr/share/doc/libdune-common-doc/doxygen/a02968.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::At&lt;·N·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::At&lt;·N·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Reverse·element·access.··75 <p>Reverse·element·access.··
76 ·<a·href="a02968.html#details">More...</a></p>76 ·<a·href="a02968.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
80 Static·Public·Member·Functions</h2></td></tr>80 Static·Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memTemplParams"·colspan="2">template&lt;typename·Tuple·&gt;·</td></tr>81 <tr·class="memitem:ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memTemplParams"·colspan="2">template&lt;typename·Tuple·&gt;·</td></tr>
82 <tr·class="memitem:ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02916.html">TupleAccessTraits</a>&lt;·typenameAtType&lt;·N,·Tuple·&gt;::Type·&gt;::NonConstType&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga91f1d1de05dd2f4910851f13e6eb8787">get</a>·(Tuple·&amp;t)</td></tr>82 <tr·class="memitem:ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memTemplItemLeft"·align="right"·valign="top">static·<a·class="el"·href="a02916.html">TupleAccessTraits</a>&lt;·typenameAtType&lt;·N,·Tuple·&gt;::Type·&gt;::NonConstType&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga91f1d1de05dd2f4910851f13e6eb8787">get</a>·(Tuple·&amp;t)</td></tr>
83 <tr·class="separator:ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ga91f1d1de05dd2f4910851f13e6eb8787"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:ga8c720c206fc40a79b25ed53561557e44"><td·class="memTemplParams"·colspan="2">template&lt;typename·Tuple·&gt;·</td></tr>84 <tr·class="memitem:ga8c720c206fc40a79b25ed53561557e44"><td·class="memTemplParams"·colspan="2">template&lt;typename·Tuple·&gt;·</td></tr>
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 <tr·class="separator:ga8c720c206fc40a79b25ed53561557e44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:ga8c720c206fc40a79b25ed53561557e44"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table>89 </table>
90 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>90 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
91 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·N&gt;<br·/>91 <div·class="textblock"><div·class="compoundTemplParams">template&lt;int·N&gt;<br·/>
92 struct·Dune::At&lt;·N·&gt;</div><p·>Reverse·element·access.·</p>92 struct·Dune::At&lt;·N·&gt;</div><p·>Reverse·element·access.·</p>
93 <p·>While·Element&lt;...&gt;·gives·you·the·arguments·beginning·at·the·front·of·a·std::tuple,·At&lt;...&gt;·starts·at·the·end,·which·may·be·more·convenient,·depending·on·how·you·built·your·std::tuple.·</p>93 <p·>While·Element&lt;...&gt;·gives·you·the·arguments·beginning·at·the·front·of·a·std::tuple,·At&lt;...&gt;·starts·at·the·end,·which·may·be·more·convenient,·depending·on·how·you·built·your·std::tuple.·</p>
94 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>94 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
95 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>95 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
96 </ul>96 </ul>
97 </div><!--·contents·-->97 </div><!--·contents·-->
98 <!--·start·footer·part·-->98 <!--·start·footer·part·-->
99 <hr·class="footer"/><address·class="footer"><small>99 <hr·class="footer"/><address·class="footer"><small>
100 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4100 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
101 </small></address>101 </small></address>
102 </body>102 </body>
2.35 KB
./usr/share/doc/libdune-common-doc/doxygen/a02972.html
    
Offset 72, 27 lines modifiedOffset 72, 27 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::PointerPairDeletor&lt;·Tuple·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PointerPairDeletor&lt;·Tuple·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.··75 <p>Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.··
76 ·<a·href="a02972.html#details">More...</a></p>76 ·<a·href="a02972.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-methods"·name="pub-static-methods"></a>
80 Static·Public·Member·Functions</h2></td></tr>80 Static·Public·Member·Functions</h2></td></tr>
81 <tr·class="memitem:ga07b35bb47020e1850b89d151ca24d24b"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Ts&gt;·</td></tr>81 <tr·class="memitem:ga07b35bb47020e1850b89d151ca24d24b"><td·class="memTemplParams"·colspan="2">template&lt;typename...·Ts&gt;·</td></tr>
82 <tr·class="memitem:ga07b35bb47020e1850b89d151ca24d24b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga07b35bb47020e1850b89d151ca24d24b">apply</a>·(std::tuple&lt;·Ts...·&gt;·&amp;t)</td></tr>82 <tr·class="memitem:ga07b35bb47020e1850b89d151ca24d24b"><td·class="memTemplItemLeft"·align="right"·valign="top">static·void&#160;</td><td·class="memTemplItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga07b35bb47020e1850b89d151ca24d24b">apply</a>·(std::tuple&lt;·Ts...·&gt;·&amp;t)</td></tr>
83 <tr·class="separator:ga07b35bb47020e1850b89d151ca24d24b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ga07b35bb47020e1850b89d151ca24d24b"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>85 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
86 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·Tuple&gt;<br·/>86 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·Tuple&gt;<br·/>
87 struct·Dune::PointerPairDeletor&lt;·Tuple·&gt;</div><p·>Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.·</p>87 struct·Dune::PointerPairDeletor&lt;·Tuple·&gt;</div><p·>Deletes·all·objects·pointed·to·in·a·std::tuple·of·pointers.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.75 KB
./usr/share/doc/libdune-common-doc/doxygen/a02976.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::FirstPredicateIndex&lt;·Tuple,·Predicate,·start,·size·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::FirstPredicateIndex&lt;·Tuple,·Predicate,·start,·size·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Finding·the·index·of·a·certain·type·in·a·std::tuple.··72 <p>Finding·the·index·of·a·certain·type·in·a·std::tuple.··
73 ·<a·href="a02976.html#details">More...</a></p>73 ·<a·href="a02976.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::FirstPredicateIndex&lt;·Tuple,·Predicate,·start,·size·&gt;:</div>76 Inheritance·diagram·for·Dune::FirstPredicateIndex&lt;·Tuple,·Predicate,·start,·size·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02975.png"·border="0"·usemap="#a_dune_1_1_first_predicate_index_3_01_tuple_00_01_predicate_00_01start_00_01size_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02975.png"·border="0"·usemap="#a_dune_1_1_first_predicate_index_3_01_tuple_00_01_predicate_00_01start_00_01size_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_first_predicate_index_3_01_tuple_00_01_predicate_00_01start_00_01size_01_4_inherit__map"·id="a_dune_1_1_first_predicate_index_3_01_tuple_00_01_predicate_00_01start_00_01size_01_4_inherit__map">79 <map·name="a_dune_1_1_first_predicate_index_3_01_tuple_00_01_predicate_00_01start_00_01size_01_4_inherit__map"·id="a_dune_1_1_first_predicate_index_3_01_tuple_00_01_predicate_00_01start_00_01size_01_4_inherit__map">
80 <area·shape="rect"·title="Finding·the·index·of·a·certain·type·in·a·std::tuple."·alt=""·coords="273,27,448,83"/>80 <area·shape="rect"·title="Finding·the·index·of·a·certain·type·in·a·std::tuple."·alt=""·coords="273,27,448,83"/>
81 <area·shape="rect"·href="a02976.html"·title="·"·alt=""·coords="653,27,856,83"/>81 <area·shape="rect"·href="a02976.html"·title="·"·alt=""·coords="653,27,856,83"/>
Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 ····<tr><td·class="paramname">start</td><td>First·index·to·try.·This·can·be·adjusted·to·skip·leading·tuple·elements.·</td></tr>95 ····<tr><td·class="paramname">start</td><td>First·index·to·try.·This·can·be·adjusted·to·skip·leading·tuple·elements.·</td></tr>
96 ····<tr><td·class="paramname">size</td><td>This·parameter·is·an·implementation·detail·and·should·not·be·adjusted·by·the·users·of·this·class.·It·should·always·be·equal·to·the·size·of·the·std::tuple.</td></tr>96 ····<tr><td·class="paramname">size</td><td>This·parameter·is·an·implementation·detail·and·should·not·be·adjusted·by·the·users·of·this·class.·It·should·always·be·equal·to·the·size·of·the·std::tuple.</td></tr>
97 ··</table>97 ··</table>
98 ··</dd>98 ··</dd>
99 </dl>99 </dl>
100 <p>This·class·can·search·for·a·type·in·std::tuple.·It·will·apply·the·predicate·to·each·type·in·std::tuple·in·turn,·and·set·its·member·constant·<code>value</code>·to·the·index·of·the·first·type·that·was·accepted·by·the·predicate.·If·none·of·the·types·are·accepted·by·the·predicate,·a·static_assert·is·triggered.·</p>100 <p>This·class·can·search·for·a·type·in·std::tuple.·It·will·apply·the·predicate·to·each·type·in·std::tuple·in·turn,·and·set·its·member·constant·<code>value</code>·to·the·index·of·the·first·type·that·was·accepted·by·the·predicate.·If·none·of·the·types·are·accepted·by·the·predicate,·a·static_assert·is·triggered.·</p>
101 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>101 </div><hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
102 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>102 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
103 </ul>103 </ul>
104 </div><!--·contents·-->104 </div><!--·contents·-->
105 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>108 </small></address>
109 </body>109 </body>
2.29 KB
./usr/share/doc/libdune-common-doc/doxygen/a02980.html
    
Offset 71, 15 lines modifiedOffset 71, 15 lines modified
71 ··<div·class="headertitle"><div·class="title">Dune::IsType&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>71 ··<div·class="headertitle"><div·class="title">Dune::IsType&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
72 </div><!--header-->72 </div><!--header-->
73 <div·class="contents">73 <div·class="contents">
  
74 <p>Generator·for·predicates·accepting·one·particular·type.··74 <p>Generator·for·predicates·accepting·one·particular·type.··
75 ·<a·href="a02980.html#details">More...</a></p>75 ·<a·href="a02980.html#details">More...</a></p>
  
76 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>76 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
77 <table·class="memberdecls">77 <table·class="memberdecls">
78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>78 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
79 Classes</h2></td></tr>79 Classes</h2></td></tr>
80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02984.html">Predicate</a></td></tr>80 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02984.html">Predicate</a></td></tr>
81 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·actual·predicate.··<a·href="a02984.html#details">More...</a><br·/></td></tr>81 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·actual·predicate.··<a·href="a02984.html#details">More...</a><br·/></td></tr>
82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 ··<table·class="tparams">90 ··<table·class="tparams">
91 ····<tr><td·class="paramname">T</td><td>The·type·to·accept.</td></tr>91 ····<tr><td·class="paramname">T</td><td>The·type·to·accept.</td></tr>
92 ··</table>92 ··</table>
93 ··</dd>93 ··</dd>
94 </dl>94 </dl>
95 <p>The·generated·predicate·class·is·useful·together·with·<a·class="el"·href="a02976.html"·title="Finding·the·index·of·a·certain·type·in·a·std::tuple.">FirstPredicateIndex</a>.·It·will·accept·exactly·the·type·that·is·given·as·the·<code>T</code>·template·parameter.·</p>95 <p>The·generated·predicate·class·is·useful·together·with·<a·class="el"·href="a02976.html"·title="Finding·the·index·of·a·certain·type·in·a·std::tuple.">FirstPredicateIndex</a>.·It·will·accept·exactly·the·type·that·is·given·as·the·<code>T</code>·template·parameter.·</p>
96 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>96 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
97 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>97 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
98 </ul>98 </ul>
99 </div><!--·contents·-->99 </div><!--·contents·-->
100 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>101 <hr·class="footer"/><address·class="footer"><small>
102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
103 </small></address>103 </small></address>
104 </body>104 </body>
2.17 KB
./usr/share/doc/libdune-common-doc/doxygen/a02984.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>The·actual·predicate.··72 <p>The·actual·predicate.··
73 ·<a·href="a02984.html#details">More...</a></p>73 ·<a·href="a02984.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;:</div>76 Inheritance·diagram·for·Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02983.png"·border="0"·usemap="#a_dune_1_1_is_type_3_01_t_01_4_1_1_predicate_3_01_u_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02983.png"·border="0"·usemap="#a_dune_1_1_is_type_3_01_t_01_4_1_1_predicate_3_01_u_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_type_3_01_t_01_4_1_1_predicate_3_01_u_01_4_inherit__map"·id="a_dune_1_1_is_type_3_01_t_01_4_1_1_predicate_3_01_u_01_4_inherit__map">79 <map·name="a_dune_1_1_is_type_3_01_t_01_4_1_1_predicate_3_01_u_01_4_inherit__map"·id="a_dune_1_1_is_type_3_01_t_01_4_1_1_predicate_3_01_u_01_4_inherit__map">
80 <area·shape="rect"·title="The·actual·predicate."·alt=""·coords="9,80,149,121"/>80 <area·shape="rect"·title="The·actual·predicate."·alt=""·coords="9,80,149,121"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,152,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,152,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
86 template&lt;class·U&gt;<br·/>86 template&lt;class·U&gt;<br·/>
87 struct·Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;</div><p·>The·actual·predicate.·</p>87 struct·Dune::IsType&lt;·T·&gt;::Predicate&lt;·U·&gt;</div><p·>The·actual·predicate.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>89 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.49 KB
./usr/share/doc/libdune-common-doc/doxygen/a02988.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Find·the·first·occurrence·of·a·type·in·a·std::tuple.··72 <p>Find·the·first·occurrence·of·a·type·in·a·std::tuple.··
73 ·<a·href="a02988.html#details">More...</a></p>73 ·<a·href="a02988.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;:</div>76 Inheritance·diagram·for·Dune::FirstTypeIndex&lt;·Tuple,·T,·start·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a02987.png"·border="0"·usemap="#a_dune_1_1_first_type_index_3_01_tuple_00_01_t_00_01start_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a02987.png"·border="0"·usemap="#a_dune_1_1_first_type_index_3_01_tuple_00_01_t_00_01start_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_first_type_index_3_01_tuple_00_01_t_00_01start_01_4_inherit__map"·id="a_dune_1_1_first_type_index_3_01_tuple_00_01_t_00_01start_01_4_inherit__map">79 <map·name="a_dune_1_1_first_type_index_3_01_tuple_00_01_t_00_01start_01_4_inherit__map"·id="a_dune_1_1_first_type_index_3_01_tuple_00_01_t_00_01start_01_4_inherit__map">
80 <area·shape="rect"·title="Find·the·first·occurrence·of·a·type·in·a·std::tuple."·alt=""·coords="992,108,1140,149"/>80 <area·shape="rect"·title="Find·the·first·occurrence·of·a·type·in·a·std::tuple."·alt=""·coords="992,108,1140,149"/>
81 <area·shape="rect"·href="a02976.html"·title="·"·alt=""·coords="740,101,943,157"/>81 <area·shape="rect"·href="a02976.html"·title="·"·alt=""·coords="740,101,943,157"/>
Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 ····<tr><td·class="paramname">T</td><td>Type·to·search·for.·</td></tr>95 ····<tr><td·class="paramname">T</td><td>Type·to·search·for.·</td></tr>
96 ····<tr><td·class="paramname">start</td><td>First·index·to·try.·This·can·be·adjusted·to·skip·leading·std::tuple·elements.</td></tr>96 ····<tr><td·class="paramname">start</td><td>First·index·to·try.·This·can·be·adjusted·to·skip·leading·std::tuple·elements.</td></tr>
97 ··</table>97 ··</table>
98 ··</dd>98 ··</dd>
99 </dl>99 </dl>
100 <p>This·class·can·search·for·a·particular·type·in·std::tuple.·It·will·check·each·type·in·the·std::tuple·in·turn,·and·set·its·member·constant·<code>value</code>·to·the·index·of·the·first·occurrence·of·type·was·found.·If·the·type·was·not·found,·a·static_assert·is·triggered.·</p>100 <p>This·class·can·search·for·a·particular·type·in·std::tuple.·It·will·check·each·type·in·the·std::tuple·in·turn,·and·set·its·member·constant·<code>value</code>·to·the·index·of·the·first·occurrence·of·type·was·found.·If·the·type·was·not·found,·a·static_assert·is·triggered.·</p>
101 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>101 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
102 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>102 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
103 </ul>103 </ul>
104 </div><!--·contents·-->104 </div><!--·contents·-->
105 <!--·start·footer·part·-->105 <!--·start·footer·part·-->
106 <hr·class="footer"/><address·class="footer"><small>106 <hr·class="footer"/><address·class="footer"><small>
107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4107 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
108 </small></address>108 </small></address>
109 </body>109 </body>
886 B
./usr/share/doc/libdune-common-doc/doxygen/a02992.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<table·class="tparams">79 ··<table·class="tparams">
80 ····<tr><td·class="paramname">Tuple</td><td>The·std::tuple·type·to·extend·</td></tr>80 ····<tr><td·class="paramname">Tuple</td><td>The·std::tuple·type·to·extend·</td></tr>
81 ····<tr><td·class="paramname">T</td><td>The·type·to·be·appended·to·the·std::tuple·</td></tr>81 ····<tr><td·class="paramname">T</td><td>The·type·to·be·appended·to·the·std::tuple·</td></tr>
82 ··</table>82 ··</table>
83 ··</dd>83 ··</dd>
84 </dl>84 </dl>
85 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>85 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
86 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>86 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
87 </ul>87 </ul>
88 </div><!--·contents·-->88 </div><!--·contents·-->
89 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
90 <hr·class="footer"/><address·class="footer"><small>90 <hr·class="footer"/><address·class="footer"><small>
91 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.491 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
92 </small></address>92 </small></address>
93 </body>93 </body>
1.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a02996.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a02993.html">List·of·all·members</a>··</div>71 <a·href="a02993.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PushBackTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PushBackTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:gab4981425c1728ed7690aec0f7895ca14"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple&lt;·Args...,·T·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gab4981425c1728ed7690aec0f7895ca14">type</a></td></tr>79 <tr·class="memitem:gab4981425c1728ed7690aec0f7895ca14"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple&lt;·Args...,·T·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gab4981425c1728ed7690aec0f7895ca14">type</a></td></tr>
80 <tr·class="separator:gab4981425c1728ed7690aec0f7895ca14"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:gab4981425c1728ed7690aec0f7895ca14"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>83 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
887 B
./usr/share/doc/libdune-common-doc/doxygen/a03000.html
    
Offset 79, 15 lines modifiedOffset 79, 15 lines modified
79 ··<table·class="tparams">79 ··<table·class="tparams">
80 ····<tr><td·class="paramname">Tuple</td><td>The·std::tuple·type·to·extend·</td></tr>80 ····<tr><td·class="paramname">Tuple</td><td>The·std::tuple·type·to·extend·</td></tr>
81 ····<tr><td·class="paramname">T</td><td>The·type·to·be·prepended·to·the·std::tuple·</td></tr>81 ····<tr><td·class="paramname">T</td><td>The·type·to·be·prepended·to·the·std::tuple·</td></tr>
82 ··</table>82 ··</table>
83 ··</dd>83 ··</dd>
84 </dl>84 </dl>
85 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>85 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
86 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>86 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
87 </ul>87 </ul>
88 </div><!--·contents·-->88 </div><!--·contents·-->
89 <!--·start·footer·part·-->89 <!--·start·footer·part·-->
90 <hr·class="footer"/><address·class="footer"><small>90 <hr·class="footer"/><address·class="footer"><small>
91 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.491 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
92 </small></address>92 </small></address>
93 </body>93 </body>
1.9 KB
./usr/share/doc/libdune-common-doc/doxygen/a03004.html
    
Offset 69, 23 lines modifiedOffset 69, 23 lines modified
69 ··<div·class="summary">69 ··<div·class="summary">
70 <a·href="#pub-types">Public·Types</a>·&#124;70 <a·href="#pub-types">Public·Types</a>·&#124;
71 <a·href="a03001.html">List·of·all·members</a>··</div>71 <a·href="a03001.html">List·of·all·members</a>··</div>
72 ··<div·class="headertitle"><div·class="title">Dune::PushFrontTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PushFrontTuple&lt;·typename·std::tuple&lt;·Args...·&gt;,·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>75 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
76 <table·class="memberdecls">76 <table·class="memberdecls">
77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>77 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
78 Public·Types</h2></td></tr>78 Public·Types</h2></td></tr>
79 <tr·class="memitem:gabd81573d00ffd85f700fba2552c3f45c"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple&lt;·T,·Args...·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gabd81573d00ffd85f700fba2552c3f45c">type</a></td></tr>79 <tr·class="memitem:gabd81573d00ffd85f700fba2552c3f45c"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple&lt;·T,·Args...·&gt;&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gabd81573d00ffd85f700fba2552c3f45c">type</a></td></tr>
80 <tr·class="separator:gabd81573d00ffd85f700fba2552c3f45c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>80 <tr·class="separator:gabd81573d00ffd85f700fba2552c3f45c"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
81 </table>81 </table>
82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>82 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
83 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>83 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
84 </ul>84 </ul>
85 </div><!--·contents·-->85 </div><!--·contents·-->
86 <!--·start·footer·part·-->86 <!--·start·footer·part·-->
87 <hr·class="footer"/><address·class="footer"><small>87 <hr·class="footer"/><address·class="footer"><small>
88 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.488 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
89 </small></address>89 </small></address>
90 </body>90 </body>
2.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a03008.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::ReduceTuple&lt;·F,·Tuple,·Seed,·N·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ReduceTuple&lt;·F,·Tuple,·Seed,·N·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Apply·reduce·with·meta·binary·function·to·template.··75 <p>Apply·reduce·with·meta·binary·function·to·template.··
76 ·<a·href="a03008.html#details">More...</a></p>76 ·<a·href="a03008.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:ga2f1a4129639f49eaa68ce5af0e31bc85"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a03008.html">ReduceTuple</a>&lt;·F,·Tuple,·Seed,·N-1·&gt;<a·class="el"·href="a00403.html#gad3ed679ab1cb751cf8cf7bc63ae95705">::type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga2f1a4129639f49eaa68ce5af0e31bc85">Accumulated</a></td></tr>81 <tr·class="memitem:ga2f1a4129639f49eaa68ce5af0e31bc85"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a03008.html">ReduceTuple</a>&lt;·F,·Tuple,·Seed,·N-1·&gt;<a·class="el"·href="a00403.html#gad3ed679ab1cb751cf8cf7bc63ae95705">::type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga2f1a4129639f49eaa68ce5af0e31bc85">Accumulated</a></td></tr>
82 <tr·class="separator:ga2f1a4129639f49eaa68ce5af0e31bc85"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ga2f1a4129639f49eaa68ce5af0e31bc85"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 <tr·class="memitem:gaba31761b9eed8e33da272077bfe55d52"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple_element&lt;·N-1,·Tuple·&gt;<a·class="el"·href="a00403.html#gad3ed679ab1cb751cf8cf7bc63ae95705">::type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaba31761b9eed8e33da272077bfe55d52">Value</a></td></tr>83 <tr·class="memitem:gaba31761b9eed8e33da272077bfe55d52"><td·class="memItemLeft"·align="right"·valign="top">typedef·std::tuple_element&lt;·N-1,·Tuple·&gt;<a·class="el"·href="a00403.html#gad3ed679ab1cb751cf8cf7bc63ae95705">::type</a>&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gaba31761b9eed8e33da272077bfe55d52">Value</a></td></tr>
84 <tr·class="separator:gaba31761b9eed8e33da272077bfe55d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>84 <tr·class="separator:gaba31761b9eed8e33da272077bfe55d52"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Offset 99, 15 lines modifiedOffset 99, 15 lines modified
99 ····<tr><td·class="paramname">Tuple</td><td>Apply·reduce·operation·to·this·std::tuple·</td></tr>99 ····<tr><td·class="paramname">Tuple</td><td>Apply·reduce·operation·to·this·std::tuple·</td></tr>
100 ····<tr><td·class="paramname">Seed</td><td>Initial·value·for·reduce·operation·</td></tr>100 ····<tr><td·class="paramname">Seed</td><td>Initial·value·for·reduce·operation·</td></tr>
101 ····<tr><td·class="paramname">N</td><td>Reduce·the·first·N·std::tuple·elements·</td></tr>101 ····<tr><td·class="paramname">N</td><td>Reduce·the·first·N·std::tuple·elements·</td></tr>
102 ··</table>102 ··</table>
103 ··</dd>103 ··</dd>
104 </dl>104 </dl>
105 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>105 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
106 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>106 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
107 </ul>107 </ul>
108 </div><!--·contents·-->108 </div><!--·contents·-->
109 <!--·start·footer·part·-->109 <!--·start·footer·part·-->
110 <hr·class="footer"/><address·class="footer"><small>110 <hr·class="footer"/><address·class="footer"><small>
111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4111 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
112 </small></address>112 </small></address>
113 </body>113 </body>
2.36 KB
./usr/share/doc/libdune-common-doc/doxygen/a03012.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::ReduceTuple&lt;·F,·Tuple,·Seed,·0·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::ReduceTuple&lt;·F,·Tuple,·Seed,·0·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Apply·reduce·with·meta·binary·function·to·template.··75 <p>Apply·reduce·with·meta·binary·function·to·template.··
76 ·<a·href="a03012.html#details">More...</a></p>76 ·<a·href="a03012.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:ga3c82c919222082b94e5610411a7ea382"><td·class="memItemLeft"·align="right"·valign="top">typedef·Seed&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga3c82c919222082b94e5610411a7ea382">type</a></td></tr>81 <tr·class="memitem:ga3c82c919222082b94e5610411a7ea382"><td·class="memItemLeft"·align="right"·valign="top">typedef·Seed&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#ga3c82c919222082b94e5610411a7ea382">type</a></td></tr>
82 <tr·class="memdesc:ga3c82c919222082b94e5610411a7ea382"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·reduce·operation.··<a·href="a00403.html#ga3c82c919222082b94e5610411a7ea382">More...</a><br·/></td></tr>82 <tr·class="memdesc:ga3c82c919222082b94e5610411a7ea382"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·reduce·operation.··<a·href="a00403.html#ga3c82c919222082b94e5610411a7ea382">More...</a><br·/></td></tr>
83 <tr·class="separator:ga3c82c919222082b94e5610411a7ea382"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ga3c82c919222082b94e5610411a7ea382"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 93, 15 lines modifiedOffset 93, 15 lines modified
93 ····<tr><td·class="paramname">F</td><td>Binary·meta·function·</td></tr>93 ····<tr><td·class="paramname">F</td><td>Binary·meta·function·</td></tr>
94 ····<tr><td·class="paramname">Tuple</td><td>Apply·reduce·operation·to·this·std::tuple·</td></tr>94 ····<tr><td·class="paramname">Tuple</td><td>Apply·reduce·operation·to·this·std::tuple·</td></tr>
95 ····<tr><td·class="paramname">Seed</td><td>Initial·value·for·reduce·operation·</td></tr>95 ····<tr><td·class="paramname">Seed</td><td>Initial·value·for·reduce·operation·</td></tr>
96 ··</table>96 ··</table>
97 ··</dd>97 ··</dd>
98 </dl>98 </dl>
99 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>99 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
100 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>100 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
101 </ul>101 </ul>
102 </div><!--·contents·-->102 </div><!--·contents·-->
103 <!--·start·footer·part·-->103 <!--·start·footer·part·-->
104 <hr·class="footer"/><address·class="footer"><small>104 <hr·class="footer"/><address·class="footer"><small>
105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4105 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
106 </small></address>106 </small></address>
107 </body>107 </body>
2.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a03016.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::JoinTuples&lt;·Head,·Tail·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::JoinTuples&lt;·Head,·Tail·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Join·two·std::tuple's.··75 <p>Join·two·std::tuple's.··
76 ·<a·href="a03016.html#details">More...</a></p>76 ·<a·href="a03016.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:gad9a109a69768793a5742f119fb2ed8bb"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a03008.html">ReduceTuple</a>&lt;·<a·class="el"·href="a02992.html">PushBackTuple</a>,·Tail,·Head·&gt;::type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gad9a109a69768793a5742f119fb2ed8bb">type</a></td></tr>81 <tr·class="memitem:gad9a109a69768793a5742f119fb2ed8bb"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a03008.html">ReduceTuple</a>&lt;·<a·class="el"·href="a02992.html">PushBackTuple</a>,·Tail,·Head·&gt;::type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gad9a109a69768793a5742f119fb2ed8bb">type</a></td></tr>
82 <tr·class="memdesc:gad9a109a69768793a5742f119fb2ed8bb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·join·operation.··<a·href="a00403.html#gad9a109a69768793a5742f119fb2ed8bb">More...</a><br·/></td></tr>82 <tr·class="memdesc:gad9a109a69768793a5742f119fb2ed8bb"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·join·operation.··<a·href="a00403.html#gad9a109a69768793a5742f119fb2ed8bb">More...</a><br·/></td></tr>
83 <tr·class="separator:gad9a109a69768793a5742f119fb2ed8bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:gad9a109a69768793a5742f119fb2ed8bb"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 92, 15 lines modifiedOffset 92, 15 lines modified
92 ··<table·class="tparams">92 ··<table·class="tparams">
93 ····<tr><td·class="paramname">Head</td><td>Head·of·resulting·std::tuple·</td></tr>93 ····<tr><td·class="paramname">Head</td><td>Head·of·resulting·std::tuple·</td></tr>
94 ····<tr><td·class="paramname">Tail</td><td>Tail·of·resulting·std::tuple·</td></tr>94 ····<tr><td·class="paramname">Tail</td><td>Tail·of·resulting·std::tuple·</td></tr>
95 ··</table>95 ··</table>
96 ··</dd>96 ··</dd>
97 </dl>97 </dl>
98 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>98 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
99 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>99 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
100 </ul>100 </ul>
101 </div><!--·contents·-->101 </div><!--·contents·-->
102 <!--·start·footer·part·-->102 <!--·start·footer·part·-->
103 <hr·class="footer"/><address·class="footer"><small>103 <hr·class="footer"/><address·class="footer"><small>
104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4104 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
105 </small></address>105 </small></address>
106 </body>106 </body>
2.36 KB
./usr/share/doc/libdune-common-doc/doxygen/a03020.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::FlattenTuple&lt;·Tuple·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::FlattenTuple&lt;·Tuple·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00403.html">Tuple·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Flatten·a·std::tuple·of·std::tuple's.··75 <p>Flatten·a·std::tuple·of·std::tuple's.··
76 ·<a·href="a03020.html#details">More...</a></p>76 ·<a·href="a03020.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00212_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00284_source.html">dune/common/tupleutility.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a03008.html">ReduceTuple</a>&lt;·<a·class="el"·href="a03016.html">JoinTuples</a>,·Tuple·&gt;::type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gac3d083b768bab47dc1ed53ef2baa26a0">type</a></td></tr>81 <tr·class="memitem:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="memItemLeft"·align="right"·valign="top">typedef·<a·class="el"·href="a03008.html">ReduceTuple</a>&lt;·<a·class="el"·href="a03016.html">JoinTuples</a>,·Tuple·&gt;::type&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00403.html#gac3d083b768bab47dc1ed53ef2baa26a0">type</a></td></tr>
82 <tr·class="memdesc:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·flatten·operation.··<a·href="a00403.html#gac3d083b768bab47dc1ed53ef2baa26a0">More...</a><br·/></td></tr>82 <tr·class="memdesc:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Result·of·the·flatten·operation.··<a·href="a00403.html#gac3d083b768bab47dc1ed53ef2baa26a0">More...</a><br·/></td></tr>
83 <tr·class="separator:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:gac3d083b768bab47dc1ed53ef2baa26a0"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 <dl·class="tparams"><dt>Template·Parameters</dt><dd>91 <dl·class="tparams"><dt>Template·Parameters</dt><dd>
92 ··<table·class="tparams">92 ··<table·class="tparams">
93 ····<tr><td·class="paramname">TupleTuple</td><td>A·std::tuple·of·std::tuple's·</td></tr>93 ····<tr><td·class="paramname">TupleTuple</td><td>A·std::tuple·of·std::tuple's·</td></tr>
94 ··</table>94 ··</table>
95 ··</dd>95 ··</dd>
96 </dl>96 </dl>
97 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>97 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
98 <li><a·class="el"·href="a00212_source.html">tupleutility.hh</a></li>98 <li><a·class="el"·href="a00284_source.html">tupleutility.hh</a></li>
99 </ul>99 </ul>
100 </div><!--·contents·-->100 </div><!--·contents·-->
101 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>102 <hr·class="footer"/><address·class="footer"><small>
103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
104 </small></address>104 </small></address>
105 </body>105 </body>
1.89 KB
./usr/share/doc/libdune-common-doc/doxygen/a03024.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 ··<div·class="headertitle"><div·class="title">Dune::TupleVector&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">Dune::TupleVector&lt;·T·&gt;·Class·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>A·class·augmenting·std::tuple·by·element·access·via·operator[].··76 <p>A·class·augmenting·std::tuple·by·element·access·via·operator[].··
77 ·<a·href="a03024.html#details">More...</a></p>77 ·<a·href="a03024.html#details">More...</a></p>
  
78 <p><code>#include·&lt;<a·class="el"·href="a00008_source.html">dune/common/tuplevector.hh</a>&gt;</code></p>78 <p><code>#include·&lt;<a·class="el"·href="a00179_source.html">dune/common/tuplevector.hh</a>&gt;</code></p>
79 <div·class="dynheader">79 <div·class="dynheader">
80 Inheritance·diagram·for·Dune::TupleVector&lt;·T·&gt;:</div>80 Inheritance·diagram·for·Dune::TupleVector&lt;·T·&gt;:</div>
81 <div·class="dyncontent">81 <div·class="dyncontent">
82 <div·class="center"><img·src="a03023.png"·border="0"·usemap="#a_dune_1_1_tuple_vector_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>82 <div·class="center"><img·src="a03023.png"·border="0"·usemap="#a_dune_1_1_tuple_vector_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
83 <map·name="a_dune_1_1_tuple_vector_3_01_t_01_4_inherit__map"·id="a_dune_1_1_tuple_vector_3_01_t_01_4_inherit__map">83 <map·name="a_dune_1_1_tuple_vector_3_01_t_01_4_inherit__map"·id="a_dune_1_1_tuple_vector_3_01_t_01_4_inherit__map">
84 <area·shape="rect"·title="A·class·augmenting·std::tuple·by·element·access·via·operator[]."·alt=""·coords="5,80,167,107"/>84 <area·shape="rect"·title="A·class·augmenting·std::tuple·by·element·access·via·operator[]."·alt=""·coords="5,80,167,107"/>
85 <area·shape="rect"·title="·"·alt=""·coords="27,5,145,32"/>85 <area·shape="rect"·title="·"·alt=""·coords="27,5,145,32"/>
Offset 269, 15 lines modifiedOffset 269, 15 lines modified
269 </div><div·class="memdoc">269 </div><div·class="memdoc">
  
270 <p>Number·of·elements·of·the·tuple.·</p>270 <p>Number·of·elements·of·the·tuple.·</p>
  
271 </div>271 </div>
272 </div>272 </div>
273 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>273 <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul>
274 <li><a·class="el"·href="a00008_source.html">tuplevector.hh</a></li>274 <li><a·class="el"·href="a00179_source.html">tuplevector.hh</a></li>
275 </ul>275 </ul>
276 </div><!--·contents·-->276 </div><!--·contents·-->
277 <!--·start·footer·part·-->277 <!--·start·footer·part·-->
278 <hr·class="footer"/><address·class="footer"><small>278 <hr·class="footer"/><address·class="footer"><small>
279 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4279 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
280 </small></address>280 </small></address>
281 </body>281 </body>
2.09 KB
./usr/share/doc/libdune-common-doc/doxygen/a03028.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::MetaType&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::MetaType&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>A·type·that·refers·to·another·type.··75 <p>A·type·that·refers·to·another·type.··
76 ·<a·href="a03028.html#details">More...</a></p>76 ·<a·href="a03028.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03028.html#a6b3de5881641ffb3bb9c5af780fc3a13">type</a>·=·T</td></tr>81 <tr·class="memitem:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03028.html#a6b3de5881641ffb3bb9c5af780fc3a13">type</a>·=·T</td></tr>
82 <tr·class="memdesc:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·referred-to·type.··<a·href="a03028.html#a6b3de5881641ffb3bb9c5af780fc3a13">More...</a><br·/></td></tr>82 <tr·class="memdesc:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">The·referred-to·type.··<a·href="a03028.html#a6b3de5881641ffb3bb9c5af780fc3a13">More...</a><br·/></td></tr>
83 <tr·class="separator:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a6b3de5881641ffb3bb9c5af780fc3a13"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 </div><div·class="memdoc">106 </div><div·class="memdoc">
  
107 <p>The·referred-to·type.·</p>107 <p>The·referred-to·type.·</p>
  
108 </div>108 </div>
109 </div>109 </div>
110 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>110 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
111 <li><a·class="el"·href="a00347_source.html">typelist.hh</a></li>111 <li><a·class="el"·href="a00032_source.html">typelist.hh</a></li>
112 </ul>112 </ul>
113 </div><!--·contents·-->113 </div><!--·contents·-->
114 <!--·start·footer·part·-->114 <!--·start·footer·part·-->
115 <hr·class="footer"/><address·class="footer"><small>115 <hr·class="footer"/><address·class="footer"><small>
116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4116 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
117 </small></address>117 </small></address>
118 </body>118 </body>
2.16 KB
./usr/share/doc/libdune-common-doc/doxygen/a03032.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsTypeList&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsTypeList&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Check·if·given·type·is·a·TypeList.··72 <p>Check·if·given·type·is·a·TypeList.··
73 ·<a·href="a03032.html#details">More...</a></p>73 ·<a·href="a03032.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsTypeList&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::IsTypeList&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03031.png"·border="0"·usemap="#a_dune_1_1_is_type_list_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03031.png"·border="0"·usemap="#a_dune_1_1_is_type_list_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_type_list_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_type_list_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_is_type_list_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_type_list_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="Check·if·given·type·is·a·TypeList."·alt=""·coords="5,80,159,107"/>80 <area·shape="rect"·title="Check·if·given·type·is·a·TypeList."·alt=""·coords="5,80,159,107"/>
81 <area·shape="rect"·title="·"·alt=""·coords="28,5,136,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="28,5,136,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
86 struct·Dune::IsTypeList&lt;·T·&gt;</div><p·>Check·if·given·type·is·a·TypeList.·</p>86 struct·Dune::IsTypeList&lt;·T·&gt;</div><p·>Check·if·given·type·is·a·TypeList.·</p>
87 <p·>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>87 <p·>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00347_source.html">typelist.hh</a></li>89 <li><a·class="el"·href="a00032_source.html">typelist.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a03036.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Check·if·given·type·is·a·TypeList.··72 <p>Check·if·given·type·is·a·TypeList.··
73 ·<a·href="a03036.html#details">More...</a></p>73 ·<a·href="a03036.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;:</div>76 Inheritance·diagram·for·Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03035.png"·border="0"·usemap="#a_dune_1_1_is_type_list_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03035.png"·border="0"·usemap="#a_dune_1_1_is_type_list_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_type_list_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map"·id="a_dune_1_1_is_type_list_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map">79 <map·name="a_dune_1_1_is_type_list_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map"·id="a_dune_1_1_is_type_list_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map">
80 <area·shape="rect"·title="Check·if·given·type·is·a·TypeList."·alt=""·coords="5,80,188,121"/>80 <area·shape="rect"·title="Check·if·given·type·is·a·TypeList."·alt=""·coords="5,80,188,121"/>
81 <area·shape="rect"·title="·"·alt=""·coords="45,5,148,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="45,5,148,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·T&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·T&gt;<br·/>
86 struct·Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</div><p·>Check·if·given·type·is·a·TypeList.·</p>86 struct·Dune::IsTypeList&lt;·TypeList&lt;·T...·&gt;·&gt;</div><p·>Check·if·given·type·is·a·TypeList.·</p>
87 <p·>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>87 <p·>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00347_source.html">typelist.hh</a></li>89 <li><a·class="el"·href="a00032_source.html">typelist.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.21 KB
./usr/share/doc/libdune-common-doc/doxygen/a03040.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsEmptyTypeList&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsEmptyTypeList&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Check·if·given·type·is·an·empty·TypeList.··72 <p>Check·if·given·type·is·an·empty·TypeList.··
73 ·<a·href="a03040.html#details">More...</a></p>73 ·<a·href="a03040.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsEmptyTypeList&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::IsEmptyTypeList&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03039.png"·border="0"·usemap="#a_dune_1_1_is_empty_type_list_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03039.png"·border="0"·usemap="#a_dune_1_1_is_empty_type_list_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_empty_type_list_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_empty_type_list_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_is_empty_type_list_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_empty_type_list_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="Check·if·given·type·is·an·empty·TypeList."·alt=""·coords="11,80,201,107"/>80 <area·shape="rect"·title="Check·if·given·type·is·an·empty·TypeList."·alt=""·coords="11,80,201,107"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,207,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,207,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
86 struct·Dune::IsEmptyTypeList&lt;·T·&gt;</div><p·>Check·if·given·type·is·an·empty·TypeList.·</p>86 struct·Dune::IsEmptyTypeList&lt;·T·&gt;</div><p·>Check·if·given·type·is·an·empty·TypeList.·</p>
87 <p·>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>87 <p·>The·result·of·the·check·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;bool,·result&gt;.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00347_source.html">typelist.hh</a></li>89 <li><a·class="el"·href="a00032_source.html">typelist.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
1.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a03044.html
    
Offset 66, 17 lines modifiedOffset 66, 17 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::TypeListSize&lt;·T·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::TypeListSize&lt;·T·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code></p>
73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
74 <li><a·class="el"·href="a00347_source.html">typelist.hh</a></li>74 <li><a·class="el"·href="a00032_source.html">typelist.hh</a></li>
75 </ul>75 </ul>
76 </div><!--·contents·-->76 </div><!--·contents·-->
77 <!--·start·footer·part·-->77 <!--·start·footer·part·-->
78 <hr·class="footer"/><address·class="footer"><small>78 <hr·class="footer"/><address·class="footer"><small>
79 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.479 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
80 </small></address>80 </small></address>
81 </body>81 </body>
2.27 KB
./usr/share/doc/libdune-common-doc/doxygen/a03048.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Get·size·of·TypeList.··72 <p>Get·size·of·TypeList.··
73 ·<a·href="a03048.html#details">More...</a></p>73 ·<a·href="a03048.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;:</div>76 Inheritance·diagram·for·Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03047.png"·border="0"·usemap="#a_dune_1_1_type_list_size_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03047.png"·border="0"·usemap="#a_dune_1_1_type_list_size_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_type_list_size_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map"·id="a_dune_1_1_type_list_size_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map">79 <map·name="a_dune_1_1_type_list_size_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map"·id="a_dune_1_1_type_list_size_3_01_type_list_3_01_t_8_8_8_01_4_01_4_inherit__map">
80 <area·shape="rect"·title="Get·size·of·TypeList."·alt=""·coords="21,95,160,136"/>80 <area·shape="rect"·title="Get·size·of·TypeList."·alt=""·coords="21,95,160,136"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,47"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,47"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·T&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class...·T&gt;<br·/>
86 struct·Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</div><p·>Get·size·of·TypeList.·</p>86 struct·Dune::TypeListSize&lt;·TypeList&lt;·T...·&gt;·&gt;</div><p·>Get·size·of·TypeList.·</p>
87 <p·>The·result·of·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;std::size_t,·result&gt;.·</p>87 <p·>The·result·of·is·encoded·in·the·base·class·of·type·std::integral_constant&lt;std::size_t,·result&gt;.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00347_source.html">typelist.hh</a></li>89 <li><a·class="el"·href="a00032_source.html">typelist.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
1.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a03052.html
    
Offset 66, 17 lines modifiedOffset 66, 17 lines modified
66 </div>66 </div>
67 </div><!--·top·-->67 </div><!--·top·-->
68 <div·class="header">68 <div·class="header">
69 ··<div·class="headertitle"><div·class="title">Dune::TypeListElement&lt;·i,·T·&gt;·Struct·Template·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">Dune::TypeListElement&lt;·i,·T·&gt;·Struct·Template·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code></p>72 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code></p>
73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>73 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
74 <li><a·class="el"·href="a00347_source.html">typelist.hh</a></li>74 <li><a·class="el"·href="a00032_source.html">typelist.hh</a></li>
75 </ul>75 </ul>
76 </div><!--·contents·-->76 </div><!--·contents·-->
77 <!--·start·footer·part·-->77 <!--·start·footer·part·-->
78 <hr·class="footer"/><address·class="footer"><small>78 <hr·class="footer"/><address·class="footer"><small>
79 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.479 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
80 </small></address>80 </small></address>
81 </body>81 </body>
2.63 KB
./usr/share/doc/libdune-common-doc/doxygen/a03056.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::TypeListElement&lt;·i,·TypeList&lt;·T...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::TypeListElement&lt;·i,·TypeList&lt;·T...·&gt;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Get·element·of·TypeList.··75 <p>Get·element·of·TypeList.··
76 ·<a·href="a03056.html#details">More...</a></p>76 ·<a·href="a03056.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a9fb580f946834896c389e6c04d27675f"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03056.html#a9fb580f946834896c389e6c04d27675f">type</a>·=·typename·std::tuple_element&lt;·i,·std::tuple&lt;·T...·&gt;·&gt;::type</td></tr>81 <tr·class="memitem:a9fb580f946834896c389e6c04d27675f"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03056.html#a9fb580f946834896c389e6c04d27675f">type</a>·=·typename·std::tuple_element&lt;·i,·std::tuple&lt;·T...·&gt;·&gt;::type</td></tr>
82 <tr·class="memdesc:a9fb580f946834896c389e6c04d27675f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·type·of·i-th·element·in·TypeList.··<a·href="a03056.html#a9fb580f946834896c389e6c04d27675f">More...</a><br·/></td></tr>82 <tr·class="memdesc:a9fb580f946834896c389e6c04d27675f"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Export·type·of·i-th·element·in·TypeList.··<a·href="a03056.html#a9fb580f946834896c389e6c04d27675f">More...</a><br·/></td></tr>
83 <tr·class="separator:a9fb580f946834896c389e6c04d27675f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:a9fb580f946834896c389e6c04d27675f"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 <tr·class="memitem:ae91efdaa72ed01633da2f8fa2185408a"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03056.html#ae91efdaa72ed01633da2f8fa2185408a">Type</a>·=·<a·class="el"·href="a03056.html#a9fb580f946834896c389e6c04d27675f">type</a></td></tr>84 <tr·class="memitem:ae91efdaa72ed01633da2f8fa2185408a"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03056.html#ae91efdaa72ed01633da2f8fa2185408a">Type</a>·=·<a·class="el"·href="a03056.html#a9fb580f946834896c389e6c04d27675f">type</a></td></tr>
Offset 126, 15 lines modifiedOffset 126, 15 lines modified
  
126 <p>Export·type·of·i-th·element·in·TypeList.·</p>126 <p>Export·type·of·i-th·element·in·TypeList.·</p>
127 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000021">Todo:</a></b></dt><dd>Implement·without·using·std::tuple.·</dd></dl>127 <dl·class="todo"><dt><b><a·class="el"·href="a00395.html#_todo000021">Todo:</a></b></dt><dd>Implement·without·using·std::tuple.·</dd></dl>
  
128 </div>128 </div>
129 </div>129 </div>
130 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>130 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
131 <li><a·class="el"·href="a00347_source.html">typelist.hh</a></li>131 <li><a·class="el"·href="a00032_source.html">typelist.hh</a></li>
132 </ul>132 </ul>
133 </div><!--·contents·-->133 </div><!--·contents·-->
134 <!--·start·footer·part·-->134 <!--·start·footer·part·-->
135 <hr·class="footer"/><address·class="footer"><small>135 <hr·class="footer"/><address·class="footer"><small>
136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4136 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
137 </small></address>137 </small></address>
138 </body>138 </body>
1.38 KB
./usr/share/doc/libdune-common-doc/doxygen/a03084.html
    
Offset 69, 19 lines modifiedOffset 69, 19 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::Empty·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::Empty·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Just·an·empty·class.··72 <p>Just·an·empty·class.··
73 ·<a·href="a03084.html#details">More...</a></p>73 ·<a·href="a03084.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><p·>Just·an·empty·class.·</p>76 <div·class="textblock"><p·>Just·an·empty·class.·</p>
77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>77 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
78 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>78 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
79 </ul>79 </ul>
80 </div><!--·contents·-->80 </div><!--·contents·-->
81 <!--·start·footer·part·-->81 <!--·start·footer·part·-->
82 <hr·class="footer"/><address·class="footer"><small>82 <hr·class="footer"/><address·class="footer"><small>
83 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.483 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
84 </small></address>84 </small></address>
85 </body>85 </body>
2.33 KB
./usr/share/doc/libdune-common-doc/doxygen/a03088.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::IsInteroperable&lt;·T1,·T2·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::IsInteroperable&lt;·T1,·T2·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Checks·whether·two·types·are·interoperable.··75 <p>Checks·whether·two·types·are·interoperable.··
76 ·<a·href="a03088.html#details">More...</a></p>76 ·<a·href="a03088.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
80 Static·Public·Attributes</h2></td></tr>80 Static·Public·Attributes</h2></td></tr>
81 <tr·class="memitem:ad72797bbca9b1a1c6db62e076608b8d6"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03088.html#ad72797bbca9b1a1c6db62e076608b8d6">value</a>·=·std::is_convertible&lt;T1,T2&gt;::value·||·std::is_convertible&lt;T2,T1&gt;::value</td></tr>81 <tr·class="memitem:ad72797bbca9b1a1c6db62e076608b8d6"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·bool&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03088.html#ad72797bbca9b1a1c6db62e076608b8d6">value</a>·=·std::is_convertible&lt;T1,T2&gt;::value·||·std::is_convertible&lt;T2,T1&gt;::value</td></tr>
82 <tr·class="memdesc:ad72797bbca9b1a1c6db62e076608b8d6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·either·a·conversion·from·T1·to·T2·or·vice·versa·exists.··<a·href="a03088.html#ad72797bbca9b1a1c6db62e076608b8d6">More...</a><br·/></td></tr>82 <tr·class="memdesc:ad72797bbca9b1a1c6db62e076608b8d6"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">True·if·either·a·conversion·from·T1·to·T2·or·vice·versa·exists.··<a·href="a03088.html#ad72797bbca9b1a1c6db62e076608b8d6">More...</a><br·/></td></tr>
83 <tr·class="separator:ad72797bbca9b1a1c6db62e076608b8d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>83 <tr·class="separator:ad72797bbca9b1a1c6db62e076608b8d6"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
84 </table>84 </table>
Offset 112, 15 lines modifiedOffset 112, 15 lines modified
112 </div><div·class="memdoc">112 </div><div·class="memdoc">
  
113 <p>True·if·either·a·conversion·from·T1·to·T2·or·vice·versa·exists.·</p>113 <p>True·if·either·a·conversion·from·T1·to·T2·or·vice·versa·exists.·</p>
  
114 </div>114 </div>
115 </div>115 </div>
116 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>116 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
117 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>117 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
118 </ul>118 </ul>
119 </div><!--·contents·-->119 </div><!--·contents·-->
120 <!--·start·footer·part·-->120 <!--·start·footer·part·-->
121 <hr·class="footer"/><address·class="footer"><small>121 <hr·class="footer"/><address·class="footer"><small>
122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4122 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
123 </small></address>123 </small></address>
124 </body>124 </body>
2.41 KB
./usr/share/doc/libdune-common-doc/doxygen/a03092.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Enable·typedef·if·two·types·are·interoperable.··72 <p>Enable·typedef·if·two·types·are·interoperable.··
73 ·<a·href="a03092.html#details">More...</a></p>73 ·<a·href="a03092.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;:</div>76 Inheritance·diagram·for·Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03091.png"·border="0"·usemap="#a_dune_1_1_enable_if_inter_operable_3_01_t1_00_01_t2_00_01_type_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03091.png"·border="0"·usemap="#a_dune_1_1_enable_if_inter_operable_3_01_t1_00_01_t2_00_01_type_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_enable_if_inter_operable_3_01_t1_00_01_t2_00_01_type_01_4_inherit__map"·id="a_dune_1_1_enable_if_inter_operable_3_01_t1_00_01_t2_00_01_type_01_4_inherit__map">79 <map·name="a_dune_1_1_enable_if_inter_operable_3_01_t1_00_01_t2_00_01_type_01_4_inherit__map"·id="a_dune_1_1_enable_if_inter_operable_3_01_t1_00_01_t2_00_01_type_01_4_inherit__map">
80 <area·shape="rect"·title="Enable·typedef·if·two·types·are·interoperable."·alt=""·coords="11,95,198,136"/>80 <area·shape="rect"·title="Enable·typedef·if·two·types·are·interoperable."·alt=""·coords="11,95,198,136"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,204,47"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,204,47"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T1,·class·T2,·class·Type&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T1,·class·T2,·class·Type&gt;<br·/>
86 struct·Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;</div><p·>Enable·typedef·if·two·types·are·interoperable.·</p>86 struct·Dune::EnableIfInterOperable&lt;·T1,·T2,·Type·&gt;</div><p·>Enable·typedef·if·two·types·are·interoperable.·</p>
87 <p·>(also·see·<a·class="el"·href="a03088.html"·title="Checks·whether·two·types·are·interoperable.">IsInteroperable</a>)·</p>87 <p·>(also·see·<a·class="el"·href="a03088.html"·title="Checks·whether·two·types·are·interoperable.">IsInteroperable</a>)·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.77 KB
./usr/share/doc/libdune-common-doc/doxygen/a03096.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::AlwaysFalse&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::AlwaysFalse&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>template·which·always·yields·a·false·value··72 <p>template·which·always·yields·a·false·value··
73 ·<a·href="a03096.html#details">More...</a></p>73 ·<a·href="a03096.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::AlwaysFalse&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::AlwaysFalse&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03095.png"·border="0"·usemap="#a_dune_1_1_always_false_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03095.png"·border="0"·usemap="#a_dune_1_1_always_false_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_always_false_3_01_t_01_4_inherit__map"·id="a_dune_1_1_always_false_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_always_false_3_01_t_01_4_inherit__map"·id="a_dune_1_1_always_false_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="template·which·always·yields·a·false·value"·alt=""·coords="5,80,172,107"/>80 <area·shape="rect"·title="template·which·always·yields·a·false·value"·alt=""·coords="5,80,172,107"/>
81 <area·shape="rect"·title="·"·alt=""·coords="35,5,143,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="35,5,143,32"/>
Offset 107, 15 lines modifiedOffset 107, 15 lines modified
107 <div·class="line">·····················<span·class="stringliteral">&quot;error.··You·should·use·one·of·the·specializations·&quot;</span></div>107 <div·class="line">·····················<span·class="stringliteral">&quot;error.··You·should·use·one·of·the·specializations·&quot;</span></div>
108 <div·class="line">·····················<span·class="stringliteral">&quot;instead.&quot;</span>);</div>108 <div·class="line">·····················<span·class="stringliteral">&quot;instead.&quot;</span>);</div>
109 <div·class="line">··<span·class="keyword">typedef</span>·<span·class="keywordtype">void</span>·FrobnicateType;</div>109 <div·class="line">··<span·class="keyword">typedef</span>·<span·class="keywordtype">void</span>·FrobnicateType;</div>
110 <div·class="line">};</div>110 <div·class="line">};</div>
111 <div·class="ttc"·id="aa03096_html"><div·class="ttname"><a·href="a03096.html">Dune::AlwaysFalse</a></div><div·class="ttdoc">template·which·always·yields·a·false·value</div><div·class="ttdef"><b>Definition:</b>·typetraits.hh:124</div></div>111 <div·class="ttc"·id="aa03096_html"><div·class="ttname"><a·href="a03096.html">Dune::AlwaysFalse</a></div><div·class="ttdoc">template·which·always·yields·a·false·value</div><div·class="ttdef"><b>Definition:</b>·typetraits.hh:124</div></div>
112 </div><!--·fragment·--><p>·Since·there·might·be·an·specialization·of·<a·class="el"·href="a03096.html"·title="template·which·always·yields·a·false·value">AlwaysFalse</a>·for·template·parameter·T,·the·compiler·cannot·trigger·static_assert()·until·the·type·of·T·is·known,·that·is,·until·Traits&lt;T&gt;·is·instantiated.·</p>112 </div><!--·fragment·--><p>·Since·there·might·be·an·specialization·of·<a·class="el"·href="a03096.html"·title="template·which·always·yields·a·false·value">AlwaysFalse</a>·for·template·parameter·T,·the·compiler·cannot·trigger·static_assert()·until·the·type·of·T·is·known,·that·is,·until·Traits&lt;T&gt;·is·instantiated.·</p>
113 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>113 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
114 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>114 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
115 </ul>115 </ul>
116 </div><!--·contents·-->116 </div><!--·contents·-->
117 <!--·start·footer·part·-->117 <!--·start·footer·part·-->
118 <hr·class="footer"/><address·class="footer"><small>118 <hr·class="footer"/><address·class="footer"><small>
119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4119 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
120 </small></address>120 </small></address>
121 </body>121 </body>
2.32 KB
./usr/share/doc/libdune-common-doc/doxygen/a03100.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::AlwaysTrue&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::AlwaysTrue&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>template·which·always·yields·a·true·value··72 <p>template·which·always·yields·a·true·value··
73 ·<a·href="a03100.html#details">More...</a></p>73 ·<a·href="a03100.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::AlwaysTrue&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::AlwaysTrue&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03099.png"·border="0"·usemap="#a_dune_1_1_always_true_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03099.png"·border="0"·usemap="#a_dune_1_1_always_true_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_always_true_3_01_t_01_4_inherit__map"·id="a_dune_1_1_always_true_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_always_true_3_01_t_01_4_inherit__map"·id="a_dune_1_1_always_true_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="template·which·always·yields·a·true·value"·alt=""·coords="5,80,164,107"/>80 <area·shape="rect"·title="template·which·always·yields·a·true·value"·alt=""·coords="5,80,164,107"/>
81 <area·shape="rect"·title="·"·alt=""·coords="33,5,136,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="33,5,136,32"/>
Offset 90, 15 lines modifiedOffset 90, 15 lines modified
90 ··<table·class="tparams">90 ··<table·class="tparams">
91 ····<tr><td·class="paramname">T</td><td>Some·type.·It·should·be·a·type·expression·involving·template·parameters·of·the·class·or·function·using·<a·class="el"·href="a03100.html"·title="template·which·always·yields·a·true·value">AlwaysTrue</a>.</td></tr>91 ····<tr><td·class="paramname">T</td><td>Some·type.·It·should·be·a·type·expression·involving·template·parameters·of·the·class·or·function·using·<a·class="el"·href="a03100.html"·title="template·which·always·yields·a·true·value">AlwaysTrue</a>.</td></tr>
92 ··</table>92 ··</table>
93 ··</dd>93 ··</dd>
94 </dl>94 </dl>
95 <dl·class="section·note"><dt>Note</dt><dd>This·class·exists·mostly·for·consistency·with·<a·class="el"·href="a03096.html"·title="template·which·always·yields·a·false·value">AlwaysFalse</a>.·</dd></dl>95 <dl·class="section·note"><dt>Note</dt><dd>This·class·exists·mostly·for·consistency·with·<a·class="el"·href="a03096.html"·title="template·which·always·yields·a·false·value">AlwaysFalse</a>.·</dd></dl>
96 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>96 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
97 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>97 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
98 </ul>98 </ul>
99 </div><!--·contents·-->99 </div><!--·contents·-->
100 <!--·start·footer·part·-->100 <!--·start·footer·part·-->
101 <hr·class="footer"/><address·class="footer"><small>101 <hr·class="footer"/><address·class="footer"><small>
102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4102 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
103 </small></address>103 </small></address>
104 </body>104 </body>
1.73 KB
./usr/share/doc/libdune-common-doc/doxygen/a03104.html
    
Offset 85, 15 lines modifiedOffset 85, 15 lines modified
85 <p>If·<code>D·=·F(Args...)</code>·this·checks·if·F·can·be·called·with·an·argument·list·of·type·<code>Args...</code>,·and·if·the·return·value·can·be·converted·to·R.·If·R·is·<code>void</code>,·any·return·type·is·accepted.</p>85 <p>If·<code>D·=·F(Args...)</code>·this·checks·if·F·can·be·called·with·an·argument·list·of·type·<code>Args...</code>,·and·if·the·return·value·can·be·converted·to·R.·If·R·is·<code>void</code>,·any·return·type·is·accepted.</p>
86 <p·>The·result·is·encoded·by·deriving·from·either·<code>std::true_type</code>·or·<code>std::false_type</code></p>86 <p·>The·result·is·encoded·by·deriving·from·either·<code>std::true_type</code>·or·<code>std::false_type</code></p>
87 <p·>If·D·is·not·of·the·form·<code>F(Args...)</code>·this·class·is·not·defined.</p>87 <p·>If·D·is·not·of·the·form·<code>F(Args...)</code>·this·class·is·not·defined.</p>
88 <dl·class="section·note"><dt>Note</dt><dd>This·differs·from·<code>std::invocable_r</code>·in·the·way·that·only·<code>FunctionObject</code>·types·are·allowed·here·while·<code>std::invocable_r</code>·also·accepts·pointers·to·member·functions·and·pointers·to·data·members·(i.e.·more·general·<code>Callable</code>·types)·</dd>88 <dl·class="section·note"><dt>Note</dt><dd>This·differs·from·<code>std::invocable_r</code>·in·the·way·that·only·<code>FunctionObject</code>·types·are·allowed·here·while·<code>std::invocable_r</code>·also·accepts·pointers·to·member·functions·and·pointers·to·data·members·(i.e.·more·general·<code>Callable</code>·types)·</dd>
89 <dd>89 <dd>
90 See·<a·href="https://en.cppreference.com/w/cpp/named_req/FunctionObject">https://en.cppreference.com/w/cpp/named_req/FunctionObject</a>·for·the·description·of·the·named·requirement·<code>FunctionObject</code>·and·<a·href="https://en.cppreference.com/w/cpp/named_req/Callable">https://en.cppreference.com/w/cpp/named_req/Callable</a>·for·<code>Callable</code>.·</dd></dl>90 See·<a·href="https://en.cppreference.com/w/cpp/named_req/FunctionObject">https://en.cppreference.com/w/cpp/named_req/FunctionObject</a>·for·the·description·of·the·named·requirement·<code>FunctionObject</code>·and·<a·href="https://en.cppreference.com/w/cpp/named_req/Callable">https://en.cppreference.com/w/cpp/named_req/Callable</a>·for·<code>Callable</code>.·</dd></dl>
91 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>91 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
92 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>92 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
93 </ul>93 </ul>
94 </div><!--·contents·-->94 </div><!--·contents·-->
95 <!--·start·footer·part·-->95 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>96 <hr·class="footer"/><address·class="footer"><small>
97 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.497 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
98 </small></address>98 </small></address>
99 </body>99 </body>
2.3 KB
./usr/share/doc/libdune-common-doc/doxygen/a03108.html
    
Offset 69, 29 lines modifiedOffset 69, 29 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsCallable&lt;·F(Args...),·R·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsCallable&lt;·F(Args...),·R·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Check·if·a·type·is·callable·with·()-operator·and·given·arguments.··72 <p>Check·if·a·type·is·callable·with·()-operator·and·given·arguments.··
73 ·<a·href="a03108.html#details">More...</a></p>73 ·<a·href="a03108.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsCallable&lt;·F(Args...),·R·&gt;:</div>76 Inheritance·diagram·for·Dune::IsCallable&lt;·F(Args...),·R·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03107.png"·border="0"·usemap="#a_dune_1_1_is_callable_3_01_f_07_args_8_8_8_08_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03107.png"·border="0"·usemap="#a_dune_1_1_is_callable_3_01_f_07_args_8_8_8_08_00_01_r_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_callable_3_01_f_07_args_8_8_8_08_00_01_r_01_4_inherit__map"·id="a_dune_1_1_is_callable_3_01_f_07_args_8_8_8_08_00_01_r_01_4_inherit__map">79 <map·name="a_dune_1_1_is_callable_3_01_f_07_args_8_8_8_08_00_01_r_01_4_inherit__map"·id="a_dune_1_1_is_callable_3_01_f_07_args_8_8_8_08_00_01_r_01_4_inherit__map">
80 <area·shape="rect"·title="Check·if·a·type·is·callable·with·()&#45;operator·and·given·arguments."·alt=""·coords="237,27,376,69"/>80 <area·shape="rect"·title="Check·if·a·type·is·callable·with·()&#45;operator·and·given·arguments."·alt=""·coords="237,27,376,69"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,189,91"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,189,91"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·R,·typename·F,·typename...·Args&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·R,·typename·F,·typename...·Args&gt;<br·/>
86 struct·Dune::IsCallable&lt;·F(Args...),·R·&gt;</div><p·>Check·if·a·type·is·callable·with·()-operator·and·given·arguments.·</p>86 struct·Dune::IsCallable&lt;·F(Args...),·R·&gt;</div><p·>Check·if·a·type·is·callable·with·()-operator·and·given·arguments.·</p>
87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
88 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>88 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
89 </ul>89 </ul>
90 </div><!--·contents·-->90 </div><!--·contents·-->
91 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
92 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
93 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.493 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
94 </small></address>94 </small></address>
95 </body>95 </body>
2.14 KB
./usr/share/doc/libdune-common-doc/doxygen/a03112.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::HasNaN&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::HasNaN&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Whether·this·type·has·a·value·of·NaN.··72 <p>Whether·this·type·has·a·value·of·NaN.··
73 ·<a·href="a03112.html#details">More...</a></p>73 ·<a·href="a03112.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::HasNaN&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::HasNaN&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03111.png"·border="0"·usemap="#a_dune_1_1_has_na_n_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03111.png"·border="0"·usemap="#a_dune_1_1_has_na_n_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_has_na_n_3_01_t_01_4_inherit__map"·id="a_dune_1_1_has_na_n_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_has_na_n_3_01_t_01_4_inherit__map"·id="a_dune_1_1_has_na_n_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="Whether·this·type·has·a·value·of·NaN."·alt=""·coords="9,109,153,136"/>80 <area·shape="rect"·title="Whether·this·type·has·a·value·of·NaN."·alt=""·coords="9,109,153,136"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,156,61"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,156,61"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T&gt;<br·/>
86 struct·Dune::HasNaN&lt;·T·&gt;</div><p·>Whether·this·type·has·a·value·of·NaN.·</p>86 struct·Dune::HasNaN&lt;·T·&gt;</div><p·>Whether·this·type·has·a·value·of·NaN.·</p>
87 <p·>Internally,·this·is·just·a·forward·to·<code>std::is_floating_point&lt;T&gt;</code>.·</p>87 <p·>Internally,·this·is·just·a·forward·to·<code>std::is_floating_point&lt;T&gt;</code>.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.55 KB
./usr/share/doc/libdune-common-doc/doxygen/a03116.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsIndexable&lt;·T,·I·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsIndexable&lt;·T,·I·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),·i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.··72 <p>Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),·i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.··
73 ·<a·href="a03116.html#details">More...</a></p>73 ·<a·href="a03116.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsIndexable&lt;·T,·I·&gt;:</div>76 Inheritance·diagram·for·Dune::IsIndexable&lt;·T,·I·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03115.png"·border="0"·usemap="#a_dune_1_1_is_indexable_3_01_t_00_01_i_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03115.png"·border="0"·usemap="#a_dune_1_1_is_indexable_3_01_t_00_01_i_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_indexable_3_01_t_00_01_i_01_4_inherit__map"·id="a_dune_1_1_is_indexable_3_01_t_00_01_i_01_4_inherit__map">79 <map·name="a_dune_1_1_is_indexable_3_01_t_00_01_i_01_4_inherit__map"·id="a_dune_1_1_is_indexable_3_01_t_00_01_i_01_4_inherit__map">
80 <area·shape="rect"·title="Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),·i.e.·whether·it·can·be·indexed..."·alt=""·coords="5,95,140,136"/>80 <area·shape="rect"·title="Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),·i.e.·whether·it·can·be·indexed..."·alt=""·coords="5,95,140,136"/>
81 <area·shape="rect"·title="·"·alt=""·coords="8,5,137,47"/>81 <area·shape="rect"·title="·"·alt=""·coords="8,5,137,47"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·I·=·std::size_t&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·I·=·std::size_t&gt;<br·/>
86 struct·Dune::IsIndexable&lt;·T,·I·&gt;</div><p·>Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),·i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.·</p>86 struct·Dune::IsIndexable&lt;·T,·I·&gt;</div><p·>Type·trait·to·determine·whether·an·instance·of·T·has·an·operator[](I),·i.e.·whether·it·can·be·indexed·with·an·index·of·type·I.·</p>
87 <dl·class="section·warning"><dt>Warning</dt><dd>Not·all·compilers·support·testing·for·arbitrary·index·types.·In·particular,·there·are·problems·with·GCC·4.4·and·4.5.·</dd></dl>87 <dl·class="section·warning"><dt>Warning</dt><dd>Not·all·compilers·support·testing·for·arbitrary·index·types.·In·particular,·there·are·problems·with·GCC·4.4·and·4.5.·</dd></dl>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.23 KB
./usr/share/doc/libdune-common-doc/doxygen/a03120.html
    
Offset 69, 29 lines modifiedOffset 69, 29 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsIterable&lt;·T,·typename·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsIterable&lt;·T,·typename·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>typetrait·to·check·that·a·class·has·begin()·and·end()·members··72 <p>typetrait·to·check·that·a·class·has·begin()·and·end()·members··
73 ·<a·href="a03120.html#details">More...</a></p>73 ·<a·href="a03120.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsIterable&lt;·T,·typename·&gt;:</div>76 Inheritance·diagram·for·Dune::IsIterable&lt;·T,·typename·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03119.png"·border="0"·usemap="#a_dune_1_1_is_iterable_3_01_t_00_01typename_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03119.png"·border="0"·usemap="#a_dune_1_1_is_iterable_3_01_t_00_01typename_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_iterable_3_01_t_00_01typename_01_4_inherit__map"·id="a_dune_1_1_is_iterable_3_01_t_00_01typename_01_4_inherit__map">79 <map·name="a_dune_1_1_is_iterable_3_01_t_00_01typename_01_4_inherit__map"·id="a_dune_1_1_is_iterable_3_01_t_00_01typename_01_4_inherit__map">
80 <area·shape="rect"·title="typetrait·to·check·that·a·class·has·begin()·and·end()·members"·alt=""·coords="5,80,144,121"/>80 <area·shape="rect"·title="typetrait·to·check·that·a·class·has·begin()·and·end()·members"·alt=""·coords="5,80,144,121"/>
81 <area·shape="rect"·title="·"·alt=""·coords="21,5,129,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="21,5,129,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·=·void&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;typename·T,·typename·=·void&gt;<br·/>
86 struct·Dune::IsIterable&lt;·T,·typename·&gt;</div><p·>typetrait·to·check·that·a·class·has·begin()·and·end()·members·</p>86 struct·Dune::IsIterable&lt;·T,·typename·&gt;</div><p·>typetrait·to·check·that·a·class·has·begin()·and·end()·members·</p>
87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>87 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
88 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>88 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
89 </ul>89 </ul>
90 </div><!--·contents·-->90 </div><!--·contents·-->
91 <!--·start·footer·part·-->91 <!--·start·footer·part·-->
92 <hr·class="footer"/><address·class="footer"><small>92 <hr·class="footer"/><address·class="footer"><small>
93 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.493 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
94 </small></address>94 </small></address>
95 </body>95 </body>
2.13 KB
./usr/share/doc/libdune-common-doc/doxygen/a03124.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsTuple&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsTuple&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Check·if·T·is·a·std::tuple&lt;...&gt;··72 <p>Check·if·T·is·a·std::tuple&lt;...&gt;··
73 ·<a·href="a03124.html#details">More...</a></p>73 ·<a·href="a03124.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsTuple&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::IsTuple&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03123.png"·border="0"·usemap="#a_dune_1_1_is_tuple_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03123.png"·border="0"·usemap="#a_dune_1_1_is_tuple_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_tuple_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_tuple_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_is_tuple_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_tuple_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="Check·if·T·is·a·std::tuple&lt;...&gt;"·alt=""·coords="5,80,140,107"/>80 <area·shape="rect"·title="Check·if·T·is·a·std::tuple&lt;...&gt;"·alt=""·coords="5,80,140,107"/>
81 <area·shape="rect"·title="·"·alt=""·coords="8,5,137,32"/>81 <area·shape="rect"·title="·"·alt=""·coords="8,5,137,32"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
86 struct·Dune::IsTuple&lt;·T·&gt;</div><p·>Check·if·T·is·a·std::tuple&lt;...&gt;·</p>86 struct·Dune::IsTuple&lt;·T·&gt;</div><p·>Check·if·T·is·a·std::tuple&lt;...&gt;·</p>
87 <p·>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>87 <p·>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a03128.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsTupleOrDerived&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsTupleOrDerived&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Check·if·T·derived·from·a·std::tuple&lt;...&gt;··72 <p>Check·if·T·derived·from·a·std::tuple&lt;...&gt;··
73 ·<a·href="a03128.html#details">More...</a></p>73 ·<a·href="a03128.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsTupleOrDerived&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::IsTupleOrDerived&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03127.png"·border="0"·usemap="#a_dune_1_1_is_tuple_or_derived_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03127.png"·border="0"·usemap="#a_dune_1_1_is_tuple_or_derived_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_tuple_or_derived_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_tuple_or_derived_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_is_tuple_or_derived_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_tuple_or_derived_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="Check·if·T·derived·from·a·std::tuple&lt;...&gt;"·alt=""·coords="98,95,291,121"/>80 <area·shape="rect"·title="Check·if·T·derived·from·a·std::tuple&lt;...&gt;"·alt=""·coords="98,95,291,121"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,227,47"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,227,47"/>
Offset 85, 15 lines modifiedOffset 85, 15 lines modified
85 </map>85 </map>
86 </div>86 </div>
87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>87 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
88 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>88 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
89 struct·Dune::IsTupleOrDerived&lt;·T·&gt;</div><p·>Check·if·T·derived·from·a·std::tuple&lt;...&gt;·</p>89 struct·Dune::IsTupleOrDerived&lt;·T·&gt;</div><p·>Check·if·T·derived·from·a·std::tuple&lt;...&gt;·</p>
90 <p·>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>90 <p·>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>
91 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>91 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
92 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>92 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
93 </ul>93 </ul>
94 </div><!--·contents·-->94 </div><!--·contents·-->
95 <!--·start·footer·part·-->95 <!--·start·footer·part·-->
96 <hr·class="footer"/><address·class="footer"><small>96 <hr·class="footer"/><address·class="footer"><small>
97 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.497 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
98 </small></address>98 </small></address>
99 </body>99 </body>
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a03132.html
    
Offset 69, 30 lines modifiedOffset 69, 30 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::IsIntegralConstant&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::IsIntegralConstant&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;··72 <p>Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;··
73 ·<a·href="a03132.html#details">More...</a></p>73 ·<a·href="a03132.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::IsIntegralConstant&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::IsIntegralConstant&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03131.png"·border="0"·usemap="#a_dune_1_1_is_integral_constant_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03131.png"·border="0"·usemap="#a_dune_1_1_is_integral_constant_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_is_integral_constant_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_integral_constant_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_is_integral_constant_3_01_t_01_4_inherit__map"·id="a_dune_1_1_is_integral_constant_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;"·alt=""·coords="5,95,205,121"/>80 <area·shape="rect"·title="Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;"·alt=""·coords="5,95,205,121"/>
81 <area·shape="rect"·title="·"·alt=""·coords="24,5,187,47"/>81 <area·shape="rect"·title="·"·alt=""·coords="24,5,187,47"/>
82 </map>82 </map>
83 </div>83 </div>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>85 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·T&gt;<br·/>
86 struct·Dune::IsIntegralConstant&lt;·T·&gt;</div><p·>Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;·</p>86 struct·Dune::IsIntegralConstant&lt;·T·&gt;</div><p·>Check·if·T·is·an·std::integral_constant&lt;I,·i&gt;·</p>
87 <p·>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>87 <p·>The·result·is·exported·by·deriving·from·std::true_type·or·std::false_type.·</p>
88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>88 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
89 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>89 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
90 </ul>90 </ul>
91 </div><!--·contents·-->91 </div><!--·contents·-->
92 <!--·start·footer·part·-->92 <!--·start·footer·part·-->
93 <hr·class="footer"/><address·class="footer"><small>93 <hr·class="footer"/><address·class="footer"><small>
94 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.494 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
95 </small></address>95 </small></address>
96 </body>96 </body>
2.37 KB
./usr/share/doc/libdune-common-doc/doxygen/a03136.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">Dune::SizeOf&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>69 ··<div·class="headertitle"><div·class="title">Dune::SizeOf&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Compute·size·of·variadic·type·list.··72 <p>Compute·size·of·variadic·type·list.··
73 ·<a·href="a03136.html#details">More...</a></p>73 ·<a·href="a03136.html#details">More...</a></p>
  
74 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>74 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
75 <div·class="dynheader">75 <div·class="dynheader">
76 Inheritance·diagram·for·Dune::SizeOf&lt;·T·&gt;:</div>76 Inheritance·diagram·for·Dune::SizeOf&lt;·T·&gt;:</div>
77 <div·class="dyncontent">77 <div·class="dyncontent">
78 <div·class="center"><img·src="a03135.png"·border="0"·usemap="#a_dune_1_1_size_of_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>78 <div·class="center"><img·src="a03135.png"·border="0"·usemap="#a_dune_1_1_size_of_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
79 <map·name="a_dune_1_1_size_of_3_01_t_01_4_inherit__map"·id="a_dune_1_1_size_of_3_01_t_01_4_inherit__map">79 <map·name="a_dune_1_1_size_of_3_01_t_01_4_inherit__map"·id="a_dune_1_1_size_of_3_01_t_01_4_inherit__map">
80 <area·shape="rect"·title="Compute·size·of·variadic·type·list."·alt=""·coords="25,95,157,121"/>80 <area·shape="rect"·title="Compute·size·of·variadic·type·list."·alt=""·coords="25,95,157,121"/>
81 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,47"/>81 <area·shape="rect"·title="·"·alt=""·coords="5,5,176,47"/>
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ····<tr><td·class="paramname">T</td><td>Variadic·type·list</td></tr>91 ····<tr><td·class="paramname">T</td><td>Variadic·type·list</td></tr>
92 ··</table>92 ··</table>
93 ··</dd>93 ··</dd>
94 </dl>94 </dl>
95 <p>The·::value·member·gives·the·size·of·the·variadic·type·list·T...·This·should·be·equivalent·to·sizeof...(T).·However,·with·clang·the·latter·may·produce·wrong·results·if·used·in·template·aliases·due·to·clang·bug·14858·(<a·href="https://llvm.org/bugs/show_bug.cgi?id=14858">https://llvm.org/bugs/show_bug.cgi?id=14858</a>).</p>95 <p>The·::value·member·gives·the·size·of·the·variadic·type·list·T...·This·should·be·equivalent·to·sizeof...(T).·However,·with·clang·the·latter·may·produce·wrong·results·if·used·in·template·aliases·due·to·clang·bug·14858·(<a·href="https://llvm.org/bugs/show_bug.cgi?id=14858">https://llvm.org/bugs/show_bug.cgi?id=14858</a>).</p>
96 <p·>As·a·workaround·one·can·use·SizeOf&lt;T...&gt;::value·instead·of·sizeof...(T)·in·template·aliases·for·any·code·that·should·work·with·clang·&lt;·3.8.·</p>96 <p·>As·a·workaround·one·can·use·SizeOf&lt;T...&gt;::value·instead·of·sizeof...(T)·in·template·aliases·for·any·code·that·should·work·with·clang·&lt;·3.8.·</p>
97 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>97 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
98 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>98 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
99 </ul>99 </ul>
100 </div><!--·contents·-->100 </div><!--·contents·-->
101 <!--·start·footer·part·-->101 <!--·start·footer·part·-->
102 <hr·class="footer"/><address·class="footer"><small>102 <hr·class="footer"/><address·class="footer"><small>
103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4103 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
104 </small></address>104 </small></address>
105 </body>105 </body>
1.19 KB
./usr/share/doc/libdune-common-doc/doxygen/a03140.html
    
Offset 73, 15 lines modifiedOffset 73, 15 lines modified
73 <p>Get·entry·of·std::integer_sequence.··73 <p>Get·entry·of·std::integer_sequence.··
74 ·<a·href="a03140.html#details">More...</a></p>74 ·<a·href="a03140.html#details">More...</a></p>
75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>75 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
76 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·IntegerSequence,·std::size_t·index&gt;<br·/>76 <div·class="textblock"><div·class="compoundTemplParams">template&lt;class·IntegerSequence,·std::size_t·index&gt;<br·/>
77 struct·Dune::IntegerSequenceEntry&lt;·IntegerSequence,·index·&gt;</div><p·>Get·entry·of·std::integer_sequence.·</p>77 struct·Dune::IntegerSequenceEntry&lt;·IntegerSequence,·index·&gt;</div><p·>Get·entry·of·std::integer_sequence.·</p>
78 <p·>Computes·the·i-th·entry·of·the·integer_sequence.·The·result·is·exported·as·::value·by·deriving·form·std::integral_constant&lt;std::size_t,·entry&gt;.·</p>78 <p·>Computes·the·i-th·entry·of·the·integer_sequence.·The·result·is·exported·as·::value·by·deriving·form·std::integral_constant&lt;std::size_t,·entry&gt;.·</p>
79 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>79 </div><hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
80 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>80 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
81 </ul>81 </ul>
82 </div><!--·contents·-->82 </div><!--·contents·-->
83 <!--·start·footer·part·-->83 <!--·start·footer·part·-->
84 <hr·class="footer"/><address·class="footer"><small>84 <hr·class="footer"/><address·class="footer"><small>
85 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.485 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
86 </small></address>86 </small></address>
87 </body>87 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a03144.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Type·free·of·internal·references·that·<code>T</code>·can·be·converted·to.··75 <p>Type·free·of·internal·references·that·<code>T</code>·can·be·converted·to.··
76 ·<a·href="a03144.html#details">More...</a></p>76 ·<a·href="a03144.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&gt;:</div>79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a03143.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a03143.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_autonomous_value_type_3_01_t_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01_t_01_4_inherit__map">82 <map·name="a_dune_1_1_autonomous_value_type_3_01_t_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01_t_01_4_inherit__map">
83 <area·shape="rect"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,177,232,203"/>83 <area·shape="rect"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,177,232,203"/>
84 <area·shape="rect"·href="a03148.html"·title="Specialization·to·remove·lvalue·references."·alt=""·coords="417,5,612,47"/>84 <area·shape="rect"·href="a03148.html"·title="Specialization·to·remove·lvalue·references."·alt=""·coords="417,5,612,47"/>
Offset 118, 15 lines modifiedOffset 118, 15 lines modified
118 ········</tr>118 ········</tr>
119 ······</table>119 ······</table>
120 </div><div·class="memdoc">120 </div><div·class="memdoc">
  
121 </div>121 </div>
122 </div>122 </div>
123 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>123 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>124 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
125 </ul>125 </ul>
126 </div><!--·contents·-->126 </div><!--·contents·-->
127 <!--·start·footer·part·-->127 <!--·start·footer·part·-->
128 <hr·class="footer"/><address·class="footer"><small>128 <hr·class="footer"/><address·class="footer"><small>
129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
130 </small></address>130 </small></address>
131 </body>131 </body>
2.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a03148.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·T·&amp;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·T·&amp;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Specialization·to·remove·lvalue·references.··75 <p>Specialization·to·remove·lvalue·references.··
76 ·<a·href="a03148.html#details">More...</a></p>76 ·<a·href="a03148.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&amp;·&gt;:</div>79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&amp;·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a03147.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01_t_01_6_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a03147.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01_t_01_6_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_autonomous_value_type_3_01_t_01_6_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01_t_01_6_01_4_inherit__map">82 <map·name="a_dune_1_1_autonomous_value_type_3_01_t_01_6_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01_t_01_6_01_4_inherit__map">
83 <area·shape="rect"·title="Specialization·to·remove·lvalue·references."·alt=""·coords="21,80,216,121"/>83 <area·shape="rect"·title="Specialization·to·remove·lvalue·references."·alt=""·coords="21,80,216,121"/>
84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 ··</tr>117 ··</tr>
118 </table>118 </table>
119 </div><div·class="memdoc">119 </div><div·class="memdoc">
  
120 </div>120 </div>
121 </div>121 </div>
122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
123 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
124 </ul>124 </ul>
125 </div><!--·contents·-->125 </div><!--·contents·-->
126 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
129 </small></address>129 </small></address>
130 </body>130 </body>
2.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a03152.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·T·&amp;&amp;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·T·&amp;&amp;·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Specialization·to·remove·rvalue·references.··75 <p>Specialization·to·remove·rvalue·references.··
76 ·<a·href="a03152.html#details">More...</a></p>76 ·<a·href="a03152.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&amp;&amp;·&gt;:</div>79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·T·&amp;&amp;·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a03151.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01_t_01_6_6_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a03151.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01_t_01_6_6_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_autonomous_value_type_3_01_t_01_6_6_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01_t_01_6_6_01_4_inherit__map">82 <map·name="a_dune_1_1_autonomous_value_type_3_01_t_01_6_6_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01_t_01_6_6_01_4_inherit__map">
83 <area·shape="rect"·title="Specialization·to·remove·rvalue·references."·alt=""·coords="21,80,216,121"/>83 <area·shape="rect"·title="Specialization·to·remove·rvalue·references."·alt=""·coords="21,80,216,121"/>
84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 ··</tr>117 ··</tr>
118 </table>118 </table>
119 </div><div·class="memdoc">119 </div><div·class="memdoc">
  
120 </div>120 </div>
121 </div>121 </div>
122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
123 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
124 </ul>124 </ul>
125 </div><!--·contents·-->125 </div><!--·contents·-->
126 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
129 </small></address>129 </small></address>
130 </body>130 </body>
2.05 KB
./usr/share/doc/libdune-common-doc/doxygen/a03156.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·const·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·const·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Specialization·to·remove·const·qualifiers.··75 <p>Specialization·to·remove·const·qualifiers.··
76 ·<a·href="a03156.html#details">More...</a></p>76 ·<a·href="a03156.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·const·T·&gt;:</div>79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·const·T·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a03155.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01const_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a03155.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01const_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_autonomous_value_type_3_01const_01_t_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01const_01_t_01_4_inherit__map">82 <map·name="a_dune_1_1_autonomous_value_type_3_01const_01_t_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01const_01_t_01_4_inherit__map">
83 <area·shape="rect"·title="Specialization·to·remove·const·qualifiers."·alt=""·coords="21,80,216,121"/>83 <area·shape="rect"·title="Specialization·to·remove·const·qualifiers."·alt=""·coords="21,80,216,121"/>
84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 ··</tr>117 ··</tr>
118 </table>118 </table>
119 </div><div·class="memdoc">119 </div><div·class="memdoc">
  
120 </div>120 </div>
121 </div>121 </div>
122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
123 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
124 </ul>124 </ul>
125 </div><!--·contents·-->125 </div><!--·contents·-->
126 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
129 </small></address>129 </small></address>
130 </body>130 </body>
2.07 KB
./usr/share/doc/libdune-common-doc/doxygen/a03160.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·volatile·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·volatile·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Specialization·to·remove·volatile·qualifiers.··75 <p>Specialization·to·remove·volatile·qualifiers.··
76 ·<a·href="a03160.html#details">More...</a></p>76 ·<a·href="a03160.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·volatile·T·&gt;:</div>79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·volatile·T·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a03159.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01volatile_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a03159.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01volatile_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_autonomous_value_type_3_01volatile_01_t_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01volatile_01_t_01_4_inherit__map">82 <map·name="a_dune_1_1_autonomous_value_type_3_01volatile_01_t_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01volatile_01_t_01_4_inherit__map">
83 <area·shape="rect"·title="Specialization·to·remove·volatile·qualifiers."·alt=""·coords="21,80,216,121"/>83 <area·shape="rect"·title="Specialization·to·remove·volatile·qualifiers."·alt=""·coords="21,80,216,121"/>
84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 ··</tr>117 ··</tr>
118 </table>118 </table>
119 </div><div·class="memdoc">119 </div><div·class="memdoc">
  
120 </div>120 </div>
121 </div>121 </div>
122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
123 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
124 </ul>124 </ul>
125 </div><!--·contents·-->125 </div><!--·contents·-->
126 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
129 </small></address>129 </small></address>
130 </body>130 </body>
2.04 KB
./usr/share/doc/libdune-common-doc/doxygen/a03164.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·std::vector&lt;·bool·&gt;::reference·&gt;·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·std::vector&lt;·bool·&gt;::reference·&gt;·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Specialization·for·the·proxies·of·<code>vector&lt;bool&gt;</code>··75 <p>Specialization·for·the·proxies·of·<code>vector&lt;bool&gt;</code>··
76 ·<a·href="a03164.html#details">More...</a></p>76 ·<a·href="a03164.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-types"·name="pub-types"></a>
80 Public·Types</h2></td></tr>80 Public·Types</h2></td></tr>
81 <tr·class="memitem:a1c5109740f4aae48f9d1cc7696c18ae8"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03164.html#a1c5109740f4aae48f9d1cc7696c18ae8">type</a>·=·bool</td></tr>81 <tr·class="memitem:a1c5109740f4aae48f9d1cc7696c18ae8"><td·class="memItemLeft"·align="right"·valign="top">using&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03164.html#a1c5109740f4aae48f9d1cc7696c18ae8">type</a>·=·bool</td></tr>
82 <tr·class="separator:a1c5109740f4aae48f9d1cc7696c18ae8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a1c5109740f4aae48f9d1cc7696c18ae8"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 97, 15 lines modifiedOffset 97, 15 lines modified
97 ········</tr>97 ········</tr>
98 ······</table>98 ······</table>
99 </div><div·class="memdoc">99 </div><div·class="memdoc">
  
100 </div>100 </div>
101 </div>101 </div>
102 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>102 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
103 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>103 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
104 </ul>104 </ul>
105 </div><!--·contents·-->105 </div><!--·contents·-->
106 <!--·start·footer·part·-->106 <!--·start·footer·part·-->
107 <hr·class="footer"/><address·class="footer"><small>107 <hr·class="footer"/><address·class="footer"><small>
108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4108 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
109 </small></address>109 </small></address>
110 </body>110 </body>
2.13 KB
./usr/share/doc/libdune-common-doc/doxygen/a03168.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·volatile·const·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::AutonomousValueType&lt;·volatile·const·T·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00406.html">C++·utilities·and·backports</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Specialization·to·remove·both·const·and·volatile·qualifiers.··75 <p>Specialization·to·remove·both·const·and·volatile·qualifiers.··
76 ·<a·href="a03168.html#details">More...</a></p>76 ·<a·href="a03168.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code></p>
78 <div·class="dynheader">78 <div·class="dynheader">
79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·volatile·const·T·&gt;:</div>79 Inheritance·diagram·for·Dune::AutonomousValueType&lt;·volatile·const·T·&gt;:</div>
80 <div·class="dyncontent">80 <div·class="dyncontent">
81 <div·class="center"><img·src="a03167.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01volatile_01const_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>81 <div·class="center"><img·src="a03167.png"·border="0"·usemap="#a_dune_1_1_autonomous_value_type_3_01volatile_01const_01_t_01_4_inherit__map"·alt="Inheritance·graph"/></div>
82 <map·name="a_dune_1_1_autonomous_value_type_3_01volatile_01const_01_t_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01volatile_01const_01_t_01_4_inherit__map">82 <map·name="a_dune_1_1_autonomous_value_type_3_01volatile_01const_01_t_01_4_inherit__map"·id="a_dune_1_1_autonomous_value_type_3_01volatile_01const_01_t_01_4_inherit__map">
83 <area·shape="rect"·title="Specialization·to·remove·both·const·and·volatile·qualifiers."·alt=""·coords="21,80,216,121"/>83 <area·shape="rect"·title="Specialization·to·remove·both·const·and·volatile·qualifiers."·alt=""·coords="21,80,216,121"/>
84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>84 <area·shape="rect"·href="a03144.html"·title="Type·free·of·internal·references·that·T·can·be·converted·to."·alt=""·coords="5,5,232,32"/>
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 ··</tr>117 ··</tr>
118 </table>118 </table>
119 </div><div·class="memdoc">119 </div><div·class="memdoc">
  
120 </div>120 </div>
121 </div>121 </div>
122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>122 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
123 <li><a·class="el"·href="a00224_source.html">typetraits.hh</a></li>123 <li><a·class="el"·href="a00083_source.html">typetraits.hh</a></li>
124 </ul>124 </ul>
125 </div><!--·contents·-->125 </div><!--·contents·-->
126 <!--·start·footer·part·-->126 <!--·start·footer·part·-->
127 <hr·class="footer"/><address·class="footer"><small>127 <hr·class="footer"/><address·class="footer"><small>
128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4128 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
129 </small></address>129 </small></address>
130 </body>130 </body>
2.03 KB
./usr/share/doc/libdune-common-doc/doxygen/a03180.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::PriorityTag&lt;·priority·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PriorityTag&lt;·priority·&gt;·Struct·Template·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Helper·class·for·tagging·priorities.··75 <p>Helper·class·for·tagging·priorities.··
76 ·<a·href="a03180.html#details">More...</a></p>76 ·<a·href="a03180.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
80 Static·Public·Attributes</h2></td></tr>80 Static·Public·Attributes</h2></td></tr>
81 <tr·class="memitem:ac24cb72d1f984e7e73cd43b0ab55aee4"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·std::size_t&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">value</a>·=·priority</td></tr>81 <tr·class="memitem:ac24cb72d1f984e7e73cd43b0ab55aee4"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·std::size_t&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">value</a>·=·priority</td></tr>
82 <tr·class="separator:ac24cb72d1f984e7e73cd43b0ab55aee4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:ac24cb72d1f984e7e73cd43b0ab55aee4"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 118, 15 lines modifiedOffset 118, 15 lines modified
118 ··</tr>118 ··</tr>
119 </table>119 </table>
120 </div><div·class="memdoc">120 </div><div·class="memdoc">
  
121 </div>121 </div>
122 </div>122 </div>
123 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>123 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
124 <li><a·class="el"·href="a00206_source.html">typeutilities.hh</a></li>124 <li><a·class="el"·href="a00092_source.html">typeutilities.hh</a></li>
125 </ul>125 </ul>
126 </div><!--·contents·-->126 </div><!--·contents·-->
127 <!--·start·footer·part·-->127 <!--·start·footer·part·-->
128 <hr·class="footer"/><address·class="footer"><small>128 <hr·class="footer"/><address·class="footer"><small>
129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4129 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
130 </small></address>130 </small></address>
131 </body>131 </body>
2.01 KB
./usr/share/doc/libdune-common-doc/doxygen/a03184.html
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ··<div·class="headertitle"><div·class="title">Dune::PriorityTag&lt;·0·&gt;·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>72 ··<div·class="headertitle"><div·class="title">Dune::PriorityTag&lt;·0·&gt;·Struct·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00399.html">Utilities</a>·&raquo;·<a·class="el"·href="a00404.html">Type·Utilities</a></div></div></div>
73 </div><!--header-->73 </div><!--header-->
74 <div·class="contents">74 <div·class="contents">
  
75 <p>Helper·class·for·tagging·priorities.··75 <p>Helper·class·for·tagging·priorities.··
76 ·<a·href="a03184.html#details">More...</a></p>76 ·<a·href="a03184.html#details">More...</a></p>
  
77 <p><code>#include·&lt;<a·class="el"·href="a00206_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>77 <p><code>#include·&lt;<a·class="el"·href="a00092_source.html">dune/common/typeutilities.hh</a>&gt;</code></p>
78 <table·class="memberdecls">78 <table·class="memberdecls">
79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>79 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="pub-static-attribs"·name="pub-static-attribs"></a>
80 Static·Public·Attributes</h2></td></tr>80 Static·Public·Attributes</h2></td></tr>
81 <tr·class="memitem:a31ed9dda850ce73e5a9117f1d2335b9d"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·std::size_t&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03184.html#a31ed9dda850ce73e5a9117f1d2335b9d">value</a>·=·0</td></tr>81 <tr·class="memitem:a31ed9dda850ce73e5a9117f1d2335b9d"><td·class="memItemLeft"·align="right"·valign="top">static·constexpr·std::size_t&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a03184.html#a31ed9dda850ce73e5a9117f1d2335b9d">value</a>·=·0</td></tr>
82 <tr·class="separator:a31ed9dda850ce73e5a9117f1d2335b9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>82 <tr·class="separator:a31ed9dda850ce73e5a9117f1d2335b9d"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
83 </table>83 </table>
84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>84 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ··</tr>106 ··</tr>
107 </table>107 </table>
108 </div><div·class="memdoc">108 </div><div·class="memdoc">
  
109 </div>109 </div>
110 </div>110 </div>
111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>111 <hr/>The·documentation·for·this·struct·was·generated·from·the·following·file:<ul>
112 <li><a·class="el"·href="a00206_source.html">typeutilities.hh</a></li>112 <li><a·class="el"·href="a00092_source.html">typeutilities.hh</a></li>
113 </ul>113 </ul>
114 </div><!--·contents·-->114 </div><!--·contents·-->
115 <!--·start·footer·part·-->115 <!--·start·footer·part·-->
116 <hr·class="footer"/><address·class="footer"><small>116 <hr·class="footer"/><address·class="footer"><small>
117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4117 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
118 </small></address>118 </small></address>
119 </body>119 </body>
1.73 KB
./usr/share/doc/libdune-common-doc/doxygen/a04442.html
    
Offset 72, 16 lines modifiedOffset 72, 16 lines modified
72 <a·href="#func-members">Functions</a>··</div>72 <a·href="#func-members">Functions</a>··</div>
73 ··<div·class="headertitle"><div·class="title">parallel/interface.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>73 ··<div·class="headertitle"><div·class="title">parallel/interface.hh·File·Reference<div·class="ingroups"><a·class="el"·href="a00397.html">Common</a>·&raquo;·<a·class="el"·href="a00415.html">Parallel·Communication</a>·&raquo;·<a·class="el"·href="a00416.html">Parallel·Computing·based·on·Indexsets</a></div></div></div>
74 </div><!--header-->74 </div><!--header-->
75 <div·class="contents">75 <div·class="contents">
  
76 <p>Provides·classes·for·building·the·communication·interface·between·remote·indices.··76 <p>Provides·classes·for·building·the·communication·interface·between·remote·indices.··
77 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00017_source.html">remoteindices.hh</a>&quot;</code><br·/>78 <div·class="textblock"><code>#include·&quot;<a·class="el"·href="a00359_source.html">remoteindices.hh</a>&quot;</code><br·/>
79 <code>#include·&lt;<a·class="el"·href="a00353_source.html">dune/common/enumset.hh</a>&gt;</code><br·/>79 <code>#include·&lt;<a·class="el"·href="a00278_source.html">dune/common/enumset.hh</a>&gt;</code><br·/>
80 </div>80 </div>
81 <p><a·href="a04442_source.html">Go·to·the·source·code·of·this·file.</a></p>81 <p><a·href="a04442_source.html">Go·to·the·source·code·of·this·file.</a></p>
82 <table·class="memberdecls">82 <table·class="memberdecls">
83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>83 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
84 Classes</h2></td></tr>84 Classes</h2></td></tr>
85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02136.html">Dune::InterfaceBuilder</a></td></tr>85 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">class·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02136.html">Dune::InterfaceBuilder</a></td></tr>
86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·of·all·classes·representing·a·communication·interface.··<a·href="a02136.html#details">More...</a><br·/></td></tr>86 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Base·class·of·all·classes·representing·a·communication·interface.··<a·href="a02136.html#details">More...</a><br·/></td></tr>
7.81 KB
./usr/share/doc/libdune-common-doc/doxygen/a04442_source.html
    
Offset 74, 16 lines modifiedOffset 74, 16 lines modified
74 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>74 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
75 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>75 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INTERFACE_HH</span></div>76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_INTERFACE_HH</span></div>
77 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INTERFACE_HH</span></div>77 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_INTERFACE_HH</span></div>
78 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>78 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
79 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>79 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#if·HAVE_MPI</span></div>
80 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>80 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
81 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00017.html">remoteindices.hh</a>&quot;</span></div>81 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&quot;<a·class="code"·href="a00359.html">remoteindices.hh</a>&quot;</span></div>
82 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00353.html">dune/common/enumset.hh</a>&gt;</span></div>82 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00278.html">dune/common/enumset.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>83 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
84 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>84 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
85 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>85 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>{</div>
86 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02136.html">···34</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02136.html">InterfaceBuilder</a></div>86 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a02136.html">···34</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02136.html">InterfaceBuilder</a></div>
87 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>87 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>··{</div>
88 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>88 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">public</span>:</div>
89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02140.html">···37</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02140.html">RemoteIndicesStateError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01580.html">InvalidStateException</a></div>89 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno"><a·class="line"·href="a02140.html">···37</a></span>····<span·class="keyword">class·</span><a·class="code·hl_class"·href="a02140.html">RemoteIndicesStateError</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="a01580.html">InvalidStateException</a></div>
Offset 430, 16 lines modifiedOffset 430, 16 lines modified
430 <div·class="line"><a·id="l00524"·name="l00524"></a><span·class="lineno">··524</span>····}</div>430 <div·class="line"><a·id="l00524"·name="l00524"></a><span·class="lineno">··524</span>····}</div>
431 <div·class="line"><a·id="l00525"·name="l00525"></a><span·class="lineno">··525</span>····<span·class="keywordflow">return</span>·os;</div>431 <div·class="line"><a·id="l00525"·name="l00525"></a><span·class="lineno">··525</span>····<span·class="keywordflow">return</span>·os;</div>
432 <div·class="line"><a·id="l00526"·name="l00526"></a><span·class="lineno">··526</span>··}</div>432 <div·class="line"><a·id="l00526"·name="l00526"></a><span·class="lineno">··526</span>··}</div>
433 <div·class="line"><a·id="l00527"·name="l00527"></a><span·class="lineno">··527</span>}</div>433 <div·class="line"><a·id="l00527"·name="l00527"></a><span·class="lineno">··527</span>}</div>
434 <div·class="line"><a·id="l00528"·name="l00528"></a><span·class="lineno">··528</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_MPI</span></div>434 <div·class="line"><a·id="l00528"·name="l00528"></a><span·class="lineno">··528</span><span·class="preprocessor">#endif·</span><span·class="comment">//·HAVE_MPI</span></div>
435 <div·class="line"><a·id="l00529"·name="l00529"></a><span·class="lineno">··529</span>·</div>435 <div·class="line"><a·id="l00529"·name="l00529"></a><span·class="lineno">··529</span>·</div>
436 <div·class="line"><a·id="l00530"·name="l00530"></a><span·class="lineno">··530</span><span·class="preprocessor">#endif</span></div>436 <div·class="line"><a·id="l00530"·name="l00530"></a><span·class="lineno">··530</span><span·class="preprocessor">#endif</span></div>
437 <div·class="ttc"·id="aa00017_html"><div·class="ttname"><a·href="a00017.html">remoteindices.hh</a></div><div·class="ttdoc">Classes·describing·a·distributed·indexset.</div></div> 
438 <div·class="ttc"·id="aa00353_html"><div·class="ttname"><a·href="a00353.html">enumset.hh</a></div><div·class="ttdoc">Classes·for·building·sets·out·of·enumeration·values.</div></div>437 <div·class="ttc"·id="aa00278_html"><div·class="ttname"><a·href="a00278.html">enumset.hh</a></div><div·class="ttdoc">Classes·for·building·sets·out·of·enumeration·values.</div></div>
 438 <div·class="ttc"·id="aa00359_html"><div·class="ttname"><a·href="a00359.html">remoteindices.hh</a></div><div·class="ttdoc">Classes·describing·a·distributed·indexset.</div></div>
439 <div·class="ttc"·id="aa00408_html_ga49e9aab7260e82c77e7fd410ecb339c1"><div·class="ttname"><a·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a></div><div·class="ttdeci">std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:278</div></div>439 <div·class="ttc"·id="aa00408_html_ga49e9aab7260e82c77e7fd410ecb339c1"><div·class="ttname"><a·href="a00408.html#ga49e9aab7260e82c77e7fd410ecb339c1">Dune::operator&lt;&lt;</a></div><div·class="ttdeci">std::ostream·&amp;·operator&lt;&lt;(std::ostream·&amp;s,·const·bigunsignedint&lt;·k·&gt;·&amp;x)</div><div·class="ttdef"><b>Definition:</b>·bigunsignedint.hh:278</div></div>
440 <div·class="ttc"·id="aa00412_html_gad7fce127d6eaabe773adbc409514f21e"><div·class="ttname"><a·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a></div><div·class="ttdeci">#define·DUNE_THROW(E,·m)</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:218</div></div>440 <div·class="ttc"·id="aa00412_html_gad7fce127d6eaabe773adbc409514f21e"><div·class="ttname"><a·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">DUNE_THROW</a></div><div·class="ttdeci">#define·DUNE_THROW(E,·m)</div><div·class="ttdef"><b>Definition:</b>·exceptions.hh:218</div></div>
441 <div·class="ttc"·id="aa00416_html_ga05121b68560835efae0092c6a9078e78"><div·class="ttname"><a·href="a00416.html#ga05121b68560835efae0092c6a9078e78">Dune::InterfaceBuilder::buildInterface</a></div><div·class="ttdeci">void·buildInterface(const·R·&amp;remoteIndices,·const·T1·&amp;sourceFlags,·const·T2·&amp;destFlags,·Op·&amp;functor)·const</div><div·class="ttdoc">Builds·the·interface·between·remote·processes.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:358</div></div>441 <div·class="ttc"·id="aa00416_html_ga05121b68560835efae0092c6a9078e78"><div·class="ttname"><a·href="a00416.html#ga05121b68560835efae0092c6a9078e78">Dune::InterfaceBuilder::buildInterface</a></div><div·class="ttdeci">void·buildInterface(const·R·&amp;remoteIndices,·const·T1·&amp;sourceFlags,·const·T2·&amp;destFlags,·Op·&amp;functor)·const</div><div·class="ttdoc">Builds·the·interface·between·remote·processes.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:358</div></div>
442 <div·class="ttc"·id="aa00416_html_ga1f0752f49661af9d5bacb90c8910342d"><div·class="ttname"><a·href="a00416.html#ga1f0752f49661af9d5bacb90c8910342d">Dune::Interface::build</a></div><div·class="ttdeci">void·build(const·R·&amp;remoteIndices,·const·T1·&amp;sourceFlags,·const·T2·&amp;destFlags)</div><div·class="ttdoc">Builds·the·interface.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:461</div></div>442 <div·class="ttc"·id="aa00416_html_ga1f0752f49661af9d5bacb90c8910342d"><div·class="ttname"><a·href="a00416.html#ga1f0752f49661af9d5bacb90c8910342d">Dune::Interface::build</a></div><div·class="ttdeci">void·build(const·R·&amp;remoteIndices,·const·T1·&amp;sourceFlags,·const·T2·&amp;destFlags)</div><div·class="ttdoc">Builds·the·interface.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:461</div></div>
443 <div·class="ttc"·id="aa00416_html_ga427e4574b1e457bbd5b28f8e817c407b"><div·class="ttname"><a·href="a00416.html#ga427e4574b1e457bbd5b28f8e817c407b">Dune::Interface::print</a></div><div·class="ttdeci">void·print()·const</div><div·class="ttdoc">Print·the·interface·to·std::out·for·debugging.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:434</div></div>443 <div·class="ttc"·id="aa00416_html_ga427e4574b1e457bbd5b28f8e817c407b"><div·class="ttname"><a·href="a00416.html#ga427e4574b1e457bbd5b28f8e817c407b">Dune::Interface::print</a></div><div·class="ttdeci">void·print()·const</div><div·class="ttdoc">Print·the·interface·to·std::out·for·debugging.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:434</div></div>
444 <div·class="ttc"·id="aa00416_html_ga7cc155572e8fc3567e9db0dbd6e71d2a"><div·class="ttname"><a·href="a00416.html#ga7cc155572e8fc3567e9db0dbd6e71d2a">Dune::Interface::interfaces</a></div><div·class="ttdeci">const·InformationMap·&amp;·interfaces()·const</div><div·class="ttdoc">Get·information·about·the·interfaces.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:424</div></div>444 <div·class="ttc"·id="aa00416_html_ga7cc155572e8fc3567e9db0dbd6e71d2a"><div·class="ttname"><a·href="a00416.html#ga7cc155572e8fc3567e9db0dbd6e71d2a">Dune::Interface::interfaces</a></div><div·class="ttdeci">const·InformationMap·&amp;·interfaces()·const</div><div·class="ttdoc">Get·information·about·the·interfaces.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:424</div></div>
445 <div·class="ttc"·id="aa00416_html_ga9bd9ed165844afe33fa8fbccfa4575f8"><div·class="ttname"><a·href="a00416.html#ga9bd9ed165844afe33fa8fbccfa4575f8">Dune::Interface::communicator</a></div><div·class="ttdeci">MPI_Comm·communicator()·const</div><div·class="ttdoc">Get·the·MPI·Communicator.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:417</div></div>445 <div·class="ttc"·id="aa00416_html_ga9bd9ed165844afe33fa8fbccfa4575f8"><div·class="ttname"><a·href="a00416.html#ga9bd9ed165844afe33fa8fbccfa4575f8">Dune::Interface::communicator</a></div><div·class="ttdeci">MPI_Comm·communicator()·const</div><div·class="ttdoc">Get·the·MPI·Communicator.</div><div·class="ttdef"><b>Definition:</b>·parallel/interface.hh:417</div></div>
554 B
html2text {}
    
Offset 397, 18 lines modifiedOffset 397, 18 lines modified
397 ·524·}397 ·524·}
398 ·525·return·os;398 ·525·return·os;
399 ·526·}399 ·526·}
400 ·527}400 ·527}
401 ·528#endif·//·HAVE_MPI401 ·528#endif·//·HAVE_MPI
402 ·529402 ·529
403 ·530#endif403 ·530#endif
404 remoteindices.hh 
405 Classes·describing·a·distributed·indexset. 
406 enumset.hh404 enumset.hh
407 Classes·for·building·sets·out·of·enumeration·values.405 Classes·for·building·sets·out·of·enumeration·values.
 406 remoteindices.hh
 407 Classes·describing·a·distributed·indexset.
408 Dune::operator<<408 Dune::operator<<
409 std::ostream·&·operator<<(std::ostream·&s,·const·bigunsignedint<·k·>·&x)409 std::ostream·&·operator<<(std::ostream·&s,·const·bigunsignedint<·k·>·&x)
410 Definition:·bigunsignedint.hh:278410 Definition:·bigunsignedint.hh:278
411 DUNE_THROW411 DUNE_THROW
412 #define·DUNE_THROW(E,·m)412 #define·DUNE_THROW(E,·m)
413 Definition:·exceptions.hh:218413 Definition:·exceptions.hh:218
414 Dune::InterfaceBuilder::buildInterface414 Dune::InterfaceBuilder::buildInterface
1.42 KB
./usr/share/doc/libdune-common-doc/doxygen/a04445.html
    
Offset 74, 16 lines modifiedOffset 74, 16 lines modified
  
74 <p>User·interface·of·the·SIMD·abstraction.··74 <p>User·interface·of·the·SIMD·abstraction.··
75 <a·href="#details">More...</a></p>75 <a·href="#details">More...</a></p>
76 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>76 <div·class="textblock"><code>#include·&lt;cassert&gt;</code><br·/>
77 <code>#include·&lt;cstddef&gt;</code><br·/>77 <code>#include·&lt;cstddef&gt;</code><br·/>
78 <code>#include·&lt;type_traits&gt;</code><br·/>78 <code>#include·&lt;type_traits&gt;</code><br·/>
79 <code>#include·&lt;utility&gt;</code><br·/>79 <code>#include·&lt;utility&gt;</code><br·/>
80 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>80 <code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00347_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00032_source.html">dune/common/typelist.hh</a>&gt;</code><br·/>
82 </div>82 </div>
83 <p><a·href="a04445_source.html">Go·to·the·source·code·of·this·file.</a></p>83 <p><a·href="a04445_source.html">Go·to·the·source·code·of·this·file.</a></p>
84 <table·class="memberdecls">84 <table·class="memberdecls">
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="namespaces"·name="namespaces"></a>
86 Namespaces</h2></td></tr>86 Namespaces</h2></td></tr>
87 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>87 <tr·class="memitem:a00425"><td·class="memItemLeft"·align="right"·valign="top">namespace·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00425.html">Dune</a></td></tr>
88 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>88 <tr·class="memdesc:a00425"><td·class="mdescLeft">&#160;</td><td·class="mdescRight"><a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·namespace.·<br·/></td></tr>
7.06 KB
./usr/share/doc/libdune-common-doc/doxygen/a04445_source.html
    
Offset 75, 16 lines modifiedOffset 75, 16 lines modified
75 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_INTERFACE_HH</span></div>75 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_INTERFACE_HH</span></div>
76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
77 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>77 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;cassert&gt;</span></div>
78 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>78 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
79 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>79 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
80 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>80 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
81 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>81 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/simd/base.hh</a>&gt;</span></div>82 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00068.html">dune/common/simd/base.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00347.html">dune/common/typelist.hh</a>&gt;</span></div>83 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00032.html">dune/common/typelist.hh</a>&gt;</span></div>
84 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>84 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
85 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>85 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
86 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>86 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>
87 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>87 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>·</div>
88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">namespace·</span>Simd·{</div>88 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>··<span·class="keyword">namespace·</span>Simd·{</div>
89 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>89 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>·</div>
90 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>·</div>90 <div·class="line"><a·id="l00223"·name="l00223"></a><span·class="lineno">··223</span>·</div>
Offset 239, 16 lines modifiedOffset 239, 16 lines modified
239 <div·class="line"><a·id="l00537"·name="l00537"></a><span·class="lineno">··537</span>·</div>239 <div·class="line"><a·id="l00537"·name="l00537"></a><span·class="lineno">··537</span>·</div>
240 <div·class="line"><a·id="l00539"·name="l00539"></a><span·class="lineno">··539</span>·</div>240 <div·class="line"><a·id="l00539"·name="l00539"></a><span·class="lineno">··539</span>·</div>
241 <div·class="line"><a·id="l00541"·name="l00541"></a><span·class="lineno">··541</span>·</div>241 <div·class="line"><a·id="l00541"·name="l00541"></a><span·class="lineno">··541</span>·</div>
242 <div·class="line"><a·id="l00542"·name="l00542"></a><span·class="lineno">··542</span>··}·<span·class="comment">//·namespace·Simd</span></div>242 <div·class="line"><a·id="l00542"·name="l00542"></a><span·class="lineno">··542</span>··}·<span·class="comment">//·namespace·Simd</span></div>
243 <div·class="line"><a·id="l00543"·name="l00543"></a><span·class="lineno">··543</span>}·<span·class="comment">//·namespace·Dune</span></div>243 <div·class="line"><a·id="l00543"·name="l00543"></a><span·class="lineno">··543</span>}·<span·class="comment">//·namespace·Dune</span></div>
244 <div·class="line"><a·id="l00544"·name="l00544"></a><span·class="lineno">··544</span>·</div>244 <div·class="line"><a·id="l00544"·name="l00544"></a><span·class="lineno">··544</span>·</div>
245 <div·class="line"><a·id="l00545"·name="l00545"></a><span·class="lineno">··545</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SIMD_INTERFACE_HH</span></div>245 <div·class="line"><a·id="l00545"·name="l00545"></a><span·class="lineno">··545</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SIMD_INTERFACE_HH</span></div>
 246 <div·class="ttc"·id="aa00032_html"><div·class="ttname"><a·href="a00032.html">typelist.hh</a></div></div>
246 <div·class="ttc"·id="aa00269_html"><div·class="ttname"><a·href="a00269.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div>247 <div·class="ttc"·id="aa00068_html"><div·class="ttname"><a·href="a00068.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div>
247 <div·class="ttc"·id="aa00347_html"><div·class="ttname"><a·href="a00347.html">typelist.hh</a></div></div> 
248 <div·class="ttc"·id="aa00419_html_ga17639369fac8b6c516ebf2125849d0f4"><div·class="ttname"><a·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">Dune::Simd::anyTrue</a></div><div·class="ttdeci">bool·anyTrue(const·Mask·&amp;mask)</div><div·class="ttdoc">Whether·any·entry·is·true</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:429</div></div>248 <div·class="ttc"·id="aa00419_html_ga17639369fac8b6c516ebf2125849d0f4"><div·class="ttname"><a·href="a00419.html#ga17639369fac8b6c516ebf2125849d0f4">Dune::Simd::anyTrue</a></div><div·class="ttdeci">bool·anyTrue(const·Mask·&amp;mask)</div><div·class="ttdoc">Whether·any·entry·is·true</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:429</div></div>
249 <div·class="ttc"·id="aa00419_html_ga19a63bc3591ee6c8fd5706c9be4380bf"><div·class="ttname"><a·href="a00419.html#ga19a63bc3591ee6c8fd5706c9be4380bf">Dune::Simd::maskOr</a></div><div·class="ttdeci">auto·maskOr(const·V1·&amp;v1,·const·V2·&amp;v2)</div><div·class="ttdoc">Logic·or·of·masks.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:499</div></div>249 <div·class="ttc"·id="aa00419_html_ga19a63bc3591ee6c8fd5706c9be4380bf"><div·class="ttname"><a·href="a00419.html#ga19a63bc3591ee6c8fd5706c9be4380bf">Dune::Simd::maskOr</a></div><div·class="ttdeci">auto·maskOr(const·V1·&amp;v1,·const·V2·&amp;v2)</div><div·class="ttdoc">Logic·or·of·masks.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:499</div></div>
250 <div·class="ttc"·id="aa00419_html_ga1a04d18cec7c2f206e9de49926bfe5a8"><div·class="ttname"><a·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">Dune::Simd::cond</a></div><div·class="ttdeci">V·cond(M·&amp;&amp;mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</div><div·class="ttdoc">Like·the·?:·operator.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:386</div></div>250 <div·class="ttc"·id="aa00419_html_ga1a04d18cec7c2f206e9de49926bfe5a8"><div·class="ttname"><a·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">Dune::Simd::cond</a></div><div·class="ttdeci">V·cond(M·&amp;&amp;mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</div><div·class="ttdoc">Like·the·?:·operator.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:386</div></div>
251 <div·class="ttc"·id="aa00419_html_ga3e3f45a22ca7244829e9adf246ac4a9d"><div·class="ttname"><a·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">Dune::Simd::mask</a></div><div·class="ttdeci">auto·mask(const·V·&amp;v)</div><div·class="ttdoc">Convert·to·mask,·analogue·of·bool(s)·for·scalars.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:489</div></div>251 <div·class="ttc"·id="aa00419_html_ga3e3f45a22ca7244829e9adf246ac4a9d"><div·class="ttname"><a·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">Dune::Simd::mask</a></div><div·class="ttdeci">auto·mask(const·V·&amp;v)</div><div·class="ttdoc">Convert·to·mask,·analogue·of·bool(s)·for·scalars.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:489</div></div>
252 <div·class="ttc"·id="aa00419_html_ga54577fa7b2752b55d6efd05878ca1e24"><div·class="ttname"><a·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24">Dune::Simd::allTrue</a></div><div·class="ttdeci">bool·allTrue(const·Mask·&amp;mask)</div><div·class="ttdoc">Whether·all·entries·are·true</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:439</div></div>252 <div·class="ttc"·id="aa00419_html_ga54577fa7b2752b55d6efd05878ca1e24"><div·class="ttname"><a·href="a00419.html#ga54577fa7b2752b55d6efd05878ca1e24">Dune::Simd::allTrue</a></div><div·class="ttdeci">bool·allTrue(const·Mask·&amp;mask)</div><div·class="ttdoc">Whether·all·entries·are·true</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:439</div></div>
253 <div·class="ttc"·id="aa00419_html_ga8d4752fe47def6075b211544a932c709"><div·class="ttname"><a·href="a00419.html#ga8d4752fe47def6075b211544a932c709">Dune::Simd::Rebind</a></div><div·class="ttdeci">typename·Overloads::RebindType&lt;·std::decay_t&lt;·S·&gt;,·std::decay_t&lt;·V·&gt;·&gt;::type·Rebind</div><div·class="ttdoc">Construct·SIMD·type·with·different·scalar·type.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:253</div></div>253 <div·class="ttc"·id="aa00419_html_ga8d4752fe47def6075b211544a932c709"><div·class="ttname"><a·href="a00419.html#ga8d4752fe47def6075b211544a932c709">Dune::Simd::Rebind</a></div><div·class="ttdeci">typename·Overloads::RebindType&lt;·std::decay_t&lt;·S·&gt;,·std::decay_t&lt;·V·&gt;·&gt;::type·Rebind</div><div·class="ttdoc">Construct·SIMD·type·with·different·scalar·type.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:253</div></div>
254 <div·class="ttc"·id="aa00419_html_gaa0d1652bc61cae3351079ca5510e8d4f"><div·class="ttname"><a·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">Dune::Simd::broadcast</a></div><div·class="ttdeci">constexpr·V·broadcast(S·s)</div><div·class="ttdoc">Broadcast·a·scalar·to·a·vector·explicitly.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:366</div></div>254 <div·class="ttc"·id="aa00419_html_gaa0d1652bc61cae3351079ca5510e8d4f"><div·class="ttname"><a·href="a00419.html#gaa0d1652bc61cae3351079ca5510e8d4f">Dune::Simd::broadcast</a></div><div·class="ttdeci">constexpr·V·broadcast(S·s)</div><div·class="ttdoc">Broadcast·a·scalar·to·a·vector·explicitly.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:366</div></div>
442 B
html2text {}
    
Offset 182, 17 lines modifiedOffset 182, 17 lines modified
182 ·537182 ·537
183 ·539183 ·539
184 ·541184 ·541
185 ·542·}·//·namespace·Simd185 ·542·}·//·namespace·Simd
186 ·543}·//·namespace·Dune186 ·543}·//·namespace·Dune
187 ·544187 ·544
188 ·545#endif·//·DUNE_COMMON_SIMD_INTERFACE_HH188 ·545#endif·//·DUNE_COMMON_SIMD_INTERFACE_HH
 189 typelist.hh
189 base.hh190 base.hh
190 Basic·definitions·for·SIMD·Implementations.191 Basic·definitions·for·SIMD·Implementations.
191 typelist.hh 
192 Dune::Simd::anyTrue192 Dune::Simd::anyTrue
193 bool·anyTrue(const·Mask·&mask)193 bool·anyTrue(const·Mask·&mask)
194 Whether·any·entry·is·true194 Whether·any·entry·is·true
195 Definition:·simd/interface.hh:429195 Definition:·simd/interface.hh:429
196 Dune::Simd::maskOr196 Dune::Simd::maskOr
197 auto·maskOr(const·V1·&v1,·const·V2·&v2)197 auto·maskOr(const·V1·&v1,·const·V2·&v2)
198 Logic·or·of·masks.198 Logic·or·of·masks.
1.13 KB
./usr/share/doc/libdune-common-doc/doxygen/a04448.html
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ··<div·class="headertitle"><div·class="title">simd/simd.hh·File·Reference</div></div>69 ··<div·class="headertitle"><div·class="title">simd/simd.hh·File·Reference</div></div>
70 </div><!--header-->70 </div><!--header-->
71 <div·class="contents">71 <div·class="contents">
  
72 <p>Include·file·for·users·of·the·SIMD·abstraction·layer.··72 <p>Include·file·for·users·of·the·SIMD·abstraction·layer.··
73 <a·href="#details">More...</a></p>73 <a·href="#details">More...</a></p>
74 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/>74 <div·class="textblock"><code>#include·&lt;<a·class="el"·href="a04445_source.html">dune/common/simd/interface.hh</a>&gt;</code><br·/>
75 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/simd/standard.hh</a>&gt;</code><br·/>75 <code>#include·&lt;<a·class="el"·href="a00065_source.html">dune/common/simd/standard.hh</a>&gt;</code><br·/>
76 </div>76 </div>
77 <p><a·href="a04448_source.html">Go·to·the·source·code·of·this·file.</a></p>77 <p><a·href="a04448_source.html">Go·to·the·source·code·of·this·file.</a></p>
78 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>78 <a·name="details"·id="details"></a><h2·class="groupheader">Detailed·Description</h2>
79 <div·class="textblock"><p·>Include·file·for·users·of·the·SIMD·abstraction·layer.·</p>79 <div·class="textblock"><p·>Include·file·for·users·of·the·SIMD·abstraction·layer.·</p>
80 <p·>Include·this·file·if·you·want·to·be·able·to·handle·SIMD·types·&ndash;·do·not·include·the·internal·headers·directly.·</p>80 <p·>Include·this·file·if·you·want·to·be·able·to·handle·SIMD·types·&ndash;·do·not·include·the·internal·headers·directly.·</p>
81 </div></div><!--·contents·-->81 </div></div><!--·contents·-->
82 <!--·start·footer·part·-->82 <!--·start·footer·part·-->
2.76 KB
./usr/share/doc/libdune-common-doc/doxygen/a04448_source.html
    
Offset 71, 18 lines modifiedOffset 71, 18 lines modified
71 <div·class="contents">71 <div·class="contents">
72 <a·href="a04448.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>72 <a·href="a04448.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
73 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>73 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
74 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_SIMD_HH</span></div>74 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_SIMD_HH</span></div>
75 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_SIMD_HH</span></div>75 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_SIMD_HH</span></div>
76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
77 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04445.html">dune/common/simd/interface.hh</a>&gt;</span></div>77 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a04445.html">dune/common/simd/interface.hh</a>&gt;</span></div>
78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00275.html">dune/common/simd/standard.hh</a>&gt;</span></div>78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00065.html">dune/common/simd/standard.hh</a>&gt;</span></div>
79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>79 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div>
80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SIMD_SIMD_HH</span></div>80 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SIMD_SIMD_HH</span></div>
81 <div·class="ttc"·id="aa00275_html"><div·class="ttname"><a·href="a00275.html">standard.hh</a></div><div·class="ttdoc">SIMD·abstractions·for·the·standard·built-in·types.</div></div>81 <div·class="ttc"·id="aa00065_html"><div·class="ttname"><a·href="a00065.html">standard.hh</a></div><div·class="ttdoc">SIMD·abstractions·for·the·standard·built-in·types.</div></div>
82 <div·class="ttc"·id="aa04445_html"><div·class="ttname"><a·href="a04445.html">interface.hh</a></div><div·class="ttdoc">User·interface·of·the·SIMD·abstraction.</div></div>82 <div·class="ttc"·id="aa04445_html"><div·class="ttname"><a·href="a04445.html">interface.hh</a></div><div·class="ttdoc">User·interface·of·the·SIMD·abstraction.</div></div>
83 </div><!--·fragment·--></div><!--·contents·-->83 </div><!--·fragment·--></div><!--·contents·-->
84 <!--·start·footer·part·-->84 <!--·start·footer·part·-->
85 <hr·class="footer"/><address·class="footer"><small>85 <hr·class="footer"/><address·class="footer"><small>
86 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.486 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
87 </small></address>87 </small></address>
88 </body>88 </body>
2.24 KB
./usr/share/doc/libdune-common-doc/doxygen/a04451.html
    
Offset 75, 20 lines modifiedOffset 75, 20 lines modified
75 <div·class="contents">75 <div·class="contents">
  
76 <p>SIMD·abstractions·for·Vc.··76 <p>SIMD·abstractions·for·Vc.··
77 <a·href="#details">More...</a></p>77 <a·href="#details">More...</a></p>
78 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>78 <div·class="textblock"><code>#include·&lt;cstddef&gt;</code><br·/>
79 <code>#include·&lt;type_traits&gt;</code><br·/>79 <code>#include·&lt;type_traits&gt;</code><br·/>
80 <code>#include·&lt;utility&gt;</code><br·/>80 <code>#include·&lt;utility&gt;</code><br·/>
81 <code>#include·&lt;<a·class="el"·href="a00173_source.html">dune/common/indices.hh</a>&gt;</code><br·/>81 <code>#include·&lt;<a·class="el"·href="a00275_source.html">dune/common/indices.hh</a>&gt;</code><br·/>
82 <code>#include·&lt;<a·class="el"·href="a00269_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>82 <code>#include·&lt;<a·class="el"·href="a00068_source.html">dune/common/simd/base.hh</a>&gt;</code><br·/>
83 <code>#include·&lt;<a·class="el"·href="a00272_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>83 <code>#include·&lt;<a·class="el"·href="a00062_source.html">dune/common/simd/defaults.hh</a>&gt;</code><br·/>
84 <code>#include·&lt;<a·class="el"·href="a00263_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/>84 <code>#include·&lt;<a·class="el"·href="a00053_source.html">dune/common/simd/loop.hh</a>&gt;</code><br·/>
85 <code>#include·&lt;<a·class="el"·href="a00224_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>85 <code>#include·&lt;<a·class="el"·href="a00083_source.html">dune/common/typetraits.hh</a>&gt;</code><br·/>
86 <code>#include·&lt;<a·class="el"·href="a00158_source.html">dune/common/vc.hh</a>&gt;</code><br·/>86 <code>#include·&lt;<a·class="el"·href="a00047_source.html">dune/common/vc.hh</a>&gt;</code><br·/>
87 </div>87 </div>
88 <p><a·href="a04451_source.html">Go·to·the·source·code·of·this·file.</a></p>88 <p><a·href="a04451_source.html">Go·to·the·source·code·of·this·file.</a></p>
89 <table·class="memberdecls">89 <table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="nested-classes"·name="nested-classes"></a>
91 Classes</h2></td></tr>91 Classes</h2></td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02740.html">Dune::Simd::VcImpl::IsMask&lt;·V,·SFINAE·&gt;</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">struct·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a02740.html">Dune::Simd::VcImpl::IsMask&lt;·V,·SFINAE·&gt;</a></td></tr>
93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">specialized·to·true·for·Vc·mask·types··<a·href="a02740.html#details">More...</a><br·/></td></tr>93 <tr·class="memdesc:"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">specialized·to·true·for·Vc·mask·types··<a·href="a02740.html#details">More...</a><br·/></td></tr>
11.0 KB
./usr/share/doc/libdune-common-doc/doxygen/a04451_source.html
    
Offset 74, 20 lines modifiedOffset 74, 20 lines modified
74 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_VC_HH</span></div>74 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_COMMON_SIMD_VC_HH</span></div>
75 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_VC_HH</span></div>75 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_COMMON_SIMD_VC_HH</span></div>
76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>76 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
77 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>77 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>78 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>79 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>
80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>80 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00173.html">dune/common/indices.hh</a>&gt;</span></div>81 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00275.html">dune/common/indices.hh</a>&gt;</span></div>
82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00269.html">dune/common/simd/base.hh</a>&gt;</span></div>82 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00068.html">dune/common/simd/base.hh</a>&gt;</span></div>
83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00272.html">dune/common/simd/defaults.hh</a>&gt;</span>·<span·class="comment">//·for·anyFalse()</span></div>83 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00062.html">dune/common/simd/defaults.hh</a>&gt;</span>·<span·class="comment">//·for·anyFalse()</span></div>
84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00263.html">dune/common/simd/loop.hh</a>&gt;</span></div>84 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00053.html">dune/common/simd/loop.hh</a>&gt;</span></div>
85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div>85 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00083.html">dune/common/typetraits.hh</a>&gt;</span></div>
86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00158.html">dune/common/vc.hh</a>&gt;</span></div>86 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00047.html">dune/common/vc.hh</a>&gt;</span></div>
87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>87 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
88 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>88 <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
89 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>··<span·class="keyword">namespace·</span>Simd·{</div>89 <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>··<span·class="keyword">namespace·</span>Simd·{</div>
90 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>90 <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div>
91 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno"><a·class="line"·href="a00449.html">··155</a></span>····<span·class="keyword">namespace·</span>VcImpl·{</div>91 <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno"><a·class="line"·href="a00449.html">··155</a></span>····<span·class="keyword">namespace·</span>VcImpl·{</div>
92 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div>92 <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div>
93 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·SFINAE·=·<span·class="keywordtype">void</span>&gt;</div>93 <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>······<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V,·<span·class="keyword">class</span>·SFINAE·=·<span·class="keywordtype">void</span>&gt;</div>
Offset 607, 20 lines modifiedOffset 607, 20 lines modified
607 <div·class="line"><a·id="l00756"·name="l00756"></a><span·class="lineno">··756</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>607 <div·class="line"><a·id="l00756"·name="l00756"></a><span·class="lineno">··756</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·V&gt;</div>
608 <div·class="line"><a·id="l00757"·name="l00757"></a><span·class="lineno"><a·class="line"·href="a02836.html">··757</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03144.html">AutonomousValueType</a>&lt;Simd::VcImpl::Proxy&lt;V&gt;·&gt;·:</div>608 <div·class="line"><a·id="l00757"·name="l00757"></a><span·class="lineno"><a·class="line"·href="a02836.html">··757</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03144.html">AutonomousValueType</a>&lt;Simd::VcImpl::Proxy&lt;V&gt;·&gt;·:</div>
609 <div·class="line"><a·id="l00758"·name="l00758"></a><span·class="lineno">··758</span>····<a·class="code·hl_struct"·href="a03144.html">AutonomousValueType</a>&lt;typename·Simd::VcImpl::Proxy&lt;V&gt;::value_type&gt;·{};</div>609 <div·class="line"><a·id="l00758"·name="l00758"></a><span·class="lineno">··758</span>····<a·class="code·hl_struct"·href="a03144.html">AutonomousValueType</a>&lt;typename·Simd::VcImpl::Proxy&lt;V&gt;::value_type&gt;·{};</div>
610 <div·class="line"><a·id="l00759"·name="l00759"></a><span·class="lineno">··759</span>·</div>610 <div·class="line"><a·id="l00759"·name="l00759"></a><span·class="lineno">··759</span>·</div>
611 <div·class="line"><a·id="l00760"·name="l00760"></a><span·class="lineno">··760</span>}·<span·class="comment">//·namespace·Dune</span></div>611 <div·class="line"><a·id="l00760"·name="l00760"></a><span·class="lineno">··760</span>}·<span·class="comment">//·namespace·Dune</span></div>
612 <div·class="line"><a·id="l00761"·name="l00761"></a><span·class="lineno">··761</span>·</div>612 <div·class="line"><a·id="l00761"·name="l00761"></a><span·class="lineno">··761</span>·</div>
613 <div·class="line"><a·id="l00762"·name="l00762"></a><span·class="lineno">··762</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SIMD_VC_HH</span></div>613 <div·class="line"><a·id="l00762"·name="l00762"></a><span·class="lineno">··762</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_SIMD_VC_HH</span></div>
614 <div·class="ttc"·id="aa00158_html"><div·class="ttname"><a·href="a00158.html">vc.hh</a></div><div·class="ttdoc">Compatibility·header·for·including·&lt;Vc/Vc&gt;</div></div>614 <div·class="ttc"·id="aa00047_html"><div·class="ttname"><a·href="a00047.html">vc.hh</a></div><div·class="ttdoc">Compatibility·header·for·including·&lt;Vc/Vc&gt;</div></div>
615 <div·class="ttc"·id="aa00173_html"><div·class="ttname"><a·href="a00173.html">indices.hh</a></div></div> 
616 <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div> 
617 <div·class="ttc"·id="aa00263_html"><div·class="ttname"><a·href="a00263.html">loop.hh</a></div></div>615 <div·class="ttc"·id="aa00053_html"><div·class="ttname"><a·href="a00053.html">loop.hh</a></div></div>
618 <div·class="ttc"·id="aa00269_html"><div·class="ttname"><a·href="a00269.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div> 
619 <div·class="ttc"·id="aa00272_html"><div·class="ttname"><a·href="a00272.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div>616 <div·class="ttc"·id="aa00062_html"><div·class="ttname"><a·href="a00062.html">defaults.hh</a></div><div·class="ttdoc">Default·implementations·for·SIMD·Implementations.</div></div>
 617 <div·class="ttc"·id="aa00068_html"><div·class="ttname"><a·href="a00068.html">base.hh</a></div><div·class="ttdoc">Basic·definitions·for·SIMD·Implementations.</div></div>
 618 <div·class="ttc"·id="aa00083_html"><div·class="ttname"><a·href="a00083.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div>
 619 <div·class="ttc"·id="aa00275_html"><div·class="ttname"><a·href="a00275.html">indices.hh</a></div></div>
620 <div·class="ttc"·id="aa00397_html_gacf764509e6dae37477f5ad09b5ca3467"><div·class="ttname"><a·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant</a></div><div·class="ttdeci">std::integral_constant&lt;·std::size_t,·i·&gt;·index_constant</div><div·class="ttdoc">An·index·constant·with·value·i.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:30</div></div>620 <div·class="ttc"·id="aa00397_html_gacf764509e6dae37477f5ad09b5ca3467"><div·class="ttname"><a·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant</a></div><div·class="ttdeci">std::integral_constant&lt;·std::size_t,·i·&gt;·index_constant</div><div·class="ttdoc">An·index·constant·with·value·i.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:30</div></div>
621 <div·class="ttc"·id="aa00419_html_ga1a04d18cec7c2f206e9de49926bfe5a8"><div·class="ttname"><a·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">Dune::Simd::cond</a></div><div·class="ttdeci">V·cond(M·&amp;&amp;mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</div><div·class="ttdoc">Like·the·?:·operator.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:386</div></div>621 <div·class="ttc"·id="aa00419_html_ga1a04d18cec7c2f206e9de49926bfe5a8"><div·class="ttname"><a·href="a00419.html#ga1a04d18cec7c2f206e9de49926bfe5a8">Dune::Simd::cond</a></div><div·class="ttdeci">V·cond(M·&amp;&amp;mask,·const·V·&amp;ifTrue,·const·V·&amp;ifFalse)</div><div·class="ttdoc">Like·the·?:·operator.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:386</div></div>
622 <div·class="ttc"·id="aa00419_html_ga3e3f45a22ca7244829e9adf246ac4a9d"><div·class="ttname"><a·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">Dune::Simd::mask</a></div><div·class="ttdeci">auto·mask(const·V·&amp;v)</div><div·class="ttdoc">Convert·to·mask,·analogue·of·bool(s)·for·scalars.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:489</div></div>622 <div·class="ttc"·id="aa00419_html_ga3e3f45a22ca7244829e9adf246ac4a9d"><div·class="ttname"><a·href="a00419.html#ga3e3f45a22ca7244829e9adf246ac4a9d">Dune::Simd::mask</a></div><div·class="ttdeci">auto·mask(const·V·&amp;v)</div><div·class="ttdoc">Convert·to·mask,·analogue·of·bool(s)·for·scalars.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:489</div></div>
623 <div·class="ttc"·id="aa00419_html_gad41c8f8908cdade89370a34de31ace54"><div·class="ttname"><a·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Dune::Simd::Mask</a></div><div·class="ttdeci">Rebind&lt;·bool,·V·&gt;·Mask</div><div·class="ttdoc">Mask·type·type·of·some·SIMD·type.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:289</div></div>623 <div·class="ttc"·id="aa00419_html_gad41c8f8908cdade89370a34de31ace54"><div·class="ttname"><a·href="a00419.html#gad41c8f8908cdade89370a34de31ace54">Dune::Simd::Mask</a></div><div·class="ttdeci">Rebind&lt;·bool,·V·&gt;·Mask</div><div·class="ttdoc">Mask·type·type·of·some·SIMD·type.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:289</div></div>
624 <div·class="ttc"·id="aa00419_html_gaf7f6f3418836afcdb2c033509fd2eb91"><div·class="ttname"><a·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Dune::Simd::Scalar</a></div><div·class="ttdeci">typename·Overloads::ScalarType&lt;·std::decay_t&lt;·V·&gt;·&gt;::type·Scalar</div><div·class="ttdoc">Element·type·of·some·SIMD·type.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:235</div></div>624 <div·class="ttc"·id="aa00419_html_gaf7f6f3418836afcdb2c033509fd2eb91"><div·class="ttname"><a·href="a00419.html#gaf7f6f3418836afcdb2c033509fd2eb91">Dune::Simd::Scalar</a></div><div·class="ttdeci">typename·Overloads::ScalarType&lt;·std::decay_t&lt;·V·&gt;·&gt;::type·Scalar</div><div·class="ttdoc">Element·type·of·some·SIMD·type.</div><div·class="ttdef"><b>Definition:</b>·simd/interface.hh:235</div></div>
625 <div·class="ttc"·id="aa00420_html_ga14422b30715ca6467ef7ad7553497e8f"><div·class="ttname"><a·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">Dune::Simd::Overloads::mask</a></div><div·class="ttdeci">Mask&lt;·V·&gt;·mask(ADLTag&lt;·0,·std::is_same&lt;·V,·Mask&lt;·V·&gt;·&gt;::value·&gt;,·const·V·&amp;v)</div><div·class="ttdoc">implements·Simd::mask()</div><div·class="ttdef"><b>Definition:</b>·defaults.hh:153</div></div>625 <div·class="ttc"·id="aa00420_html_ga14422b30715ca6467ef7ad7553497e8f"><div·class="ttname"><a·href="a00420.html#ga14422b30715ca6467ef7ad7553497e8f">Dune::Simd::Overloads::mask</a></div><div·class="ttdeci">Mask&lt;·V·&gt;·mask(ADLTag&lt;·0,·std::is_same&lt;·V,·Mask&lt;·V·&gt;·&gt;::value·&gt;,·const·V·&amp;v)</div><div·class="ttdoc">implements·Simd::mask()</div><div·class="ttdef"><b>Definition:</b>·defaults.hh:153</div></div>
626 <div·class="ttc"·id="aa00420_html_ga537e92d4cfd4637707852c7f93c73c74"><div·class="ttname"><a·href="a00420.html#ga537e92d4cfd4637707852c7f93c73c74">Dune::Simd::Overloads::allFalse</a></div><div·class="ttdeci">bool·allFalse(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</div><div·class="ttdoc">implements·Simd::allFalse()</div><div·class="ttdef"><b>Definition:</b>·defaults.hh:124</div></div>626 <div·class="ttc"·id="aa00420_html_ga537e92d4cfd4637707852c7f93c73c74"><div·class="ttname"><a·href="a00420.html#ga537e92d4cfd4637707852c7f93c73c74">Dune::Simd::Overloads::allFalse</a></div><div·class="ttdeci">bool·allFalse(ADLTag&lt;·0·&gt;,·const·Mask·&amp;mask)</div><div·class="ttdoc">implements·Simd::allFalse()</div><div·class="ttdef"><b>Definition:</b>·defaults.hh:124</div></div>
817 B
html2text {}
    
Offset 552, 22 lines modifiedOffset 552, 22 lines modified
552 ·758·AutonomousValueType<typename·Simd::VcImpl::Proxy<V>::value_type>·{};552 ·758·AutonomousValueType<typename·Simd::VcImpl::Proxy<V>::value_type>·{};
553 ·759553 ·759
554 ·760}·//·namespace·Dune554 ·760}·//·namespace·Dune
555 ·761555 ·761
556 ·762#endif·//·DUNE_COMMON_SIMD_VC_HH556 ·762#endif·//·DUNE_COMMON_SIMD_VC_HH
557 vc.hh557 vc.hh
558 Compatibility·header·for·including·<Vc/Vc>558 Compatibility·header·for·including·<Vc/Vc>
559 indices.hh 
560 typetraits.hh 
561 Traits·for·type·conversions·and·type·information. 
562 loop.hh559 loop.hh
563 base.hh 
564 Basic·definitions·for·SIMD·Implementations. 
565 defaults.hh560 defaults.hh
566 Default·implementations·for·SIMD·Implementations.561 Default·implementations·for·SIMD·Implementations.
 562 base.hh
 563 Basic·definitions·for·SIMD·Implementations.
 564 typetraits.hh
 565 Traits·for·type·conversions·and·type·information.
 566 indices.hh
567 Dune::index_constant567 Dune::index_constant
568 std::integral_constant<·std::size_t,·i·>·index_constant568 std::integral_constant<·std::size_t,·i·>·index_constant
569 An·index·constant·with·value·i.569 An·index·constant·with·value·i.
570 Definition:·indices.hh:30570 Definition:·indices.hh:30
571 Dune::Simd::cond571 Dune::Simd::cond
572 V·cond(M·&&mask,·const·V·&ifTrue,·const·V·&ifFalse)572 V·cond(M·&&mask,·const·V·&ifTrue,·const·V·&ifFalse)
573 Like·the·?:·operator.573 Like·the·?:·operator.
2.12 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_000001_000006.html
    
Offset 62, 14 lines modifiedOffset 62, 14 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="contents">67 <div·class="contents">
68 <h3>common·&rarr;·simd·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/common</th><th·class="dirtab">Includes·file·in·dune/common/simd</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00188.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00269.html">base.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00188.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00272.html">defaul[·...·truncated·by·diffoscope;·len:·83,·SHA:·14b4bf1479d59a271ffebc55a00fd100f1e792fae9371e87b63216622d5bec20·...·].html">densematrix.hh</a></td><td·class="dirtab"><a·class="el"·href="a04448.html">simd/simd.hh</a></td></tr></table></div><!--·contents·-->68 <h3>common·&rarr;·simd·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/common</th><th·class="dirtab">Includes·file·in·dune/common/simd</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00206.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00068.html">base.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00206.html">debugalign.hh</a></td><td·class="dirtab"><a·class="el"·href="a00062.html">defaul[·...·truncated·by·diffoscope;·len:·83,·SHA:·2d90739973ab82dcfb8e093fbd996877dd9225394520462da8b54ee39fa00752·...·].html">densematrix.hh</a></td><td·class="dirtab"><a·class="el"·href="a04448.html">simd/simd.hh</a></td></tr></table></div><!--·contents·-->
69 <!--·start·footer·part·-->69 <!--·start·footer·part·-->
70 <hr·class="footer"/><address·class="footer"><small>70 <hr·class="footer"/><address·class="footer"><small>
71 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.471 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
72 </small></address>72 </small></address>
73 </body>73 </body>
74 </html>74 </html>
3.47 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_000001_000007.html
    
Offset 62, 14 lines modifiedOffset 62, 14 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="contents">67 <div·class="contents">
68 <h3>common·&rarr;·std·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/common</th><th·class="dirtab">Includes·file·in·dune/common/std</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00155.html">concept.hh</a></td><td·class="dirtab"><a·class="el"·href="a00335.html">type_traits.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00233.html">matrixconcepts.hh</a></td><td·class="dirtab"><a·class="el"·href="a00335.html"[·...·truncated·by·diffoscope;·len:·849,·SHA:·5e0892e3775ba3435829f4b8c84255a42d0562d67413c9b97c22bc4ee0756cfb·...·].html">type_traits.hh</a></td></tr></table></div><!--·contents·-->68 <h3>common·&rarr;·std·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/common</th><th·class="dirtab">Includes·file·in·dune/common/std</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00110.html">concept.hh</a></td><td·class="dirtab"><a·class="el"·href="a00152.html">type_traits.hh</a></td></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00128.html">matrixconcepts.hh</a></td><td·class="dirtab"><a·class="el"·href="a00152.html"[·...·truncated·by·diffoscope;·len:·849,·SHA:·4ac4b6cacb44f64f9474ac3ae5c060221922724cbfb04fb17b240e8d3adab29f·...·].html">type_traits.hh</a></td></tr></table></div><!--·contents·-->
69 <!--·start·footer·part·-->69 <!--·start·footer·part·-->
70 <hr·class="footer"/><address·class="footer"><small>70 <hr·class="footer"/><address·class="footer"><small>
71 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.471 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
72 </small></address>72 </small></address>
73 </body>73 </body>
74 </html>74 </html>
1.57 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_000005_000007.html
    
Offset 62, 14 lines modifiedOffset 62, 14 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html">parallel</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="contents">67 <div·class="contents">
68 <h3>parallel·&rarr;·std·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/common/parallel</th><th·class="dirtab">Includes·file·in·dune/common/std</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00050.html">mpidata.hh</a></td><td·class="dirtab"><a·class="el"·href="a00335.html">type_traits.hh</a></td></tr></table></div><!--·contents·-->68 <h3>parallel·&rarr;·std·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/common/parallel</th><th·class="dirtab">Includes·file·in·dune/common/std</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00356.html">mpidata.hh</a></td><td·class="dirtab"><a·class="el"·href="a00152.html">type_traits.hh</a></td></tr></table></div><!--·contents·-->
69 <!--·start·footer·part·-->69 <!--·start·footer·part·-->
70 <hr·class="footer"/><address·class="footer"><small>70 <hr·class="footer"/><address·class="footer"><small>
71 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.471 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
72 </small></address>72 </small></address>
73 </body>73 </body>
74 </html>74 </html>
1.55 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_000006_000007.html
    
Offset 62, 14 lines modifiedOffset 62, 14 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="contents">67 <div·class="contents">
68 <h3>simd·&rarr;·std·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/common/simd</th><th·class="dirtab">Includes·file·in·dune/common/std</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00266.html">test.hh</a></td><td·class="dirtab"><a·class="el"·href="a00335.html">type_traits.hh</a></td></tr></table></div><!--·contents·-->68 <h3>simd·&rarr;·std·Relation</h3><table·class="dirtab"><tr·class="dirtab"><th·class="dirtab">File·in·dune/common/simd</th><th·class="dirtab">Includes·file·in·dune/common/std</th></tr><tr·class="dirtab"><td·class="dirtab"><a·class="el"·href="a00077.html">test.hh</a></td><td·class="dirtab"><a·class="el"·href="a00152.html">type_traits.hh</a></td></tr></table></div><!--·contents·-->
69 <!--·start·footer·part·-->69 <!--·start·footer·part·-->
70 <hr·class="footer"/><address·class="footer"><small>70 <hr·class="footer"/><address·class="footer"><small>
71 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.471 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
72 </small></address>72 </small></address>
73 </body>73 </body>
74 </html>74 </html>
6.91 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_031b42d4197edee9e5e65b556f323728.html
    
Offset 79, 38 lines modifiedOffset 79, 38 lines modified
79 <area·shape="rect"·href="dir_000006_000007.html"·title="1"·alt=""·coords="67,122,75,137"/>79 <area·shape="rect"·href="dir_000006_000007.html"·title="1"·alt=""·coords="67,122,75,137"/>
80 <area·shape="rect"·href="dir_e151556194dc695299293609645e9437.html"·title="common"·alt=""·coords="16,16,109,207"/>80 <area·shape="rect"·href="dir_e151556194dc695299293609645e9437.html"·title="common"·alt=""·coords="16,16,109,207"/>
81 </map>81 </map>
82 </div>82 </div>
83 <table·class="memberdecls">83 <table·class="memberdecls">
84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>84 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
85 Files</h2></td></tr>85 Files</h2></td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00269.html">base.hh</a>·<a·href="a00269_source.html">[code]</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">base.hh</a>·<a·href="a00068_source.html">[code]</a></td></tr>
87 <tr·class="memdesc:a00269"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<br·/></td></tr>87 <tr·class="memdesc:a00068"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Basic·definitions·for·SIMD·Implementations.·<br·/></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00272.html">defaults.hh</a>·<a·href="a00272_source.html">[code]</a></td></tr>89 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">defaults.hh</a>·<a·href="a00062_source.html">[code]</a></td></tr>
90 <tr·class="memdesc:a00272"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<br·/></td></tr>90 <tr·class="memdesc:a00062"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Default·implementations·for·SIMD·Implementations.·<br·/></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.html">simd/interface.hh</a>·<a·href="a04445_source.html">[code]</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04445.html">simd/interface.hh</a>·<a·href="a04445_source.html">[code]</a></td></tr>
93 <tr·class="memdesc:a04445"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">User·interface·of·the·SIMD·abstraction.·<br·/></td></tr>93 <tr·class="memdesc:a04445"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">User·interface·of·the·SIMD·abstraction.·<br·/></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00281.html">io.hh</a>·<a·href="a00281_source.html">[code]</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">io.hh</a>·<a·href="a00056_source.html">[code]</a></td></tr>
96 <tr·class="memdesc:a00281"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>96 <tr·class="memdesc:a00056"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">IO·interface·of·the·SIMD·abstraction.·<br·/></td></tr>
97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>97 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00263.html">loop.hh</a>·<a·href="a00263_source.html">[code]</a></td></tr>98 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">loop.hh</a>·<a·href="a00053_source.html">[code]</a></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04448.html">simd/simd.hh</a>·<a·href="a04448_source.html">[code]</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04448.html">simd/simd.hh</a>·<a·href="a04448_source.html">[code]</a></td></tr>
101 <tr·class="memdesc:a04448"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Include·file·for·users·of·the·SIMD·abstraction·layer.·<br·/></td></tr>101 <tr·class="memdesc:a04448"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Include·file·for·users·of·the·SIMD·abstraction·layer.·<br·/></td></tr>
102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>102 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00275.html">standard.hh</a>·<a·href="a00275_source.html">[code]</a></td></tr>103 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html">standard.hh</a>·<a·href="a00065_source.html">[code]</a></td></tr>
104 <tr·class="memdesc:a00275"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·the·standard·built-in·types.·<br·/></td></tr>104 <tr·class="memdesc:a00065"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·the·standard·built-in·types.·<br·/></td></tr>
105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>105 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00278.html">test.cc</a></td></tr>106 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00074.html">test.cc</a></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00266.html">test.hh</a>·<a·href="a00266_source.html">[code]</a></td></tr>108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00077.html">test.hh</a>·<a·href="a00077_source.html">[code]</a></td></tr>
109 <tr·class="memdesc:a00266"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Common·tests·for·simd·abstraction·implementations.·<br·/></td></tr>109 <tr·class="memdesc:a00077"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Common·tests·for·simd·abstraction·implementations.·<br·/></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04451.html">simd/vc.hh</a>·<a·href="a04451_source.html">[code]</a></td></tr>111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04451.html">simd/vc.hh</a>·<a·href="a04451_source.html">[code]</a></td></tr>
112 <tr·class="memdesc:a04451"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·Vc.·<br·/></td></tr>112 <tr·class="memdesc:a04451"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">SIMD·abstractions·for·Vc.·<br·/></td></tr>
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 </table>114 </table>
115 </div><!--·contents·-->115 </div><!--·contents·-->
116 <!--·start·footer·part·-->116 <!--·start·footer·part·-->
3.99 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_ad3d78f7c720887942b5b35d91d0b390.html
    
Offset 77, 25 lines modifiedOffset 77, 25 lines modified
77 <area·shape="rect"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html"·title="std"·alt=""·coords="27,52,99,100"/>77 <area·shape="rect"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html"·title="std"·alt=""·coords="27,52,99,100"/>
78 <area·shape="rect"·href="dir_e151556194dc695299293609645e9437.html"·title="common"·alt=""·coords="16,16,109,111"/>78 <area·shape="rect"·href="dir_e151556194dc695299293609645e9437.html"·title="common"·alt=""·coords="16,16,109,111"/>
79 </map>79 </map>
80 </div>80 </div>
81 <table·class="memberdecls">81 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
83 Files</h2></td></tr>83 Files</h2></td></tr>
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html">apply.hh</a>·<a·href="a00332_source.html">[code]</a></td></tr>84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00158.html">apply.hh</a>·<a·href="a00158_source.html">[code]</a></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00326.html">functional.hh</a>·<a·href="a00326_source.html">[code]</a></td></tr>86 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00161.html">functional.hh</a>·<a·href="a00161_source.html">[code]</a></td></tr>
87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>87 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">make_array.hh</a>·<a·href="a00341_source.html">[code]</a></td></tr>88 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00149.html">make_array.hh</a>·<a·href="a00149_source.html">[code]</a></td></tr>
89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>89 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00335.html">type_traits.hh</a>·<a·href="a00335_source.html">[code]</a></td></tr>90 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00152.html">type_traits.hh</a>·<a·href="a00152_source.html">[code]</a></td></tr>
91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>91 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00338.html">utility.hh</a>·<a·href="a00338_source.html">[code]</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00155.html">utility.hh</a>·<a·href="a00155_source.html">[code]</a></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html">variant.hh</a>·<a·href="a00329_source.html">[code]</a></td></tr>94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00164.html">variant.hh</a>·<a·href="a00164_source.html">[code]</a></td></tr>
95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>95 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
96 </table>96 </table>
97 </div><!--·contents·-->97 </div><!--·contents·-->
98 <!--·start·footer·part·-->98 <!--·start·footer·part·-->
99 <hr·class="footer"/><address·class="footer"><small>99 <hr·class="footer"/><address·class="footer"><small>
100 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4100 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
101 </small></address>101 </small></address>
16.5 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_ade7f944fd3a163752f5cc1af55c988a.html
    
Offset 85, 69 lines modifiedOffset 85, 69 lines modified
85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="subdirs"·name="subdirs"></a>85 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="subdirs"·name="subdirs"></a>
86 Directories</h2></td></tr>86 Directories</h2></td></tr>
87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">directory·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html">benchmark</a></td></tr>87 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">directory·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html">benchmark</a></td></tr>
88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>88 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
89 </table><table·class="memberdecls">89 </table><table·class="memberdecls">
90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>90 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
91 Files</h2></td></tr>91 Files</h2></td></tr>
92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00053.html">collectivecommunication.hh</a>·<a·href="a00053_source.html">[code]</a></td></tr>92 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00353.html">collectivecommunication.hh</a>·<a·href="a00353_source.html">[code]</a></td></tr>
93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>93 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00023.html">communication.hh</a>·<a·href="a00023_source.html">[code]</a></td></tr>94 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00368.html">communication.hh</a>·<a·href="a00368_source.html">[code]</a></td></tr>
95 <tr·class="memdesc:a00023"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></td></tr>95 <tr·class="memdesc:a00368"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs.·<br·/></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00056.html">communicator.hh</a>·<a·href="a00056_source.html">[code]</a></td></tr>97 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00362.html">communicator.hh</a>·<a·href="a00362_source.html">[code]</a></td></tr>
98 <tr·class="memdesc:a00056"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·<br·/></td></tr>98 <tr·class="memdesc:a00362"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication.·<br·/></td></tr>
99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>99 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00020.html">future.hh</a>·<a·href="a00020_source.html">[code]</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00350.html">future.hh</a>·<a·href="a00350_source.html">[code]</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00035.html">indexset.hh</a>·<a·href="a00035_source.html">[code]</a></td></tr>102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html">indexset.hh</a>·<a·href="a00314_source.html">[code]</a></td></tr>
103 <tr·class="memdesc:a00035"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<br·/></td></tr>103 <tr·class="memdesc:a00314"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·a·map·between·global·and·local·indices.·<br·/></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00044.html">indicessyncer.hh</a>·<a·href="a00044_source.html">[code]</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00329.html">indicessyncer.hh</a>·<a·href="a00329_source.html">[code]</a></td></tr>
106 <tr·class="memdesc:a00044"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·<br·/></td></tr>106 <tr·class="memdesc:a00329"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication.·<br·/></td></tr>
107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>107 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04442.html">parallel/interface.hh</a>·<a·href="a04442_source.html">[code]</a></td></tr>108 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a04442.html">parallel/interface.hh</a>·<a·href="a04442_source.html">[code]</a></td></tr>
109 <tr·class="memdesc:a04442"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·building·the·communication·interface·between·remote·indices.·<br·/></td></tr>109 <tr·class="memdesc:a04442"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·building·the·communication·interface·between·remote·indices.·<br·/></td></tr>
110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>110 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00062.html">localindex.hh</a>·<a·href="a00062_source.html">[code]</a></td></tr>111 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00317.html">localindex.hh</a>·<a·href="a00317_source.html">[code]</a></td></tr>
112 <tr·class="memdesc:a00062"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·<br·/></td></tr>112 <tr·class="memdesc:a00317"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet.·<br·/></td></tr>
113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>113 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00047.html">mpicollectivecommunication.hh</a>·<a·href="a00047_source.html">[code]</a></td></tr>114 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00326.html">mpicollectivecommunication.hh</a>·<a·href="a00326_source.html">[code]</a></td></tr>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00038.html">mpicommunication.hh</a>·<a·href="a00038_source.html">[code]</a></td></tr>116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00347.html">mpicommunication.hh</a>·<a·href="a00347_source.html">[code]</a></td></tr>
117 <tr·class="memdesc:a00038"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·<br·/></td></tr>117 <tr·class="memdesc:a00347"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods.·<br·/></td></tr>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00050.html">mpidata.hh</a>·<a·href="a00050_source.html">[code]</a></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00356.html">mpidata.hh</a>·<a·href="a00356_source.html">[code]</a></td></tr>
120 <tr·class="memdesc:a00050"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·<br·/></td></tr>120 <tr·class="memdesc:a00356"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls.·<br·/></td></tr>
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00065.html">mpifuture.hh</a>·<a·href="a00065_source.html">[code]</a></td></tr>122 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00344.html">mpifuture.hh</a>·<a·href="a00344_source.html">[code]</a></td></tr>
123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>123 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
124 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00032.html">mpiguard.hh</a>·<a·href="a00032_source.html">[code]</a></td></tr>124 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00371.html">mpiguard.hh</a>·<a·href="a00371_source.html">[code]</a></td></tr>
125 <tr·class="memdesc:a00032"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·<br·/></td></tr>125 <tr·class="memdesc:a00371"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process.·<br·/></td></tr>
126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>126 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">mpihelper.hh</a>·<a·href="a00026_source.html">[code]</a></td></tr>127 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00335.html">mpihelper.hh</a>·<a·href="a00335_source.html">[code]</a></td></tr>
128 <tr·class="memdesc:a00026"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<br·/></td></tr>128 <tr·class="memdesc:a00335"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Helpers·for·dealing·with·MPI.·<br·/></td></tr>
129 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>129 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
130 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">mpipack.hh</a>·<a·href="a00014_source.html">[code]</a></td></tr>130 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00341.html">mpipack.hh</a>·<a·href="a00341_source.html">[code]</a></td></tr>
131 <tr·class="memdesc:a00014"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<br·/></td></tr>131 <tr·class="memdesc:a00341"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">See·MPI_Pack.·<br·/></td></tr>
132 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>132 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00029.html">mpitraits.hh</a>·<a·href="a00029_source.html">[code]</a></td></tr>133 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00365.html">mpitraits.hh</a>·<a·href="a00365_source.html">[code]</a></td></tr>
134 <tr·class="memdesc:a00029"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<br·/></td></tr>134 <tr·class="memdesc:a00365"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Traits·classes·for·mapping·types·onto·MPI_Datatype.·<br·/></td></tr>
135 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>135 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
136 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00068.html">plocalindex.hh</a>·<a·href="a00068_source.html">[code]</a></td></tr>136 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00320.html">plocalindex.hh</a>·<a·href="a00320_source.html">[code]</a></td></tr>
137 <tr·class="memdesc:a00068"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·<br·/></td></tr>137 <tr·class="memdesc:a00320"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing.·<br·/></td></tr>
138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">remoteindices.hh</a>·<a·href="a00017_source.html">[code]</a></td></tr>139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00359.html">remoteindices.hh</a>·<a·href="a00359_source.html">[code]</a></td></tr>
140 <tr·class="memdesc:a00017"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<br·/></td></tr>140 <tr·class="memdesc:a00359"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·describing·a·distributed·indexset.·<br·/></td></tr>
141 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>141 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
142 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">selection.hh</a>·<a·href="a00011_source.html">[code]</a></td></tr>142 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00323.html">selection.hh</a>·<a·href="a00323_source.html">[code]</a></td></tr>
143 <tr·class="memdesc:a00011"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>143 <tr·class="memdesc:a00323"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·classes·for·selecting·indices·based·on·attribute·flags.·<br·/></td></tr>
144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00059.html">variablesizecommunicator.hh</a>·<a·href="a00059_source.html">[code]</a></td></tr>145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00338.html">variablesizecommunicator.hh</a>·<a·href="a00338_source.html">[code]</a></td></tr>
146 <tr·class="memdesc:a00059"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·<br·/></td></tr>146 <tr·class="memdesc:a00338"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side.·<br·/></td></tr>
147 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>147 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
148 </table>148 </table>
149 </div><!--·contents·-->149 </div><!--·contents·-->
150 <!--·start·footer·part·-->150 <!--·start·footer·part·-->
151 <hr·class="footer"/><address·class="footer"><small>151 <hr·class="footer"/><address·class="footer"><small>
152 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4152 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
153 </small></address>153 </small></address>
1.33 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_be46aaae597ce098e36afa8d6ef4f49b.html
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 <area·shape="rect"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html"·title="benchmark"·alt=""·coords="27,52,114,100"/>77 <area·shape="rect"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html"·title="benchmark"·alt=""·coords="27,52,114,100"/>
78 <area·shape="rect"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html"·title="parallel"·alt=""·coords="16,16,125,111"/>78 <area·shape="rect"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html"·title="parallel"·alt=""·coords="16,16,125,111"/>
79 </map>79 </map>
80 </div>80 </div>
81 <table·class="memberdecls">81 <table·class="memberdecls">
82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>82 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
83 Files</h2></td></tr>83 Files</h2></td></tr>
84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00071.html">mpi_collective_benchmark.cc</a></td></tr>84 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00332.html">mpi_collective_benchmark.cc</a></td></tr>
85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>85 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
86 </table>86 </table>
87 </div><!--·contents·-->87 </div><!--·contents·-->
88 <!--·start·footer·part·-->88 <!--·start·footer·part·-->
89 <hr·class="footer"/><address·class="footer"><small>89 <hr·class="footer"/><address·class="footer"><small>
90 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.490 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
91 </small></address>91 </small></address>
71.9 KB
./usr/share/doc/libdune-common-doc/doxygen/dir_e151556194dc695299293609645e9437.html
    
Offset 93, 271 lines modifiedOffset 93, 271 lines modified
93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">directory·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></td></tr>93 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">directory·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html">simd</a></td></tr>
94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>94 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">directory·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></td></tr>95 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">directory·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></td></tr>
96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>96 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
97 </table><table·class="memberdecls">97 </table><table·class="memberdecls">
98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>98 <tr·class="heading"><td·colspan="2"><h2·class="groupheader"><a·id="files"·name="files"></a>
99 Files</h2></td></tr>99 Files</h2></td></tr>
100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00215.html">alignedallocator.hh</a>·<a·href="a00215_source.html">[code]</a></td></tr>100 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00146.html">alignedallocator.hh</a>·<a·href="a00146_source.html">[code]</a></td></tr>
101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>101 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00344.html">arraylist.hh</a>·<a·href="a00344_source.html">[code]</a></td></tr>102 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00203.html">arraylist.hh</a>·<a·href="a00203_source.html">[code]</a></td></tr>
103 <tr·class="memdesc:a00344"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·<br·/></td></tr>103 <tr·class="memdesc:a00203"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·<br·/></td></tr>
104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>104 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00296.html">assertandreturn.hh</a>·<a·href="a00296_source.html">[code]</a></td></tr>105 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00218.html">assertandreturn.hh</a>·<a·href="a00218_source.html">[code]</a></td></tr>
106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>106 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00392.html">bartonnackmanifcheck.hh</a>·<a·href="a00392_source.html">[code]</a></td></tr>107 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00119.html">bartonnackmanifcheck.hh</a>·<a·href="a00119_source.html">[code]</a></td></tr>
108 <tr·class="memdesc:a00392"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·check·for·implementation·of·interface·methods·when·using·static·polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging·purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up·possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has·to·be·defined.·<br·/></td></tr>108 <tr·class="memdesc:a00119"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·check·for·implementation·of·interface·methods·when·using·static·polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging·purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up·possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has·to·be·defined.·<br·/></td></tr>
109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>109 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00260.html">bigunsignedint.hh</a>·<a·href="a00260_source.html">[code]</a></td></tr>110 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html">bigunsignedint.hh</a>·<a·href="a00251_source.html">[code]</a></td></tr>
111 <tr·class="memdesc:a00260"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Portable·very·large·unsigned·integers.·<br·/></td></tr>111 <tr·class="memdesc:a00251"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Portable·very·large·unsigned·integers.·<br·/></td></tr>
112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>112 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00227.html">binaryfunctions.hh</a>·<a·href="a00227_source.html">[code]</a></td></tr>113 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00170.html">binaryfunctions.hh</a>·<a·href="a00170_source.html">[code]</a></td></tr>
114 <tr·class="memdesc:a00227"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">helper·classes·to·provide·unique·types·for·standard·functions·<br·/></td></tr>114 <tr·class="memdesc:a00170"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">helper·classes·to·provide·unique·types·for·standard·functions·<br·/></td></tr>
115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>115 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00314.html">bitsetvector.hh</a>·<a·href="a00314_source.html">[code]</a></td></tr>116 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">bitsetvector.hh</a>·<a·href="a00086_source.html">[code]</a></td></tr>
117 <tr·class="memdesc:a00314"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·<br·/></td></tr>117 <tr·class="memdesc:a00086"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans.·<br·/></td></tr>
118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>118 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">boundschecking.hh</a>·<a·href="a00104_source.html">[code]</a></td></tr>119 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00116.html">boundschecking.hh</a>·<a·href="a00116_source.html">[code]</a></td></tr>
120 <tr·class="memdesc:a00104"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Macro·for·wrapping·boundary·checks.·<br·/></td></tr>120 <tr·class="memdesc:a00116"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Macro·for·wrapping·boundary·checks.·<br·/></td></tr>
121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>121 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
122 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00383.html">classname.hh</a>·<a·href="a00383_source.html">[code]</a></td></tr>122 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00014.html">classname.hh</a>·<a·href="a00014_source.html">[code]</a></td></tr>
123 <tr·class="memdesc:a00383"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.·<br·/></td></tr>123 <tr·class="memdesc:a00014"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string.·<br·/></td></tr>
124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>124 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
125 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00155.html">concept.hh</a>·<a·href="a00155_source.html">[code]</a></td></tr>125 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00110.html">concept.hh</a>·<a·href="a00110_source.html">[code]</a></td></tr>
126 <tr·class="memdesc:a00155"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Infrastructure·for·concepts.·<br·/></td></tr>126 <tr·class="memdesc:a00110"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Infrastructure·for·concepts.·<br·/></td></tr>
127 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>127 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
128 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00302.html">conditional.hh</a>·<a·href="a00302_source.html">[code]</a></td></tr>128 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00191.html">conditional.hh</a>·<a·href="a00191_source.html">[code]</a></td></tr>
129 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>129 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
130 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00092.html">debugalign.cc</a></td></tr>130 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00011.html">debugalign.cc</a></td></tr>
131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>131 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
132 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html">debugalign.hh</a>·<a·href="a00188_source.html">[code]</a></td></tr>132 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00206.html">debugalign.hh</a>·<a·href="a00206_source.html">[code]</a></td></tr>
133 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>133 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
134 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00113.html">debugallocator.hh</a>·<a·href="a00113_source.html">[code]</a></td></tr>134 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00269.html">debugallocator.hh</a>·<a·href="a00269_source.html">[code]</a></td></tr>
135 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>135 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
136 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00101.html">debugstream.hh</a>·<a·href="a00101_source.html">[code]</a></td></tr>136 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">debugstream.hh</a>·<a·href="a00185_source.html">[code]</a></td></tr>
137 <tr·class="memdesc:a00101"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<br·/></td></tr>137 <tr·class="memdesc:a00185"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Defines·several·output·streams·for·messages·of·different·importance.·<br·/></td></tr>
138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>138 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00389.html">densematrix.hh</a>·<a·href="a00389_source.html">[code]</a></td></tr>139 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00236.html">densematrix.hh</a>·<a·href="a00236_source.html">[code]</a></td></tr>
140 <tr·class="memdesc:a00389"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.·<br·/></td></tr>140 <tr·class="memdesc:a00236"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns.·<br·/></td></tr>
141 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>141 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
142 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00128.html">densevector.hh</a>·<a·href="a00128_source.html">[code]</a></td></tr>142 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00104.html">densevector.hh</a>·<a·href="a00104_source.html">[code]</a></td></tr>
143 <tr·class="memdesc:a00128"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·<br·/></td></tr>143 <tr·class="memdesc:a00104"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class.·<br·/></td></tr>
144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>144 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00299.html">deprecated.hh</a>·<a·href="a00299_source.html">[code]</a></td></tr>145 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00113.html">deprecated.hh</a>·<a·href="a00113_source.html">[code]</a></td></tr>
146 <tr·class="memdesc:a00299"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·<br·/></td></tr>146 <tr·class="memdesc:a00113"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros.·<br·/></td></tr>
147 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>147 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
148 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00242.html">diagonalmatrix.hh</a>·<a·href="a00242_source.html">[code]</a></td></tr>148 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00215.html">diagonalmatrix.hh</a>·<a·href="a00215_source.html">[code]</a></td></tr>
149 <tr·class="memdesc:a00242"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·<br·/></td></tr>149 <tr·class="memdesc:a00215"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size.·<br·/></td></tr>
150 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>150 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
151 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00350.html">documentation.hh</a>·<a·href="a00350_source.html">[code]</a></td></tr>151 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html">documentation.hh</a>·<a·href="a00089_source.html">[code]</a></td></tr>
152 <tr·class="memdesc:a00350"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Documentation·related·stuff.·<br·/></td></tr>152 <tr·class="memdesc:a00089"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Documentation·related·stuff.·<br·/></td></tr>
153 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>153 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
154 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00290.html">dotproduct.hh</a>·<a·href="a00290_source.html">[code]</a></td></tr>154 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00287.html">dotproduct.hh</a>·<a·href="a00287_source.html">[code]</a></td></tr>
155 <tr·class="memdesc:a00290"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·the·functions·dot(a,b)·:=·<img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/>·and·dotT(a,b)·:=·<img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/>.·<br·/></td></tr>155 <tr·class="memdesc:a00287"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·the·functions·dot(a,b)·:=·<img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/>·and·dotT(a,b)·:=·<img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/>.·<br·/></td></tr>
156 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>156 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
157 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00197.html">dynmatrix.hh</a>·<a·href="a00197_source.html">[code]</a></td></tr>157 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00305.html">dynmatrix.hh</a>·<a·href="a00305_source.html">[code]</a></td></tr>
158 <tr·class="memdesc:a00197"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·<br·/></td></tr>158 <tr·class="memdesc:a00305"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns.·<br·/></td></tr>
159 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>159 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
160 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00257.html">dynmatrixev.hh</a>·<a·href="a00257_source.html">[code]</a></td></tr>160 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00182.html">dynmatrixev.hh</a>·<a·href="a00182_source.html">[code]</a></td></tr>
161 <tr·class="memdesc:a00257"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">utility·functions·to·compute·eigenvalues·for·dense·matrices.·<br·/></td></tr>161 <tr·class="memdesc:a00182"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">utility·functions·to·compute·eigenvalues·for·dense·matrices.·<br·/></td></tr>
162 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>162 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
163 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00179.html">dynvector.hh</a>·<a·href="a00179_source.html">[code]</a></td></tr>163 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00242.html">dynvector.hh</a>·<a·href="a00242_source.html">[code]</a></td></tr>
164 <tr·class="memdesc:a00179"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·vector·with·a·dynamic·size.·<br·/></td></tr>164 <tr·class="memdesc:a00242"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">This·file·implements·a·dense·vector·with·a·dynamic·size.·<br·/></td></tr>
165 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>165 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
166 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00353.html">enumset.hh</a>·<a·href="a00353_source.html">[code]</a></td></tr>166 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00278.html">enumset.hh</a>·<a·href="a00278_source.html">[code]</a></td></tr>
167 <tr·class="memdesc:a00353"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·for·building·sets·out·of·enumeration·values.·<br·/></td></tr>167 <tr·class="memdesc:a00278"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Classes·for·building·sets·out·of·enumeration·values.·<br·/></td></tr>
168 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>168 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
169 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00305.html">exceptions.cc</a></td></tr>169 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00080.html">exceptions.cc</a></td></tr>
170 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>170 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
171 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00185.html">exceptions.hh</a>·<a·href="a00185_source.html">[code]</a></td></tr>171 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00122.html">exceptions.hh</a>·<a·href="a00122_source.html">[code]</a></td></tr>
172 <tr·class="memdesc:a00185"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<br·/></td></tr>172 <tr·class="memdesc:a00122"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">A·few·common·exception·classes.·<br·/></td></tr>
173 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>173 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
174 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00149.html">filledarray.hh</a>·<a·href="a00149_source.html">[code]</a></td></tr>174 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00026.html">filledarray.hh</a>·<a·href="a00026_source.html">[code]</a></td></tr>
175 <tr·class="memdesc:a00149"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·to·generate·an·array·with·a·certain·value.·<br·/></td></tr>175 <tr·class="memdesc:a00026"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·to·generate·an·array·with·a·certain·value.·<br·/></td></tr>
176 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>176 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
177 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00146.html">float_cmp.cc</a></td></tr>177 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00299.html">float_cmp.cc</a></td></tr>
178 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>178 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
179 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00137.html">float_cmp.hh</a>·<a·href="a00137_source.html">[code]</a></td></tr>179 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00173.html">float_cmp.hh</a>·<a·href="a00173_source.html">[code]</a></td></tr>
180 <tr·class="memdesc:a00137"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Various·ways·to·compare·floating-point·numbers.·<br·/></td></tr>180 <tr·class="memdesc:a00173"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Various·ways·to·compare·floating-point·numbers.·<br·/></td></tr>
181 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>181 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
182 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00251.html">fmatrix.hh</a>·<a·href="a00251_source.html">[code]</a></td></tr>182 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00107.html">fmatrix.hh</a>·<a·href="a00107_source.html">[code]</a></td></tr>
183 <tr·class="memdesc:a00251"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.·<br·/></td></tr>183 <tr·class="memdesc:a00107"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns.·<br·/></td></tr>
184 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>184 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
185 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00089.html">fmatrixev.cc</a></td></tr>185 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00017.html">fmatrixev.cc</a></td></tr>
186 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>186 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
187 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00095.html">fmatrixev.hh</a>·<a·href="a00095_source.html">[code]</a></td></tr>187 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00296.html">fmatrixev.hh</a>·<a·href="a00296_source.html">[code]</a></td></tr>
188 <tr·class="memdesc:a00095"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Eigenvalue·computations·for·the·FieldMatrix·class.·<br·/></td></tr>188 <tr·class="memdesc:a00296"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Eigenvalue·computations·for·the·FieldMatrix·class.·<br·/></td></tr>
189 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>189 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
190 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00086.html">ftraits.hh</a>·<a·href="a00086_source.html">[code]</a></td></tr>190 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00101.html">ftraits.hh</a>·<a·href="a00101_source.html">[code]</a></td></tr>
191 <tr·class="memdesc:a00086"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·<br·/></td></tr>191 <tr·class="memdesc:a00101"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·<br·/></td></tr>
192 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>192 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
193 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00386.html">function.hh</a>·<a·href="a00386_source.html">[code]</a></td></tr>193 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00377.html">function.hh</a>·<a·href="a00377_source.html">[code]</a></td></tr>
194 <tr·class="memdesc:a00386"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>194 <tr·class="memdesc:a00377"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Simple·base·class·templates·for·functions.·<br·/></td></tr>
195 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>195 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
196 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00122.html">fvector.hh</a>·<a·href="a00122_source.html">[code]</a></td></tr>196 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00098.html">fvector.hh</a>·<a·href="a00098_source.html">[code]</a></td></tr>
197 <tr·class="memdesc:a00122"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·<br·/></td></tr>197 <tr·class="memdesc:a00098"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size.·<br·/></td></tr>
198 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>198 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
199 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00365.html">genericiterator.hh</a>·<a·href="a00365_source.html">[code]</a></td></tr>199 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00257.html">genericiterator.hh</a>·<a·href="a00257_source.html">[code]</a></td></tr>
200 <tr·class="memdesc:a00365"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.·<br·/></td></tr>200 <tr·class="memdesc:a00257"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators.·<br·/></td></tr>
201 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>201 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
202 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00362.html">gmpfield.hh</a>·<a·href="a00362_source.html">[code]</a></td></tr>202 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00374.html">gmpfield.hh</a>·<a·href="a00374_source.html">[code]</a></td></tr>
203 <tr·class="memdesc:a00362"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·for·the·GNU·multiprecision·(GMP)·library.·<br·/></td></tr>203 <tr·class="memdesc:a00374"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Wrapper·for·the·GNU·multiprecision·(GMP)·library.·<br·/></td></tr>
204 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>204 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
205 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00083.html">hash.hh</a>·<a·href="a00083_source.html">[code]</a></td></tr>205 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00188.html">hash.hh</a>·<a·href="a00188_source.html">[code]</a></td></tr>
206 <tr·class="memdesc:a00083"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Support·for·calculating·hash·values·of·objects.·<br·/></td></tr>206 <tr·class="memdesc:a00188"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Support·for·calculating·hash·values·of·objects.·<br·/></td></tr>
207 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>207 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
208 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00191.html">hybridutilities.hh</a>·<a·href="a00191_source.html">[code]</a></td></tr>208 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00392.html">hybridutilities.hh</a>·<a·href="a00392_source.html">[code]</a></td></tr>
209 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>209 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
210 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00293.html">indent.hh</a>·<a·href="a00293_source.html">[code]</a></td></tr>210 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00248.html">indent.hh</a>·<a·href="a00248_source.html">[code]</a></td></tr>
211 <tr·class="memdesc:a00293"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>211 <tr·class="memdesc:a00248"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Utility·class·for·handling·nested·indentation·in·output.·<br·/></td></tr>
212 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>212 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
213 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00173.html">indices.hh</a>·<a·href="a00173_source.html">[code]</a></td></tr>213 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00275.html">indices.hh</a>·<a·href="a00275_source.html">[code]</a></td></tr>
214 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>214 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
215 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">interfaces.hh</a>·<a·href="a00230_source.html">[code]</a></td></tr>215 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00230.html">interfaces.hh</a>·<a·href="a00230_source.html">[code]</a></td></tr>
216 <tr·class="memdesc:a00230"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·interfaces·for·detection·of·specific·behavior.·<br·/></td></tr>216 <tr·class="memdesc:a00230"><td·class="mdescLeft">&#160;</td><td·class="mdescRight">Provides·interfaces·for·detection·of·specific·behavior.·<br·/></td></tr>
217 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>217 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
218 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00164.html">ios_state.cc</a></td></tr>218 <tr·class="memitem:"><td·class="memItemLeft"·align="right"·valign="top">file·&#160;</td><td·class="memItemRight"·valign="bottom"><a·class="el"·href="a00311.html">ios_state.cc</a></td></tr>
219 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>219 <tr·class="separator:"><td·class="memSeparator"·colspan="2">&#160;</td></tr>
Max diff block lines reached; 37442/73453 bytes (50.97%) of diff not shown.
163 KB
./usr/share/doc/libdune-common-doc/doxygen/dune-common.tag.gz
163 KB
dune-common.tag
163 KB
dune-common.tag
    
Offset 14, 68 lines modifiedOffset 14, 68 lines modified
14 ····<name>dune/common/modules.txt</name>14 ····<name>dune/common/modules.txt</name>
15 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>15 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
16 ····<filename>a04439.html</filename>16 ····<filename>a04439.html</filename>
17 ··</compound>17 ··</compound>
18 ··<compound·kind="file">18 ··<compound·kind="file">
19 ····<name>alignedallocator.hh</name>19 ····<name>alignedallocator.hh</name>
20 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>20 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
21 ····<filename>a00215.html</filename>21 ····<filename>a00146.html</filename>
22 ····<includes·id="a00287"·name="mallocallocator.hh"·local="yes"·imported="no">mallocallocator.hh</includes>22 ····<includes·id="a00023"·name="mallocallocator.hh"·local="yes"·imported="no">mallocallocator.hh</includes>
23 ····<class·kind="class">Dune::AlignedAllocator</class>23 ····<class·kind="class">Dune::AlignedAllocator</class>
24 ····<class·kind="struct">Dune::AlignedAllocator::rebind</class>24 ····<class·kind="struct">Dune::AlignedAllocator::rebind</class>
25 ····<namespace>Dune</namespace>25 ····<namespace>Dune</namespace>
26 ··</compound>26 ··</compound>
27 ··<compound·kind="file">27 ··<compound·kind="file">
28 ····<name>arraylist.hh</name>28 ····<name>arraylist.hh</name>
29 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>29 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
30 ····<filename>a00344.html</filename>30 ····<filename>a00203.html</filename>
31 ····<includes·id="a00170"·name="iteratorfacades.hh"·local="yes"·imported="no">iteratorfacades.hh</includes>31 ····<includes·id="a00137"·name="iteratorfacades.hh"·local="yes"·imported="no">iteratorfacades.hh</includes>
32 ····<class·kind="class">Dune::ArrayList</class>32 ····<class·kind="class">Dune::ArrayList</class>
33 ····<class·kind="class">Dune::ArrayListIterator</class>33 ····<class·kind="class">Dune::ArrayListIterator</class>
34 ····<class·kind="class">Dune::ConstArrayListIterator</class>34 ····<class·kind="class">Dune::ConstArrayListIterator</class>
35 ····<namespace>Dune</namespace>35 ····<namespace>Dune</namespace>
36 ··</compound>36 ··</compound>
37 ··<compound·kind="file">37 ··<compound·kind="file">
38 ····<name>assertandreturn.hh</name>38 ····<name>assertandreturn.hh</name>
39 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>39 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
40 ····<filename>a00296.html</filename>40 ····<filename>a00218.html</filename>
41 ····<member·kind="define">41 ····<member·kind="define">
42 ······<type>#define</type>42 ······<type>#define</type>
43 ······<name>DUNE_ASSERT_AND_RETURN</name>43 ······<name>DUNE_ASSERT_AND_RETURN</name>
44 ······<anchorfile>a00406.html</anchorfile>44 ······<anchorfile>a00406.html</anchorfile>
45 ······<anchor>ga902aaece2c20a75cbf6daad4957ba069</anchor>45 ······<anchor>ga902aaece2c20a75cbf6daad4957ba069</anchor>
46 ······<arglist>(C,·X)</arglist>46 ······<arglist>(C,·X)</arglist>
47 ····</member>47 ····</member>
48 ··</compound>48 ··</compound>
49 ··<compound·kind="file">49 ··<compound·kind="file">
50 ····<name>bartonnackmanifcheck.hh</name>50 ····<name>bartonnackmanifcheck.hh</name>
51 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>51 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
52 ····<filename>a00392.html</filename>52 ····<filename>a00119.html</filename>
53 ····<includes·id="a00185"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>53 ····<includes·id="a00122"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>
54 ····<member·kind="define">54 ····<member·kind="define">
55 ······<type>#define</type>55 ······<type>#define</type>
56 ······<name>CHECK_INTERFACE_IMPLEMENTATION</name>56 ······<name>CHECK_INTERFACE_IMPLEMENTATION</name>
57 ······<anchorfile>a00392.html</anchorfile>57 ······<anchorfile>a00119.html</anchorfile>
58 ······<anchor>acd7d9df83980a2517813af61e0eb22e1</anchor>58 ······<anchor>acd7d9df83980a2517813af61e0eb22e1</anchor>
59 ······<arglist>(dummy)</arglist>59 ······<arglist>(dummy)</arglist>
60 ····</member>60 ····</member>
61 ····<member·kind="define">61 ····<member·kind="define">
62 ······<type>#define</type>62 ······<type>#define</type>
63 ······<name>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</name>63 ······<name>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION</name>
64 ······<anchorfile>a00392.html</anchorfile>64 ······<anchorfile>a00119.html</anchorfile>
65 ······<anchor>a3ae5cb4f2a5339eb07e94108e67bcca7</anchor>65 ······<anchor>a3ae5cb4f2a5339eb07e94108e67bcca7</anchor>
66 ······<arglist>(__interface_method_to_call__)</arglist>66 ······<arglist>(__interface_method_to_call__)</arglist>
67 ····</member>67 ····</member>
68 ··</compound>68 ··</compound>
69 ··<compound·kind="file">69 ··<compound·kind="file">
70 ····<name>bigunsignedint.hh</name>70 ····<name>bigunsignedint.hh</name>
71 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>71 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
72 ····<filename>a00260.html</filename>72 ····<filename>a00251.html</filename>
73 ····<includes·id="a00185"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>73 ····<includes·id="a00122"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>
74 ····<includes·id="a00083"·name="hash.hh"·local="no"·imported="no">dune/common/hash.hh</includes>74 ····<includes·id="a00188"·name="hash.hh"·local="no"·imported="no">dune/common/hash.hh</includes>
75 ····<class·kind="class">Dune::bigunsignedint</class>75 ····<class·kind="class">Dune::bigunsignedint</class>
76 ····<class·kind="struct">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</class>76 ····<class·kind="struct">Dune::IsNumber&lt;·bigunsignedint&lt;·k·&gt;·&gt;</class>
77 ····<class·kind="struct">std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&gt;</class>77 ····<class·kind="struct">std::numeric_limits&lt;·Dune::bigunsignedint&lt;·k·&gt;·&gt;</class>
78 ····<namespace>Dune</namespace>78 ····<namespace>Dune</namespace>
79 ····<namespace>std</namespace>79 ····<namespace>std</namespace>
80 ····<member·kind="define">80 ····<member·kind="define">
81 ······<type>#define</type>81 ······<type>#define</type>
Offset 161, 52 lines modifiedOffset 161, 52 lines modified
161 ······<anchor>ga73959b8d904c046a773200eb2a4bc020</anchor>161 ······<anchor>ga73959b8d904c046a773200eb2a4bc020</anchor>
162 ······<arglist>(std::uintmax_t·x,·const·bigunsignedint&lt;·k·&gt;·&amp;y)</arglist>162 ······<arglist>(std::uintmax_t·x,·const·bigunsignedint&lt;·k·&gt;·&amp;y)</arglist>
163 ····</member>163 ····</member>
164 ··</compound>164 ··</compound>
165 ··<compound·kind="file">165 ··<compound·kind="file">
166 ····<name>binaryfunctions.hh</name>166 ····<name>binaryfunctions.hh</name>
167 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>167 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
168 ····<filename>a00227.html</filename>168 ····<filename>a00170.html</filename>
169 ····<class·kind="struct">Dune::Min</class>169 ····<class·kind="struct">Dune::Min</class>
170 ····<class·kind="struct">Dune::Max</class>170 ····<class·kind="struct">Dune::Max</class>
171 ····<namespace>Dune</namespace>171 ····<namespace>Dune</namespace>
172 ··</compound>172 ··</compound>
173 ··<compound·kind="file">173 ··<compound·kind="file">
174 ····<name>bitsetvector.hh</name>174 ····<name>bitsetvector.hh</name>
175 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>175 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
176 ····<filename>a00314.html</filename>176 ····<filename>a00086.html</filename>
177 ····<includes·id="a00104"·name="boundschecking.hh"·local="no"·imported="no">dune/common/boundschecking.hh</includes>177 ····<includes·id="a00116"·name="boundschecking.hh"·local="no"·imported="no">dune/common/boundschecking.hh</includes>
178 ····<includes·id="a00365"·name="genericiterator.hh"·local="no"·imported="no">dune/common/genericiterator.hh</includes>178 ····<includes·id="a00257"·name="genericiterator.hh"·local="no"·imported="no">dune/common/genericiterator.hh</includes>
179 ····<includes·id="a00185"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>179 ····<includes·id="a00122"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>
180 ····<class·kind="class">Dune::BitSetVectorConstReference</class>180 ····<class·kind="class">Dune::BitSetVectorConstReference</class>
181 ····<class·kind="class">Dune::BitSetVectorReference</class>181 ····<class·kind="class">Dune::BitSetVectorReference</class>
182 ····<class·kind="struct">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</class>182 ····<class·kind="struct">Dune::const_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</class>
183 ····<class·kind="struct">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</class>183 ····<class·kind="struct">Dune::const_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</class>
184 ····<class·kind="struct">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</class>184 ····<class·kind="struct">Dune::mutable_reference&lt;·BitSetVectorReference&lt;·block_size,·Alloc·&gt;·&gt;</class>
185 ····<class·kind="struct">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</class>185 ····<class·kind="struct">Dune::mutable_reference&lt;·BitSetVectorConstReference&lt;·block_size,·Alloc·&gt;·&gt;</class>
186 ····<class·kind="class">Dune::BitSetVector</class>186 ····<class·kind="class">Dune::BitSetVector</class>
187 ····<namespace>Dune</namespace>187 ····<namespace>Dune</namespace>
188 ··</compound>188 ··</compound>
189 ··<compound·kind="file">189 ··<compound·kind="file">
190 ····<name>boundschecking.hh</name>190 ····<name>boundschecking.hh</name>
191 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>191 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
192 ····<filename>a00104.html</filename>192 ····<filename>a00116.html</filename>
193 ····<includes·id="a00185"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>193 ····<includes·id="a00122"·name="exceptions.hh"·local="no"·imported="no">dune/common/exceptions.hh</includes>
194 ····<member·kind="define">194 ····<member·kind="define">
195 ······<type>#define</type>195 ······<type>#define</type>
196 ······<name>DUNE_ASSERT_BOUNDS</name>196 ······<name>DUNE_ASSERT_BOUNDS</name>
197 ······<anchorfile>a00397.html</anchorfile>197 ······<anchorfile>a00397.html</anchorfile>
198 ······<anchor>ga75d4ba5883cb39e7ec7927891a12615e</anchor>198 ······<anchor>ga75d4ba5883cb39e7ec7927891a12615e</anchor>
199 ······<arglist>(cond)</arglist>199 ······<arglist>(cond)</arglist>
200 ····</member>200 ····</member>
201 ··</compound>201 ··</compound>
202 ··<compound·kind="file">202 ··<compound·kind="file">
203 ····<name>classname.hh</name>203 ····<name>classname.hh</name>
204 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>204 ····<path>/build/reproducible-path/dune-common-2.9.0/dune/common/</path>
205 ····<filename>a00383.html</filename>205 ····<filename>a00014.html</filename>
206 ····<namespace>Dune</namespace>206 ····<namespace>Dune</namespace>
207 ····<member·kind="function">207 ····<member·kind="function">
208 ······<type>std::string</type>208 ······<type>std::string</type>
209 ······<name>className</name>209 ······<name>className</name>
210 ······<anchorfile>a00425.html</anchorfile>210 ······<anchorfile>a00425.html</anchorfile>
211 ······<anchor>a33ac30656648b528235c913852c28ac7</anchor>211 ······<anchor>a33ac30656648b528235c913852c28ac7</anchor>
212 ······<arglist>()</arglist>212 ······<arglist>()</arglist>
Offset 218, 19 lines modifiedOffset 218, 19 lines modified
218 ······<anchor>a1d7665500285ebc74f89523cb8cf4fae</anchor>218 ······<anchor>a1d7665500285ebc74f89523cb8cf4fae</anchor>
219 ······<arglist>(T·&amp;&amp;v)</arglist>219 ······<arglist>(T·&amp;&amp;v)</arglist>
220 ····</member>220 ····</member>
221 ··</compound>221 ··</compound>
222 ··<compound·kind="file">222 ··<compound·kind="file">
Max diff block lines reached; 159584/167075 bytes (95.52%) of diff not shown.
88.4 KB
./usr/share/doc/libdune-common-doc/doxygen/files.html
    
Offset 69, 148 lines modifiedOffset 69, 148 lines modified
69 <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span><span·onclick="javascript:toggleLevel(3);">3</span><span·onclick="javascript:toggleLevel(4);">4</span><span·onclick="javascript:toggleLevel(5);">5</span>]</div><table·class="directory">69 <div·class="levels">[detail·level·<span·onclick="javascript:toggleLevel(1);">1</span><span·onclick="javascript:toggleLevel(2);">2</span><span·onclick="javascript:toggleLevel(3);">3</span><span·onclick="javascript:toggleLevel(4);">4</span><span·onclick="javascript:toggleLevel(5);">5</span>]</div><table·class="directory">
70 <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;">&#160;</span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">&#9660;</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')">&#160;</span><a·class="el"·href="dir_e68e8157741866f444e17edd764ebbae.html"·target="_self">doc</a></td><td·class="desc"></td></tr>70 <tr·id="row_0_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;">&#160;</span><span·id="arr_0_"·class="arrow"·onclick="toggleFolder('0_')">&#9660;</span><span·id="img_0_"·class="iconfopen"·onclick="toggleFolder('0_')">&#160;</span><a·class="el"·href="dir_e68e8157741866f444e17edd764ebbae.html"·target="_self">doc</a></td><td·class="desc"></td></tr>
71 <tr·id="row_0_0_"><td·class="entry"><span·style="width:32px;display:inline-block;">&#160;</span><span·class="iconfclosed"></span><a·class="el"·href="dir_04f2ecc425faf0d475a3caf484e551f3.html"·target="_self">doxygen</a></td><td·class="desc"></td></tr>71 <tr·id="row_0_0_"><td·class="entry"><span·style="width:32px;display:inline-block;">&#160;</span><span·class="iconfclosed"></span><a·class="el"·href="dir_04f2ecc425faf0d475a3caf484e551f3.html"·target="_self">doxygen</a></td><td·class="desc"></td></tr>
72 <tr·id="row_1_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;">&#160;</span><span·id="arr_1_"·class="arrow"·onclick="toggleFolder('1_')">&#9660;</span><span·id="img_1_"·class="iconfopen"·onclick="toggleFolder('1_')">&#160;</span><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html"·target="_self">dune</a></td><td·class="desc"></td></tr>72 <tr·id="row_1_"·class="even"><td·class="entry"><span·style="width:0px;display:inline-block;">&#160;</span><span·id="arr_1_"·class="arrow"·onclick="toggleFolder('1_')">&#9660;</span><span·id="img_1_"·class="iconfopen"·onclick="toggleFolder('1_')">&#160;</span><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html"·target="_self">dune</a></td><td·class="desc"></td></tr>
73 <tr·id="row_1_0_"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_1_0_"·class="arrow"·onclick="toggleFolder('1_0_')">&#9658;</span><span·id="img_1_0_"·class="iconfclosed"·onclick="toggleFolder('1_0_')">&#160;</span><a·class="el"·href="dir_e151556194dc695299293609645e9437.html"·target="_self">common</a></td><td·class="desc"></td></tr>73 <tr·id="row_1_0_"><td·class="entry"><span·style="width:16px;display:inline-block;">&#160;</span><span·id="arr_1_0_"·class="arrow"·onclick="toggleFolder('1_0_')">&#9658;</span><span·id="img_1_0_"·class="iconfclosed"·onclick="toggleFolder('1_0_')">&#160;</span><a·class="el"·href="dir_e151556194dc695299293609645e9437.html"·target="_self">common</a></td><td·class="desc"></td></tr>
74 <tr·id="row_1_0_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:32px;display:inline-block;">&#160;</span><span·id="arr_1_0_0_"·class="arrow"·onclick="toggleFolder('1_0_0_')">&#9658;</span><span·id="img_1_0_0_"·class="iconfclosed"·onclick="toggleFolder('1_0_0_')">&#160;</span><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html"·target="_self">parallel</a></td><td·class="desc"></td></tr>74 <tr·id="row_1_0_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:32px;display:inline-block;">&#160;</span><span·id="arr_1_0_0_"·class="arrow"·onclick="toggleFolder('1_0_0_')">&#9658;</span><span·id="img_1_0_0_"·class="iconfclosed"·onclick="toggleFolder('1_0_0_')">&#160;</span><a·class="el"·href="dir_ade7f944fd3a163752f5cc1af55c988a.html"·target="_self">parallel</a></td><td·class="desc"></td></tr>
75 <tr·id="row_1_0_0_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·id="arr_1_0_0_0_"·class="arrow"·onclick="toggleFolder('1_0_0_0_')">&#9658;</span><span·id="img_1_0_0_0_"·class="iconfclosed"·onclick="toggleFolder('1_0_0_0_')">&#160;</span><a·class="el"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html"·target="_self">benchmark</a></td><td·class="desc"></td></tr>75 <tr·id="row_1_0_0_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·id="arr_1_0_0_0_"·class="arrow"·onclick="toggleFolder('1_0_0_0_')">&#9658;</span><span·id="img_1_0_0_0_"·class="iconfclosed"·onclick="toggleFolder('1_0_0_0_')">&#160;</span><a·class="el"·href="dir_be46aaae597ce098e36afa8d6ef4f49b.html"·target="_self">benchmark</a></td><td·class="desc"></td></tr>
76 <tr·id="row_1_0_0_0_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:80px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00071.html"·target="_self">mpi_collective_benchmark.cc</a></td><td·class="desc"></td></tr>76 <tr·id="row_1_0_0_0_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:80px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00332.html"·target="_self">mpi_collective_benchmark.cc</a></td><td·class="desc"></td></tr>
77 <tr·id="row_1_0_0_1_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.html"·target="_self">collectivecommunication.hh</a></td><td·class="desc"></td></tr>77 <tr·id="row_1_0_0_1_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00353_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00353.html"·target="_self">collectivecommunication.hh</a></td><td·class="desc"></td></tr>
78 <tr·id="row_1_0_0_2_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.html"·target="_self">communication.hh</a></td><td·class="desc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs·</td></tr>78 <tr·id="row_1_0_0_2_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00368_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00368.html"·target="_self">communication.hh</a></td><td·class="desc">Implements·an·utility·class·that·provides·collective·communication·methods·for·sequential·programs·</td></tr>
79 <tr·id="row_1_0_0_3_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.html"·target="_self">communicator.hh</a></td><td·class="desc">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication·</td></tr>79 <tr·id="row_1_0_0_3_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00362_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00362.html"·target="_self">communicator.hh</a></td><td·class="desc">Provides·utility·classes·for·syncing·distributed·data·via·MPI·communication·</td></tr>
80 <tr·id="row_1_0_0_4_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00020_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00020.html"·target="_self">future.hh</a></td><td·class="desc"></td></tr>80 <tr·id="row_1_0_0_4_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00350_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00350.html"·target="_self">future.hh</a></td><td·class="desc"></td></tr>
81 <tr·id="row_1_0_0_5_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.html"·target="_self">indexset.hh</a></td><td·class="desc">Provides·a·map·between·global·and·local·indices·</td></tr>81 <tr·id="row_1_0_0_5_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00314_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00314.html"·target="_self">indexset.hh</a></td><td·class="desc">Provides·a·map·between·global·and·local·indices·</td></tr>
82 <tr·id="row_1_0_0_6_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00044_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00044.html"·target="_self">indicessyncer.hh</a></td><td·class="desc">Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication·</td></tr>82 <tr·id="row_1_0_0_6_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00329_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00329.html"·target="_self">indicessyncer.hh</a></td><td·class="desc">Class·for·adding·missing·indices·of·a·distributed·index·set·in·a·local·communication·</td></tr>
83 <tr·id="row_1_0_0_7_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a04442_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04442.html"·target="_self">parallel/interface.hh</a></td><td·class="desc">Provides·classes·for·building·the·communication·interface·between·remote·indices·</td></tr>83 <tr·id="row_1_0_0_7_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a04442_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04442.html"·target="_self">parallel/interface.hh</a></td><td·class="desc">Provides·classes·for·building·the·communication·interface·between·remote·indices·</td></tr>
84 <tr·id="row_1_0_0_8_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.html"·target="_self">localindex.hh</a></td><td·class="desc">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·</td></tr>84 <tr·id="row_1_0_0_8_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00317_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00317.html"·target="_self">localindex.hh</a></td><td·class="desc">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·</td></tr>
85 <tr·id="row_1_0_0_9_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00047_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00047.html"·target="_self">mpicollectivecommunication.hh</a></td><td·class="desc"></td></tr>85 <tr·id="row_1_0_0_9_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00326_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00326.html"·target="_self">mpicollectivecommunication.hh</a></td><td·class="desc"></td></tr>
86 <tr·id="row_1_0_0_10_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00038_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00038.html"·target="_self">mpicommunication.hh</a></td><td·class="desc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods·</td></tr>86 <tr·id="row_1_0_0_10_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00347_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00347.html"·target="_self">mpicommunication.hh</a></td><td·class="desc">Implements·an·utility·class·that·provides·MPI's·collective·communication·methods·</td></tr>
87 <tr·id="row_1_0_0_11_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00050_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00050.html"·target="_self">mpidata.hh</a></td><td·class="desc">Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls·</td></tr>87 <tr·id="row_1_0_0_11_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00356_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00356.html"·target="_self">mpidata.hh</a></td><td·class="desc">Interface·class·to·translate·objects·to·a·MPI_Datatype,·void*·and·size·used·for·MPI·calls·</td></tr>
88 <tr·id="row_1_0_0_12_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00065_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00065.html"·target="_self">mpifuture.hh</a></td><td·class="desc"></td></tr>88 <tr·id="row_1_0_0_12_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00344_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00344.html"·target="_self">mpifuture.hh</a></td><td·class="desc"></td></tr>
89 <tr·id="row_1_0_0_13_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00032_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00032.html"·target="_self">mpiguard.hh</a></td><td·class="desc">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process·</td></tr>89 <tr·id="row_1_0_0_13_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00371_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00371.html"·target="_self">mpiguard.hh</a></td><td·class="desc">Implements·a·MPIGuard·which·detects·an·error·on·a·remote·process·</td></tr>
90 <tr·id="row_1_0_0_14_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">mpihelper.hh</a></td><td·class="desc">Helpers·for·dealing·with·MPI·</td></tr>90 <tr·id="row_1_0_0_14_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00335_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00335.html"·target="_self">mpihelper.hh</a></td><td·class="desc">Helpers·for·dealing·with·MPI·</td></tr>
91 <tr·id="row_1_0_0_15_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00014_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00014.html"·target="_self">mpipack.hh</a></td><td·class="desc">See·MPI_Pack·</td></tr>91 <tr·id="row_1_0_0_15_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00341_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00341.html"·target="_self">mpipack.hh</a></td><td·class="desc">See·MPI_Pack·</td></tr>
92 <tr·id="row_1_0_0_16_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.html"·target="_self">mpitraits.hh</a></td><td·class="desc">Traits·classes·for·mapping·types·onto·MPI_Datatype·</td></tr>92 <tr·id="row_1_0_0_16_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00365_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00365.html"·target="_self">mpitraits.hh</a></td><td·class="desc">Traits·classes·for·mapping·types·onto·MPI_Datatype·</td></tr>
93 <tr·id="row_1_0_0_17_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.html"·target="_self">plocalindex.hh</a></td><td·class="desc">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing·</td></tr>93 <tr·id="row_1_0_0_17_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00320_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00320.html"·target="_self">plocalindex.hh</a></td><td·class="desc">Provides·classes·for·use·as·the·local·index·in·ParallelIndexSet·for·distributed·computing·</td></tr>
94 <tr·id="row_1_0_0_18_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00017_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00017.html"·target="_self">remoteindices.hh</a></td><td·class="desc">Classes·describing·a·distributed·indexset·</td></tr>94 <tr·id="row_1_0_0_18_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00359_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00359.html"·target="_self">remoteindices.hh</a></td><td·class="desc">Classes·describing·a·distributed·indexset·</td></tr>
95 <tr·id="row_1_0_0_19_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00011_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00011.html"·target="_self">selection.hh</a></td><td·class="desc">Provides·classes·for·selecting·indices·based·on·attribute·flags·</td></tr>95 <tr·id="row_1_0_0_19_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00323_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00323.html"·target="_self">selection.hh</a></td><td·class="desc">Provides·classes·for·selecting·indices·based·on·attribute·flags·</td></tr>
96 <tr·id="row_1_0_0_20_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.html"·target="_self">variablesizecommunicator.hh</a></td><td·class="desc">A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side·</td></tr>96 <tr·id="row_1_0_0_20_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00338_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00338.html"·target="_self">variablesizecommunicator.hh</a></td><td·class="desc">A·communicator·that·only·needs·to·know·the·number·of·elements·per·index·at·the·sender·side·</td></tr>
97 <tr·id="row_1_0_1_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:32px;display:inline-block;">&#160;</span><span·id="arr_1_0_1_"·class="arrow"·onclick="toggleFolder('1_0_1_')">&#9658;</span><span·id="img_1_0_1_"·class="iconfclosed"·onclick="toggleFolder('1_0_1_')">&#160;</span><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html"·target="_self">simd</a></td><td·class="desc"></td></tr>97 <tr·id="row_1_0_1_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:32px;display:inline-block;">&#160;</span><span·id="arr_1_0_1_"·class="arrow"·onclick="toggleFolder('1_0_1_')">&#9658;</span><span·id="img_1_0_1_"·class="iconfclosed"·onclick="toggleFolder('1_0_1_')">&#160;</span><a·class="el"·href="dir_031b42d4197edee9e5e65b556f323728.html"·target="_self">simd</a></td><td·class="desc"></td></tr>
98 <tr·id="row_1_0_1_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00269_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00269.html"·target="_self">base.hh</a></td><td·class="desc">Basic·definitions·for·SIMD·Implementations·</td></tr>98 <tr·id="row_1_0_1_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00068_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00068.html"·target="_self">base.hh</a></td><td·class="desc">Basic·definitions·for·SIMD·Implementations·</td></tr>
99 <tr·id="row_1_0_1_1_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00272_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00272.html"·target="_self">defaults.hh</a></td><td·class="desc">Default·implementations·for·SIMD·Implementations·</td></tr>99 <tr·id="row_1_0_1_1_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00062_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00062.html"·target="_self">defaults.hh</a></td><td·class="desc">Default·implementations·for·SIMD·Implementations·</td></tr>
100 <tr·id="row_1_0_1_2_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a04445_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04445.html"·target="_self">simd/interface.hh</a></td><td·class="desc">User·interface·of·the·SIMD·abstraction·</td></tr>100 <tr·id="row_1_0_1_2_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a04445_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04445.html"·target="_self">simd/interface.hh</a></td><td·class="desc">User·interface·of·the·SIMD·abstraction·</td></tr>
101 <tr·id="row_1_0_1_3_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00281_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00281.html"·target="_self">io.hh</a></td><td·class="desc">IO·interface·of·the·SIMD·abstraction·</td></tr>101 <tr·id="row_1_0_1_3_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00056_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00056.html"·target="_self">io.hh</a></td><td·class="desc">IO·interface·of·the·SIMD·abstraction·</td></tr>
102 <tr·id="row_1_0_1_4_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00263_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00263.html"·target="_self">loop.hh</a></td><td·class="desc"></td></tr>102 <tr·id="row_1_0_1_4_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00053_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00053.html"·target="_self">loop.hh</a></td><td·class="desc"></td></tr>
103 <tr·id="row_1_0_1_5_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a04448_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04448.html"·target="_self">simd/simd.hh</a></td><td·class="desc">Include·file·for·users·of·the·SIMD·abstraction·layer·</td></tr>103 <tr·id="row_1_0_1_5_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a04448_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04448.html"·target="_self">simd/simd.hh</a></td><td·class="desc">Include·file·for·users·of·the·SIMD·abstraction·layer·</td></tr>
104 <tr·id="row_1_0_1_6_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00275_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00275.html"·target="_self">standard.hh</a></td><td·class="desc">SIMD·abstractions·for·the·standard·built-in·types·</td></tr>104 <tr·id="row_1_0_1_6_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00065_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00065.html"·target="_self">standard.hh</a></td><td·class="desc">SIMD·abstractions·for·the·standard·built-in·types·</td></tr>
105 <tr·id="row_1_0_1_7_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00278.html"·target="_self">test.cc</a></td><td·class="desc"></td></tr>105 <tr·id="row_1_0_1_7_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00074.html"·target="_self">test.cc</a></td><td·class="desc"></td></tr>
106 <tr·id="row_1_0_1_8_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00266_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00266.html"·target="_self">test.hh</a></td><td·class="desc">Common·tests·for·simd·abstraction·implementations·</td></tr>106 <tr·id="row_1_0_1_8_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.html"·target="_self">test.hh</a></td><td·class="desc">Common·tests·for·simd·abstraction·implementations·</td></tr>
107 <tr·id="row_1_0_1_9_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a04451_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04451.html"·target="_self">simd/vc.hh</a></td><td·class="desc">SIMD·abstractions·for·Vc·</td></tr>107 <tr·id="row_1_0_1_9_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a04451_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a04451.html"·target="_self">simd/vc.hh</a></td><td·class="desc">SIMD·abstractions·for·Vc·</td></tr>
108 <tr·id="row_1_0_2_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:32px;display:inline-block;">&#160;</span><span·id="arr_1_0_2_"·class="arrow"·onclick="toggleFolder('1_0_2_')">&#9658;</span><span·id="img_1_0_2_"·class="iconfclosed"·onclick="toggleFolder('1_0_2_')">&#160;</span><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html"·target="_self">std</a></td><td·class="desc"></td></tr>108 <tr·id="row_1_0_2_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:32px;display:inline-block;">&#160;</span><span·id="arr_1_0_2_"·class="arrow"·onclick="toggleFolder('1_0_2_')">&#9658;</span><span·id="img_1_0_2_"·class="iconfclosed"·onclick="toggleFolder('1_0_2_')">&#160;</span><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html"·target="_self">std</a></td><td·class="desc"></td></tr>
109 <tr·id="row_1_0_2_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00332_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00332.html"·target="_self">apply.hh</a></td><td·class="desc"></td></tr>109 <tr·id="row_1_0_2_0_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00158_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00158.html"·target="_self">apply.hh</a></td><td·class="desc"></td></tr>
110 <tr·id="row_1_0_2_1_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00326_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00326.html"·target="_self">functional.hh</a></td><td·class="desc"></td></tr>110 <tr·id="row_1_0_2_1_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00161_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00161.html"·target="_self">functional.hh</a></td><td·class="desc"></td></tr>
111 <tr·id="row_1_0_2_2_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00341_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00341.html"·target="_self">make_array.hh</a></td><td·class="desc"></td></tr>111 <tr·id="row_1_0_2_2_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00149_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00149.html"·target="_self">make_array.hh</a></td><td·class="desc"></td></tr>
112 <tr·id="row_1_0_2_3_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00335_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00335.html"·target="_self">type_traits.hh</a></td><td·class="desc"></td></tr>112 <tr·id="row_1_0_2_3_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00152_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00152.html"·target="_self">type_traits.hh</a></td><td·class="desc"></td></tr>
113 <tr·id="row_1_0_2_4_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00338_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00338.html"·target="_self">utility.hh</a></td><td·class="desc"></td></tr>113 <tr·id="row_1_0_2_4_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00155_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00155.html"·target="_self">utility.hh</a></td><td·class="desc"></td></tr>
114 <tr·id="row_1_0_2_5_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00329_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00329.html"·target="_self">variant.hh</a></td><td·class="desc"></td></tr>114 <tr·id="row_1_0_2_5_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:64px;display:inline-block;">&#160;</span><a·href="a00164_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00164.html"·target="_self">variant.hh</a></td><td·class="desc"></td></tr>
115 <tr·id="row_1_0_3_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00215_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00215.html"·target="_self">alignedallocator.hh</a></td><td·class="desc"></td></tr>115 <tr·id="row_1_0_3_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00146_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00146.html"·target="_self">alignedallocator.hh</a></td><td·class="desc"></td></tr>
116 <tr·id="row_1_0_4_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00344_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00344.html"·target="_self">arraylist.hh</a></td><td·class="desc">Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·</td></tr>116 <tr·id="row_1_0_4_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00203_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00203.html"·target="_self">arraylist.hh</a></td><td·class="desc">Implements·a·random-access·container·that·can·efficiently·change·size·(similar·to·std::deque)·</td></tr>
117 <tr·id="row_1_0_5_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00296_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00296.html"·target="_self">assertandreturn.hh</a></td><td·class="desc"></td></tr>117 <tr·id="row_1_0_5_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00218_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00218.html"·target="_self">assertandreturn.hh</a></td><td·class="desc"></td></tr>
118 <tr·id="row_1_0_6_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00392_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00392.html"·target="_self">bartonnackmanifcheck.hh</a></td><td·class="desc">Provides·check·for·implementation·of·interface·methods·when·using·static·polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging·purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up·possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has·to·be·defined·</td></tr>118 <tr·id="row_1_0_6_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00119_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00119.html"·target="_self">bartonnackmanifcheck.hh</a></td><td·class="desc">Provides·check·for·implementation·of·interface·methods·when·using·static·polymorphism,·i.e.·the·Barton-Nackman·trick.·This·is·purely·for·debugging·purposes.·To·check·the·correct·implementation·of·interface·methods·(and·pick·up·possible·infinite·loops)·NDEBUG·must·be·undefined·and·DUNE_INTERFACECHECK·has·to·be·defined·</td></tr>
119 <tr·id="row_1_0_7_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00260_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00260.html"·target="_self">bigunsignedint.hh</a></td><td·class="desc">Portable·very·large·unsigned·integers·</td></tr>119 <tr·id="row_1_0_7_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00251_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00251.html"·target="_self">bigunsignedint.hh</a></td><td·class="desc">Portable·very·large·unsigned·integers·</td></tr>
120 <tr·id="row_1_0_8_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00227_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00227.html"·target="_self">binaryfunctions.hh</a></td><td·class="desc">Helper·classes·to·provide·unique·types·for·standard·functions·</td></tr>120 <tr·id="row_1_0_8_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00170_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00170.html"·target="_self">binaryfunctions.hh</a></td><td·class="desc">Helper·classes·to·provide·unique·types·for·standard·functions·</td></tr>
121 <tr·id="row_1_0_9_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00314_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00314.html"·target="_self">bitsetvector.hh</a></td><td·class="desc">Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans·</td></tr>121 <tr·id="row_1_0_9_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.html"·target="_self">bitsetvector.hh</a></td><td·class="desc">Efficient·implementation·of·a·dynamic·array·of·static·arrays·of·booleans·</td></tr>
122 <tr·id="row_1_0_10_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00104_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00104.html"·target="_self">boundschecking.hh</a></td><td·class="desc">Macro·for·wrapping·boundary·checks·</td></tr>122 <tr·id="row_1_0_10_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00116_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00116.html"·target="_self">boundschecking.hh</a></td><td·class="desc">Macro·for·wrapping·boundary·checks·</td></tr>
123 <tr·id="row_1_0_11_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00383_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00383.html"·target="_self">classname.hh</a></td><td·class="desc">A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string·</td></tr>123 <tr·id="row_1_0_11_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00014_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00014.html"·target="_self">classname.hh</a></td><td·class="desc">A·free·function·to·provide·the·demangled·class·name·of·a·given·object·or·type·as·a·string·</td></tr>
124 <tr·id="row_1_0_12_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00155_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00155.html"·target="_self">concept.hh</a></td><td·class="desc">Infrastructure·for·concepts·</td></tr>124 <tr·id="row_1_0_12_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.html"·target="_self">concept.hh</a></td><td·class="desc">Infrastructure·for·concepts·</td></tr>
125 <tr·id="row_1_0_13_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00302_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00302.html"·target="_self">conditional.hh</a></td><td·class="desc"></td></tr>125 <tr·id="row_1_0_13_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00191_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00191.html"·target="_self">conditional.hh</a></td><td·class="desc"></td></tr>
126 <tr·id="row_1_0_14_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00092.html"·target="_self">debugalign.cc</a></td><td·class="desc"></td></tr>126 <tr·id="row_1_0_14_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00011.html"·target="_self">debugalign.cc</a></td><td·class="desc"></td></tr>
127 <tr·id="row_1_0_15_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00188_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00188.html"·target="_self">debugalign.hh</a></td><td·class="desc"></td></tr>127 <tr·id="row_1_0_15_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00206_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00206.html"·target="_self">debugalign.hh</a></td><td·class="desc"></td></tr>
128 <tr·id="row_1_0_16_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00113_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00113.html"·target="_self">debugallocator.hh</a></td><td·class="desc"></td></tr>128 <tr·id="row_1_0_16_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00269_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00269.html"·target="_self">debugallocator.hh</a></td><td·class="desc"></td></tr>
129 <tr·id="row_1_0_17_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00101_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00101.html"·target="_self">debugstream.hh</a></td><td·class="desc">Defines·several·output·streams·for·messages·of·different·importance·</td></tr>129 <tr·id="row_1_0_17_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00185_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00185.html"·target="_self">debugstream.hh</a></td><td·class="desc">Defines·several·output·streams·for·messages·of·different·importance·</td></tr>
130 <tr·id="row_1_0_18_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00389_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00389.html"·target="_self">densematrix.hh</a></td><td·class="desc">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns·</td></tr>130 <tr·id="row_1_0_18_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00236_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00236.html"·target="_self">densematrix.hh</a></td><td·class="desc">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·number·of·rows·and·columns·</td></tr>
131 <tr·id="row_1_0_19_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00128_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00128.html"·target="_self">densevector.hh</a></td><td·class="desc">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class·</td></tr>131 <tr·id="row_1_0_19_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00104_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00104.html"·target="_self">densevector.hh</a></td><td·class="desc">Implements·the·dense·vector·interface,·with·an·exchangeable·storage·class·</td></tr>
132 <tr·id="row_1_0_20_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00299_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00299.html"·target="_self">deprecated.hh</a></td><td·class="desc">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros·</td></tr>132 <tr·id="row_1_0_20_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00113_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00113.html"·target="_self">deprecated.hh</a></td><td·class="desc">Definition·of·the·<code>DUNE_NO_DEPRECATED_*</code>·macros·</td></tr>
133 <tr·id="row_1_0_21_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00242_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00242.html"·target="_self">diagonalmatrix.hh</a></td><td·class="desc">This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size·</td></tr>133 <tr·id="row_1_0_21_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00215_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00215.html"·target="_self">diagonalmatrix.hh</a></td><td·class="desc">This·file·implements·a·quadratic·diagonal·matrix·of·fixed·size·</td></tr>
134 <tr·id="row_1_0_22_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00350_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00350.html"·target="_self">documentation.hh</a></td><td·class="desc">Documentation·related·stuff·</td></tr>134 <tr·id="row_1_0_22_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00089_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00089.html"·target="_self">documentation.hh</a></td><td·class="desc">Documentation·related·stuff·</td></tr>
135 <tr·id="row_1_0_23_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00290_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00290.html"·target="_self">dotproduct.hh</a></td><td·class="desc">Provides·the·functions·dot(a,b)·:=·<img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/>·and·dotT(a,b)·:=·<img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/>·</td></tr>135 <tr·id="row_1_0_23_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00287_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00287.html"·target="_self">dotproduct.hh</a></td><td·class="desc">Provides·the·functions·dot(a,b)·:=·<img·class="formulaInl"·alt="$a^H·\cdot·b·$"·src="form_2.png"·width="30"·height="11"/>·and·dotT(a,b)·:=·<img·class="formulaInl"·alt="$a^T·\cdot·b·$"·src="form_3.png"·width="29"·height="11"/>·</td></tr>
136 <tr·id="row_1_0_24_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00197_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00197.html"·target="_self">dynmatrix.hh</a></td><td·class="desc">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns·</td></tr>136 <tr·id="row_1_0_24_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00305_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00305.html"·target="_self">dynmatrix.hh</a></td><td·class="desc">This·file·implements·a·dense·matrix·with·dynamic·numbers·of·rows·and·columns·</td></tr>
137 <tr·id="row_1_0_25_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00257_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00257.html"·target="_self">dynmatrixev.hh</a></td><td·class="desc">Utility·functions·to·compute·eigenvalues·for·dense·matrices·</td></tr>137 <tr·id="row_1_0_25_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00182_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00182.html"·target="_self">dynmatrixev.hh</a></td><td·class="desc">Utility·functions·to·compute·eigenvalues·for·dense·matrices·</td></tr>
138 <tr·id="row_1_0_26_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00179_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00179.html"·target="_self">dynvector.hh</a></td><td·class="desc">This·file·implements·a·dense·vector·with·a·dynamic·size·</td></tr>138 <tr·id="row_1_0_26_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00242_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00242.html"·target="_self">dynvector.hh</a></td><td·class="desc">This·file·implements·a·dense·vector·with·a·dynamic·size·</td></tr>
139 <tr·id="row_1_0_27_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00353_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00353.html"·target="_self">enumset.hh</a></td><td·class="desc">Classes·for·building·sets·out·of·enumeration·values·</td></tr>139 <tr·id="row_1_0_27_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00278_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00278.html"·target="_self">enumset.hh</a></td><td·class="desc">Classes·for·building·sets·out·of·enumeration·values·</td></tr>
140 <tr·id="row_1_0_28_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00305.html"·target="_self">exceptions.cc</a></td><td·class="desc"></td></tr>140 <tr·id="row_1_0_28_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00080.html"·target="_self">exceptions.cc</a></td><td·class="desc"></td></tr>
141 <tr·id="row_1_0_29_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00185_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00185.html"·target="_self">exceptions.hh</a></td><td·class="desc">A·few·common·exception·classes·</td></tr>141 <tr·id="row_1_0_29_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00122_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00122.html"·target="_self">exceptions.hh</a></td><td·class="desc">A·few·common·exception·classes·</td></tr>
142 <tr·id="row_1_0_30_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00149_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00149.html"·target="_self">filledarray.hh</a></td><td·class="desc">Utility·to·generate·an·array·with·a·certain·value·</td></tr>142 <tr·id="row_1_0_30_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00026_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00026.html"·target="_self">filledarray.hh</a></td><td·class="desc">Utility·to·generate·an·array·with·a·certain·value·</td></tr>
143 <tr·id="row_1_0_31_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00146.html"·target="_self">float_cmp.cc</a></td><td·class="desc"></td></tr>143 <tr·id="row_1_0_31_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00299.html"·target="_self">float_cmp.cc</a></td><td·class="desc"></td></tr>
144 <tr·id="row_1_0_32_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00137_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00137.html"·target="_self">float_cmp.hh</a></td><td·class="desc">Various·ways·to·compare·floating-point·numbers·</td></tr>144 <tr·id="row_1_0_32_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00173_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00173.html"·target="_self">float_cmp.hh</a></td><td·class="desc">Various·ways·to·compare·floating-point·numbers·</td></tr>
145 <tr·id="row_1_0_33_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00251_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00251.html"·target="_self">fmatrix.hh</a></td><td·class="desc">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns·</td></tr>145 <tr·id="row_1_0_33_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00107_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00107.html"·target="_self">fmatrix.hh</a></td><td·class="desc">Implements·a·matrix·constructed·from·a·given·type·representing·a·field·and·compile-time·given·number·of·rows·and·columns·</td></tr>
146 <tr·id="row_1_0_34_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00089.html"·target="_self">fmatrixev.cc</a></td><td·class="desc"></td></tr>146 <tr·id="row_1_0_34_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00017.html"·target="_self">fmatrixev.cc</a></td><td·class="desc"></td></tr>
147 <tr·id="row_1_0_35_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00095_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00095.html"·target="_self">fmatrixev.hh</a></td><td·class="desc">Eigenvalue·computations·for·the·FieldMatrix·class·</td></tr>147 <tr·id="row_1_0_35_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00296_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00296.html"·target="_self">fmatrixev.hh</a></td><td·class="desc">Eigenvalue·computations·for·the·FieldMatrix·class·</td></tr>
148 <tr·id="row_1_0_36_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00086_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00086.html"·target="_self">ftraits.hh</a></td><td·class="desc">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·</td></tr>148 <tr·id="row_1_0_36_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00101_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00101.html"·target="_self">ftraits.hh</a></td><td·class="desc">Type·traits·to·determine·the·type·of·reals·(when·working·with·complex·numbers)·</td></tr>
149 <tr·id="row_1_0_37_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00386_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00386.html"·target="_self">function.hh</a></td><td·class="desc">Simple·base·class·templates·for·functions·</td></tr>149 <tr·id="row_1_0_37_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00377_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00377.html"·target="_self">function.hh</a></td><td·class="desc">Simple·base·class·templates·for·functions·</td></tr>
150 <tr·id="row_1_0_38_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00122_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00122.html"·target="_self">fvector.hh</a></td><td·class="desc">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size·</td></tr>150 <tr·id="row_1_0_38_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00098_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00098.html"·target="_self">fvector.hh</a></td><td·class="desc">Implements·a·vector·constructed·from·a·given·type·representing·a·field·and·a·compile-time·given·size·</td></tr>
151 <tr·id="row_1_0_39_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00365_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00365.html"·target="_self">genericiterator.hh</a></td><td·class="desc">Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators·</td></tr>151 <tr·id="row_1_0_39_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00257_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00257.html"·target="_self">genericiterator.hh</a></td><td·class="desc">Implements·a·generic·iterator·class·for·writing·stl·conformant·iterators·</td></tr>
152 <tr·id="row_1_0_40_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00362_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00362.html"·target="_self">gmpfield.hh</a></td><td·class="desc">Wrapper·for·the·GNU·multiprecision·(GMP)·library·</td></tr>152 <tr·id="row_1_0_40_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00374_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00374.html"·target="_self">gmpfield.hh</a></td><td·class="desc">Wrapper·for·the·GNU·multiprecision·(GMP)·library·</td></tr>
153 <tr·id="row_1_0_41_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00083_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00083.html"·target="_self">hash.hh</a></td><td·class="desc">Support·for·calculating·hash·values·of·objects·</td></tr>153 <tr·id="row_1_0_41_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00188_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00188.html"·target="_self">hash.hh</a></td><td·class="desc">Support·for·calculating·hash·values·of·objects·</td></tr>
154 <tr·id="row_1_0_42_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00191_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00191.html"·target="_self">hybridutilities.hh</a></td><td·class="desc"></td></tr>154 <tr·id="row_1_0_42_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00392_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00392.html"·target="_self">hybridutilities.hh</a></td><td·class="desc"></td></tr>
155 <tr·id="row_1_0_43_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00293_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00293.html"·target="_self">indent.hh</a></td><td·class="desc">Utility·class·for·handling·nested·indentation·in·output·</td></tr>155 <tr·id="row_1_0_43_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00248_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00248.html"·target="_self">indent.hh</a></td><td·class="desc">Utility·class·for·handling·nested·indentation·in·output·</td></tr>
156 <tr·id="row_1_0_44_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00173_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00173.html"·target="_self">indices.hh</a></td><td·class="desc"></td></tr>156 <tr·id="row_1_0_44_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00275_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00275.html"·target="_self">indices.hh</a></td><td·class="desc"></td></tr>
157 <tr·id="row_1_0_45_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00230_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00230.html"·target="_self">interfaces.hh</a></td><td·class="desc">Provides·interfaces·for·detection·of·specific·behavior·</td></tr>157 <tr·id="row_1_0_45_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00230_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00230.html"·target="_self">interfaces.hh</a></td><td·class="desc">Provides·interfaces·for·detection·of·specific·behavior·</td></tr>
158 <tr·id="row_1_0_46_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00164.html"·target="_self">ios_state.cc</a></td><td·class="desc"></td></tr>158 <tr·id="row_1_0_46_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00311.html"·target="_self">ios_state.cc</a></td><td·class="desc"></td></tr>
159 <tr·id="row_1_0_47_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00317_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00317.html"·target="_self">ios_state.hh</a></td><td·class="desc">Utility·class·for·storing·and·resetting·stream·attributes·</td></tr>159 <tr·id="row_1_0_47_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00029_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00029.html"·target="_self">ios_state.hh</a></td><td·class="desc">Utility·class·for·storing·and·resetting·stream·attributes·</td></tr>
160 <tr·id="row_1_0_48_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00170_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00170.html"·target="_self">iteratorfacades.hh</a></td><td·class="desc">This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators·</td></tr>160 <tr·id="row_1_0_48_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00137_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00137.html"·target="_self">iteratorfacades.hh</a></td><td·class="desc">This·file·implements·iterator·facade·classes·for·writing·stl·conformant·iterators·</td></tr>
161 <tr·id="row_1_0_49_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00218_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00218.html"·target="_self">iteratorrange.hh</a></td><td·class="desc"></td></tr>161 <tr·id="row_1_0_49_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00041_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00041.html"·target="_self">iteratorrange.hh</a></td><td·class="desc"></td></tr>
162 <tr·id="row_1_0_50_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00182_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00182.html"·target="_self">keywords.hh</a></td><td·class="desc">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available·</td></tr>162 <tr·id="row_1_0_50_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00308_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00308.html"·target="_self">keywords.hh</a></td><td·class="desc">Definitions·of·several·macros·that·conditionally·make·C++·syntax·available·</td></tr>
163 <tr·id="row_1_0_51_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00311_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00311.html"·target="_self">lru.hh</a></td><td·class="desc">LRU·Cache·Container,·using·an·STL·like·interface·</td></tr>163 <tr·id="row_1_0_51_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00293_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00293.html"·target="_self">lru.hh</a></td><td·class="desc">LRU·Cache·Container,·using·an·STL·like·interface·</td></tr>
164 <tr·id="row_1_0_52_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00287_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00287.html"·target="_self">mallocallocator.hh</a></td><td·class="desc">Allocators·that·use·malloc/free·</td></tr>164 <tr·id="row_1_0_52_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00023_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00023.html"·target="_self">mallocallocator.hh</a></td><td·class="desc">Allocators·that·use·malloc/free·</td></tr>
165 <tr·id="row_1_0_53_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00119_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00119.html"·target="_self">math.hh</a></td><td·class="desc">Some·useful·basic·math·stuff·</td></tr>165 <tr·id="row_1_0_53_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00281_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00281.html"·target="_self">math.hh</a></td><td·class="desc">Some·useful·basic·math·stuff·</td></tr>
166 <tr·id="row_1_0_54_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00233_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00233.html"·target="_self">matrixconcepts.hh</a></td><td·class="desc"></td></tr>166 <tr·id="row_1_0_54_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00128_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00128.html"·target="_self">matrixconcepts.hh</a></td><td·class="desc"></td></tr>
167 <tr·id="row_1_0_55_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00254_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00254.html"·target="_self">matvectraits.hh</a></td><td·class="desc">Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix·</td></tr>167 <tr·id="row_1_0_55_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00290_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00290.html"·target="_self">matvectraits.hh</a></td><td·class="desc">Documentation·of·the·traits·classes·you·need·to·write·for·each·implementation·of·DenseVector·or·DenseMatrix·</td></tr>
168 <tr·id="row_1_0_56_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00131_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00131.html"·target="_self">overloadset.hh</a></td><td·class="desc"></td></tr>168 <tr·id="row_1_0_56_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00212_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00212.html"·target="_self">overloadset.hh</a></td><td·class="desc"></td></tr>
169 <tr·id="row_1_0_57_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00320_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00320.html"·target="_self">parameterizedobject.hh</a></td><td·class="desc"></td></tr>169 <tr·id="row_1_0_57_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00197_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00197.html"·target="_self">parameterizedobject.hh</a></td><td·class="desc"></td></tr>
170 <tr·id="row_1_0_58_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00380.html"·target="_self">parametertree.cc</a></td><td·class="desc"></td></tr>170 <tr·id="row_1_0_58_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00380.html"·target="_self">parametertree.cc</a></td><td·class="desc"></td></tr>
171 <tr·id="row_1_0_59_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00110_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00110.html"·target="_self">parametertree.hh</a></td><td·class="desc">A·hierarchical·structure·of·string·parameters·</td></tr>171 <tr·id="row_1_0_59_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00140_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00140.html"·target="_self">parametertree.hh</a></td><td·class="desc">A·hierarchical·structure·of·string·parameters·</td></tr>
172 <tr·id="row_1_0_60_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00203.html"·target="_self">parametertreeparser.cc</a></td><td·class="desc"></td></tr>172 <tr·id="row_1_0_60_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00224.html"·target="_self">parametertreeparser.cc</a></td><td·class="desc"></td></tr>
173 <tr·id="row_1_0_61_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00143_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00143.html"·target="_self">parametertreeparser.hh</a></td><td·class="desc">Various·parser·methods·to·get·data·into·a·ParameterTree·object·</td></tr>173 <tr·id="row_1_0_61_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00095_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00095.html"·target="_self">parametertreeparser.hh</a></td><td·class="desc">Various·parser·methods·to·get·data·into·a·ParameterTree·object·</td></tr>
174 <tr·id="row_1_0_62_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00125.html"·target="_self">path.cc</a></td><td·class="desc">Utilities·for·handling·filesystem·paths·</td></tr>174 <tr·id="row_1_0_62_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00383.html"·target="_self">path.cc</a></td><td·class="desc">Utilities·for·handling·filesystem·paths·</td></tr>
175 <tr·id="row_1_0_63_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00194_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00194.html"·target="_self">path.hh</a></td><td·class="desc">Utilities·for·handling·filesystem·paths·</td></tr>175 <tr·id="row_1_0_63_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00176_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00176.html"·target="_self">path.hh</a></td><td·class="desc">Utilities·for·handling·filesystem·paths·</td></tr>
176 <tr·id="row_1_0_64_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00371_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00371.html"·target="_self">poolallocator.hh</a></td><td·class="desc">An·stl-compliant·pool·allocator·</td></tr>176 <tr·id="row_1_0_64_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00386_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00386.html"·target="_self">poolallocator.hh</a></td><td·class="desc">An·stl-compliant·pool·allocator·</td></tr>
177 <tr·id="row_1_0_65_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00221_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00221.html"·target="_self">power.hh</a></td><td·class="desc">Various·implementations·of·the·power·function·for·run-time·and·static·arguments·</td></tr>177 <tr·id="row_1_0_65_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00263_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00263.html"·target="_self">power.hh</a></td><td·class="desc">Various·implementations·of·the·power·function·for·run-time·and·static·arguments·</td></tr>
178 <tr·id="row_1_0_66_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00323_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00323.html"·target="_self">precision.hh</a></td><td·class="desc">Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector·</td></tr>178 <tr·id="row_1_0_66_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00254_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00254.html"·target="_self">precision.hh</a></td><td·class="desc">Various·precision·settings·for·calculations·with·FieldMatrix·and·FieldVector·</td></tr>
179 <tr·id="row_1_0_67_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00077_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00077.html"·target="_self">promotiontraits.hh</a></td><td·class="desc">Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types·</td></tr>179 <tr·id="row_1_0_67_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00035_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00035.html"·target="_self">promotiontraits.hh</a></td><td·class="desc">Compute·type·of·the·result·of·an·arithmetic·operation·involving·two·different·number·types·</td></tr>
180 <tr·id="row_1_0_68_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00209_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00209.html"·target="_self">propertymap.hh</a></td><td·class="desc"></td></tr>180 <tr·id="row_1_0_68_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00266_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00266.html"·target="_self">propertymap.hh</a></td><td·class="desc"></td></tr>
181 <tr·id="row_1_0_69_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00377_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00377.html"·target="_self">proxymemberaccess.hh</a></td><td·class="desc">Infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·</td></tr>181 <tr·id="row_1_0_69_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00209_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00209.html"·target="_self">proxymemberaccess.hh</a></td><td·class="desc">Infrastructure·for·supporting·operator-&gt;()·on·both·references·and·proxies·</td></tr>
182 <tr·id="row_1_0_70_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00200_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00200.html"·target="_self">quadmath.hh</a></td><td·class="desc"></td></tr>182 <tr·id="row_1_0_70_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00200_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00200.html"·target="_self">quadmath.hh</a></td><td·class="desc"></td></tr>
183 <tr·id="row_1_0_71_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00245_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00245.html"·target="_self">rangeutilities.hh</a></td><td·class="desc">Utilities·for·reduction·like·operations·on·ranges·</td></tr>183 <tr·id="row_1_0_71_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00302_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00302.html"·target="_self">rangeutilities.hh</a></td><td·class="desc">Utilities·for·reduction·like·operations·on·ranges·</td></tr>
184 <tr·id="row_1_0_72_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00161_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00161.html"·target="_self">referencehelper.hh</a></td><td·class="desc"></td></tr>184 <tr·id="row_1_0_72_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00194_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00194.html"·target="_self">referencehelper.hh</a></td><td·class="desc"></td></tr>
185 <tr·id="row_1_0_73_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00356_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00356.html"·target="_self">reservedvector.hh</a></td><td·class="desc">An·stl-compliant·random-access·container·which·stores·everything·on·the·stack·</td></tr>185 <tr·id="row_1_0_73_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00389_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00389.html"·target="_self">reservedvector.hh</a></td><td·class="desc">An·stl-compliant·random-access·container·which·stores·everything·on·the·stack·</td></tr>
186 <tr·id="row_1_0_74_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00167_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00167.html"·target="_self">scalarmatrixview.hh</a></td><td·class="desc">Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar·</td></tr>186 <tr·id="row_1_0_74_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00167_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00167.html"·target="_self">scalarmatrixview.hh</a></td><td·class="desc">Implements·a·scalar·matrix·view·wrapper·around·an·existing·scalar·</td></tr>
187 <tr·id="row_1_0_75_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00134_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00134.html"·target="_self">scalarvectorview.hh</a></td><td·class="desc">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar·</td></tr>187 <tr·id="row_1_0_75_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00131_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00131.html"·target="_self">scalarvectorview.hh</a></td><td·class="desc">Implements·a·scalar·vector·view·wrapper·around·an·existing·scalar·</td></tr>
188 <tr·id="row_1_0_76_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00284_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00284.html"·target="_self">shared_ptr.hh</a></td><td·class="desc">This·file·implements·several·utilities·related·to·std::shared_ptr·</td></tr>188 <tr·id="row_1_0_76_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00221_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00221.html"·target="_self">shared_ptr.hh</a></td><td·class="desc">This·file·implements·several·utilities·related·to·std::shared_ptr·</td></tr>
189 <tr·id="row_1_0_77_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00239_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00239.html"·target="_self">simd.hh</a></td><td·class="desc">Abstractions·for·support·of·dedicated·SIMD·data·types·</td></tr>189 <tr·id="row_1_0_77_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00059_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00059.html"·target="_self">simd.hh</a></td><td·class="desc">Abstractions·for·support·of·dedicated·SIMD·data·types·</td></tr>
190 <tr·id="row_1_0_78_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00140_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00140.html"·target="_self">singleton.hh</a></td><td·class="desc">Useful·wrapper·for·creating·singletons·</td></tr>190 <tr·id="row_1_0_78_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00239_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00239.html"·target="_self">singleton.hh</a></td><td·class="desc">Useful·wrapper·for·creating·singletons·</td></tr>
191 <tr·id="row_1_0_79_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00176_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00176.html"·target="_self">sllist.hh</a></td><td·class="desc">Implements·a·singly·linked·list·together·with·the·necessary·iterators·</td></tr>191 <tr·id="row_1_0_79_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00272_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00272.html"·target="_self">sllist.hh</a></td><td·class="desc">Implements·a·singly·linked·list·together·with·the·necessary·iterators·</td></tr>
192 <tr·id="row_1_0_80_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00116.html"·target="_self">stdstreams.cc</a></td><td·class="desc"></td></tr>192 <tr·id="row_1_0_80_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00233.html"·target="_self">stdstreams.cc</a></td><td·class="desc"></td></tr>
193 <tr·id="row_1_0_81_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00374_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00374.html"·target="_self">stdstreams.hh</a></td><td·class="desc">Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams·</td></tr>193 <tr·id="row_1_0_81_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00260_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00260.html"·target="_self">stdstreams.hh</a></td><td·class="desc">Standard·<a·class="el"·href="a00425.html"·title="Dune·namespace.">Dune</a>·debug·streams·</td></tr>
194 <tr·id="row_1_0_82_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00074.html"·target="_self">stdthread.cc</a></td><td·class="desc"></td></tr>194 <tr·id="row_1_0_82_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><span·class="icondoc"></span><a·class="el"·href="a00008.html"·target="_self">stdthread.cc</a></td><td·class="desc"></td></tr>
195 <tr·id="row_1_0_83_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00248_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00248.html"·target="_self">stdthread.hh</a></td><td·class="desc"></td></tr>195 <tr·id="row_1_0_83_"·class="even"·style="display:none;"><td·class="entry"><span·style="width:48px;display:inline-block;">&#160;</span><a·href="a00125_source.html"><span·class="icondoc"></span></a><a·class="el"·href="a00125.html"·target="_self">stdthread.hh</a></td><td·class="desc"></td></tr>
Max diff block lines reached; 304/90396 bytes (0.34%) of diff not shown.
19.7 KB
./usr/share/doc/libdune-common-doc/doxygen/globals.html
    
Offset 61, 126 lines modifiedOffset 61, 126 lines modified
61 </iframe>61 </iframe>
62 </div>62 </div>
  
63 <div·class="contents">63 <div·class="contents">
64 <div·class="textblock">Here·is·a·list·of·all·file·members·with·links·to·the·files·they·belong·to:</div>64 <div·class="textblock">Here·is·a·list·of·all·file·members·with·links·to·the·files·they·belong·to:</div>
  
65 <h3><a·id="index_a"·name="index_a"></a>-·a·-</h3><ul>65 <h3><a·id="index_a"·name="index_a"></a>-·a·-</h3><ul>
66 <li>all_methods&#160;:&#160;<a·class="el"·href="a00071.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>66 <li>all_methods&#160;:&#160;<a·class="el"·href="a00332.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>
67 </ul>67 </ul>
  
  
68 <h3><a·id="index_c"·name="index_c"></a>-·c·-</h3><ul>68 <h3><a·id="index_c"·name="index_c"></a>-·c·-</h3><ul>
69 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00392.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>69 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00119.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>
70 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00392.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>70 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00119.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>
71 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00356.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>71 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00389.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>
72 <li>communicate()&#160;:&#160;<a·class="el"·href="a00071.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>72 <li>communicate()&#160;:&#160;<a·class="el"·href="a00332.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>
73 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00038.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>73 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00347.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>
74 </ul>74 </ul>
  
  
75 <h3><a·id="index_d"·name="index_d"></a>-·d·-</h3><ul>75 <h3><a·id="index_d"·name="index_d"></a>-·d·-</h3><ul>
76 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00071.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>76 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00332.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>
77 <li>DUNE_ASSERT_AND_RETURN&#160;:&#160;<a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">assertandreturn.hh</a></li>77 <li>DUNE_ASSERT_AND_RETURN&#160;:&#160;<a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">assertandreturn.hh</a></li>
78 <li>DUNE_ASSERT_BOUNDS&#160;:&#160;<a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">boundschecking.hh</a></li>78 <li>DUNE_ASSERT_BOUNDS&#160;:&#160;<a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">boundschecking.hh</a></li>
79 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00248.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>79 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00125.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>
80 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00188.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>80 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00206.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>
81 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00188.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>81 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00206.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>
82 <li>DUNE_BINOP&#160;:&#160;<a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">bigunsignedint.hh</a></li>82 <li>DUNE_BINOP&#160;:&#160;<a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">bigunsignedint.hh</a></li>
83 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00119.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>83 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00281.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>
84 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00119.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>84 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00281.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>
85 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00083.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>85 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00188.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>
86 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>86 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>
87 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00089.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>87 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00017.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>
88 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00386.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>88 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00377.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>
89 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00182.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>89 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00308.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>
90 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00083.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>90 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00188.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>
91 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00083.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>91 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00188.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>
92 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>92 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>
93 <li>DUNE_MINIMAL_DEBUG_LEVEL&#160;:&#160;<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">stdstreams.hh</a></li>93 <li>DUNE_MINIMAL_DEBUG_LEVEL&#160;:&#160;<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">stdstreams.hh</a></li>
94 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00359.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>94 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00038.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>
95 <li>DUNE_NO_DEPRECATED_BEGIN&#160;:&#160;<a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">deprecated.hh</a></li>95 <li>DUNE_NO_DEPRECATED_BEGIN&#160;:&#160;<a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">deprecated.hh</a></li>
96 <li>DUNE_NO_DEPRECATED_END&#160;:&#160;<a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">deprecated.hh</a></li>96 <li>DUNE_NO_DEPRECATED_END&#160;:&#160;<a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">deprecated.hh</a></li>
97 <li>DUNE_PRAGMA_OMP_SIMD&#160;:&#160;<a·class="el"·href="a00263.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>97 <li>DUNE_PRAGMA_OMP_SIMD&#160;:&#160;<a·class="el"·href="a00053.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>
98 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00308.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>98 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00143.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>
99 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00266.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>99 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00077.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>
100 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00266.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>100 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00077.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>
101 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00266.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>101 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00077.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>
102 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00266.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>102 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00077.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>
103 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00266.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>103 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00077.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>
104 <li>DUNE_SIMD_LOOP_ASSIGNMENT_OP&#160;:&#160;<a·class="el"·href="a00263.html#ad721241fb510adc8e57604f6b9d6db18">loop.hh</a></li>104 <li>DUNE_SIMD_LOOP_ASSIGNMENT_OP&#160;:&#160;<a·class="el"·href="a00053.html#ad721241fb510adc8e57604f6b9d6db18">loop.hh</a></li>
105 <li>DUNE_SIMD_LOOP_BINARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#a0302b46e03078ba45bebdde05a538fa1">loop.hh</a></li>105 <li>DUNE_SIMD_LOOP_BINARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#a0302b46e03078ba45bebdde05a538fa1">loop.hh</a></li>
106 <li>DUNE_SIMD_LOOP_BITSHIFT_OP&#160;:&#160;<a·class="el"·href="a00263.html#aa267e22530058c5e240294d1fe9b72c5">loop.hh</a></li>106 <li>DUNE_SIMD_LOOP_BITSHIFT_OP&#160;:&#160;<a·class="el"·href="a00053.html#aa267e22530058c5e240294d1fe9b72c5">loop.hh</a></li>
107 <li>DUNE_SIMD_LOOP_BOOLEAN_OP&#160;:&#160;<a·class="el"·href="a00263.html#a4edb401d8c39ee4047c4157062238926">loop.hh</a></li>107 <li>DUNE_SIMD_LOOP_BOOLEAN_OP&#160;:&#160;<a·class="el"·href="a00053.html#a4edb401d8c39ee4047c4157062238926">loop.hh</a></li>
108 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#ab733fd44275677e226938c6366d0e1dc">loop.hh</a></li>108 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#ab733fd44275677e226938c6366d0e1dc">loop.hh</a></li>
109 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN&#160;:&#160;<a·class="el"·href="a00263.html#acd61d806a793ead4a570ab5edf47857a">loop.hh</a></li>109 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN&#160;:&#160;<a·class="el"·href="a00053.html#acd61d806a793ead4a570ab5edf47857a">loop.hh</a></li>
110 <li>DUNE_SIMD_LOOP_COMPARISON_OP&#160;:&#160;<a·class="el"·href="a00263.html#a8b0fe90d07a9419c0c5fa7edf441cc98">loop.hh</a></li>110 <li>DUNE_SIMD_LOOP_COMPARISON_OP&#160;:&#160;<a·class="el"·href="a00053.html#a8b0fe90d07a9419c0c5fa7edf441cc98">loop.hh</a></li>
111 <li>DUNE_SIMD_LOOP_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00263.html#a5d85dc28387ccfb44c53064ad236c22c">loop.hh</a></li>111 <li>DUNE_SIMD_LOOP_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00053.html#a5d85dc28387ccfb44c53064ad236c22c">loop.hh</a></li>
112 <li>DUNE_SIMD_LOOP_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00263.html#ab2eb0e852e28f54bf511377690ba664a">loop.hh</a></li>112 <li>DUNE_SIMD_LOOP_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00053.html#ab2eb0e852e28f54bf511377690ba664a">loop.hh</a></li>
113 <li>DUNE_SIMD_LOOP_STD_BINARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#a7f745d4f9480ed07bfe69af914816b22">loop.hh</a></li>113 <li>DUNE_SIMD_LOOP_STD_BINARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#a7f745d4f9480ed07bfe69af914816b22">loop.hh</a></li>
114 <li>DUNE_SIMD_LOOP_STD_UNARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#a811ee59270233c3c40d1e4c52d3ee310">loop.hh</a></li>114 <li>DUNE_SIMD_LOOP_STD_UNARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#a811ee59270233c3c40d1e4c52d3ee310">loop.hh</a></li>
115 <li>DUNE_SIMD_LOOP_UNARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>115 <li>DUNE_SIMD_LOOP_UNARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>
116 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00266.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>116 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00077.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>
117 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00266.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>117 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00077.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>
118 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00266.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>118 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00077.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>
119 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00266.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>119 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00077.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>
120 <li>DUNE_SIMD_VC_ASSIGN&#160;:&#160;<a·class="el"·href="a04451.html#aa9d8e7755a20452b060eee8f25243b49">simd/vc.hh</a></li>120 <li>DUNE_SIMD_VC_ASSIGN&#160;:&#160;<a·class="el"·href="a04451.html#aa9d8e7755a20452b060eee8f25243b49">simd/vc.hh</a></li>
121 <li>DUNE_SIMD_VC_ASSIGNMENT&#160;:&#160;<a·class="el"·href="a04451.html#a10265b53075e0412501814d2acdf22d7">simd/vc.hh</a></li>121 <li>DUNE_SIMD_VC_ASSIGNMENT&#160;:&#160;<a·class="el"·href="a04451.html#a10265b53075e0412501814d2acdf22d7">simd/vc.hh</a></li>
122 <li>DUNE_SIMD_VC_BINARY&#160;:&#160;<a·class="el"·href="a04451.html#ae581f62b53fc8d182ec05f424910a553">simd/vc.hh</a></li>122 <li>DUNE_SIMD_VC_BINARY&#160;:&#160;<a·class="el"·href="a04451.html#ae581f62b53fc8d182ec05f424910a553">simd/vc.hh</a></li>
123 <li>DUNE_THROW&#160;:&#160;<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">exceptions.hh</a></li>123 <li>DUNE_THROW&#160;:&#160;<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">exceptions.hh</a></li>
124 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>124 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>
125 <li>DUNE_UNUSED_PARAMETER&#160;:&#160;<a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">unused.hh</a></li>125 <li>DUNE_UNUSED_PARAMETER&#160;:&#160;<a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">unused.hh</a></li>
126 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00359.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>126 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00038.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>
127 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00359.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>127 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00038.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>
128 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00359.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>128 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00038.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>
129 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00359.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>129 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00038.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>
130 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00359.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>130 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00038.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>
131 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00359.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>131 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00038.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>
132 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00359.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>132 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00038.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>
133 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00359.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>133 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00038.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>
134 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00359.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>134 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00038.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>
135 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00359.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>135 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00038.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>
136 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00359.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>136 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00038.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>
137 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00359.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>137 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00038.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>
138 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00359.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>138 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00038.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>
139 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00359.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>139 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00038.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>
140 </ul>140 </ul>
  
  
141 <h3><a·id="index_f"·name="index_f"></a>-·f·-</h3><ul>141 <h3><a·id="index_f"·name="index_f"></a>-·f·-</h3><ul>
142 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00059.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>142 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00338.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>
143 </ul>143 </ul>
  
  
144 <h3><a·id="index_m"·name="index_m"></a>-·m·-</h3><ul>144 <h3><a·id="index_m"·name="index_m"></a>-·m·-</h3><ul>
145 <li>main()&#160;:&#160;<a·class="el"·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>145 <li>main()&#160;:&#160;<a·class="el"·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>
146 </ul>146 </ul>
  
  
147 <h3><a·id="index_o"·name="index_o"></a>-·o·-</h3><ul>147 <h3><a·id="index_o"·name="index_o"></a>-·o·-</h3><ul>
148 <li>options&#160;:&#160;<a·class="el"·href="a00071.html#a27e2a51c9830747b1c6fd2825389fbae">mpi_collective_benchmark.cc</a></li>148 <li>options&#160;:&#160;<a·class="el"·href="a00332.html#a27e2a51c9830747b1c6fd2825389fbae">mpi_collective_benchmark.cc</a></li>
149 </ul>149 </ul>
  
  
150 <h3><a·id="index_p"·name="index_p"></a>-·p·-</h3><ul>150 <h3><a·id="index_p"·name="index_p"></a>-·p·-</h3><ul>
151 <li>printHeader()&#160;:&#160;<a·class="el"·href="a00071.html#a463abe7d682b6ef6fc100e18d872d4e7">mpi_collective_benchmark.cc</a></li>151 <li>printHeader()&#160;:&#160;<a·class="el"·href="a00332.html#a463abe7d682b6ef6fc100e18d872d4e7">mpi_collective_benchmark.cc</a></li>
152 </ul>152 </ul>
  
  
153 <h3><a·id="index_r"·name="index_r"></a>-·r·-</h3><ul>153 <h3><a·id="index_r"·name="index_r"></a>-·r·-</h3><ul>
154 <li>run()&#160;:&#160;<a·class="el"·href="a00071.html#a32c829093c6e6df595cdee323470d482">mpi_collective_benchmark.cc</a></li>154 <li>run()&#160;:&#160;<a·class="el"·href="a00332.html#a32c829093c6e6df595cdee323470d482">mpi_collective_benchmark.cc</a></li>
155 <li>runBlocking()&#160;:&#160;<a·class="el"·href="a00071.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">mpi_collective_benchmark.cc</a></li>155 <li>runBlocking()&#160;:&#160;<a·class="el"·href="a00332.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">mpi_collective_benchmark.cc</a></li>
156 <li>runNonblockingActive()&#160;:&#160;<a·class="el"·href="a00071.html#abb79e76efc659a3c229218399ebc63bc">mpi_collective_benchmark.cc</a></li>156 <li>runNonblockingActive()&#160;:&#160;<a·class="el"·href="a00332.html#abb79e76efc659a3c229218399ebc63bc">mpi_collective_benchmark.cc</a></li>
157 <li>runNonblockingSleep()&#160;:&#160;<a·class="el"·href="a00071.html#a0387f700252c5cdfd84d8c48cb2c0f85">mpi_collective_benchmark.cc</a></li>157 <li>runNonblockingSleep()&#160;:&#160;<a·class="el"·href="a00332.html#a0387f700252c5cdfd84d8c48cb2c0f85">mpi_collective_benchmark.cc</a></li>
158 <li>runNonblockingWait()&#160;:&#160;<a·class="el"·href="a00071.html#abc473f2a6a96ee4a7a3c297d40a04bde">mpi_collective_benchmark.cc</a></li>158 <li>runNonblockingWait()&#160;:&#160;<a·class="el"·href="a00332.html#abc473f2a6a96ee4a7a3c297d40a04bde">mpi_collective_benchmark.cc</a></li>
159 </ul>159 </ul>
  
  
160 <h3><a·id="index_s"·name="index_s"></a>-·s·-</h3><ul>160 <h3><a·id="index_s"·name="index_s"></a>-·s·-</h3><ul>
161 <li>startCommunication()&#160;:&#160;<a·class="el"·href="a00071.html#aec1abd976c753f5575c4f77b754364b3">mpi_collective_benchmark.cc</a></li>161 <li>startCommunication()&#160;:&#160;<a·class="el"·href="a00332.html#aec1abd976c753f5575c4f77b754364b3">mpi_collective_benchmark.cc</a></li>
162 </ul>162 </ul>
163 </div><!--·contents·-->163 </div><!--·contents·-->
164 <!--·start·footer·part·-->164 <!--·start·footer·part·-->
165 <hr·class="footer"/><address·class="footer"><small>165 <hr·class="footer"/><address·class="footer"><small>
166 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4166 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
167 </small></address>167 </small></address>
168 </body>168 </body>
15.7 KB
./usr/share/doc/libdune-common-doc/doxygen/globals_defs.html
    
Offset 61, 85 lines modifiedOffset 61, 85 lines modified
61 </iframe>61 </iframe>
62 </div>62 </div>
  
63 <div·class="contents">63 <div·class="contents">
64 &#160;64 &#160;
  
65 <h3><a·id="index_c"·name="index_c"></a>-·c·-</h3><ul>65 <h3><a·id="index_c"·name="index_c"></a>-·c·-</h3><ul>
66 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00392.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>66 <li>CHECK_AND_CALL_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00119.html#a3ae5cb4f2a5339eb07e94108e67bcca7">bartonnackmanifcheck.hh</a></li>
67 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00392.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>67 <li>CHECK_INTERFACE_IMPLEMENTATION&#160;:&#160;<a·class="el"·href="a00119.html#acd7d9df83980a2517813af61e0eb22e1">bartonnackmanifcheck.hh</a></li>
68 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00356.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>68 <li>CHECKSIZE&#160;:&#160;<a·class="el"·href="a00389.html#a65543e75bc949ecdb95a25b1f4e11675">reservedvector.hh</a></li>
69 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00038.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>69 <li>ComposeMPIOp&#160;:&#160;<a·class="el"·href="a00347.html#abf4b9767826441f78c43351f92490b89">mpicommunication.hh</a></li>
70 </ul>70 </ul>
  
  
71 <h3><a·id="index_d"·name="index_d"></a>-·d·-</h3><ul>71 <h3><a·id="index_d"·name="index_d"></a>-·d·-</h3><ul>
72 <li>DUNE_ASSERT_AND_RETURN&#160;:&#160;<a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">assertandreturn.hh</a></li>72 <li>DUNE_ASSERT_AND_RETURN&#160;:&#160;<a·class="el"·href="a00406.html#ga902aaece2c20a75cbf6daad4957ba069">assertandreturn.hh</a></li>
73 <li>DUNE_ASSERT_BOUNDS&#160;:&#160;<a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">boundschecking.hh</a></li>73 <li>DUNE_ASSERT_BOUNDS&#160;:&#160;<a·class="el"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">boundschecking.hh</a></li>
74 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00248.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>74 <li>DUNE_ASSERT_CALL_ONCE&#160;:&#160;<a·class="el"·href="a00125.html#acbf1020c1747ea8c3dd1031d2d608557">stdthread.hh</a></li>
75 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00188.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>75 <li>DUNE_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00206.html#ac631559314e81560b9e4d2949a9c6f9e">debugalign.hh</a></li>
76 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00188.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>76 <li>DUNE_BINARY_OP&#160;:&#160;<a·class="el"·href="a00206.html#a29d7d4052b3f82e3ac4809355498a1a0">debugalign.hh</a></li>
77 <li>DUNE_BINOP&#160;:&#160;<a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">bigunsignedint.hh</a></li>77 <li>DUNE_BINOP&#160;:&#160;<a·class="el"·href="a00408.html#gaf87f343423f6514fb0bea86e67539446">bigunsignedint.hh</a></li>
78 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00119.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>78 <li>DUNE_COMMON_MATH_ISFUNCTION&#160;:&#160;<a·class="el"·href="a00281.html#ad9142ad3167567a3fdc4e29c7996ec95">math.hh</a></li>
79 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00119.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>79 <li>DUNE_COMMON_MATH_ISFUNCTION_FUNCTOR&#160;:&#160;<a·class="el"·href="a00281.html#a8a492f8cc06481d5f3b0d514e344dcfa">math.hh</a></li>
80 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00083.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>80 <li>DUNE_DEFINE_HASH&#160;:&#160;<a·class="el"·href="a00188.html#a19447db8894b6d86b6b7ef0218694820">hash.hh</a></li>
81 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00308.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>81 <li>DUNE_EXPORT&#160;:&#160;<a·class="el"·href="a00143.html#a392e8fb5628732502467b715b88974b4">visibility.hh</a></li>
82 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00089.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>82 <li>DUNE_FMATRIXEIGENVALUES_CC&#160;:&#160;<a·class="el"·href="a00017.html#afa3d4fc0f9c478d5f00cc7586b9dad48">fmatrixev.cc</a></li>
83 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00386.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>83 <li>DUNE_FUNCTION_HH&#160;:&#160;<a·class="el"·href="a00377.html#aeca4539848c4c95eebbb2389446432c0">function.hh</a></li>
84 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00182.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>84 <li>DUNE_GENERALIZED_CONSTEXPR&#160;:&#160;<a·class="el"·href="a00308.html#a97b632609f7c06170ec5e2be5729c4f0">keywords.hh</a></li>
85 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00083.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>85 <li>DUNE_HASH_TEMPLATE_ARGS&#160;:&#160;<a·class="el"·href="a00188.html#ad88c05071e8aafc3796b6d6238900697">hash.hh</a></li>
86 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00083.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>86 <li>DUNE_HASH_TYPE&#160;:&#160;<a·class="el"·href="a00188.html#a48ea57ba3831fb7e8bbea1d8e1d27f4f">hash.hh</a></li>
87 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00182.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>87 <li>DUNE_INLINE_VARIABLE&#160;:&#160;<a·class="el"·href="a00308.html#afd8117b5ac0497a09e3bdecafbf518a6">keywords.hh</a></li>
88 <li>DUNE_MINIMAL_DEBUG_LEVEL&#160;:&#160;<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">stdstreams.hh</a></li>88 <li>DUNE_MINIMAL_DEBUG_LEVEL&#160;:&#160;<a·class="el"·href="a00423.html#ga3a5303f96d33ae7299d9acd71b736998">stdstreams.hh</a></li>
89 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00359.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>89 <li>DUNE_MODULE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00038.html#a2c5026c661a32b8cb9e0f92a4515c6c6">version.hh</a></li>
90 <li>DUNE_NO_DEPRECATED_BEGIN&#160;:&#160;<a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">deprecated.hh</a></li>90 <li>DUNE_NO_DEPRECATED_BEGIN&#160;:&#160;<a·class="el"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">deprecated.hh</a></li>
91 <li>DUNE_NO_DEPRECATED_END&#160;:&#160;<a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">deprecated.hh</a></li>91 <li>DUNE_NO_DEPRECATED_END&#160;:&#160;<a·class="el"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">deprecated.hh</a></li>
92 <li>DUNE_PRAGMA_OMP_SIMD&#160;:&#160;<a·class="el"·href="a00263.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>92 <li>DUNE_PRAGMA_OMP_SIMD&#160;:&#160;<a·class="el"·href="a00053.html#acb2192556fb08c1550c78d0db36245d5">loop.hh</a></li>
93 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00308.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>93 <li>DUNE_PRIVATE&#160;:&#160;<a·class="el"·href="a00143.html#ab9e9adaae1a11e7546a1b712495d1f42">visibility.hh</a></li>
94 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00266.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>94 <li>DUNE_SIMD_ASSIGN_OP&#160;:&#160;<a·class="el"·href="a00077.html#ad379032c70061c8e4d7d292356c9381c">test.hh</a></li>
95 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00266.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>95 <li>DUNE_SIMD_CHECK&#160;:&#160;<a·class="el"·href="a00077.html#a597f9d11a82f392a91b8bc12bd49a595">test.hh</a></li>
96 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00266.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>96 <li>DUNE_SIMD_CHECK_OP&#160;:&#160;<a·class="el"·href="a00077.html#a48b2df30d98156457f001562d4bd5270">test.hh</a></li>
97 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00266.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>97 <li>DUNE_SIMD_DO&#160;:&#160;<a·class="el"·href="a00077.html#afc92f199d5b487cb38c2befd03eed5de">test.hh</a></li>
98 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00266.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>98 <li>DUNE_SIMD_INFIX_OP&#160;:&#160;<a·class="el"·href="a00077.html#a20f7280cead2264697f74b1deebc17e5">test.hh</a></li>
99 <li>DUNE_SIMD_LOOP_ASSIGNMENT_OP&#160;:&#160;<a·class="el"·href="a00263.html#ad721241fb510adc8e57604f6b9d6db18">loop.hh</a></li>99 <li>DUNE_SIMD_LOOP_ASSIGNMENT_OP&#160;:&#160;<a·class="el"·href="a00053.html#ad721241fb510adc8e57604f6b9d6db18">loop.hh</a></li>
100 <li>DUNE_SIMD_LOOP_BINARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#a0302b46e03078ba45bebdde05a538fa1">loop.hh</a></li>100 <li>DUNE_SIMD_LOOP_BINARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#a0302b46e03078ba45bebdde05a538fa1">loop.hh</a></li>
101 <li>DUNE_SIMD_LOOP_BITSHIFT_OP&#160;:&#160;<a·class="el"·href="a00263.html#aa267e22530058c5e240294d1fe9b72c5">loop.hh</a></li>101 <li>DUNE_SIMD_LOOP_BITSHIFT_OP&#160;:&#160;<a·class="el"·href="a00053.html#aa267e22530058c5e240294d1fe9b72c5">loop.hh</a></li>
102 <li>DUNE_SIMD_LOOP_BOOLEAN_OP&#160;:&#160;<a·class="el"·href="a00263.html#a4edb401d8c39ee4047c4157062238926">loop.hh</a></li>102 <li>DUNE_SIMD_LOOP_BOOLEAN_OP&#160;:&#160;<a·class="el"·href="a00053.html#a4edb401d8c39ee4047c4157062238926">loop.hh</a></li>
103 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#ab733fd44275677e226938c6366d0e1dc">loop.hh</a></li>103 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#ab733fd44275677e226938c6366d0e1dc">loop.hh</a></li>
104 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN&#160;:&#160;<a·class="el"·href="a00263.html#acd61d806a793ead4a570ab5edf47857a">loop.hh</a></li>104 <li>DUNE_SIMD_LOOP_CMATH_UNARY_OP_WITH_RETURN&#160;:&#160;<a·class="el"·href="a00053.html#acd61d806a793ead4a570ab5edf47857a">loop.hh</a></li>
105 <li>DUNE_SIMD_LOOP_COMPARISON_OP&#160;:&#160;<a·class="el"·href="a00263.html#a8b0fe90d07a9419c0c5fa7edf441cc98">loop.hh</a></li>105 <li>DUNE_SIMD_LOOP_COMPARISON_OP&#160;:&#160;<a·class="el"·href="a00053.html#a8b0fe90d07a9419c0c5fa7edf441cc98">loop.hh</a></li>
106 <li>DUNE_SIMD_LOOP_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00263.html#a5d85dc28387ccfb44c53064ad236c22c">loop.hh</a></li>106 <li>DUNE_SIMD_LOOP_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00053.html#a5d85dc28387ccfb44c53064ad236c22c">loop.hh</a></li>
107 <li>DUNE_SIMD_LOOP_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00263.html#ab2eb0e852e28f54bf511377690ba664a">loop.hh</a></li>107 <li>DUNE_SIMD_LOOP_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00053.html#ab2eb0e852e28f54bf511377690ba664a">loop.hh</a></li>
108 <li>DUNE_SIMD_LOOP_STD_BINARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#a7f745d4f9480ed07bfe69af914816b22">loop.hh</a></li>108 <li>DUNE_SIMD_LOOP_STD_BINARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#a7f745d4f9480ed07bfe69af914816b22">loop.hh</a></li>
109 <li>DUNE_SIMD_LOOP_STD_UNARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#a811ee59270233c3c40d1e4c52d3ee310">loop.hh</a></li>109 <li>DUNE_SIMD_LOOP_STD_UNARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#a811ee59270233c3c40d1e4c52d3ee310">loop.hh</a></li>
110 <li>DUNE_SIMD_LOOP_UNARY_OP&#160;:&#160;<a·class="el"·href="a00263.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>110 <li>DUNE_SIMD_LOOP_UNARY_OP&#160;:&#160;<a·class="el"·href="a00053.html#ad0a3db4ac4d313e5df2f650176a7f47a">loop.hh</a></li>
111 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00266.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>111 <li>DUNE_SIMD_OPNAME&#160;:&#160;<a·class="el"·href="a00077.html#a125e4c3f5620741cca9cc19974d8fc51">test.hh</a></li>
112 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00266.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>112 <li>DUNE_SIMD_POSTFIX_OP&#160;:&#160;<a·class="el"·href="a00077.html#a09facb8a8a5240120cca8ec1d1605959">test.hh</a></li>
113 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00266.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>113 <li>DUNE_SIMD_PREFIX_OP&#160;:&#160;<a·class="el"·href="a00077.html#aeb2257e86dd590d0f724653136732d17">test.hh</a></li>
114 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00266.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>114 <li>DUNE_SIMD_REPL_OP&#160;:&#160;<a·class="el"·href="a00077.html#acf66af48cb08cc1bc5334b44dfd6e016">test.hh</a></li>
115 <li>DUNE_SIMD_VC_ASSIGN&#160;:&#160;<a·class="el"·href="a04451.html#aa9d8e7755a20452b060eee8f25243b49">simd/vc.hh</a></li>115 <li>DUNE_SIMD_VC_ASSIGN&#160;:&#160;<a·class="el"·href="a04451.html#aa9d8e7755a20452b060eee8f25243b49">simd/vc.hh</a></li>
116 <li>DUNE_SIMD_VC_ASSIGNMENT&#160;:&#160;<a·class="el"·href="a04451.html#a10265b53075e0412501814d2acdf22d7">simd/vc.hh</a></li>116 <li>DUNE_SIMD_VC_ASSIGNMENT&#160;:&#160;<a·class="el"·href="a04451.html#a10265b53075e0412501814d2acdf22d7">simd/vc.hh</a></li>
117 <li>DUNE_SIMD_VC_BINARY&#160;:&#160;<a·class="el"·href="a04451.html#ae581f62b53fc8d182ec05f424910a553">simd/vc.hh</a></li>117 <li>DUNE_SIMD_VC_BINARY&#160;:&#160;<a·class="el"·href="a04451.html#ae581f62b53fc8d182ec05f424910a553">simd/vc.hh</a></li>
118 <li>DUNE_THROW&#160;:&#160;<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">exceptions.hh</a></li>118 <li>DUNE_THROW&#160;:&#160;<a·class="el"·href="a00412.html#gad7fce127d6eaabe773adbc409514f21e">exceptions.hh</a></li>
119 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00188.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>119 <li>DUNE_UNARY_FUNC&#160;:&#160;<a·class="el"·href="a00206.html#a9b2955907ac5ff3c53a5e1dc45e10532">debugalign.hh</a></li>
120 <li>DUNE_UNUSED_PARAMETER&#160;:&#160;<a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">unused.hh</a></li>120 <li>DUNE_UNUSED_PARAMETER&#160;:&#160;<a·class="el"·href="a00406.html#ga82d6aa0dcd7f162d42922460058fbf86">unused.hh</a></li>
121 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00359.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>121 <li>DUNE_VERSION_EQUAL&#160;:&#160;<a·class="el"·href="a00038.html#ab25a714acc2ab9e565053cb523054a95">version.hh</a></li>
122 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00359.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>122 <li>DUNE_VERSION_EQUAL_REV&#160;:&#160;<a·class="el"·href="a00038.html#a860ad2275fe1229fe01d9992a6685fe7">version.hh</a></li>
123 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00359.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>123 <li>DUNE_VERSION_GT&#160;:&#160;<a·class="el"·href="a00038.html#a4221602addcd43bfc16992d83eaab73b">version.hh</a></li>
124 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00359.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>124 <li>DUNE_VERSION_GT_REV&#160;:&#160;<a·class="el"·href="a00038.html#ab892e2a1845da3fb29c5fb0cbe4d413f">version.hh</a></li>
125 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00359.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>125 <li>DUNE_VERSION_GTE&#160;:&#160;<a·class="el"·href="a00038.html#ae9c7fb3f1d0d68848c2b03cf45a5f620">version.hh</a></li>
126 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00359.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>126 <li>DUNE_VERSION_GTE_REV&#160;:&#160;<a·class="el"·href="a00038.html#a95ef2ff0c01c2b1add28f5d4a55e6904">version.hh</a></li>
127 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00359.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>127 <li>DUNE_VERSION_ID&#160;:&#160;<a·class="el"·href="a00038.html#ae3ff9d66de4e43cbc5e67743013977c9">version.hh</a></li>
128 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00359.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>128 <li>DUNE_VERSION_JOIN&#160;:&#160;<a·class="el"·href="a00038.html#a229e35109d69cff060df5c80e71f3d73">version.hh</a></li>
129 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00359.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>129 <li>DUNE_VERSION_LT&#160;:&#160;<a·class="el"·href="a00038.html#a989ea73953b5d09cb17675d64233a15b">version.hh</a></li>
130 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00359.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>130 <li>DUNE_VERSION_LT_REV&#160;:&#160;<a·class="el"·href="a00038.html#a475b789ab8bce20d26045e337955a52b">version.hh</a></li>
131 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00359.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>131 <li>DUNE_VERSION_LTE&#160;:&#160;<a·class="el"·href="a00038.html#a30a27a1b8996420c55ed3c6009a62253">version.hh</a></li>
132 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00359.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>132 <li>DUNE_VERSION_LTE_REV&#160;:&#160;<a·class="el"·href="a00038.html#a3e5db809b447136ea37c9c2ab3ea8c52">version.hh</a></li>
133 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00359.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>133 <li>DUNE_VERSION_NEWER&#160;:&#160;<a·class="el"·href="a00038.html#a3ff6f986ce87d82c20da62e6355cf520">version.hh</a></li>
134 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00359.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>134 <li>DUNE_VERSION_NEWER_REV&#160;:&#160;<a·class="el"·href="a00038.html#a5b004009c0c7997b2330992534942c3b">version.hh</a></li>
135 </ul>135 </ul>
136 </div><!--·contents·-->136 </div><!--·contents·-->
137 <!--·start·footer·part·-->137 <!--·start·footer·part·-->
138 <hr·class="footer"/><address·class="footer"><small>138 <hr·class="footer"/><address·class="footer"><small>
139 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4139 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
140 </small></address>140 </small></address>
141 </body>141 </body>
3.26 KB
./usr/share/doc/libdune-common-doc/doxygen/globals_func.html
    
Offset 59, 24 lines modifiedOffset 59, 24 lines modified
59 <iframe·src="javascript:void(0)"·frameborder="0"·59 <iframe·src="javascript:void(0)"·frameborder="0"·
60 ········name="MSearchResults"·id="MSearchResults">60 ········name="MSearchResults"·id="MSearchResults">
61 </iframe>61 </iframe>
62 </div>62 </div>
  
63 <div·class="contents">63 <div·class="contents">
64 &#160;<ul>64 &#160;<ul>
65 <li>communicate()&#160;:&#160;<a·class="el"·href="a00071.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>65 <li>communicate()&#160;:&#160;<a·class="el"·href="a00332.html#afb912825e02284a6c9ff4f616d528d86">mpi_collective_benchmark.cc</a></li>
66 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00071.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>66 <li>determineOverlap()&#160;:&#160;<a·class="el"·href="a00332.html#a8fb837a19378e8d117d1b3f8a7b8fe3a">mpi_collective_benchmark.cc</a></li>
67 <li>main()&#160;:&#160;<a·class="el"·href="a00071.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>67 <li>main()&#160;:&#160;<a·class="el"·href="a00332.html#a3c04138a5bfe5d72780bb7e82a18e627">mpi_collective_benchmark.cc</a></li>
68 <li>printHeader()&#160;:&#160;<a·class="el"·href="a00071.html#a463abe7d682b6ef6fc100e18d872d4e7">mpi_collective_benchmark.cc</a></li>68 <li>printHeader()&#160;:&#160;<a·class="el"·href="a00332.html#a463abe7d682b6ef6fc100e18d872d4e7">mpi_collective_benchmark.cc</a></li>
69 <li>run()&#160;:&#160;<a·class="el"·href="a00071.html#a32c829093c6e6df595cdee323470d482">mpi_collective_benchmark.cc</a></li>69 <li>run()&#160;:&#160;<a·class="el"·href="a00332.html#a32c829093c6e6df595cdee323470d482">mpi_collective_benchmark.cc</a></li>
70 <li>runBlocking()&#160;:&#160;<a·class="el"·href="a00071.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">mpi_collective_benchmark.cc</a></li>70 <li>runBlocking()&#160;:&#160;<a·class="el"·href="a00332.html#a2346f2e9a9ad80d88d9bcec29ff6dd00">mpi_collective_benchmark.cc</a></li>
71 <li>runNonblockingActive()&#160;:&#160;<a·class="el"·href="a00071.html#abb79e76efc659a3c229218399ebc63bc">mpi_collective_benchmark.cc</a></li>71 <li>runNonblockingActive()&#160;:&#160;<a·class="el"·href="a00332.html#abb79e76efc659a3c229218399ebc63bc">mpi_collective_benchmark.cc</a></li>
72 <li>runNonblockingSleep()&#160;:&#160;<a·class="el"·href="a00071.html#a0387f700252c5cdfd84d8c48cb2c0f85">mpi_collective_benchmark.cc</a></li>72 <li>runNonblockingSleep()&#160;:&#160;<a·class="el"·href="a00332.html#a0387f700252c5cdfd84d8c48cb2c0f85">mpi_collective_benchmark.cc</a></li>
73 <li>runNonblockingWait()&#160;:&#160;<a·class="el"·href="a00071.html#abc473f2a6a96ee4a7a3c297d40a04bde">mpi_collective_benchmark.cc</a></li>73 <li>runNonblockingWait()&#160;:&#160;<a·class="el"·href="a00332.html#abc473f2a6a96ee4a7a3c297d40a04bde">mpi_collective_benchmark.cc</a></li>
74 <li>startCommunication()&#160;:&#160;<a·class="el"·href="a00071.html#aec1abd976c753f5575c4f77b754364b3">mpi_collective_benchmark.cc</a></li>74 <li>startCommunication()&#160;:&#160;<a·class="el"·href="a00332.html#aec1abd976c753f5575c4f77b754364b3">mpi_collective_benchmark.cc</a></li>
75 </ul>75 </ul>
76 </div><!--·contents·-->76 </div><!--·contents·-->
77 <!--·start·footer·part·-->77 <!--·start·footer·part·-->
78 <hr·class="footer"/><address·class="footer"><small>78 <hr·class="footer"/><address·class="footer"><small>
79 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.479 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
80 </small></address>80 </small></address>
81 </body>81 </body>
1.35 KB
./usr/share/doc/libdune-common-doc/doxygen/globals_vars.html
    
Offset 59, 17 lines modifiedOffset 59, 17 lines modified
59 <iframe·src="javascript:void(0)"·frameborder="0"·59 <iframe·src="javascript:void(0)"·frameborder="0"·
60 ········name="MSearchResults"·id="MSearchResults">60 ········name="MSearchResults"·id="MSearchResults">
61 </iframe>61 </iframe>
62 </div>62 </div>
  
63 <div·class="contents">63 <div·class="contents">
64 &#160;<ul>64 &#160;<ul>
65 <li>all_methods&#160;:&#160;<a·class="el"·href="a00071.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>65 <li>all_methods&#160;:&#160;<a·class="el"·href="a00332.html#a041dd892dba6b2c051d9ab750ef9f3c7">mpi_collective_benchmark.cc</a></li>
66 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00059.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>66 <li>fixedSize&#160;:&#160;<a·class="el"·href="a00338.html#ab8808b7c88a6c9013967559c8eae5e8c">variablesizecommunicator.hh</a></li>
67 <li>options&#160;:&#160;<a·class="el"·href="a00071.html#a27e2a51c9830747b1c6fd2825389fbae">mpi_collective_benchmark.cc</a></li>67 <li>options&#160;:&#160;<a·class="el"·href="a00332.html#a27e2a51c9830747b1c6fd2825389fbae">mpi_collective_benchmark.cc</a></li>
68 </ul>68 </ul>
69 </div><!--·contents·-->69 </div><!--·contents·-->
70 <!--·start·footer·part·-->70 <!--·start·footer·part·-->
71 <hr·class="footer"/><address·class="footer"><small>71 <hr·class="footer"/><address·class="footer"><small>
72 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.472 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
73 </small></address>73 </small></address>
74 </body>74 </body>
30.8 KB
./usr/share/doc/libdune-common-doc/doxygen/a00008_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00041_source.html
Files 15% similar despite different names
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·tuplevector.hh·Source·File</title>8 <title>dune-common:·iteratorrange.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 106 lines modifiedOffset 62, 74 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">tuplevector.hh</div></div>68 ··<div·class="headertitle"><div·class="title">iteratorrange.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00008.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00041.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TUPLEVECTOR_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_ITERATORRANGE_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TUPLEVECTOR_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_ITERATORRANGE_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span>·</div>80 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00173.html">dune/common/indices.hh</a>&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00224.html">dune/common/typetraits.hh</a>&gt;</span></div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00335.html">dune/common/std/type_traits.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00015"·name="l00015"></a><span·class="lineno">···15</span>·</div> 
86 <div·class="line"><a·id="l00016"·name="l00016"></a><span·class="lineno">···16</span>·</div> 
87 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>81 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·Iterator&gt;</div>
 82 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno"><a·class="line"·href="a01888.html">···21</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01888.html">IteratorRange</a></div>
88 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>{</div>83 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··{</div>
 84 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>
 85 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>··<span·class="keyword">public</span>:</div>
89 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>86 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>·</div>
 87 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno"><a·class="line"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">···27</a></span>····<span·class="keyword">typedef</span>·Iterator·<a·class="code·hl_typedef"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">iterator</a>;</div>
90 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>·</div>88 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
91 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>·</div> 
92 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div> 
93 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno"><a·class="line"·href="a03024.html">···34</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="a03024.html">TupleVector</a>·:·<span·class="keyword">public</span>·std::tuple&lt;T...&gt;</div> 
94 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>{</div> 
95 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>··<span·class="keyword">using·</span>Base·=·std::tuple&lt;T...&gt;;</div> 
96 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>·</div>89 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>·</div>
97 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·TT&gt;</div> 
98 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>··<span·class="keyword">using·</span>TupleConstructorDetector·=·<span·class="keyword">decltype</span>(Base(std::declval&lt;TT&amp;&amp;&gt;()...));</div>90 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno"><a·class="line"·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67">···33</a></span>····<span·class="keyword">typedef</span>·Iterator·<a·class="code·hl_typedef"·href="a01888.html#a49421ddcbc715d99afed075e73eb4f67"[·...·truncated·by·diffoscope;·len:·19,·SHA:·33c52b9fc12c2aabb94f860d5fa6f962613a2c36e086e74e4835c210f67b35c6·...·];</div>
 91 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 92 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno"><a·class="line"·href="a01888.html#adb7ec5bf3368650a16463ae41d9dd44f">···36</a></span>····<a·class="code·hl_function"·href="a01888.html#adb7ec5bf3368650a16463ae41d9dd44f">IteratorRange</a>(<span·class="keyword">const</span>·Iterator&amp;·<a·class="code·hl_function"·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">begin</a>,·<span·class="keyword">const</span>·Iterator&amp;·<a·class="code·hl_function"·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">end</a>)</div>
 93 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>······:·_begin(<a·class="code·hl_function"·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">begin</a>)</div>
 94 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>······,·_end(<a·class="code·hl_function"·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">end</a>)</div>
 95 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>····{}</div>
99 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>96 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 97 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno"><a·class="line"·href="a01888.html#ad08326830d31d95fbb9f2667508eff22">···42</a></span>····<a·class="code·hl_function"·href="a01888.html#ad08326830d31d95fbb9f2667508eff22">IteratorRange</a>()</div>
100 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·TT&gt;</div> 
101 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">using·</span>hasTupleConstructor·=·<a·class="code·hl_typedef"·href="a00406.html#gaccaa5104ef0c27be164435f42ef81fd5">Dune::Std::is_detected</a>&lt;TupleConstructorDetector,·TT...&gt;;</div> 
102 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·</div>98 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>····{}</div>
103 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·</div>
 100 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno"><a·class="line"·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">···46</a></span>····<a·class="code·hl_typedef"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">iterator</a>·<a·class="code·hl_function"·href="a01888.html#a188cf31835e16d41ad2b1226cc7f4c1f">begin</a>()<span·class="keyword">·const</span></div>
104 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="keyword">public</span>:</div>101 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="keyword">····</span>{</div>
 102 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>······<span·class="keywordflow">return</span>·_begin;</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>·</div>
 105 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">···52</a></span>····<a·class="code·hl_typedef"·href="a01888.html#ad98380cc975a532110a0838d1c89e029">iterator</a>·<a·class="code·hl_function"·href="a01888.html#a52704efe8a4f9cbe66eb4015549f41de">end</a>()<span·class="keyword">·const</span></div>
 106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="keyword">····</span>{</div>
 107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>······<span·class="keywordflow">return</span>·_end;</div>
 108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····}</div>
105 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div>
106 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·TT,</div> 
107 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····std::enable_if_t&lt;hasTupleConstructor&lt;TT...&gt;::value,·<span·class="keywordtype">int</span>&gt;·=·0&gt;</div> 
108 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="a03024.html#a18fb497d8152c2f3eb144449d70e9bc9">···55</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a03024.html#a18fb497d8152c2f3eb144449d70e9bc9">TupleVector</a>(TT&amp;&amp;...·tt)·:</div> 
109 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····Base(<a·class="code·hl_namespace"·href="a00424.html">std</a>::forward&lt;TT&gt;(tt)...)</div> 
110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··{}</div>110 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="keyword">private</span>:</div>
111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>111 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div>
112 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a03024.html#af79a45a6b4d14f7db794298985da714e">···61</a></span>··<span·class="keyword">constexpr</span>·<a·class="code·hl_function"·href="a03024.html#af79a45a6b4d14f7db794298985da714e">TupleV[·...·truncated·by·diffoscope;·len:·11,·SHA:·c704b78c9d38142ec195f8b82ad15104636d26d64434b6755df90ecbdbef7db6·...·]</div>112 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>····Iterator·_begin;</div>
 113 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>····Iterator·_end;</div>
 114 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>
113 <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>
114 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>116 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>
115 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·i&gt;</div> 
116 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a03024.html#ae61a44c59db745e575ee839989dc13ed">···67</a></span>··<span·class="keyword">constexpr</span>·<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>[](<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant&lt;i&gt;</a>&amp;)·<span·class="keyword">const</span></div> 
117 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··{</div> 
118 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>····<span·class="keywordflow">return</span>·std::get&lt;i&gt;(*<span·class="keyword">this</span>);</div> 
119 <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··}</div> 
120 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> 
121 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·i&gt;</div> 
122 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno"><a·class="line"·href="a03024.html#a22b24b2bd8f2fa120c183b3c8becf1c9">···75</a></span>··<span·class="keyword">decltype</span>(<span·class="keyword">auto</span>)·<span·class="keyword">operator</span>[](<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant&lt;i&gt;</a>&amp;)</div> 
123 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··{</div> 
124 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····<span·class="keywordflow">return</span>·std::get&lt;i&gt;(*<span·class="keyword">this</span>);</div> 
125 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··}</div> 
126 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> 
127 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="a03024.html#a1595dc930c803c3b4e4652b011ebf47b">···81</a></span>··<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_function"·href="a03024.html#a1595dc930c803c3b4e4652b011ebf47b">size</a>()</div> 
128 <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··{</div> 
129 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>····<span·class="keywordflow">return</span>·std::tuple_size&lt;Base&gt;::value;</div> 
130 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··}</div>117 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>}</div>
131 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>};</div> 
132 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div>118 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div>
133 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> 
134 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> 
135 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="keyword">template</span>&lt;<span·class="keyword">class</span>...·T&gt;</div> 
136 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="a00425.html#ae982edb333af3a1f24fe324cc593be0d">···90</a></span><span·class="keyword">constexpr</span>·<span·class="keyword">auto</span>·<a·class="code·hl_function"·href="a00425.html#ae982edb333af3a1f24fe324cc593be0d">makeTupleVector</a>(T&amp;&amp;...·t)</div> 
137 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>{</div> 
138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="comment">//·The·std::decay_t&lt;T&gt;·is·is·a·slight·simplification,</span></div> 
139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="comment">//·because·std::reference_wrapper·needs·special·care.</span></div> 
140 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="a03024.html">TupleVector&lt;std::decay_t&lt;T&gt;</a>...&gt;(std::forward&lt;T&gt;(t)...);</div> 
141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>}</div> 
142 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div> 
143 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> 
144 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·</div> 
145 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>}··<span·class="comment">//·namespace·Dune</span></div> 
146 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> 
147 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_TUPLEVECTOR_HH</span></div>119 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_ITERATORRANGE_HH</span></div>
148 <div·class="ttc"·id="aa00173_html"><div·class="ttname"><a·href="a00173.html">indices.hh</a></div></div> 
149 <div·class="ttc"·id="aa00224_html"><div·class="ttname"><a·href="a00224.html">typetraits.hh</a></div><div·class="ttdoc">Traits·for·type·conversions·and·type·information.</div></div> 
150 <div·class="ttc"·id="aa00335_html"><div·class="ttname"><a·href="a00335.html">type_traits.hh</a></div></div> 
151 <div·class="ttc"·id="aa00397_html_gacf764509e6dae37477f5ad09b5ca3467"><div·class="ttname"><a·href="a00397.html#gacf764509e6dae37477f5ad09b5ca3467">Dune::index_constant</a></div><div·class="ttdeci">std::integral_constant&lt;·std::size_t,·i·&gt;·index_constant</div><div·class="ttdoc">An·index·constant·with·value·i.</div><div·class="ttdef"><b>Definition:</b>·indices.hh:30</div></div> 
Max diff block lines reached; 4548/26470 bytes (17.18%) of diff not shown.
4.83 KB
html2text {}
    
Offset 4, 126 lines modifiedOffset 4, 92 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 tuplevector.hh7 iteratorrange.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_TUPLEVECTOR_HH14 ·5#ifndef·DUNE_COMMON_ITERATORRANGE_HH
15 ·6#define·DUNE_COMMON_TUPLEVECTOR_HH15 ·6#define·DUNE_COMMON_ITERATORRANGE_HH
16 ·716 ·7
17 ·8#include·<tuple> 
18 ·9#include·<utility> 
19 ·10 
20 ·11#include·<dune/common/indices.hh> 
21 ·12#include·<dune/common/typetraits.hh> 
22 ·13#include·<dune/common/std/type_traits.hh> 
23 ·14 
24 ·15 
25 ·16 
26 ·23namespace·Dune17 ·8namespace·Dune·{
27 ·24{18 ·9
 19 ·11
 20 ·20·template<typename·Iterator>
 21 21·class·IteratorRange
 22 ·22·{
 23 ·23
 24 ·24·public:
28 ·2525 ·25
29 ·26 
30 ·27 
31 ·33template<class...·T> 
32 34class·TupleVector·:·public·std::tuple<T...> 
33 ·35{ 
34 ·36·using·Base·=·std::tuple<T...>; 
35 ·37 
36 ·38·template<class...·TT> 
37 ·39·using·TupleConstructorDetector·=·decltype(Base(std::declval<TT&&>()...));26 27·typedef·Iterator·iterator;
 27 ·28
 28 ·30
 29 33·typedef·Iterator·const_iterator;
 30 ·34
 31 36·IteratorRange(const·Iterator&·begin,·const·Iterator&·end)
 32 ·37·:·_begin(begin)
 33 ·38·,·_end(end)
 34 ·39·{}
38 ·4035 ·40
 36 42·IteratorRange()
 37 ·43·{}
39 ·41·template<class...·TT> 
40 ·42·using·hasTupleConstructor·=·Dune::Std:: 
41 is_detected<TupleConstructorDetector,·TT...>; 
42 ·43 
43 ·4438 ·44
44 ·45public: 
45 ·46 
46 ·53·template<class...·TT, 
47 ·54·std::enable_if_t<hasTupleConstructor<TT...>::value,·int>·=·0> 
48 55·constexpr·TupleVector(TT&&...·tt)·: 
49 ·56·Base(std::forward<TT>(tt)...) 
50 ·57·{}39 46·iterator·begin()·const
 40 ·47·{
 41 ·48·return·_begin;
 42 ·49·}
 43 ·50
 44 52·iterator·end()·const
 45 ·53·{
 46 ·54·return·_end;
 47 ·55·}
 48 ·56
 49 ·57·private:
51 ·5850 ·58
52 61·constexpr·TupleVector()51 ·59·Iterator·_begin;
 52 ·60·Iterator·_end;
 53 ·61
53 ·62·{}54 ·62·};
54 ·6355 ·63
 56 ·64}
 57 ·65
55 ·66·template<std::size_t·i> 
56 67·constexpr·decltype(auto)·operator[](const·Dune::index_constant<i>&)·const 
57 ·68·{ 
58 ·69·return·std::get<i>(*this); 
59 ·70·} 
60 ·71 
61 ·74·template<std::size_t·i> 
62 75·decltype(auto)·operator[](const·Dune::index_constant<i>&) 
63 ·76·{ 
64 ·77·return·std::get<i>(*this); 
65 ·78·} 
66 ·79 
67 81·static·constexpr·std::size_t·size() 
68 ·82·{ 
69 ·83·return·std::tuple_size<Base>::value; 
70 ·84·} 
71 ·85}; 
72 ·86 
73 ·87 
74 ·88 
75 ·89template<class...·T> 
76 90constexpr·auto·makeTupleVector(T&&...·t) 
77 ·91{ 
78 ·92·//·The·std::decay_t<T>·is·is·a·slight·simplification, 
79 ·93·//·because·std::reference_wrapper·needs·special·care. 
80 ·94·return·TupleVector<std::decay_t<T>...>(std::forward<T>(t)...); 
81 ·95} 
82 ·96 
83 ·97 
84 ·98 
85 ·99}·//·namespace·Dune 
86 ·100 
87 ·101#endif·//·DUNE_COMMON_TUPLEVECTOR_HH58 ·66#endif·//·DUNE_COMMON_ITERATORRANGE_HH
88 indices.hh 
89 typetraits.hh 
90 Traits·for·type·conversions·and·type·information. 
91 type_traits.hh 
92 Dune::index_constant 
93 std::integral_constant<·std::size_t,·i·>·index_constant 
94 An·index·constant·with·value·i. 
95 Definition:·indices.hh:30 
96 Dune::Std::is_detected 
Max diff block lines reached; 1727/4919 bytes (35.11%) of diff not shown.
19.2 KB
./usr/share/doc/libdune-common-doc/doxygen/a00299_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00092_source.html
Files 19% similar despite different names
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·deprecated.hh·Source·File</title>8 <title>dune-common:·typeutilities.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 52 lines modifiedOffset 62, 73 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">deprecated.hh</div></div>68 ··<div·class="headertitle"><div·class="title">typeutilities.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00299.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00092.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_DEPRECATED_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_TYPEUTILITIES_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_DEPRECATED_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_TYPEUTILITIES_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span><span·class="preprocessor">#ifdef·DOXYGEN</span></div> 
79 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga74d440d098178dc5a4adea8f7c160e99">···32</a></span><span·class="preprocessor">#define·DUNE_NO_DEPRECATED_BEGIN·...</span></div> 
80 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="a00406.html#ga664ae9266c2a074c71746e68aaa8eb6a">···38</a></span><span·class="preprocessor">#define·DUNE_NO_DEPRECATED_END···...</span></div> 
81 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#else</span></div> 
82 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="preprocessor">#··if·defined·__clang__</span></div> 
83 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_BEGIN·\</span></div> 
84 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span><span·class="preprocessor">·········_Pragma(&quot;clang·diagnostic·push&quot;</span>)·\</div> 
85 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span>·········_Pragma(&quot;clang·diagnostic·ignored·\&quot;-Wdeprecated-declarations\&quot;&quot;)</div> 
86 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_END·_Pragma(&quot;clang·diagnostic·pop&quot;</span>)</div> 
87 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="preprocessor">#··elif·defined·__INTEL_COMPILER</span></div> 
88 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_BEGIN·\</span></div> 
89 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span><span·class="preprocessor">·········_Pragma(&quot;warning·push&quot;</span>)·\</div> 
90 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·········_Pragma(&quot;warning(disable:1478)&quot;)·\</div> 
91 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·········_Pragma(&quot;warning(disable:1786)&quot;)</div> 
92 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_END·_Pragma(&quot;warning·pop&quot;</span>)</div> 
93 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#··elif·defined·__GNUC__</span></div> 
94 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_BEGIN·\</span></div> 
95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">·········_Pragma(&quot;GCC·diagnostic·push&quot;</span>)·\</div> 
96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·········_Pragma(&quot;GCC·diagnostic·ignored·\&quot;-Wdeprecated-declarations\&quot;&quot;)</div> 
97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_END·_Pragma(&quot;GCC·diagnostic·pop&quot;</span>)</div> 
98 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="preprocessor">#··else</span></div> 
99 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_BEGIN·</span><span·class="comment">/*·Noop.·*/</span><span·class="preprocessor"></span></div> 
100 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="preprocessor">#····define·DUNE_NO_DEPRECATED_END···</span><span·class="comment">/*·Noop.·*/</span><span·class="preprocessor"></span></div> 
101 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="preprocessor">#··endif</span></div> 
102 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="preprocessor">#endif</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;cstddef&gt;</span></div>
 79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;type_traits&gt;</span></div>
 80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>
103 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>·</div>81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>·</div>
 82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>
 83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>
 84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div>
 85 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>Impl</div>
 86 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>··{</div>
 87 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>·</div>
 88 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>This,·<span·class="keyword">class</span>...·T&gt;</div>
 89 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span>····<span·class="keyword">struct·</span>disableCopyMoveHelper·:·<span·class="keyword">public</span>·std::is_base_of&lt;This,·std::tuple_element_t&lt;0,·std::tuple&lt;std::decay_t&lt;T&gt;...&gt;&gt;&gt;</div>
 90 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····{};</div>
 91 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>·</div>
 92 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">template</span>&lt;<span·class="keyword">class</span>·This&gt;</div>
 93 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····<span·class="keyword">struct·</span>disableCopyMoveHelper&lt;This&gt;·:·<span·class="keyword">public</span>·std::false_type</div>
 94 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>····{};</div>
104 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div>95 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>·</div>
 96 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>··}·<span·class="comment">//·namespace·Impl</span></div>
 97 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>·</div>
 98 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 99 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">class·</span>This,·<span·class="keyword">class</span>...·T&gt;</div>
 100 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">···45</a></span>··<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">disableCopyMove</a>·=·std::enable_if_t&lt;·not·Impl::disableCopyMoveHelper&lt;This,·T...&gt;::value,·<span·class="keywordtype">int</span>&gt;;</div>
 101 <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>·</div>
 102 <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div>
 103 <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>·</div>
 104 <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>··<span·class="keyword">template</span>&lt;std::<span·class="keywordtype">size_t</span>·priority&gt;</div>
 105 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="a03180.html">···72</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03180.html">PriorityTag</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_struct"·href="a03180.html">PriorityTag</a>&lt;priority-1&gt;</div>
 106 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··{</div>
 107 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">···74</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_variable"·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">value</a>·=·priority;</div>
 108 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··};</div>
 109 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div>
105 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#endif</span></div>110 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>··<span·class="keyword">template</span>&lt;&gt;</div>
 111 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno"><a·class="line"·href="a03184.html">···86</a></span>··<span·class="keyword">struct·</span><a·class="code·hl_struct"·href="a03180.html">PriorityTag</a>&lt;0&gt;</div>
 112 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··{</div>
 113 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno"><a·class="line"·href="a03184.html#a31ed9dda850ce73e5a9117f1d2335b9d">···88</a></span>····<span·class="keyword">static</span>·<span·class="keyword">constexpr</span>·std::size_t·<a·class="code·hl_variable"·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">value</a>·=·0;</div>
 114 <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··};</div>
 115 <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>·</div>
 116 <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div>
 117 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div>
 118 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>}·<span·class="comment">//·namespace·Dune</span></div>
 119 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div>
 120 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div>
 121 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>
 122 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_COMMON_TYPEUTILITIES_HH</span></div>
 123 <div·class="ttc"·id="aa00404_html_ga5cf0dfc6fe8998b21503cd81c6681afc"><div·class="ttname"><a·href="a00404.html#ga5cf0dfc6fe8998b21503cd81c6681afc">Dune::disableCopyMove</a></div><div·class="ttdeci">std::enable_if_t&lt;·not·Impl::disableCopyMoveHelper&lt;·This,·T...·&gt;::value,·int·&gt;·disableCopyMove</div><div·class="ttdoc">Helper·to·disable·constructor·as·copy·and·move·constructor.</div><div·class="ttdef"><b>Definition:</b>·typeutilities.hh:45</div></div>
 124 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>
 125 <div·class="ttc"·id="aa03180_html"><div·class="ttname"><a·href="a03180.html">Dune::PriorityTag</a></div><div·class="ttdoc">Helper·class·for·tagging·priorities.</div><div·class="ttdef"><b>Definition:</b>·typeutilities.hh:73</div></div>
 126 <div·class="ttc"·id="aa03180_html_ac24cb72d1f984e7e73cd43b0ab55aee4"><div·class="ttname"><a·href="a03180.html#ac24cb72d1f984e7e73cd43b0ab55aee4">Dune::PriorityTag::value</a></div><div·class="ttdeci">static·constexpr·std::size_t·value</div><div·class="ttdef"><b>Definition:</b>·typeutilities.hh:74</div></div>
106 </div><!--·fragment·--></div><!--·contents·-->127 </div><!--·fragment·--></div><!--·contents·-->
107 <!--·start·footer·part·-->128 <!--·start·footer·part·-->
108 <hr·class="footer"/><address·class="footer"><small>129 <hr·class="footer"/><address·class="footer"><small>
109 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4130 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
110 </small></address>131 </small></address>
111 </body>132 </body>
112 </html>133 </html>
3.06 KB
html2text {}
    
Offset 4, 48 lines modifiedOffset 4, 81 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 deprecated.hh7 typeutilities.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_DEPRECATED_HH 
15 ·6#define·DUNE_DEPRECATED_HH14 ·5#ifndef·DUNE_COMMON_TYPEUTILITIES_HH
 15 ·6#define·DUNE_COMMON_TYPEUTILITIES_HH
16 ·716 ·7
17 ·14#ifdef·DOXYGEN 
18 32#define·DUNE_NO_DEPRECATED_BEGIN·... 
19 38#define·DUNE_NO_DEPRECATED_END·... 
20 ·39#else 
21 ·40#·if·defined·__clang__ 
22 ·41#·define·DUNE_NO_DEPRECATED_BEGIN·\ 
23 ·42·_Pragma("clang·diagnostic·push")·\ 
24 ·43·_Pragma("clang·diagnostic·ignored·\"-Wdeprecated-declarations\"") 
25 ·44#·define·DUNE_NO_DEPRECATED_END·_Pragma("clang·diagnostic·pop") 
26 ·45#·elif·defined·__INTEL_COMPILER 
27 ·46#·define·DUNE_NO_DEPRECATED_BEGIN·\ 
28 ·47·_Pragma("warning·push")·\ 
29 ·48·_Pragma("warning(disable:1478)")·\ 
30 ·49·_Pragma("warning(disable:1786)") 
31 ·50#·define·DUNE_NO_DEPRECATED_END·_Pragma("warning·pop") 
32 ·51#·elif·defined·__GNUC__ 
33 ·52#·define·DUNE_NO_DEPRECATED_BEGIN·\ 
34 ·53·_Pragma("GCC·diagnostic·push")·\ 
35 ·54·_Pragma("GCC·diagnostic·ignored·\"-Wdeprecated-declarations\"") 
36 ·55#·define·DUNE_NO_DEPRECATED_END·_Pragma("GCC·diagnostic·pop") 
37 ·56#·else 
38 ·57#·define·DUNE_NO_DEPRECATED_BEGIN·/*·Noop.·*/ 
39 ·58#·define·DUNE_NO_DEPRECATED_END·/*·Noop.·*/ 
40 ·59#·endif 
41 ·60#endif 
42 ·61 
43 ·63 
44 ·64#endif17 ·8#include·<cstddef>
 18 ·9#include·<type_traits>
 19 ·10#include·<tuple>
 20 ·11
 21 ·12
 22 ·13namespace·Dune·{
 23 ·14
 24 ·22·namespace·Impl
 25 ·23·{
 26 ·24
 27 ·25·template<class·This,·class...·T>
 28 ·26·struct·disableCopyMoveHelper·:·public·std::is_base_of<This,·std::
 29 tuple_element_t<0,·std::tuple<std::decay_t<T>...>>>
 30 ·27·{};
 31 ·28
 32 ·29·template<class·This>
 33 ·30·struct·disableCopyMoveHelper<This>·:·public·std::false_type
 34 ·31·{};
 35 ·32
 36 ·33·}·//·namespace·Impl
 37 ·34
 38 ·35
 39 ·44·template<class·This,·class...·T>
 40 45·using·disableCopyMove·=·std::enable_if_t<·not·Impl::
 41 disableCopyMoveHelper<This,·T...>::value,·int>;
 42 ·46
 43 ·47
 44 ·48
 45 ·71·template<std::size_t·priority>
 46 72·struct·PriorityTag·:·public·PriorityTag<priority-1>
 47 ·73·{
 48 74·static·constexpr·std::size_t·value·=·priority;
 49 ·75·};
 50 ·76
 51 ·85·template<>
 52 86·struct·PriorityTag<0>
 53 ·87·{
 54 88·static·constexpr·std::size_t·value·=·0;
 55 ·89·};
 56 ·90
 57 ·91
 58 ·92
 59 ·93}·//·namespace·Dune
 60 ·94
 61 ·95
 62 ·96
 63 ·97#endif·//·DUNE_COMMON_TYPEUTILITIES_HH
 64 Dune::disableCopyMove
 65 std::enable_if_t<·not·Impl::disableCopyMoveHelper<·This,·T...·>::value,·int·>
 66 disableCopyMove
 67 Helper·to·disable·constructor·as·copy·and·move·constructor.
 68 Definition:·typeutilities.hh:45
 69 Dune
 70 Dune·namespace.
 71 Definition:·alignedallocator.hh:13
 72 Dune::PriorityTag
 73 Helper·class·for·tagging·priorities.
 74 Definition:·typeutilities.hh:73
 75 Dune::PriorityTag::value
 76 static·constexpr·std::size_t·value
 77 Definition:·typeutilities.hh:74
  
45 ===============================================================================78 ===============================================================================
46 ·····Generated·by [doxygen]·1.9.479 ·····Generated·by [doxygen]·1.9.4
76.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00311_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00278_source.html
Files 19% similar despite different names
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·lru.hh·Source·File</title>8 <title>dune-common:·enumset.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 62, 208 lines modifiedOffset 62, 158 lines modified
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">lru.hh</div></div>68 ··<div·class="headertitle"><div·class="title">enumset.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
71 <a·href="a00311.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>71 <a·href="a00278.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div>
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div>
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_LRU_HH</span></div>75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_ENUMSET_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_LRU_HH</span></div>76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_ENUMSET_HH</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;list&gt;</span></div>78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;iostream&gt;</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span><span·class="preprocessor">#include·&lt;utility&gt;</span></div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="preprocessor">#include·&lt;map&gt;</span></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span><span·class="preprocessor">#include·&lt;memory&gt;</span></div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno">···12</span>·</div>79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div>
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00185.html">dune/common/exceptions.hh</a>&gt;</span></div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a>·{</div>80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div>
 81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div>
 82 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA&gt;</div>
 83 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno"><a·class="line"·href="a01524.html">···26</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01524.html">EmptySet</a></div>
86 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>84 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>··{</div>
87 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span>··<span·class="keyword">namespace·</span>{</div>85 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>··<span·class="keyword">public</span>:</div>
 86 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno"><a·class="line"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">···32</a></span>····<span·class="keyword">typedef</span>·TA·<a·class="code·hl_typedef"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">Type</a>;</div>
 87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#gabe9c296a2213a977a8579d2b1972bbd3">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01524.html#a97993af013629e59913a6c9cd41f527c">Type</a>&amp;·attribute);</div>
88 <div·class="line"><a·id="l00023"·name="l00023"></a><span·class="lineno">···23</span>·</div>88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··};</div>
89 <div·class="line"><a·id="l00024"·name="l00024"></a><span·class="lineno">···24</span>····<span·class="comment">/*</span></div> 
90 <div·class="line"><a·id="l00025"·name="l00025"></a><span·class="lineno">···25</span><span·class="comment">·······hide·the·default·traits·in·an·empty·namespace</span></div> 
91 <div·class="line"><a·id="l00026"·name="l00026"></a><span·class="lineno">···26</span><span·class="comment">·····*/</span></div> 
92 <div·class="line"><a·id="l00027"·name="l00027"></a><span·class="lineno">···27</span>····<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·Key,·<span·class="keyword">typename</span>·Tp,</div> 
93 <div·class="line"><a·id="l00028"·name="l00028"></a><span·class="lineno">···28</span>········<span·class="keyword">typename</span>·Alloc·=·std::allocator&lt;Tp&gt;·&gt;</div> 
94 <div·class="line"><a·id="l00029"·name="l00029"></a><span·class="lineno">···29</span>····<span·class="keyword">struct·</span>_lru_default_traits</div> 
95 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno">···30</span>····{</div> 
96 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span>······<span·class="keyword">typedef</span>·Key·key_type;</div> 
97 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span>······<span·class="keyword">typedef</span>·Alloc·allocator;</div> 
98 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span>······<span·class="keyword">typedef</span>·std::list&lt;·std::pair&lt;Key,·Tp&gt;·&gt;·list_type;</div> 
99 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>······<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·list_type::iterator·iterator;</div> 
100 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>······<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·std::less&lt;key_type&gt;·cmp;</div> 
101 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span>······<span·class="keyword">typedef</span>·std::map&lt;·key_type,·iterator,·cmp,</div> 
102 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span>··········<span·class="keyword">typename</span>·std::allocator_traits&lt;allocator&gt;::template·rebind_alloc&lt;std::pair&lt;const·key_type,·iterator&gt;·&gt;·&gt;·map_type;</div> 
103 <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>
104 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span>·</div> 
105 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>··}·<span·class="comment">//·end·empty·namespace</span></div>90 <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA&gt;</div>
 91 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="a01528.html">···43</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01528.html">AllSet</a></div>
106 <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span>·</div>92 <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>··{</div>
107 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keyword">template</span>·&lt;<span·class="keyword">typename</span>·Key,·<span·class="keyword">typename</span>·Tp,</div> 
108 <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>······<span·class="keyword">typename</span>·Traits·=·_lru_default_traits&lt;Key,·Tp&gt;·&gt;</div> 
109 <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="a01896.html">···51</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01896.html">lru</a></div> 
110 <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··{</div> 
111 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Traits::list_type·list_type;</div> 
112 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Traits::map_type·map_type;</div> 
113 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Traits::allocator·allocator;</div> 
114 <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·map_type::iterator·map_iterator;</div> 
115 <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·map_type::const_iterator·const_map_iterator;</div> 
116 <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>·</div> 
117 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">public</span>:</div>93 <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span>··<span·class="keyword">public</span>:</div>
118 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01896.html#aeda92a2b060663bbceb17c16bb0ab3aa">···60</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·Traits::key_type·<a·class="code·hl_typedef"·href="a01896.html#aeda92a2b060663bbceb17c16bb0ab3aa">key_type</a>;</div> 
119 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno"><a·class="line"·href="a01896.html#a40f89573d1b557b338531dcbf81af42c">···61</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·allocator::value_type·<a·class="code·hl_typedef"·href="a01896.html#a40f89573d1b557b338531dcbf81af42c">value_type</a>;</div> 
120 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="a01896.html#ab605faec247e98d56b6aa5161873a2a3">···62</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01896.html#ab605faec247e98d56b6aa5161873a2a3">pointer</a>·=·<span·class="keyword">typename</span>·allocator::value_type*;</div> 
121 <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="a01896.html#a4b0f268d929dd6219d3a54e0bff885ea">···63</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01896.html#a4b0f268d929dd6219d3a54e0bff885ea">const_pointer</a>·=·<span·class="keyword">typename</span>·allocator::value_type·<span·class="keyword">const</span>*;</div> 
122 <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="a01896.html#add3ff5021fdf6c8d27bbf1463f0a9750">···64</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01896.html#add3ff5021fdf6c8d27bbf1463f0a9750">const_reference</a>·=·<span·class="keyword">typename</span>·allocator::value_type·<span·class="keyword">const</span>&amp;;</div> 
123 <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="a01896.html#a675e3c2081b8c609574cd860404b89e4">···65</a></span>····<span·class="keyword">using·</span><a·class="code·hl_typedef"·href="a01896.html#a675e3c2081b8c609574cd860404b89e4">reference</a>·=·<span·class="keyword">typename</span>·allocator::value_type&amp;;</div> 
124 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01896.html#a3948720468f37e008671618f767cf923">···66</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·allocator::size_type·<a·class="code·hl_typedef"·href="a01896.html#a3948720468f37e008671618f767cf923">size_type</a>;</div> 
125 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="a01896.html#a3dda844ee17447258f388ca19edcef25">···67</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·list_type::iterator·<a·class="code·hl_typedef"·href="a01896.html#a3dda844ee17447258f388ca19edcef25">iterator</a>;</div> 
126 <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno"><a·class="line"·href="a01896.html#a2d259e3e02d3ef4f649732fc71512414">···68</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·list_type::const_iterator·<a·class="code·hl_typed[·...·truncated·by·diffoscope;·len:·71,·SHA:·47428ea5171754d2eb6c9f2a2e5291c5535ec0f42c0586304d6e08ed9780f4a6·...·]</a>;</div>94 <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">···49</a></span>····<span·class="keyword">typedef</span>·TA·<a·class="code·hl_typedef"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">Type</a>;</div>
 95 <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga1918a1179a53724c3fc0a3ee1812d5e7">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01528.html#a3c41c31d404b64943a46f88d96b1890d">Type</a>&amp;·attribute);</div>
 96 <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··};</div>
 97 <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div>
 98 <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA,·<span·class="keywordtype">int</span>·item&gt;</div>
 99 <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno"><a·class="line"·href="a01532.html">···60</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01532.html">EnumItem</a></div>
 100 <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··{</div>
 101 <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keyword">public</span>:</div>
 102 <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno"><a·class="line"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">···66</a></span>····<span·class="keyword">typedef</span>·TA·<a·class="code·hl_typedef"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">Type</a>;</div>
127 <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div>103 <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div>
 104 <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#gadd4bd8a68ff82f7bd648a651990ae8e5">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01532.html#a38b6b18d6a44b18e42f42be188baa255">Type</a>&amp;·attribute);</div>
128 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="a01896.html#a8c7128595c530784a73f61e6dd75a402">···74</a></span>····<a·class="code·hl_typedef"·href="a01896.html#a675e3c2081b8c609574cd860404b89e4">reference</a>·<a·class="code·hl_function"·href="a01896.html#a8c7128595c530784a73f61e6dd75a402">front</a>()</div> 
129 <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····{</div> 
130 <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>······<span·class="keywordflow">return</span>·_data.front().second;</div> 
131 <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>····}</div>105 <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··};</div>
132 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>·</div>106 <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div>
 107 <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·TA,<span·class="keywordtype">int</span>·from,·<span·class="keywordtype">int</span>·end&gt;</div>
 108 <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="a01536.html">···79</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01536.html">EnumRange</a>·<span·class="comment">//:·public·PODSet&lt;EnumRange&lt;T,from,end&gt;,T&gt;</span></div>
133 <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno"><a·class="line"·href="a01896.html#a42c540a71e6ae6caa8451304428cebc1">···83</a></span>····<a·class="code·hl_typedef"·href="a01896.html#add3ff5021fdf6c8d27bbf1463f0a9750">const_reference</a>·<a·class="code·hl_function"·href="a01896.html#a42c540a71e6ae6caa8451304428cebc1">front</a>()<span·class="keyword">·const</span></div> 
134 <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span><span·class="keyword">····</span>{</div> 
135 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keywordflow">return</span>·_data.front().second;</div> 
136 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div>109 <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··{</div>
 110 <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keyword">public</span>:</div>
 111 <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">···85</a></span>····<span·class="keyword">typedef</span>·TA·<a·class="code·hl_typedef"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">Type</a>;</div>
 112 <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a00397.html#ga6d859eacd34bc489093cf49624df2101">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01536.html#a66bf0a9ee750c30004df0fcb92605fe2">Type</a>&amp;·item);</div>
137 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div>113 <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··};</div>
138 <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno"><a·class="line"·href="a01896.html#a6ac3d7821b2380fd2d4900eb152e6fe3">···92</a></span>····<a·class="code·hl_typedef"·href="a01896.html#a675e3c2081b8c609574cd860404b89e4">reference</a>·<a·class="code·hl_function"·href="a01896.html#a6ac3d7821b2380fd2d4900eb152e6fe3">back</a>()</div> 
139 <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····{</div>114 <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div>
140 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>······<span·class="keywordflow">return</span>·_data.back().second;</div>115 <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>··<span·class="keyword">template</span>&lt;<span·class="keyword">typename</span>·S&gt;</div>
141 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>····}</div>116 <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno"><a·class="line"·href="a01540.html">···95</a></span>··<span·class="keyword">class·</span><a·class="code·hl_class"·href="a01540.html">NegateSet</a></div>
142 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>·</div>117 <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··{</div>
143 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno"><a·class="line"·href="a01896.html#aefa4a3429fce6fbcb9d2cf319997e18c">··101</a></span>····<a·class="code·hl_typedef"·href="a01896.html#add3ff5021fdf6c8d27bbf1463f0a9750">const_reference</a>·<a·class="code·hl_function"·href="a01896.html#aefa4a3429fce6fbcb9d2cf319997e18c">back</a>·([[maybe_unused]]·<span·class="keywordtype">int</span>·i)<span·class="keyword">·const</span></div> 
144 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="keyword">····</span>{</div>118 <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keyword">public</span>:</div>
 119 <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno"><a·class="line"·href="a01540.html#a627e2719804a05a0169b0ccb94369eb5">···98</a></span>····<span·class="keyword">typedef</span>·<span·class="keyword">typename</span>·S::Type·<a·class="code·hl_typedef"·href="a01540.html#a627e2719804a05a0169b0ccb94369eb5">Type</a>;</div>
 120 <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div>
 121 <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno"><a·class="line"·href="a01540.html#a7c3f23caf1e655c169d032f15c660d63">··100</a></span>····<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="a01540.html#a7c3f23caf1e655c169d032f15c660d63">contains</a>(<span·class="keyword">const</span>·<a·class="code·hl_typedef"·href="a01540.html#a627e2719804a05a0169b0ccb94369eb5">Type</a>&amp;·item)</div>
 122 <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>····{</div>
145 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>······<span·class="keywordflow">return</span>·_data.back().second;</div>123 <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>······<span·class="keywordflow">return</span>·!S::contains(item);</div>
 124 <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>····}</div>
146 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>····}</div>125 <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··};</div>
Max diff block lines reached; 41264/66536 bytes (62.02%) of diff not shown.
11.4 KB
html2text {}
    
Offset 4, 269 lines modifiedOffset 4, 206 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
7 lru.hh7 enumset.hh
8 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-9 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-
10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:10 ·2//·vi:·set·et·ts=4·sw=2·sts=2:
11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file11 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
12 LICENSE.md·in·module·root12 LICENSE.md·in·module·root
13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception13 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
14 ·5#ifndef·DUNE_COMMON_LRU_HH 
15 ·6#define·DUNE_COMMON_LRU_HH14 ·5#ifndef·DUNE_ENUMSET_HH
 15 ·6#define·DUNE_ENUMSET_HH
16 ·716 ·7
17 ·8#include·<list>17 ·8#include·<iostream>
 18 ·9
18 ·9#include·<utility> 
19 ·10#include·<map> 
20 ·11#include·<memory> 
21 ·12 
22 ·13#include·<dune/common/exceptions.hh> 
23 ·14 
24 ·20namespace·Dune·{19 ·10namespace·Dune
 20 ·11{
 21 ·25·template<typename·TA>
 22 26·class·EmptySet
 23 ·27·{
 24 ·28·public:
 25 32·typedef·TA·Type;
 26 ·36·static·bool·contains(const·Type&·attribute);
25 ·21 
26 ·22·namespace·{ 
27 ·23 
28 ·24·/* 
29 ·25·hide·the·default·traits·in·an·empty·namespace 
30 ·26·*/ 
31 ·27·template·<typename·Key,·typename·Tp, 
32 ·28·typename·Alloc·=·std::allocator<Tp>·> 
33 ·29·struct·_lru_default_traits 
34 ·30·{ 
35 ·31·typedef·Key·key_type; 
36 ·32·typedef·Alloc·allocator; 
37 ·33·typedef·std::list<·std::pair<Key,·Tp>·>·list_type; 
38 ·34·typedef·typename·list_type::iterator·iterator; 
39 ·35·typedef·typename·std::less<key_type>·cmp; 
40 ·36·typedef·std::map<·key_type,·iterator,·cmp, 
41 ·37·typename·std::allocator_traits<allocator>::template·rebind_alloc<std:: 
42 pair<const·key_type,·iterator>·>·>·map_type; 
43 ·38·};27 ·37·};
 28 ·38
 29 ·42·template<typename·TA>
 30 43·class·AllSet
 31 ·44·{
44 ·39 
45 ·40·}·//·end·empty·namespace 
46 ·41 
47 ·49·template·<typename·Key,·typename·Tp, 
48 ·50·typename·Traits·=·_lru_default_traits<Key,·Tp>·> 
49 51·class·lru 
50 ·52·{ 
51 ·53·typedef·typename·Traits::list_type·list_type; 
52 ·54·typedef·typename·Traits::map_type·map_type; 
53 ·55·typedef·typename·Traits::allocator·allocator; 
54 ·56·typedef·typename·map_type::iterator·map_iterator; 
55 ·57·typedef·typename·map_type::const_iterator·const_map_iterator; 
56 ·58 
57 ·59·public:32 ·45·public:
 33 49·typedef·TA·Type;
 34 ·53·static·bool·contains(const·Type&·attribute);
 35 ·54·};
 36 ·55
 37 ·59·template<typename·TA,·int·item>
 38 60·class·EnumItem
 39 ·61·{
 40 ·62·public:
 41 66·typedef·TA·Type;
 42 ·67
 43 ·72·static·bool·contains(const·Type&·attribute);
 44 ·73·};
 45 ·74
 46 ·78·template<typename·TA,int·from,·int·end>
 47 79·class·EnumRange·//:·public·PODSet<EnumRange<T,from,end>,T>
58 60·typedef·typename·Traits::key_type·key_type; 
59 61·typedef·typename·allocator::value_type·value_type; 
60 62·using·pointer·=·typename·allocator::value_type*; 
61 63·using·const_pointer·=·typename·allocator::value_type·const*; 
62 64·using·const_reference·=·typename·allocator::value_type·const&; 
63 65·using·reference·=·typename·allocator::value_type&; 
64 66·typedef·typename·allocator::size_type·size_type; 
65 67·typedef·typename·list_type::iterator·iterator; 
66 68·typedef·typename·list_type::const_iterator·const_iterator; 
67 ·69 
68 74·reference·front() 
69 ·75·{ 
70 ·76·return·_data.front().second; 
71 ·77·} 
72 ·78 
73 83·const_reference·front()·const 
74 ·84·{48 ·80·{
75 ·85·return·_data.front().second; 
76 ·86·} 
77 ·87 
78 92·reference·back()49 ·81·public:
 50 85·typedef·TA·Type;
 51 ·86·static·bool·contains(const·Type&·item);
 52 ·87·};
 53 ·88
 54 ·94·template<typename·S>
 55 95·class·NegateSet
79 ·93·{56 ·96·{
80 ·94·return·_data.back().second; 
81 ·95·} 
82 ·96 
83 101·const_reference·back·([[maybe_unused]]·int·i)·const57 ·97·public:
 58 98·typedef·typename·S::Type·Type;
 59 ·99
 60 100·static·bool·contains(const·Type&·item)
84 ·102·{61 ·101·{
85 ·103·return·_data.back().second;62 ·102·return·!S::contains(item);
 63 ·103·}
86 ·104·}64 ·104·};
87 ·10565 ·105
88 ·106 
Max diff block lines reached; 8006/11668 bytes (68.62%) of diff not shown.
10.6 KB
./usr/share/doc/libdune-common-doc/doxygen/a00332_source.html vs.
./usr/share/doc/libdune-common-doc/doxygen/a00116_source.html
Files 8% similar despite different names
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1 <!DOCTYPE·html·PUBLIC·"-//W3C//DTD·XHTML·1.0·Transitional//EN"·"https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html·xmlns="http://www.w3.org/1999/xhtml">2 <html·xmlns="http://www.w3.org/1999/xhtml">
3 <head>3 <head>
4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>4 <meta·http-equiv="Content-Type"·content="text/xhtml;charset=UTF-8"/>
5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>5 <meta·http-equiv="X-UA-Compatible"·content="IE=11"/>
6 <meta·name="generator"·content="Doxygen·1.9.4"/>6 <meta·name="generator"·content="Doxygen·1.9.4"/>
7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>7 <meta·name="viewport"·content="width=device-width,·initial-scale=1"/>
8 <title>dune-common:·apply.hh·Source·File</title>8 <title>dune-common:·boundschecking.hh·Source·File</title>
9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>9 <link·href="tabs.css"·rel="stylesheet"·type="text/css"/>
10 <script·type="text/javascript"·src="jquery.js"></script>10 <script·type="text/javascript"·src="jquery.js"></script>
11 <script·type="text/javascript"·src="dynsections.js"></script>11 <script·type="text/javascript"·src="dynsections.js"></script>
12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>12 <link·href="search/search.css"·rel="stylesheet"·type="text/css"/>
13 <script·type="text/javascript"·src="search/searchdata.js"></script>13 <script·type="text/javascript"·src="search/searchdata.js"></script>
14 <script·type="text/javascript"·src="search/search.js"></script>14 <script·type="text/javascript"·src="search/search.js"></script>
15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>15 <link·href="doxygen.css"·rel="stylesheet"·type="text/css"·/>
Offset 58, 42 lines modifiedOffset 58, 46 lines modified
58 <iframe·src="javascript:void(0)"·frameborder="0"·58 <iframe·src="javascript:void(0)"·frameborder="0"·
59 ········name="MSearchResults"·id="MSearchResults">59 ········name="MSearchResults"·id="MSearchResults">
60 </iframe>60 </iframe>
61 </div>61 </div>
  
62 <div·id="nav-path"·class="navpath">62 <div·id="nav-path"·class="navpath">
63 ··<ul>63 ··<ul>
64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li><li·class="navelem"><a·class="el"·href="dir_ad3d78f7c720887942b5b35d91d0b390.html">std</a></li>··</ul>64 <li·class="navelem"><a·class="el"·href="dir_5e69be5995c9f5d42bf491ae6f29600e.html">dune</a></li><li·class="navelem"><a·class="el"·href="dir_e151556194dc695299293609645e9437.html">common</a></li>··</ul>
65 </div>65 </div>
66 </div><!--·top·-->66 </div><!--·top·-->
67 <div·class="header">67 <div·class="header">
68 ··<div·class="headertitle"><div·class="title">apply.hh</div></div>68 ··<div·class="headertitle"><div·class="title">boundschecking.hh</div></div>
69 </div><!--header-->69 </div><!--header-->
70 <div·class="contents">70 <div·class="contents">
 71 <a·href="a00116.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div>
71 <a·href="a00332.html">Go·to·the·documentation·of·this·file.</a><div·class="fragment"><div·class="line"><a·id="l00001"·name="l00001"></a><span·class="lineno">····1</span><span·class="comment">//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*-</span></div> 
72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·vi:·set·et·ts=4·sw=2·sts=2:</span></div> 
73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="comment">//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file·LICENSE.md·in·module·root</span></div> 
74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>72 <div·class="line"><a·id="l00002"·name="l00002"></a><span·class="lineno">····2</span><span·class="comment">//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception</span></div>
75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span><span·class="preprocessor">#ifndef·DUNE_COMMON_STD_APPLY_HH</span></div>73 <div·class="line"><a·id="l00003"·name="l00003"></a><span·class="lineno">····3</span><span·class="preprocessor">#ifndef·DUNE_BOUNDSCHECKING_HH</span></div>
76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#define·DUNE_COMMON_STD_APPLY_HH</span></div>74 <div·class="line"><a·id="l00004"·name="l00004"></a><span·class="lineno">····4</span><span·class="preprocessor">#define·DUNE_BOUNDSCHECKING_HH</span></div>
 75 <div·class="line"><a·id="l00005"·name="l00005"></a><span·class="lineno">····5</span>·</div>
 76 <div·class="line"><a·id="l00006"·name="l00006"></a><span·class="lineno">····6</span><span·class="preprocessor">#include·&lt;<a·class="code"·href="a00122.html">dune/common/exceptions.hh</a>&gt;</span></div>
77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>77 <div·class="line"><a·id="l00007"·name="l00007"></a><span·class="lineno">····7</span>·</div>
78 <div·class="line"><a·id="l00008"·name="l00008"></a><span·class="lineno">····8</span><span·class="preprocessor">#include·&lt;tuple&gt;</span></div>78 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span><span·class="preprocessor">#ifndef·DUNE_ASSERT_BOUNDS</span></div>
79 <div·class="line"><a·id="l00009"·name="l00009"></a><span·class="lineno">····9</span>·</div> 
80 <div·class="line"><a·id="l00010"·name="l00010"></a><span·class="lineno">···10</span><span·class="keyword">namespace·</span><a·class="code·hl_namespace"·href="a00425.html">Dune</a></div> 
81 <div·class="line"><a·id="l00011"·name="l00011"></a><span·class="lineno">···11</span>{</div> 
82 <div·class="line"><a·id="l00012"·name="l00012"></a><span·class="lineno"><a·class="line"·href="a00450.html">···12</a></span>··<span·class="keyword">namespace·</span>Std</div> 
83 <div·class="line"><a·id="l00013"·name="l00013"></a><span·class="lineno">···13</span>··{</div> 
84 <div·class="line"><a·id="l00014"·name="l00014"></a><span·class="lineno">···14</span>·</div> 
85 <div·class="line"><a·id="l00017"·name="l00017"></a><span·class="lineno">···17</span>····<span·class="keyword">using·</span>std::apply;</div> 
86 <div·class="line"><a·id="l00018"·name="l00018"></a><span·class="lineno">···18</span>·</div> 
87 <div·class="line"><a·id="l00019"·name="l00019"></a><span·class="lineno">···19</span>··}·<span·class="comment">//·namespace·Std</span></div> 
88 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span>}·<span·class="comment">//·namespace·Dune</span></div>79 <div·class="line"><a·id="l00020"·name="l00020"></a><span·class="lineno">···20</span><span·class="preprocessor">#if·defined(DUNE_CHECK_BOUNDS)·||·defined(DOXYGEN)</span></div>
89 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>80 <div·class="line"><a·id="l00021"·name="l00021"></a><span·class="lineno">···21</span>·</div>
 81 <div·class="line"><a·id="l00030"·name="l00030"></a><span·class="lineno"><a·class="line"·href="a00397.html#ga75d4ba5883cb39e7ec7927891a12615e">···30</a></span><span·class="preprocessor">#define·DUNE_ASSERT_BOUNDS(cond)····························\</span></div>
 82 <div·class="line"><a·id="l00031"·name="l00031"></a><span·class="lineno">···31</span><span·class="preprocessor">··do·{······················································\</span></div>
 83 <div·class="line"><a·id="l00032"·name="l00032"></a><span·class="lineno">···32</span><span·class="preprocessor">····if·(!(cond))············································\</span></div>
 84 <div·class="line"><a·id="l00033"·name="l00033"></a><span·class="lineno">···33</span><span·class="preprocessor">······DUNE_THROW(Dune::RangeError,·&quot;Index·out·of·bounds.&quot;</span>);·\</div>
 85 <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span>··}·while·(false)</div>
 86 <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div>
 87 <div·class="line"><a·id="l00036"·name="l00036"></a><span·class="lineno">···36</span><span·class="preprocessor">#else</span></div>
 88 <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="preprocessor">#define·DUNE_ASSERT_BOUNDS(cond)</span></div>
 89 <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span><span·class="preprocessor">#endif</span></div>
 90 <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="preprocessor">#endif</span></div>
 91 <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span>·</div>
 92 <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="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div>
90 <div·class="line"><a·id="l00022"·name="l00022"></a><span·class="lineno">···22</span><span·class="preprocessor">#endif·</span><span·class="comment">//·#ifndef·DUNE_COMMON_STD_APPLY_HH</span></div>94 <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="preprocessor">#endif·</span><span·class="comment">//·DUNE_BOUNDSCHECKING_HH</span></div>
91 <div·class="ttc"·id="aa00425_html"><div·class="ttname"><a·href="a00425.html">Dune</a></div><div·class="ttdoc">Dune·namespace.</div><div·class="ttdef"><b>Definition:</b>·alignedallocator.hh:13</div></div>95 <div·class="ttc"·id="aa00122_html"><div·class="ttname"><a·href="a00122.html">exceptions.hh</a></div><div·class="ttdoc">A·few·common·exception·classes.</div></div>
92 </div><!--·fragment·--></div><!--·contents·-->96 </div><!--·fragment·--></div><!--·contents·-->
93 <!--·start·footer·part·-->97 <!--·start·footer·part·-->
94 <hr·class="footer"/><address·class="footer"><small>98 <hr·class="footer"/><address·class="footer"><small>
95 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.499 Generated·by&#160;<a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.4
96 </small></address>100 </small></address>
97 </body>101 </body>
98 </html>102 </html>
1.57 KB
html2text {}
    
Offset 4, 37 lines modifiedOffset 4, 39 lines modified
  
  
4 dune-common 2.9.04 dune-common 2.9.0
  
  
5 ····*·dune5 ····*·dune
6 ····*·common6 ····*·common
 7 boundschecking.hh
7 ····*·std 
8 apply.hh 
9 Go_to_the_documentation_of_this_file.8 Go_to_the_documentation_of_this_file.
10 ·1//·-*-·tab-width:·4;·indent-tabs-mode:·nil;·c-basic-offset:·2·-*- 
11 ·2//·vi:·set·et·ts=4·sw=2·sts=2: 
12 ·3//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file9 ·1//·SPDX-FileCopyrightInfo:·Copyright·(C)·DUNE·Project·contributors,·see·file
13 LICENSE.md·in·module·root10 LICENSE.md·in·module·root
14 ·4//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception11 ·2//·SPDX-License-Identifier:·LicenseRef-GPL-2.0-only-with-DUNE-exception
15 ·5#ifndef·DUNE_COMMON_STD_APPLY_HH 
16 ·6#define·DUNE_COMMON_STD_APPLY_HH12 ·3#ifndef·DUNE_BOUNDSCHECKING_HH
 13 ·4#define·DUNE_BOUNDSCHECKING_HH
 14 ·5
 15 ·6#include·<dune/common/exceptions.hh>
17 ·716 ·7
 17 ·19#ifndef·DUNE_ASSERT_BOUNDS
 18 ·20#if·defined(DUNE_CHECK_BOUNDS)·||·defined(DOXYGEN)
18 ·8#include·<tuple> 
19 ·9 
20 ·10namespace·Dune 
21 ·11{ 
22 12·namespace·Std 
23 ·13·{ 
24 ·14 
25 ·17·using·std::apply; 
26 ·18 
27 ·19·}·//·namespace·Std 
28 ·20}·//·namespace·Dune 
29 ·2119 ·21
30 ·22#endif·//·#ifndef·DUNE_COMMON_STD_APPLY_HH 
31 Dune 
32 Dune·namespace. 
33 Definition:·alignedallocator.hh:1320 30#define·DUNE_ASSERT_BOUNDS(cond)·\
 21 ·31·do·{·\
 22 ·32·if·(!(cond))·\
 23 ·33·DUNE_THROW(Dune::RangeError,·"Index·out·of·bounds.");·\
 24 ·34·}·while·(false)
 25 ·35
 26 ·36#else
 27 ·37#define·DUNE_ASSERT_BOUNDS(cond)
 28 ·38#endif
 29 ·39#endif
 30 ·40
 31 ·41/*·@}·*/
 32 ·42
 33 ·43#endif·//·DUNE_BOUNDSCHECKING_HH
 34 exceptions.hh
 35 A·few·common·exception·classes.
  
34 ===============================================================================36 ===============================================================================
35 ·····Generated·by [doxygen]·1.9.437 ·····Generated·by [doxygen]·1.9.4